From 5ce71aaf5ec6c9a27316ce8fb33f46cdd5febee9 Mon Sep 17 00:00:00 2001 From: darnelleMelvin Date: Mon, 25 Nov 2024 17:57:58 +0000 Subject: [PATCH] deploy: 28407770422a85d9401efb4f06ba391d368487bb --- 404.html | 6 +++--- 404/index.html | 6 +++--- _gatsby/slices/_gatsby-scripts-1.html | 4 ++-- ...6f57a535d90786ef4861.js => app-b1bcfbde75680e16ae35.js | 6 +++--- ...LICENSE.txt => app-b1bcfbde75680e16ae35.js.LICENSE.txt | 0 ...d90786ef4861.js.map => app-b1bcfbde75680e16ae35.js.map | 2 +- chunk-map.json | 2 +- example.org/colour-with-hierarchy/grassgreen.html | 6 +++--- example.org/colour-with-hierarchy/green.html | 6 +++--- example.org/colour-with-hierarchy/index.html | 6 +++--- example.org/colour-with-hierarchy/violet.html | 6 +++--- example.org/colour/blue.html | 6 +++--- example.org/colour/blue.json | 8 ++++---- example.org/colour/blue.jsonld | 8 ++++---- example.org/colour/index.html | 6 +++--- example.org/colour/index.json | 2 +- example.org/colour/index.jsonld | 2 +- example.org/colour/violet.html | 6 +++--- example.org/colour/violet.json | 8 ++++---- example.org/colour/violet.jsonld | 8 ++++---- index.html | 6 +++--- index.json | 2 +- page-data/app-data.json | 2 +- page-data/example.org/colour/blue.html/page-data.json | 2 +- page-data/example.org/colour/index.html/page-data.json | 2 +- page-data/example.org/colour/violet.html/page-data.json | 2 +- webpack.stats.json | 2 +- 27 files changed, 61 insertions(+), 61 deletions(-) rename app-6f57a535d90786ef4861.js => app-b1bcfbde75680e16ae35.js (58%) rename app-6f57a535d90786ef4861.js.LICENSE.txt => app-b1bcfbde75680e16ae35.js.LICENSE.txt (100%) rename app-6f57a535d90786ef4861.js.map => app-b1bcfbde75680e16ae35.js.map (99%) diff --git a/404.html b/404.html index 4ebd50fd5f..e5730888ca 100644 --- a/404.html +++ b/404.html @@ -1,7 +1,7 @@ -

NOT FOUND

You just hit a route that doesn't exist... the sadness.

+

NOT FOUND

You just hit a route that doesn't exist... the sadness.

- \ No newline at end of file + \ No newline at end of file diff --git a/404/index.html b/404/index.html index 76824bbb92..a4f4dba376 100644 --- a/404/index.html +++ b/404/index.html @@ -1,7 +1,7 @@ -

NOT FOUND

You just hit a route that doesn't exist... the sadness.

+

NOT FOUND

You just hit a route that doesn't exist... the sadness.

- \ No newline at end of file + \ No newline at end of file diff --git a/_gatsby/slices/_gatsby-scripts-1.html b/_gatsby/slices/_gatsby-scripts-1.html index f78aad384e..65cc998b2f 100644 --- a/_gatsby/slices/_gatsby-scripts-1.html +++ b/_gatsby/slices/_gatsby-scripts-1.html @@ -2,6 +2,6 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/app-6f57a535d90786ef4861.js b/app-b1bcfbde75680e16ae35.js similarity index 58% rename from app-6f57a535d90786ef4861.js rename to app-b1bcfbde75680e16ae35.js index 2a83931c50..2acfd43d61 100644 --- a/app-6f57a535d90786ef4861.js +++ b/app-b1bcfbde75680e16ae35.js @@ -1,3 +1,3 @@ -/*! For license information please see app-6f57a535d90786ef4861.js.LICENSE.txt */ -(self.webpackChunkskohub_vocabs=self.webpackChunkskohub_vocabs||[]).push([[143],{6298:function(e,t,n){"use strict";n.d(t,{xB:function(){return Re},iv:function(){return Le},tZ:function(){return je}});var r=n(7294),o=n.t(r,2);var i=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?f(k,--w):0,b--,10===x&&(b=1,y--),x}function E(){return x=w2||P(x)>3?"":" "}function M(e,t){for(;--t&&E()&&!(x<48||x>102||x>57&&x<65||x>70&&x<97););return T(e,A()+(t<6&&32==O()&&32==E()))}function I(e){for(;E();)switch(x){case e:return w;case 34:case 39:34!==e&&39!==e&&I(x);break;case 40:41===e&&I(e);break;case 92:E()}return w}function D(e,t){for(;E()&&e+x!==57&&(e+x!==84||47!==O()););return"/*"+T(t,w-1)+"*"+s(47===e?e:E())}function Z(e){for(;!P(O());)E();return T(e,w)}var $="-ms-",H="-moz-",F="-webkit-",q="comm",U="rule",W="decl",z="@keyframes";function B(e,t){for(var n="",r=g(e),o=0;o0&&h(I)-y&&m(v>32?Y(I+";",r,n,y-1):Y(u(I," ","")+";",r,n,y-2),l);break;case 59:I+=";";default:if(m(R=J(I,t,n,d,g,o,c,T,P=[],j=[],y),i),123===S)if(0===g)V(I,t,R,R,P,i,y,c,j);else switch(99===b&&110===f(I,3)?100:b){case 100:case 108:case 109:case 115:V(e,R,R,r&&m(J(e,R,R,0,0,o,c,T,o,P=[],y),j),o,j,y,c,r?P:j);break;default:V(I,R,R,R,[""],j,0,c,j)}}d=g=v=0,x=C=1,T=I="",y=a;break;case 58:y=1+h(I),v=w;default:if(x<1)if(123==S)--x;else if(125==S&&0==x++&&125==_())continue;switch(I+=s(S),S*x){case 38:C=g>0?1:(I+="\f",-1);break;case 44:c[d++]=(h(I)-1)*C,C=1;break;case 64:45===O()&&(I+=L(E())),b=O(),g=y=h(T=I+=Z(A())),S++;break;case 45:45===w&&2==h(I)&&(x=0)}}return i}function J(e,t,n,r,o,i,s,c,p,f,h){for(var m=o-1,y=0===o?i:[""],b=g(y),v=0,w=0,x=0;v0?y[k]+" "+S:u(S,/&\f/g,y[k])))&&(p[x++]=_);return C(e,t,n,0===o?U:c,p,f,h)}function G(e,t,n){return C(e,t,n,q,s(x),d(e,2,-2),0)}function Y(e,t,n,r){return C(e,t,n,W,d(e,0,r),d(e,r+1,-1),r)}var X=function(e,t,n){for(var r=0,o=0;r=o,o=O(),38===r&&12===o&&(t[n]=1),!P(o);)E();return T(e,w)},ee=function(e,t){return R(function(e,t){var n=-1,r=44;do{switch(P(r)){case 0:38===r&&12===O()&&(t[n]=1),e[n]+=X(w-1,t,n);break;case 2:e[n]+=L(r);break;case 4:if(44===r){e[++n]=58===O()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=s(r)}}while(r=E());return e}(j(e),t))},te=new WeakMap,ne=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||te.get(n))&&!r){te.set(e,!0);for(var o=[],i=ee(t,o),a=n.props,s=0,c=0;s6)switch(f(e,t+1)){case 109:if(45!==f(e,t+4))break;case 102:return u(e,/(.+:)(.+)-([^]+)/,"$1"+F+"$2-$3$1"+H+(108==f(e,t+3)?"$3":"$2-$3"))+e;case 115:return~p(e,"stretch")?oe(u(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==f(e,t+1))break;case 6444:switch(f(e,h(e)-3-(~p(e,"!important")&&10))){case 107:return u(e,":",":"+F)+e;case 101:return u(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+F+(45===f(e,14)?"inline-":"")+"box$3$1"+F+"$2$3$1"+$+"$2box$3")+e}break;case 5936:switch(f(e,t+11)){case 114:return F+e+$+u(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+$+u(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+$+u(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return F+e+$+e+e}return e}var ie=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case W:e.return=oe(e.value,e.length);break;case z:return B([S(e,{value:u(e.value,"@","@"+F)})],r);case U:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return B([S(e,{props:[u(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return B([S(e,{props:[u(t,/:(plac\w+)/,":"+F+"input-$1")]}),S(e,{props:[u(t,/:(plac\w+)/,":-moz-$1")]}),S(e,{props:[u(t,/:(plac\w+)/,$+"input-$1")]})],r)}return""}))}}],ae=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||ie;var o,a,s={},c=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+c;return{name:l,styles:o,next:be}},xe=!!o.useInsertionEffect&&o.useInsertionEffect,ke=xe||function(e){return e()},Ce=xe||r.useLayoutEffect,Se={}.hasOwnProperty,_e=r.createContext("undefined"!=typeof HTMLElement?ae({key:"css"}):null);_e.Provider;var Ee=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(_e);return e(t,o,n)}))};var Oe=r.createContext({});var Ae="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Te=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return se(t,n,r),ke((function(){return ce(t,n,r)})),null};var Pe=Ee((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[Ae],a=[o],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var c=we(a,void 0,r.useContext(Oe));s+=t.key+"-"+c.name;var l={};for(var u in e)Se.call(e,u)&&"css"!==u&&u!==Ae&&(l[u]=e[u]);return l.ref=n,l.className=s,r.createElement(r.Fragment,null,r.createElement(Te,{cache:t,serialized:c,isStringTag:"string"==typeof i}),r.createElement(i,l))})),je=(n(434),n(8679),function(e,t){var n=arguments;if(null==t||!Se.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=Pe,i[1]=function(e,t){var n={};for(var r in t)Se.call(t,r)&&(n[r]=t[r]);return n[Ae]=e,n}(e,t);for(var a=2;at?e.slice(n,n+t):e}function k(e,t,n,r){if(n){const o=r&&t>n;e=(e=e[o?t:n])&&e[o?n:t]}else e=e[t];return e}function C(e,t,n,r,i){let a=0;if((0,o.WN)(e))if(i){const n=e.indexOf(t);-1===n?a++:1=this.minlength&&(s||!a[u])){let f=w(c,i,l),d="";switch(this.tokenize){case"full":if(2t;r--)if(r-t>=this.minlength){const o=w(c,i,l,p,t);d=u.substring(t,r),this.push_index(a,d,o,e,n)}break}case"reverse":if(1=this.minlength){const r=w(c,i,l,p,t);this.push_index(a,d,r,e,n)}d=""}case"forward":if(1=this.minlength&&this.push_index(a,d,f,e,n);break}default:if(this.boost&&(f=Math.min(0|f/this.boost(t,u,l),c-1)),this.push_index(a,u,f,e,n),s&&1=this.minlength&&!a[u]){a[u]=1;const t=w(c+(i/2>c?0:1),i,l,f-1,o-1),s=this.bidirectional&&u>p;this.push_index(r,s?p:u,t,e,n,s?u:p)}}}}}this.fastupdate||(this.register[e]=1)}}return this},b.prototype.push_index=function(e,t,n,r,i,a){let s=a?this.ctx:this.map;if((!e[t]||a&&!e[t][a])&&(this.optimize&&(s=s[n]),a?((e=e[t]||(e[t]=(0,o.Vf)()))[a]=1,s=s[a]||(s[a]=(0,o.Vf)())):e[t]=1,s=s[t]||(s[t]=[]),this.optimize||(s=s[n]||(s[n]=[])),(!i||!s.includes(r))&&(s[s.length]=r,this.fastupdate))){const e=this.register[r]||(this.register[r]=[]);e[e.length]=s}},b.prototype.search=function(e,t,n){n||(!t&&(0,o.TU)(e)?e=(n=e).query:(0,o.TU)(t)&&(n=t));let i,a,s,c=[],l=0;if(n&&(e=n.query||e,t=n.limit,l=n.offset||0,a=n.context,s=r.rw&&n.suggest),e&&(i=(e=this.encode(""+e)).length,1=this.minlength&&!t[r]){if(!this.optimize&&!s&&!this.map[r])return c;n[a++]=r,t[r]=1}i=(e=n).length}if(!i)return c;t||(t=100);let u,p=this.depth&&1=n)))));p++);if(t)return o?x(s,n,0):void(e[e.length]=s)}return!t&&s},b.prototype.contain=function(e){return!!this.register[e]},b.prototype.update=function(e,t){return this.remove(e).add(e,t)},b.prototype.remove=function(e,t){const n=this.register[e];if(n){if(this.fastupdate)for(let t,r=0;r{if("/"===e)return e;const r=e.endsWith("/");return((e,t)=>{for(const n of e)if(t.endsWith(n))return!0;return!1})(n,e)?e:"always"===t?r?e:`${e}/`:"never"===t&&r?e.slice(0,-1):e}},9679:function(e,t,n){"use strict";t.p2=t.$C=void 0;var r=n(1432);t.$C=r.ScrollHandler;var o=n(4855);t.p2=o.useScrollRestoration},1432:function(e,t,n){"use strict";var r=n(4836);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=r(n(6115)),i=r(n(7867)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(7294)),s=r(n(5697)),c=n(1142);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}var u=a.createContext(new c.SessionStorage);t.ScrollContext=u,u.displayName="GatsbyScrollContext";var p=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i{}},7730:function(e,t){"use strict";t.__esModule=!0,t.getForwards=function(e){return null==e?void 0:e.flatMap((e=>(null==e?void 0:e.forward)||[]))}},2731:function(e,t,n){"use strict";t.__esModule=!0,t.injectPartytownSnippet=function(e){if(!e.length)return;const t=document.querySelector("script[data-partytown]"),n=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');t&&t.remove();n&&n.remove();const i=(0,o.getForwards)(e),a=document.createElement("script");a.dataset.partytown="",a.innerHTML=(0,r.partytownSnippet)({forward:i}),document.head.appendChild(a)};var r=n(2911),o=n(7730)},5418:function(e,t,n){t.components={"component---src-components-concept-jsx":()=>n.e(934).then(n.bind(n,781)),"component---src-components-concept-scheme-jsx":()=>Promise.all([n.e(934),n.e(565)]).then(n.bind(n,9656)),"component---src-pages-404-js":()=>n.e(883).then(n.bind(n,429)),"component---src-pages-index-js":()=>n.e(678).then(n.bind(n,6558))}},4741:function(e,t,n){e.exports=[{plugin:n(9608),options:{plugins:[],name:"Skohub Vocabs",short_name:"Skohub Vocabs",start_url:"/",background_color:"#ffffff",theme_color:"#26c884",display:"minimal-ui",icon:"src/images/skohub-icon.png",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"3b68e7175ff10cac1dc50da0827ce2e1"}},{plugin:n(6517),options:{plugins:[]}},{plugin:n(4094),options:{plugins:[]}}]},3092:function(e,t,n){const r=n(4741),{getResourceURLsForPathname:o,loadPage:i,loadPageSync:a}=n(1975).jN;t.h=function(e,t,n,s){void 0===t&&(t={});let c=r.map((n=>{if(!n.plugin[e])return;t.getResourceURLsForPathname=o,t.loadPage=i,t.loadPageSync=a;const r=n.plugin[e](t,n.options);return r&&s&&(t=s({args:t,result:r,plugin:n})),r}));return c=c.filter((e=>void 0!==e)),c.length>0?c:n?[n]:[]},t.I=(e,t,n)=>r.reduce(((n,r)=>r.plugin[e]?n.then((()=>r.plugin[e](t,r.options))):n),Promise.resolve())},4004:function(e,t){t.M=()=>""},8299:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).slice().map((function(e){e(n)})),(e["*"]||[]).slice().map((function(e){e(t,n)}))}}}()},7802:function(e,t,n){"use strict";n.d(t,{UD:function(){return f},Cj:function(){return h},GA:function(){return d},DS:function(){return p}});var r=n(5268),o=n(1505),i=e=>{if(void 0===e)return e;let[t,n=""]=e.split("?");return n&&(n="?"+n),"/"===t?"/"+n:"/"===t.charAt(t.length-1)?t.slice(0,-1)+n:t+n},a=n(6073);const s=new Map;let c=[];const l=e=>{let t=e;if(-1!==e.indexOf("?")){const[n,r]=e.split("?");t=`${n}?${encodeURIComponent(r)}`}const n=decodeURIComponent(t);return(0,o.Z)(n,decodeURIComponent("/skohub-pages")).split("#")[0]};function u(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const p=e=>{c=e},f=e=>{const t=g(e),n=c.map((e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}})),o=(0,r.pick)(n,t);return o?i(o.route.originalPath):null},d=e=>{const t=g(e),n=c.map((e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}})),o=(0,r.pick)(n,t);return o?o.params:{}},h=e=>{const t=l(u(e));if(s.has(t))return s.get(t);const n=(0,a.J)(e);if(n)return h(n.toPath);let r=f(t);return r||(r=g(e)),s.set(t,r),r},g=e=>{let t=l(u(e));return"/index.html"===t&&(t="/"),t=i(t),t}},1883:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return s.rU},PageRenderer:function(){return i()},Script:function(){return _.Script},ScriptStrategy:function(){return _.ScriptStrategy},Slice:function(){return k},StaticQuery:function(){return c.i1},StaticQueryContext:function(){return c.B9},collectedScriptsByPage:function(){return _.collectedScriptsByPage},graphql:function(){return O},navigate:function(){return s.c4},parsePath:function(){return s.cP},prefetchPathname:function(){return E},scriptCache:function(){return _.scriptCache},scriptCallbackCache:function(){return _.scriptCallbackCache},useScrollRestoration:function(){return a.p2},useStaticQuery:function(){return c.K2},withAssetPrefix:function(){return s.mc},withPrefix:function(){return s.dq}});var r=n(1975),o=n(2743),i=n.n(o),a=n(9679),s=n(1562),c=n(1757);var l=n(4578);function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var p=n(9611);function f(e,t,n){return f=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&(0,p.Z)(o,n.prototype),o},f.apply(null,arguments)}function d(e){var t="function"==typeof Map?new Map:void 0;return d=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return f(e,arguments,u(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,p.Z)(n,e)},d(e)}var h=n(7294),g=n(4004),m=n(8995);const y=e=>{let{sliceId:t,children:n}=e;const r=[h.createElement("slice-start",{id:`${t}-1`}),h.createElement("slice-end",{id:`${t}-1`})];return n&&(r.push(n),r.push(h.createElement("slice-start",{id:`${t}-2`}),h.createElement("slice-end",{id:`${t}-2`}))),r};var b=n(6298);const v=e=>{let{sliceName:t,allowEmpty:n,children:r,...o}=e;const i=(0,h.useContext)(m.u0),a=(0,h.useContext)(m.Db),s=i[t];if(!s){if(n)return null;throw new Error(`Slice "${s}" for "${t}" slot not found`)}const c=((e,t)=>Object.keys(t).length?`${e}-${(0,g.M)(t)}`:e)(s,o);let l=a[c];return l?r&&(l.hasChildren=!0):a[c]=l={props:o,sliceName:s,hasChildren:!!r},(0,b.tZ)(y,{sliceId:c},r)};var w=n(7462);const x=e=>{let{sliceName:t,allowEmpty:n,children:r,...o}=e;const i=(0,h.useContext)(m.u0),a=(0,h.useContext)(m.m3),s=i[t],c=a.get(s);if(!c){if(n)return null;throw new Error(`Slice "${s}" for "${t}" slot not found`)}return(0,b.tZ)(c.component,(0,w.Z)({sliceContext:c.sliceContext,data:c.data},o),r)};function k(e){{const t={...e,sliceName:e.alias};delete t.alias,delete t.__renderedByLocation;const n=(0,h.useContext)(m.Bs),r=S(e);if(Object.keys(r).length)throw new C("browser"===n.renderEnvironment,t.sliceName,r,e.__renderedByLocation);if("server"===n.renderEnvironment)return(0,b.tZ)(v,t);if("browser"===n.renderEnvironment)return(0,b.tZ)(x,t);if("engines"===n.renderEnvironment||"dev-ssr"===n.renderEnvironment)return(0,b.tZ)(x,t);if("slices"===n.renderEnvironment){let t="";try{t=`\n\nSlice component "${n.sliceRoot.name}" (${n.sliceRoot.componentPath}) tried to render `}catch{}throw new Error(`Nested slices are not supported.${t}\n\nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-slice#nested-slices`)}throw new Error(`Slice context "${n.renderEnvironment}" is not supported.`)}}let C=function(e){function t(n,r,o,i){var a;const s=Object.entries(o).map((e=>{let[t,n]=e;return`not serializable "${n}" type passed to "${t}" prop`})).join(", "),c="SlicePropsError";let l="",u="";if(n){const e=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack().trim().split("\n").slice(1);e[0]=e[0].trim(),l="\n"+e.join("\n"),u=`Slice "${r}" was passed props that are not serializable (${s}).`}else{u=`${c}: Slice "${r}" was passed props that are not serializable (${s}).`;l=`${u}\n${(new Error).stack.trim().split("\n").slice(2).join("\n")}`}return(a=e.call(this,u)||this).name=c,l?a.stack=l:Error.captureStackTrace(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(a),t),i&&(a.forcedLocation={...i,functionName:"Slice"}),a}return(0,l.Z)(t,e),t}(d(Error));const S=function(e,t,n,r){void 0===t&&(t={}),void 0===n&&(n=[]),void 0===r&&(r=null);for(const[o,i]of Object.entries(e)){if(null==i||!r&&"children"===o)continue;const e=r?`${r}.${o}`:o;"function"==typeof i?t[e]=typeof i:"object"==typeof i&&n.indexOf(i)<=0&&(n.push(i),S(i,t,n,e))}return t};var _=n(3521);const E=r.ZP.enqueue;function O(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.\n\nUnless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}},1975:function(e,t,n){"use strict";n.d(t,{uQ:function(){return p},kL:function(){return x},ZP:function(){return S},Nt:function(){return E},hs:function(){return _},jN:function(){return C},N1:function(){return k}});var r=n(4578),o=n(5785),i=n(904);const a=function(e){if("undefined"==typeof document)return!1;const t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(n){return!1}return!1}("prefetch")?function(e,t){return new Promise(((n,r)=>{if("undefined"==typeof document)return void r();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach((e=>{o.setAttribute(e,t[e])})),o.onload=n,o.onerror=r;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=()=>{200===r.status?t():n()},r.send(null)}))},s={};var c=function(e,t){return new Promise((n=>{s[e]?n():a(e,t).then((()=>{n(),s[e]=!0})).catch((()=>{}))}))},l=n(8299),u=n(7802);const p={Error:"error",Success:"success"},f=e=>{const[t,n]=e.split("?");var r;return`/skohub-pages/page-data/${"/"===t?"index":(r="/"===(r=t)[0]?r.slice(1):r).endsWith("/")?r.slice(0,-1):r}/page-data.json${n?`?${n}`:""}`},d=e=>e.startsWith("//");function h(e,t){return void 0===t&&(t="GET"),new Promise((n=>{const r=new XMLHttpRequest;r.open(t,e,!0),r.onreadystatechange=()=>{4==r.readyState&&n(r)},r.send(null)}))}const g=/bot|crawler|spider|crawling/i,m=function(e,t,n){var r;void 0===t&&(t=null);const o={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes,getServerDataError:e.getServerDataError,slicesMap:null!==(r=e.slicesMap)&&void 0!==r?r:{}};return{component:t,head:n,json:e.result,page:o}};function y(e){return new Promise((t=>{try{const n=e.readRoot();t(n)}catch(n){if(!Object.hasOwnProperty.call(n,"_response")||!Object.hasOwnProperty.call(n,"_status"))throw n;setTimeout((()=>{y(e).then(t)}),200)}}))}let b=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.partialHydrationDb=new Map,this.slicesDataDb=new Map,this.sliceInflightDb=new Map,this.slicesDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,u.DS)(t)}var t=e.prototype;return t.memoizedGet=function(e){let t=this.inFlightNetworkRequests.get(e);return t||(t=h(e,"GET"),this.inFlightNetworkRequests.set(e,t)),t.then((t=>(this.inFlightNetworkRequests.delete(e),t))).catch((t=>{throw this.inFlightNetworkRequests.delete(e),t}))},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some((e=>e))},t.fetchPageDataJson=function(e){const{pagePath:t,retries:n=0}=e,r=f(t);return this.memoizedGet(r).then((r=>{const{status:o,responseText:i}=r;if(200===o)try{const n=JSON.parse(i);if(void 0===n.path)throw new Error("not a valid pageData response");const r=t.split("?")[1];return r&&!n.path.includes(r)&&(n.path+=`?${r}`),Object.assign(e,{status:p.Success,payload:n})}catch(a){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:p.Error}):this.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPageDataJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:p.Error})}))},t.fetchPartialHydrationJson=function(e){const{pagePath:t,retries:n=0}=e,r=f(t).replace(".json","-rsc.json");return this.memoizedGet(r).then((r=>{const{status:o,responseText:i}=r;if(200===o)try{return Object.assign(e,{status:p.Success,payload:i})}catch(a){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:p.Error}):this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPartialHydrationJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:p.Error})}))},t.loadPageDataJson=function(e){const t=(0,u.Cj)(e);if(this.pageDataDb.has(t)){const e=this.pageDataDb.get(t);return Promise.resolve(e)}return this.fetchPageDataJson({pagePath:t}).then((e=>(this.pageDataDb.set(t,e),e)))},t.loadPartialHydrationJson=function(e){const t=(0,u.Cj)(e);if(this.partialHydrationDb.has(t)){const e=this.partialHydrationDb.get(t);return Promise.resolve(e)}return this.fetchPartialHydrationJson({pagePath:t}).then((e=>(this.partialHydrationDb.set(t,e),e)))},t.loadSliceDataJson=function(e){if(this.slicesDataDb.has(e)){const t=this.slicesDataDb.get(e);return Promise.resolve({sliceName:e,jsonPayload:t})}return h(`/skohub-pages/slice-data/${e}.json`,"GET").then((t=>{const n=JSON.parse(t.responseText);return this.slicesDataDb.set(e,n),{sliceName:e,jsonPayload:n}}))},t.findMatchPath=function(e){return(0,u.UD)(e)},t.loadPage=function(e){const t=(0,u.Cj)(e);if(this.pageDb.has(t)){const e=this.pageDb.get(t);return e.error?Promise.resolve({error:e.error,status:e.status}):Promise.resolve(e.payload)}if(this.inFlightDb.has(t))return this.inFlightDb.get(t);const n=[this.loadAppData(),this.loadPageDataJson(t)];const r=Promise.all(n).then((e=>{const[n,r,a]=e;if(r.status===p.Error||(null==a?void 0:a.status)===p.Error)return{status:p.Error};let s=r.payload;const{componentChunkName:c,staticQueryHashes:u=[],slicesMap:f={}}=s,d={},h=Array.from(new Set(Object.values(f))),g=e=>{if(this.slicesDb.has(e.name))return this.slicesDb.get(e.name);if(this.sliceInflightDb.has(e.name))return this.sliceInflightDb.get(e.name);const t=this.loadComponent(e.componentChunkName).then((t=>{return{component:(n=t,n&&n.default||n),sliceContext:e.result.sliceContext,data:e.result.data};var n}));return this.sliceInflightDb.set(e.name,t),t.then((t=>{this.slicesDb.set(e.name,t),this.sliceInflightDb.delete(e.name)})),t};return Promise.all(h.map((e=>this.loadSliceDataJson(e)))).then((e=>{const f=[],h=(0,o.Z)(u);for(const{jsonPayload:t,sliceName:n}of Object.values(e)){f.push({name:n,...t});for(const e of t.staticQueryHashes)h.includes(e)||h.push(e)}const b=[Promise.all(f.map(g)),this.loadComponent(c,"head")];b.push(this.loadComponent(c));const v=Promise.all(b).then((e=>{const[t,o,c]=e;d.createdAt=new Date;for(const n of t)(!n||n instanceof Error)&&(d.status=p.Error,d.error=n);let l;if((!c||c instanceof Error)&&(d.status=p.Error,d.error=c),d.status!==p.Error){if(d.status=p.Success,!0!==r.notFound&&!0!==(null==a?void 0:a.notFound)||(d.notFound=!0),s=Object.assign(s,{webpackCompilationHash:n?n.webpackCompilationHash:""}),"string"==typeof(null==a?void 0:a.payload)){l=m(s,null,o),l.partialHydration=a.payload;const e=new ReadableStream({start(e){const t=new TextEncoder;e.enqueue(t.encode(a.payload))},pull(e){e.close()},cancel(){}});return y((0,i.createFromReadableStream)(e)).then((e=>(l.partialHydration=e,l)))}l=m(s,c,o)}return l})),w=Promise.all(h.map((e=>{if(this.staticQueryDb[e]){const t=this.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:t}}return this.memoizedGet(`/skohub-pages/page-data/sq/d/${e}.json`).then((t=>{const n=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:n}})).catch((()=>{throw new Error(`We couldn't load "/skohub-pages/page-data/sq/d/${e}.json"`)}))}))).then((e=>{const t={};return e.forEach((e=>{let{staticQueryHash:n,jsonPayload:r}=e;t[n]=r,this.staticQueryDb[n]=r})),t}));return Promise.all([v,w]).then((e=>{let n,[r,o]=e;return r&&(n={...r,staticQueryResults:o},d.payload=n,l.Z.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(t,d),d.error?{error:d.error,status:d.status}:n})).catch((e=>({error:e,status:p.Error})))}))}));return r.then((()=>{this.inFlightDb.delete(t)})).catch((e=>{throw this.inFlightDb.delete(t),e})),this.inFlightDb.set(t,r),r},t.loadPageSync=function(e,t){void 0===t&&(t={});const n=(0,u.Cj)(e);if(this.pageDb.has(n)){var r;const e=this.pageDb.get(n);if(e.payload)return e.payload;if(null!==(r=t)&&void 0!==r&&r.withErrorDetails)return{error:e.error,status:e.status}}},t.shouldPrefetch=function(e){return!!(()=>{if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0})()&&((!navigator.userAgent||!g.test(navigator.userAgent))&&!this.pageDb.has(e))},t.prefetch=function(e){if(!this.shouldPrefetch(e))return{then:e=>e(!1),abort:()=>{}};if(this.prefetchTriggered.has(e))return{then:e=>e(!0),abort:()=>{}};const t={resolve:null,reject:null,promise:null};t.promise=new Promise(((e,n)=>{t.resolve=e,t.reject=n})),this.prefetchQueued.push([e,t]);const n=new AbortController;return n.signal.addEventListener("abort",(()=>{const t=this.prefetchQueued.findIndex((t=>{let[n]=t;return n===e}));-1!==t&&this.prefetchQueued.splice(t,1)})),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)),{then:(e,n)=>t.promise.then(e,n),abort:n.abort.bind(n)}},t._processNextPrefetchBatch=function(){(window.requestIdleCallback||(e=>setTimeout(e,0)))((()=>{const e=this.prefetchQueued.splice(0,4),t=Promise.all(e.map((e=>{let[t,n]=e;return this.prefetchTriggered.has(t)||(this.apiRunner("onPrefetchPathname",{pathname:t}),this.prefetchTriggered.add(t)),this.prefetchDisabled?n.resolve(!1):this.doPrefetch((0,u.Cj)(t)).then((()=>{this.prefetchCompleted.has(t)||(this.apiRunner("onPostPrefetchPathname",{pathname:t}),this.prefetchCompleted.add(t)),n.resolve(!0)}))})));this.prefetchQueued.length?t.then((()=>{setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)})):this.isPrefetchQueueRunning=!1}))},t.doPrefetch=function(e){const t=f(e);return c(t,{crossOrigin:"anonymous",as:"fetch"}).then((()=>this.loadPageDataJson(e)))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){const t=(0,u.Cj)(e),n=this.pageDataDb.get(t);if(n){const e=m(n.payload);return[].concat((0,o.Z)(v(e.page.componentChunkName)),[f(t)])}return null},t.isPageNotFound=function(e){const t=(0,u.Cj)(e),n=this.pageDb.get(t);return!n||n.notFound},t.loadAppData=function(e){return void 0===e&&(e=0),this.memoizedGet("/skohub-pages/page-data/app-data.json").then((t=>{const{status:n,responseText:r}=t;let o;if(200!==n&&e<3)return this.loadAppData(e+1);if(200===n)try{const e=JSON.parse(r);if(void 0===e.webpackCompilationHash)throw new Error("not a valid app-data response");o=e}catch(i){}return o}))},e}();const v=e=>(window.___chunkMapping[e]||[]).map((e=>"/skohub-pages"+e));let w,x=function(e){function t(t,n,r){var o;return o=e.call(this,(function(e,n){if(void 0===n&&(n="components"),!t[n="components"][e])throw new Error(`We couldn't find the correct component chunk with the name "${e}"`);return t[n][e]().catch((e=>e))}),n)||this,r&&o.pageDataDb.set((0,u.Cj)(r.path),{pagePath:r.path,payload:r,status:"success"}),o}(0,r.Z)(t,e);var n=t.prototype;return n.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then((e=>{if(e.status!==p.Success)return Promise.resolve();const t=e.payload,n=t.componentChunkName,r=v(n);return Promise.all(r.map(c)).then((()=>t))}))},n.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then((e=>e.notFound?d(t)?e:h(t,"HEAD").then((t=>200===t.status?{status:p.Error}:e)):e))},n.loadPartialHydrationJson=function(t){return e.prototype.loadPartialHydrationJson.call(this,t).then((e=>e.notFound?d(t)?e:h(t,"HEAD").then((t=>200===t.status?{status:p.Error}:e)):e))},t}(b);const k=e=>{w=e},C={enqueue:e=>w.prefetch(e),getResourceURLsForPathname:e=>w.getResourceURLsForPathname(e),loadPage:e=>w.loadPage(e),loadPageSync:function(e,t){return void 0===t&&(t={}),w.loadPageSync(e,t)},prefetch:e=>w.prefetch(e),isPageNotFound:e=>w.isPageNotFound(e),hovering:e=>w.hovering(e),loadAppData:()=>w.loadAppData()};var S=C;function _(){return w?w.staticQueryDb:{}}function E(){return w?w.slicesDb:{}}},4779:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(7294),o=n(5697),i=n.n(o),a=n(3092),s=n(7802),c=n(5785),l=n(1883),u=n(5268),p=n(4941);function f(e){let{children:t,callback:n}=e;return(0,r.useEffect)((()=>{n()})),t}const d=["link","meta","style","title","base","noscript","script","html","body"];function h(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){const r=t.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===e.nonce&&e.isEqualNode(r)}}return e.isEqualNode(t)}function g(e,t){void 0===t&&(t={html:{},body:{}});const n=new Map,r=[];for(const l of e.childNodes){var o,i;const e=l.nodeName.toLowerCase(),u=null===(o=l.attributes)||void 0===o||null===(i=o.id)||void 0===i?void 0:i.value;if(b(l)){if(y(e))if("html"===e||"body"===e)for(const n of l.attributes){const r="style"===n.name;var a;if(t[e]={...t[e]},r||(t[e][n.name]=n.value),r)t[e].style=`${null!==(a=t[e])&&void 0!==a&&a.style?t[e].style:""}${n.value} `}else{let e=l.cloneNode(!0);if(e.setAttribute("data-gatsby-head",!0),"script"===e.nodeName.toLowerCase()&&(e=m(e)),u)if(n.has(u)){var s;const t=n.get(u);null===(s=r[t].parentNode)||void 0===s||s.removeChild(r[t]),r[t]=e}else r.push(e),n.set(u,r.length-1);else r.push(e)}l.childNodes.length&&r.push.apply(r,(0,c.Z)(g(l,t).validHeadNodes))}}return{validHeadNodes:r,htmlAndBodyAttributes:t}}function m(e){const t=document.createElement("script");for(const n of e.attributes)t.setAttribute(n.name,n.value);return t.innerHTML=e.innerHTML,t}function y(e){return d.includes(e)}function b(e){return 1===e.nodeType}var v=n(6298);const w=document.createElement("div"),x={html:[],body:[]},k=()=>{var e;const{validHeadNodes:t,htmlAndBodyAttributes:n}=g(w);x.html=Object.keys(n.html),x.body=Object.keys(n.body),function(e){if(!e)return;const{html:t,body:n}=e,r=document.querySelector("html");r&&Object.entries(t).forEach((e=>{let[t,n]=e;r.setAttribute(t,n)}));const o=document.querySelector("body");o&&Object.entries(n).forEach((e=>{let[t,n]=e;o.setAttribute(t,n)}))}(n);const r=document.querySelectorAll("[data-gatsby-head]");var o;if(0===r.length)return void(o=document.head).append.apply(o,(0,c.Z)(t));const i=[];!function(e){let{oldNodes:t,newNodes:n,onStale:r,onNew:o}=e;for(const i of t){const e=n.findIndex((e=>h(e,i)));-1===e?r(i):n.splice(e,1)}for(const i of n)o(i)}({oldNodes:r,newNodes:t,onStale:e=>e.parentNode.removeChild(e),onNew:e=>i.push(e)}),(e=document.head).append.apply(e,i)};function C(e){let{pageComponent:t,staticQueryResults:n,pageComponentProps:o}=e;(0,r.useEffect)((()=>{if(null!=t&&t.Head){!function(e){if("function"!=typeof e)throw new Error(`Expected "Head" export to be a function got "${typeof e}".`)}(t.Head);const{render:r}=(0,p.U)(),i=(0,v.tZ)(t.Head,{location:{pathname:(e=o).location.pathname},params:e.params,data:e.data||{},serverData:e.serverData,pageContext:e.pageContext}),s=(0,a.h)("wrapRootElement",{element:i},i,(e=>{let{result:t}=e;return{element:t}})).pop();r((0,v.tZ)(f,{callback:k},(0,v.tZ)(l.StaticQueryContext.Provider,{value:n},(0,v.tZ)(u.LocationProvider,null,s))),w)}var e;return()=>{!function(){const e=document.querySelectorAll("[data-gatsby-head]");for(const t of e)t.parentNode.removeChild(t)}(),function(e){if(!e)return;const{html:t,body:n}=e;if(t){const e=document.querySelector("html");t.forEach((t=>{e&&e.removeAttribute(t)}))}if(n){const e=document.querySelector("body");n.forEach((t=>{e&&e.removeAttribute(t)}))}}(x)}}))}function S(e){const t={...e,params:{...(0,s.GA)(e.location.pathname),...e.pageResources.json.pageContext.__params}};let n;var o;n=e.pageResources.partialHydration?e.pageResources.partialHydration:(0,r.createElement)((o=e.pageResources.component)&&o.default||o,{...t,key:e.path||e.pageResources.page.path});C({pageComponent:e.pageResources.head,staticQueryResults:e.pageResources.staticQueryResults,pageComponentProps:t});return(0,a.h)("wrapPageElement",{element:n,props:t},n,(e=>{let{result:n}=e;return{element:n,props:t}})).pop()}S.propTypes={location:i().object.isRequired,pageResources:i().object.isRequired,data:i().object,pageContext:i().object.isRequired};var _=S},5824:function(e,t,n){"use strict";var r=n(7462),o=n(4578),i=n(3092),a=n(7294),s=n(5268),c=n(9679),l=n(1757),u=n(8995),p=n(1975),f=n(6073),d=n(8299);const h={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"};var g=n(1562),m=n(6298);function y(e){const t=(0,f.J)(e),{hash:n,search:r}=window.location;return null!=t&&(window.___replace(t.toPath+r+n),!0)}let b="";window.addEventListener("unhandledrejection",(e=>{/loading chunk \d* failed./i.test(e.reason)&&b&&(window.location.pathname=b)}));const v=(e,t)=>{y(e.pathname)||(b=e.pathname,(0,i.h)("onPreRouteUpdate",{location:e,prevLocation:t}))},w=(e,t)=>{y(e.pathname)||(0,i.h)("onRouteUpdate",{location:e,prevLocation:t})},x=function(e,t){if(void 0===t&&(t={}),"number"==typeof e)return void s.globalHistory.navigate(e);const{pathname:n,search:r,hash:o}=(0,g.cP)(e),a=(0,f.J)(n);if(a&&(e=a.toPath+r+o),window.___swUpdated)return void(window.location=n+r+o);const c=setTimeout((()=>{d.Z.emit("onDelayedLoadPageResources",{pathname:n}),(0,i.h)("onRouteUpdateDelayed",{location:window.location})}),1e3);p.ZP.loadPage(n+r).then((i=>{if(!i||i.status===p.uQ.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(c);i&&i.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=n+r+o),(0,s.navigate)(e,t),clearTimeout(c)}))};function k(e,t){let{location:n}=t;const{pathname:r,hash:o}=n,a=(0,i.h)("shouldUpdateScroll",{prevRouterProps:e,pathname:r,routerProps:{location:n},getSavedScrollPosition:e=>[0,this._stateStorage.read(e,e.key)]});if(a.length>0)return a[a.length-1];if(e){const{location:{pathname:t}}=e;if(t===r)return o?decodeURI(o.slice(1)):[0,0]}return!0}let C=function(e){function t(t){var n;return(n=e.call(this,t)||this).announcementRef=a.createRef(),n}(0,o.Z)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){requestAnimationFrame((()=>{let e=`new page at ${this.props.location.pathname}`;document.title&&(e=document.title);const t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);const n=`Navigated to ${e}`;if(this.announcementRef.current){this.announcementRef.current.innerText!==n&&(this.announcementRef.current.innerText=n)}}))},n.render=function(){return(0,m.tZ)("div",(0,r.Z)({},h,{ref:this.announcementRef}))},t}(a.Component);const S=(e,t)=>{var n,r;return e.href!==t.href||(null==e||null===(n=e.state)||void 0===n?void 0:n.key)!==(null==t||null===(r=t.state)||void 0===r?void 0:r.key)};let _=function(e){function t(t){var n;return n=e.call(this,t)||this,v(t.location,null),n}(0,o.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){w(this.props.location,null)},n.shouldComponentUpdate=function(e){return!!S(this.props.location,e.location)&&(v(e.location,this.props.location),!0)},n.componentDidUpdate=function(e){S(e.location,this.props.location)&&w(this.props.location,e.location)},n.render=function(){return(0,m.tZ)(a.Fragment,null,this.props.children,(0,m.tZ)(C,{location:location}))},t}(a.Component);var E=n(4779),O=n(5418);function A(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}var T=function(e){function t(t){var n;n=e.call(this)||this;const{location:r,pageResources:o}=t;return n.state={location:{...r},pageResources:o||p.ZP.loadPageSync(r.pathname+r.search,{withErrorDetails:!0})},n}(0,o.Z)(t,e),t.getDerivedStateFromProps=function(e,t){let{location:n}=e;if(t.location.href!==n.href){return{pageResources:p.ZP.loadPageSync(n.pathname+n.search,{withErrorDetails:!0}),location:{...n}}}return{location:{...n}}};var n=t.prototype;return n.loadResources=function(e){p.ZP.loadPage(e).then((t=>{t&&t.status!==p.uQ.Error?this.setState({location:{...window.location},pageResources:t}):(window.history.replaceState({},"",location.href),window.location=e)}))},n.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,n){return A(e.props,t)||A(e.state,n)}(this,e,t)))):(this.loadResources(e.location.pathname+e.location.search),!1)},n.render=function(){return this.props.children(this.state)},t}(a.Component),P=n(1505),j=n(4941);const R=new p.kL(O,[],window.pageData);(0,p.N1)(R),R.setApiRunner(i.h);const{render:L,hydrate:N}=(0,j.U)();window.asyncRequires=O,window.___emitter=d.Z,window.___loader=p.jN,s.globalHistory.listen((e=>{e.location.action=e.action})),window.___push=e=>x(e,{replace:!1}),window.___replace=e=>x(e,{replace:!0}),window.___navigate=(e,t)=>x(e,t);const M="gatsby-reload-compilation-hash-match";(0,i.I)("onClientEntry").then((()=>{(0,i.h)("registerServiceWorker").filter(Boolean).length>0&&n(9939);const e=e=>(0,m.tZ)(s.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},(0,m.tZ)(E.Z,e)),t=a.createContext({}),f={renderEnvironment:"browser"};let d=function(e){function n(){return e.apply(this,arguments)||this}return(0,o.Z)(n,e),n.prototype.render=function(){const{children:e}=this.props;return(0,m.tZ)(s.Location,null,(n=>{let{location:r}=n;return(0,m.tZ)(T,{location:r},(n=>{let{pageResources:r,location:o}=n;const i=(0,p.hs)(),a=(0,p.Nt)();return(0,m.tZ)(l.B9.Provider,{value:i},(0,m.tZ)(u.Bs.Provider,{value:f},(0,m.tZ)(u.m3.Provider,{value:a},(0,m.tZ)(u.u0.Provider,{value:r.page.slicesMap},(0,m.tZ)(t.Provider,{value:{pageResources:r,location:o}},e)))))}))}))},n}(a.Component),h=function(n){function i(){return n.apply(this,arguments)||this}return(0,o.Z)(i,n),i.prototype.render=function(){return(0,m.tZ)(t.Consumer,null,(t=>{let{pageResources:n,location:o}=t;return(0,m.tZ)(_,{location:o},(0,m.tZ)(c.$C,{location:o,shouldUpdateScroll:k},(0,m.tZ)(s.Router,{basepath:"/skohub-pages",location:o,id:"gatsby-focus-wrapper"},(0,m.tZ)(e,(0,r.Z)({path:"/404.html"===n.page.path||"/500.html"===n.page.path?(0,P.Z)(o.pathname,"/skohub-pages"):encodeURI((n.page.matchPath||n.page.path).split("?")[0])},this.props,{location:o,pageResources:n},n.json)))))}))},i}(a.Component);const{pagePath:g,location:y}=window;g&&"/skohub-pages"+g!==y.pathname+(g.includes("?")?y.search:"")&&!(R.findMatchPath((0,P.Z)(y.pathname,"/skohub-pages"))||g.match(/^\/(404|500)(\/?|.html)$/)||g.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,s.navigate)("/skohub-pages"+g+(g.includes("?")?"":y.search)+y.hash,{replace:!0});const b=()=>{try{return sessionStorage}catch{return null}};p.jN.loadPage(y.pathname+y.search).then((e=>{var t;const n=b();if(null!=e&&null!==(t=e.page)&&void 0!==t&&t.webpackCompilationHash&&e.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),n)){if(!("1"===n.getItem(M)))return n.setItem(M,"1"),void window.location.reload(!0)}if(n&&n.removeItem(M),!e||e.status===p.uQ.Error){const t=`page resources for ${y.pathname} not found. Not rendering React`;if(e&&e.error)throw console.error(t),e.error;throw new Error(t)}const r=(0,i.h)("wrapRootElement",{element:(0,m.tZ)(h,null)},(0,m.tZ)(h,null),(e=>{let{result:t}=e;return{element:t}})).pop(),o=function(){const e=a.useRef(!1);return a.useEffect((()=>{e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,i.h)("onInitialClientRender"))}),[]),(0,m.tZ)(d,null,r)},s=document.getElementById("gatsby-focus-wrapper");let c=L;s&&s.children.length&&(c=N);const l=(0,i.h)("replaceHydrateFunction",void 0,c)[0];function u(){const e="undefined"!=typeof window?document.getElementById("___gatsby"):null;l((0,m.tZ)(o,null),e)}const f=document;if("complete"===f.readyState||"loading"!==f.readyState&&!f.documentElement.doScroll)setTimeout((function(){u()}),0);else{const e=function(){f.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),u()};f.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",e,!1)}}))}))},224:function(e,t,n){"use strict";n.r(t);var r=n(7294),o=n(1975),i=n(4779);t.default=e=>{let{location:t}=e;const n=o.ZP.loadPageSync(t.pathname);return n?r.createElement(i.Z,{location:t,pageResources:n,...n.json}):null}},2743:function(e,t,n){var r;e.exports=(r=n(224))&&r.default||r},4941:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});const r=new WeakMap;function o(){const e=n(745);return{render:(t,n)=>{let o=r.get(n);o||r.set(n,o=e.createRoot(n)),o.render(t)},hydrate:(t,n)=>e.hydrateRoot(n,t)}}},6073:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});const r=new Map,o=new Map;function i(e){let t=r.get(e);return t||(t=o.get(e.toLowerCase())),t}[].forEach((e=>{e.ignoreCase?o.set(e.fromPath,e):r.set(e.fromPath,e)}))},9939:function(e,t,n){"use strict";n.r(t);var r=n(3092);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/skohub-pages/sw.js").then((function(e){e.addEventListener("updatefound",(()=>{(0,r.h)("onServiceWorkerUpdateFound",{serviceWorker:e});const t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",(()=>{switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.h)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.h)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.h)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,r.h)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},8995:function(e,t,n){"use strict";n.d(t,{Bs:function(){return i},Db:function(){return s},m3:function(){return o},u0:function(){return a}});var r=n(7294);const o=r.createContext({}),i=r.createContext({}),a=r.createContext({}),s=r.createContext({})},1757:function(e,t,n){"use strict";n.d(t,{i1:function(){return l},B9:function(){return i},K2:function(){return u}});var r=n(7294);var o=n(6298);const i=(a="StaticQuery",s={},r.createServerContext?function(e,t){return void 0===t&&(t=null),globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=r.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]}(a,s):r.createContext(s));var a,s;function c(e){let{staticQueryData:t,data:n,query:i,render:a}=e;const s=n?n.data:t[i]&&t[i].data;return(0,o.tZ)(r.Fragment,null,s&&a(s),!s&&(0,o.tZ)("div",null,"Loading (StaticQuery)"))}const l=e=>{const{data:t,query:n,render:r,children:a}=e;return(0,o.tZ)(i.Consumer,null,(e=>(0,o.tZ)(c,{data:t,query:n,render:r||a,staticQueryData:e})))},u=e=>{var t;r.useContext;const n=r.useContext(i);if(isNaN(Number(e)))throw new Error(`useStaticQuery was called with a string but expects to be called using \`graphql\`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql\`${e}\`);\n`);if(null!==(t=n[e])&&void 0!==t&&t.data)return n[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")}},1505:function(e,t,n){"use strict";function r(e,t){return void 0===t&&(t=""),t?e===t?"/":e.startsWith(`${t}/`)?e.slice(t.length):e:e}n.d(t,{Z:function(){return r}})},6517:function(e,t,n){"use strict";n.r(t),n.d(t,{wrapPageElement:function(){return Q},wrapRootElement:function(){return K}});var r=n(7294),o=n(1658),i=n.n(o),a=n(2076),s=n(6298),c=n(1883),l=n(7405),u=n(973);const p=e=>{let t=[e.id];return e.narrower&&e.narrower.forEach((e=>{t=t.concat(p(e))})),t},f=e=>{let{items:t,current:n,queryFilter:o,highlight:i,language:d,topLevel:h=!1,customDomain:g}=e;const{config:m}=(0,l.N)(),y=(0,s.iv)('list-style-type:none;padding:0;word-wrap:break-word;position:relative;li{display:flex;margin-bottom:0;& a{display:block;padding-bottom:10px;}>button+div{margin-bottom:10px;}>div{flex:1;display:flex;flex-direction:column;}}&::before{content:"";position:absolute;height:100%;background-color:',m.colors.skoHubMiddleGrey,";width:1px;left:-16px;}.notation{font-weight:bold;}span{word-break:normal;}span>strong{display:inline-flex;color:",m.colors.skoHubDarkColor,';}.treeItemIcon{display:inline-flex;border-radius:50%;width:20px;height:20px;margin-right:5px;font-weight:bold;position:relative;top:-1px;&:before{content:"";background-color:',m.colors.skoHubDarkColor,';position:absolute;width:60%;height:3px;left:50%;top:50%;transform:translateY(-50%) translateX(-50%);}&.collapsed{&:after{content:"";background-color:',m.colors.skoHubDarkColor,";position:absolute;width:3px;height:60%;left:50%;top:50%;transform:translateX(-50%) translateY(-50%);}&+div>a+ul{display:none;}}}",""),{data:b,_:v}=(0,u.B)();(0,r.useEffect)((()=>{d||(d=b.selectedLanguage)}),[null==b?void 0:b.selectedLanguage]);const w=o&&o.length?o.flatMap((e=>e.result)):[],x=o?w.length?t.filter((e=>!o||w.some((t=>p(e).includes(t))))):[]:t,k=(0,a.i18n)(d),C=(e,t,r)=>o||p(e).some((e=>e===n))?t:r;const S=function(e){const t={};return e&&e.forEach((e=>{e.result.forEach((n=>{t[n]||(t[n]=[]),"prefLabel"!==e.field&&t[n].push(e.field)}))})),t}(o);return!x.length&&h?(0,s.tZ)("p",null,"Nothing found!"):(0,s.tZ)("ul",{css:y},(x||[]).map((e=>(0,s.tZ)("li",{key:e.id},e.narrower&&e.narrower.length>0&&(0,s.tZ)("button",{"aria-expanded":C(e,"true","false"),className:`treeItemIcon inputStyle${C(e,""," collapsed")}`,onClick:e=>{e.target.classList.toggle("collapsed"),e.target.setAttribute("aria-expanded",e.target.classList.contains("collapsed")?"false":"true")}}),(0,s.tZ)("div",null,(e=>{const t=(0,a.getFragment)(e.id)?"a":c.Link,o=e.notation&&(0,s.tZ)("span",{className:"notation"},e.notation.join(",")," "),l=(0,s.tZ)(r.Fragment,null,o,(()=>{function t(t,n){return t=e.deprecated?`(DEPRECATED) ${t}`:t,n?t.replace(n,(e=>`${e}`)):t}const n=S[e.id],o=()=>{const r=[],o=(e,n)=>{var o;i.test(e)&&r.push(`${o=n,o.charAt(0).toUpperCase()+o.slice(1)}: ${t(e,i)}`)};return n.forEach((t=>{Array.isArray(e[t][d])?e[t][d].forEach((e=>o(e,t))):Array.isArray(e[t])?e[t].forEach((e=>o(e,t))):o(e[t][d],t)})),r};if(n&&o(),k(e.prefLabel)){return a=t(k(e.prefLabel),i),null!=n&&n.length?(0,s.tZ)(r.Fragment,null,(0,s.tZ)("span",{dangerouslySetInnerHTML:{__html:a}}),(0,s.tZ)("span",null," ("),(0,s.tZ)("span",{dangerouslySetInnerHTML:{__html:o().join(", ")}}),(0,s.tZ)("span",null," )")):(0,s.tZ)(r.Fragment,null,(0,s.tZ)("span",{dangerouslySetInnerHTML:{__html:a}}))}return(0,s.tZ)("i",{style:{color:"red"}},'No label for language "',d,'" provided');var a})());return r.createElement(t,{className:e.id===n?"current":"","aria-current":e.id===n?"true":"false",..."a"===t?{href:(0,a.getFragment)(e.id)}:{to:(0,a.getFilePath)(e.id,"html",g)}},l)})(e),e.narrower&&e.narrower.length>0&&(0,s.tZ)(f,{items:e.narrower,current:n,queryFilter:o,highlight:i,language:d,customDomain:g}))))))};var d=f,h=n(5785);const g={name:"1tcd3aq",styles:'display:flex;margin-bottom:10px;input[type="button"]{flex:1;padding:5px 10px;&:first-of-type{margin-right:10px;}}'};var m=()=>(0,s.tZ)("div",{className:"TreeControls",css:g},(0,s.tZ)("input",{type:"button",className:"inputStyle",value:"Collapse",onClick:()=>{(0,h.Z)(document.querySelectorAll(".treeItemIcon")).forEach((e=>{e.classList.add("collapsed"),e.setAttribute("aria-expanded",!1)}))}}),(0,s.tZ)("input",{type:"button",className:"inputStyle",value:"Expand",onClick:()=>{(0,h.Z)(document.querySelectorAll(".collapsed")).forEach((e=>{e.classList.remove("collapsed"),e.setAttribute("aria-expanded",!0)}))}})),y=n(1042),b=n(9680);var v=()=>(0,s.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",className:"bi bi-gear",viewBox:"0 0 16 16"},(0,s.tZ)("path",{d:"M8 4.754a3.246 3.246 0 1 0 0 6.492 3.246 3.246 0 0 0 0-6.492zM5.754 8a2.246 2.246 0 1 1 4.492 0 2.246 2.246 0 0 1-4.492 0z"}),(0,s.tZ)("path",{d:"M9.796 1.343c-.527-1.79-3.065-1.79-3.592 0l-.094.319a.873.873 0 0 1-1.255.52l-.292-.16c-1.64-.892-3.433.902-2.54 2.541l.159.292a.873.873 0 0 1-.52 1.255l-.319.094c-1.79.527-1.79 3.065 0 3.592l.319.094a.873.873 0 0 1 .52 1.255l-.16.292c-.892 1.64.901 3.434 2.541 2.54l.292-.159a.873.873 0 0 1 1.255.52l.094.319c.527 1.79 3.065 1.79 3.592 0l.094-.319a.873.873 0 0 1 1.255-.52l.292.16c1.64.893 3.434-.902 2.54-2.541l-.159-.292a.873.873 0 0 1 .52-1.255l.319-.094c1.79-.527 1.79-3.065 0-3.592l-.319-.094a.873.873 0 0 1-.52-1.255l.16-.292c.893-1.64-.902-3.433-2.541-2.54l-.292.159a.873.873 0 0 1-1.255-.52l-.094-.319zm-2.633.283c.246-.835 1.428-.835 1.674 0l.094.319a1.873 1.873 0 0 0 2.693 1.115l.291-.16c.764-.415 1.6.42 1.184 1.185l-.159.292a1.873 1.873 0 0 0 1.116 2.692l.318.094c.835.246.835 1.428 0 1.674l-.319.094a1.873 1.873 0 0 0-1.115 2.693l.16.291c.415.764-.42 1.6-1.185 1.184l-.291-.159a1.873 1.873 0 0 0-2.693 1.116l-.094.318c-.246.835-1.428.835-1.674 0l-.094-.319a1.873 1.873 0 0 0-2.692-1.115l-.292.16c-.764.415-1.6-.42-1.184-1.185l.159-.291A1.873 1.873 0 0 0 1.945 8.93l-.319-.094c-.835-.246-.835-1.428 0-1.674l.319-.094A1.873 1.873 0 0 0 3.06 4.377l-.16-.292c-.415-.764.42-1.6 1.185-1.184l.292.159a1.873 1.873 0 0 0 2.692-1.115l.094-.319z"}));function w(e,t){(0,r.useEffect)((()=>{const e=e=>{(function(e,t){var n=e.offsetWidth,r=e.offsetHeight,o=parseFloat(t.offsetX),i=parseFloat(t.offsetY);return o<0||o>n||i<0||i>r})(e.target,e)&&t(e)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[e,t])}var x={name:"ftkgk7",styles:"dialog{border:none;border-radius:10px;}"};var k=e=>{let{openModal:t,closeModal:n,id:o,children:i}=e;const a=x,c=(0,r.useRef)();return(0,r.useEffect)((()=>{var e,n;t?null===(e=c.current)||void 0===e||e.showModal():null===(n=c.current)||void 0===n||n.close()}),[t]),w(c,n),(0,s.tZ)("div",{css:a},(0,s.tZ)("dialog",{id:o,ref:c,onCancel:n},i,(0,s.tZ)("br",null),(0,s.tZ)("button",{id:"closeModal",className:"close",onClick:n},"Close")))};function C(e){return(0,s.tZ)("span",{style:{textDecoration:"underline"}},e.children)}var S=e=>{let{labels:t,toggleClick:n}=e;const{config:r}=(0,l.N)(),o=(0,s.iv)('display:grid;grid-template-columns:repeat(2, 1fr);gap:2px 30px;padding:2px;.slider-wrapper{display:flex;align-items:center;}.switch{position:relative;display:block;width:2.5rem;height:1.5rem;margin:0 0.5rem 0 0;}.switch input{opacity:0;width:0;height:0;}.slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;-webkit-transition:0.4s;transition:0.4s;}.slider:before{position:absolute;content:"";height:1rem;width:1rem;left:4px;bottom:4px;background-color:white;-webkit-transition:0.4s;transition:0.4s;}input:checked+.slider{background-color:',r.colors.skoHubMiddleColor,";}input:focus+.slider{box-shadow:0 0 1px ",r.colors.skoHubMiddleColor,";}input:checked+.slider:before{-webkit-transform:translateX(1rem);-ms-transform:translateX(1rem);transform:translateX(1rem);}.slider.round{border-radius:1.5rem;}.slider.round:before{border-radius:50%;}",""),i=Object.entries(t).map((e=>(0,s.tZ)("div",{className:"slider-wrapper",key:e[0]},(0,s.tZ)("label",{className:"switch",id:e[0]+"CheckBox"},(0,s.tZ)("input",{type:"checkbox",checked:e[1],onChange:()=>{return t=e[0],void n(t);var t}}),(0,s.tZ)("span",{className:"slider round"})),(0,s.tZ)(C,null,e[0][0]),e[0].slice(1))));return(0,s.tZ)("div",{css:o},i)};var _={name:"j3l3gj",styles:'.search{display:flex;align-items:center;margin-bottom:10px;input[type="text"]{width:100%;padding:10px;margin-right:10px;}button{border:none;background:transparent;cursor:pointer;}dialog{button.close{background:lightgrey;border-width:2px;border-radius:10px;padding:5px 15px;margin:5px;}}}'};var E=e=>{let{handleQueryInput:t,labels:n,onLabelClick:o}=e;const i=_,{0:a,1:c}=(0,r.useState)(!1);return(0,s.tZ)("div",{css:i},(0,s.tZ)("div",{className:"search"},(0,s.tZ)("input",{id:"searchInput",type:"text",className:"inputStyle",onChange:t,placeholder:"Search",autoFocus:!0}),(0,s.tZ)("button",{id:"settings",onClick:()=>c(!0)},(0,s.tZ)(v,null)),(0,s.tZ)(k,{openModal:a,closeModal:()=>c(!1),id:"settingsModal"},(0,s.tZ)("p",null,"Which fields do you want to include in the search?"),(0,s.tZ)(S,{labels:n,toggleClick:o}))))};const O=e=>(0,s.iv)("display:flex;height:100%;@media only screen and (max-width: 800px){display:block;flex-direction:column;height:auto;}a.current{color:",e.skoHubMiddleColor,";font-weight:700;}.block{background-color:",e.skoHubWhite,";box-shadow:0px 10px 20px ",e.skoHubMiddleGrey,";padding:30px;border-radius:30px;@media only screen and (max-width: 1024px){padding:15px;}}.concepts{overflow:auto;}.nav-block{flex:1;@media only screen and (max-width: 800px){display:block;height:45vh;padding:15px 15px 30px 15px;width:100%;}}.main-block{flex:2;@media only screen and (max-width: 800px){display:block;width:100%;}}&>nav{display:flex;flex-direction:column;overflow:auto;&>ul{overflow:auto;margin:0;padding:10px;height:100%;@media only screen and (max-width: 800px){overflow:visible;height:auto;}}&>ul:before{content:none;}}.content{position:relative;overflow:auto;margin-left:20px;@media only screen and (max-width: 800px){margin:20px 0 0 0;}button{padding:10px 20px;}.json-png{position:absolute;right:30px;top:30px;@media only screen and (max-width: 1024px){position:relative;left:0;right:0;top:0;}}h1{margin:0;padding:0 0 15px 0;font-size:30px;line-height:32px;font-weight:700;@media only screen and (max-width: 800px){font-size:24px;line-height:26px;}}h2{margin:0;padding:0 0 0 0;font-size:24px;line-height:28px;font-weight:700;@media only screen and (max-width: 800px){font-size:20px;line-height:26px;}}a{color:",e.skoHubAction,";text-decoration:underline;&:hover{color:",e.skoHubMiddleColor,";}}}.markdown{padding-top:10px;}.conceptURI{display:flex;flex-direction:row;align-items:center;button{border:2px solid transparent;border-radius:5px;padding:5px;margin:5px;background-color:transparent;cursor:pointer;}button:hover{border:2px solid ",e.skoHubMiddleColor,';}}.tooltip{position:relative;display:inline-block;}.tooltip .tooltiptext{visibility:hidden;width:120px;background-color:#555;color:#fff;text-align:center;padding:5px 0;border-radius:6px;position:absolute;z-index:1;bottom:125%;left:50%;margin-left:-60px;opacity:0;transition:opacity 0.3s;}.tooltip .tooltiptext::after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent;}.tooltip:hover .tooltiptext{visibility:visible;opacity:1;}',"");var A=n(2548),T=n(6605),P=n(7016),j=(n(9006),n(4333)),R=n(4376),L=n(7440),N=n(9375),M=n(8485),I=n(8423);function D(e){if(!(this instanceof D))return new D(e);const t=e.document||e.doc||e;let n;this.tree=[],this.field=[],this.marker=[],this.register=(0,R.Vf)(),this.key=(n=t.key||t.id)&&H(n,this.marker)||"id",this.fastupdate=(0,R.wD)(e.fastupdate,!0),T.qA&&(this.storetree=(n=t.store)&&!0!==n&&[],this.store=n&&(0,R.Vf)()),T.ur&&(this.tag=(n=t.tag)&&H(n,this.marker),this.tagindex=n&&(0,R.Vf)()),T.wA&&(this.cache=(n=e.cache)&&new j.Z(n),e.cache=!1),T.kz&&(this.worker=e.worker),T.R3&&(this.async=!1),this.index=$.call(this,e,t)}var Z=D;function $(e,t){const n=(0,R.Vf)();let r=t.index||t.field||t;(0,R.NH)(r)&&(r=[r]);for(let o,i,a=0;at||n)&&(o=o.slice(n,n+t)),r&&(o=z.call(this,o)),{tag:e,result:o}}function z(e){const t=Array(e.length);for(let n,r=0;r{var t,n,o;let{pageContext:p,children:f,location:g}=e;const{data:v,updateState:w}=(0,u.B)(),{config:x,conceptSchemes:k}=(0,l.N)(),C=O(x.colors),{0:S,1:_}=(0,r.useState)({}),{0:T,1:P}=(0,r.useState)(null),{0:j,1:R}=(0,r.useState)("ConceptScheme"===p.node.type?p.node:null);let L=!1;const{0:N,1:M}=(0,r.useState)(Object.fromEntries(x.searchableAttributes.map((e=>[e,"prefLabel"===e]))));if(((e,t)=>{(0,r.useEffect)((()=>{function n(n){n.ctrlKey&&75===n.which?(n.preventDefault(),document.getElementById("searchInput").focus()):n.altKey&&80===n.which?(n.preventDefault(),Object.keys(e).includes("prefLabel")&&t({...e,prefLabel:!e.prefLabel})):n.altKey&&78===n.which?(n.preventDefault(),Object.keys(e).includes("notation")&&t({...e,notation:!e.notation})):n.altKey&&65===n.which?(n.preventDefault(),Object.keys(e).includes("altLabel")&&t({...e,altLabel:!e.altLabel})):n.altKey&&68===n.which?(n.preventDefault(),Object.keys(e).includes("definition")&&t({...e,definition:!e.definition})):n.altKey&&69===n.which?(n.preventDefault(),Object.keys(e).includes("example")&&t({...e,example:!e.example})):n.altKey&&72===n.which?(n.preventDefault(),Object.keys(e).includes("hiddenLabel")&&t({...e,hiddenLabel:!e.hiddenLabel})):n.altKey&&83===n.which&&(n.preventDefault(),Object.keys(e).includes("scopeNote")&&t({...e,scopeNote:!e.scopeNote}))}return document.addEventListener("keydown",n),function(){document.removeEventListener("keydown",n)}}))})(N,M),!L&&j&&j.hasTopConcept)for(const r of j.hasTopConcept){var I;if((null===(I=r.narrower)||void 0===I?void 0:I.length)>0){L=!0;break}}const{0:D,1:$}=(0,r.useState)(""),{0:H,1:F}=(0,r.useState)(null);(0,r.useEffect)((()=>{(async()=>{if("ConceptScheme"===p.node.type)F(p.node);else if("Concept"===p.node.type)F(p.node.inScheme[0]);else{if("Collection"!==p.node.type)return{};{const e=await(async e=>{for(const t of e.member){const e=(0,a.replaceFilePathInUrl)(g.pathname,t.id,"json",x.customDomain),n=await(await fetch(e)).json(),r=n.inScheme[0];if("Concept"===n.type)return r}})(p.node);F(e)}}})()}),[]),(0,r.useEffect)((()=>{if(H){const e=(0,a.getLanguageFromUrl)(g);if(e&&!v.selectedLanguage){const t=(0,A.m)({availableLanguages:k[H.id].languages,selectedLanguage:e});$(t),w({...v,currentScheme:H,indexPage:!1,selectedLanguage:t,availableLanguages:k[H.id].languages})}else{const e=(0,A.m)({availableLanguages:k[H.id].languages,selectedLanguage:(null==v?void 0:v.selectedLanguage)||null});$(e),w({...v,currentScheme:H,indexPage:!1,selectedLanguage:e,availableLanguages:k[H.id].languages})}}}),[null==v?void 0:v.languages,null==v?void 0:v.selectedLanguage,H]),(0,r.useEffect)((()=>{var e;(async(e,t,n,r,o)=>{if(!e)return;const i=new Z({tokenize:"full",charset:"latin",id:"id",document:{id:"id",index:(0,h.Z)(o.searchableAttributes)}}),s=Object.entries(t).filter((e=>!0===e[1])).flatMap((e=>[`${e[0]}.cfg`,`${e[0]}.ctx`,`${e[0]}.map`,`${e[0]}.store`,`${e[0]}.tag`])).concat(["reg"]);for(let u,p=0;p{var e,t;(null==v||null===(e=v.currentScheme)||void 0===e?void 0:e.id)&&"ConceptScheme"!==p.node.type&&fetch((0,c.withPrefix)((0,a.getFilePath)(null==v||null===(t=v.currentScheme)||void 0===t?void 0:t.id,"json",x.customDomain))).then((e=>e.json())).then((e=>R(e)))}),[v,p.node.type]),(0,r.useEffect)((()=>{const e=document.querySelector(".current");e&&e.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})}));const q=(null===(t=p.node)||void 0===t?void 0:t.prefLabel)||(null===(n=p.node)||void 0===n?void 0:n.title)||(null===(o=p.node)||void 0===o?void 0:o.dc_title);return(0,s.tZ)(y.Z,null,(0,s.tZ)(b.Z,{title:(0,a.i18n)(D)(q),keywords:["Concept",(0,a.i18n)(D)(q)]}),(0,s.tZ)("div",{className:"Concept",css:C},(0,s.tZ)("nav",{className:"block nav-block"},(0,s.tZ)(E,{handleQueryInput:e=>P(e.target.value||null),labels:N,onLabelClick:e=>(e=>M({...N,[e]:!N[e]}))(e)}),L&&(0,s.tZ)(m,null),(0,s.tZ)("div",{className:"concepts"},j&&(0,s.tZ)(d,{items:j.hasTopConcept,current:p.node.id,queryFilter:T&&null!=S&&S.search?S.search(T):null,highlight:T?RegExp(i()(T),"gi"):null,language:D,topLevel:!0,customDomain:x.customDomain}))),(0,s.tZ)("div",{className:"content concept block main-block"},f)))};const K=e=>{let{element:t}=e;return(0,s.tZ)(u.H,null,t)},Q=e=>{let{element:t,props:n}=e;return n.pageContext.node?(0,s.tZ)(B,n,t):t}},5268:function(e,t,n){"use strict";var r;n.r(t),n.d(t,{BaseContext:function(){return v},Link:function(){return J},Location:function(){return te},LocationContext:function(){return w},LocationProvider:function(){return ee},Match:function(){return re},Redirect:function(){return O},Router:function(){return ue},ServerLocation:function(){return ne},createHistory:function(){return d},createMemorySource:function(){return h},globalHistory:function(){return m},insertParams:function(){return R},isRedirect:function(){return S},match:function(){return P},navigate:function(){return y},pick:function(){return T},redirectTo:function(){return _},resolve:function(){return j},shallowCompare:function(){return q},startsWith:function(){return A},useBaseContext:function(){return x},useLocation:function(){return fe},useLocationContext:function(){return k},useMatch:function(){return ge},useNavigate:function(){return de},useParams:function(){return he},validateRedirect:function(){return L}});var o=n(4578),i=n(7294),a=n(5697),s=n.n(a),c=n(1143),l=n.n(c);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}const f=e=>{const{search:t,hash:n,href:r,origin:o,protocol:i,host:a,hostname:s,port:c}=e.location;let{pathname:l}=e.location;return!l&&r&&g&&(l=new URL(r).pathname),{pathname:encodeURI(decodeURI(l)),search:t,hash:n,href:r,origin:o,protocol:i,host:a,hostname:s,port:c,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},d=(e,t)=>{let n=[],r=f(e),o=!1,i=()=>{};return{get location(){return r},get transitioning(){return o},_onTransitionComplete(){o=!1,i()},listen(t){n.push(t);const o=()=>{r=f(e),t({location:r,action:"POP"})};return e.addEventListener("popstate",o),()=>{e.removeEventListener("popstate",o),n=n.filter((e=>e!==t))}},navigate(t,a){let{state:s,replace:c=!1}=void 0===a?{}:a;if("number"==typeof t)e.history.go(t);else{s=u({},s,{key:Date.now()+""});try{o||c?e.history.replaceState(s,null,t):e.history.pushState(s,null,t)}catch(n){e.location[c?"replace":"assign"](t)}}r=f(e),o=!0;const l=new Promise((e=>i=e));return n.forEach((e=>e({location:r,action:"PUSH"}))),l}}},h=function(e){void 0===e&&(e="/");const t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""};let r=0;const o=[n],i=[null];return{get location(){return o[r]},addEventListener(e,t){},removeEventListener(e,t){},history:{get entries(){return o},get index(){return r},get state(){return i[r]},pushState(e,t,n){const[a,s=""]=n.split("?");r++,o.push({pathname:a,search:s.length?`?${s}`:s}),i.push(e)},replaceState(e,t,n){const[a,s=""]=n.split("?");o[r]={pathname:a,search:s},i[r]=e},go(e){const t=r+e;t<0||t>i.length-1||(r=t)}}}},g=!("undefined"==typeof window||!window.document||!window.document.createElement),m=d(g?window:h()),{navigate:y}=m;function b(e,t){return i.createServerContext?function(e,t){return void 0===t&&(t=null),globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=i.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]}(e,t):i.createContext(t)}const v=b("Base",{baseuri:"/",basepath:"/"}),w=b("Location"),x=()=>i.useContext(v),k=()=>i.useContext(w);function C(e){this.uri=e}const S=e=>e instanceof C,_=e=>{throw new C(e)};function E(e){const{to:t,replace:n=!0,state:r,noThrow:o,baseuri:a}=e;i.useEffect((()=>{Promise.resolve().then((()=>{const o=j(t,a);y(R(o,e),{replace:n,state:r})}))}),[]);const s=j(t,a);return o||_(R(s,e)),null}const O=e=>{const t=k(),{baseuri:n}=x();return i.createElement(E,u({},t,{baseuri:n},e))};O.propTypes={from:s().string,to:s().string.isRequired};const A=(e,t)=>e.substr(0,t.length)===t,T=(e,t)=>{let n,r;const[o]=t.split("?"),i=$(o),a=""===i[0],s=Z(e);for(let c=0,u=s.length;c dynamic segment "${r[1]}" is a reserved name. Please use a different name in path "${o.path}".`);const t=decodeURIComponent(n);p[r[1]]=t}else if(t!==n){e=!0;break}}if(!e){n={route:o,params:p,uri:"/"+i.slice(0,d).join("/")};break}}return n||r||null},P=(e,t)=>T([{path:e}],t),j=(e,t)=>{if(A(e,"/"))return e;const[n,r]=e.split("?"),[o]=t.split("?"),i=$(n),a=$(o);if(""===i[0])return H(o,r);if(!A(i[0],".")){const e=a.concat(i).join("/");return H(("/"===o?"":"/")+e,r)}const s=a.concat(i),c=[];for(let l=0,u=s.length;l{const[n,r=""]=e.split("?");let o="/"+$(n).map((e=>{const n=N.exec(e);return n?t[n[1]]:e})).join("/");const{location:{search:i=""}={}}=t,a=i.split("?")[1]||"";return o=H(o,r,a),o},L=(e,t)=>{const n=e=>M(e);return $(e).filter(n).sort().join("/")===$(t).filter(n).sort().join("/")},N=/^:(.+)/,M=e=>N.test(e),I=e=>e&&"*"===e[0],D=(e,t)=>({route:e,score:e.default?0:$(e.path).reduce(((e,t)=>(e+=4,(e=>""===e)(t)?e+=1:M(t)?e+=2:I(t)?e-=5:e+=3,e)),0),index:t}),Z=e=>e.map(D).sort(((e,t)=>e.scoret.score?-1:e.index-t.index)),$=e=>e.replace(/(^\/+|\/+$)/g,"").split("/"),H=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;re&&e.length>0)))&&n.length>0?`?${n.join("&")}`:"")},F=["uri","path"],q=(e,t)=>{const n=Object.keys(e);return n.length===Object.keys(t).length&&n.every((n=>t.hasOwnProperty(n)&&e[n]===t[n]))},U=e=>e.replace(/(^\/+|\/+$)/g,""),W=e=>t=>{if(!t)return null;if(t.type===i.Fragment&&t.props.children)return i.Children.map(t.props.children,W(e));if(l()(t.props.path||t.props.default||t.type===O,`: Children of must have a \`path\` or \`default\` prop, or be a \`\`. None found on element type \`${t.type}\``),l()(!!(t.type!==O||t.props.from&&t.props.to),` requires both "from" and "to" props when inside a .`),l()(!(t.type===O&&!L(t.props.from,t.props.to)),` has mismatched dynamic segments, ensure both paths have the exact same dynamic segments.`),t.props.default)return{value:t,default:!0};const n=t.type===O?t.props.from:t.props.path,r="/"===n?e:`${U(e)}/${U(n)}`;return{value:t,default:t.props.default,path:t.props.children?`${U(r)}/*`:r}},z=["innerRef"],B=["to","state","replace","getProps"],K=["key"];let{forwardRef:Q}=r||(r=n.t(i,2));void 0===Q&&(Q=e=>e);const V=()=>{},J=Q(((e,t)=>{let{innerRef:n}=e,r=p(e,z);const{baseuri:o}=x(),{location:a}=k(),{to:s,state:c,replace:l,getProps:f=V}=r,d=p(r,B),h=j(s,o),g=encodeURI(h),m=a.pathname===g,b=A(a.pathname,g);return i.createElement("a",u({ref:t||n,"aria-current":m?"page":void 0},d,f({isCurrent:m,isPartiallyCurrent:b,href:h,location:a}),{href:h,onClick:e=>{if(d.onClick&&d.onClick(e),(e=>!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey))(e)){e.preventDefault();let t=l;if("boolean"!=typeof l&&m){const e=p(u({},a.state),K);t=q(u({},c),e)}y(h,{state:c,replace:t})}}}))}));J.displayName="Link",J.propTypes={to:s().string.isRequired};let G=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o!1});function X(e){let{children:t}=e;const[n,r]=i.useState(),o=i.useRef(),a=i.useMemo((()=>({componentDidCatch:o,error:n,setError:r})),[n]);return i.createElement(Y.Provider,{value:a},i.createElement(G,{error:n,onError:(e,t)=>{r(e),null==o.current||o.current(e,t)}},t))}X.displayName="ReactUseErrorBoundaryContext";const ee=function(e){var t,n;function r(t){return i.createElement(X,null,i.createElement(e,u({key:"WrappedComponent"},t)))}return r.displayName=`WithErrorBoundary(${null!=(t=null!=(n=e.displayName)?n:e.name)?t:"Component"})`,r}((e=>{let{history:t=m,children:n}=e;const{location:r}=t,[o,a]=i.useState({location:r}),[s]=function(e){const t=i.useContext(Y);t.componentDidCatch.current=void 0;const n=i.useCallback((()=>{t.setError(void 0)}),[]);return[t.error,n]}();if(i.useEffect((()=>{t._onTransitionComplete()}),[o.location]),i.useEffect((()=>{let e=!1;const n=t.listen((t=>{let{location:n}=t;Promise.resolve().then((()=>{requestAnimationFrame((()=>{e||a({location:n})}))}))}));return()=>{e=!0,n()}}),[]),s){if(!S(s))throw s;y(s.uri,{replace:!0})}return i.createElement(w.Provider,{value:o},"function"==typeof n?n(o):n||null)})),te=e=>{let{children:t}=e;const n=k();return n?t(n):i.createElement(ee,null,t)},ne=e=>{let{url:t,children:n}=e;const r=t.indexOf("?");let o,a="";return r>-1?(o=t.substring(0,r),a=t.substring(r)):o=t,i.createElement(w.Provider,{value:{location:{pathname:o,search:a,hash:""}}},n)},re=e=>{let{path:t,children:n}=e;const{baseuri:r}=x(),{location:o}=k(),i=j(t,r),a=P(i,o.pathname);return n({location:o,match:a?u({},a.params,{uri:a.uri,path:t}):null})},oe=["uri","location","component"],ie=["children","style","component","uri","location"],ae=e=>{let{uri:t,location:n,component:r}=e,o=p(e,oe);return i.createElement(ce,u({},o,{component:r,uri:t,location:n}))};let se=0;const ce=e=>{let{children:t,style:n,component:r="div",uri:o,location:a}=e,s=p(e,ie);const c=i.useRef(),l=i.useRef(!0),f=i.useRef(o),d=i.useRef(a.pathname),h=i.useRef(!1);i.useEffect((()=>(se++,g(),()=>{se--,0===se&&(l.current=!0)})),[]),i.useEffect((()=>{let e=!1,t=!1;o!==f.current&&(f.current=o,e=!0),a.pathname!==d.current&&(d.current=a.pathname,t=!0),h.current=e||t&&a.pathname===o,h.current&&g()}),[o,a]);const g=i.useCallback((()=>{var e;l.current?l.current=!1:(e=c.current,h.current&&e&&e.focus())}),[]);return i.createElement(r,u({style:u({outline:"none"},n),tabIndex:"-1",ref:c},s),t)},le=["location","primary","children","basepath","baseuri","component"],ue=e=>{const t=x(),n=k();return i.createElement(pe,u({},t,n,e))};function pe(e){const{location:t,primary:n=!0,children:r,basepath:o,component:a="div"}=e,s=p(e,le),c=i.Children.toArray(r).reduce(((e,t)=>{const n=W(o)(t);return e.concat(n)}),[]),{pathname:l}=t,f=T(c,l);if(f){const{params:e,uri:r,route:c,route:{value:l}}=f,p=c.default?o:c.path.replace(/\*$/,""),d=u({},e,{uri:r,location:t}),h=i.cloneElement(l,d,l.props.children?i.createElement(ue,{location:t,primary:n},l.props.children):void 0),g=n?ae:a,m=n?u({uri:r,location:t,component:a},s):s;return i.createElement(v.Provider,{value:{baseuri:r,basepath:p}},i.createElement(g,m,h))}return null}const fe=()=>{const e=k();if(!e)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.location},de=()=>{throw new Error("useNavigate is removed. Use import { navigate } from 'gatsby' instead")},he=()=>{const e=x();if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const t=fe(),n=P(e.basepath,t.pathname);return n?n.params:null},ge=e=>{if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");const t=x();if(!t)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const n=fe(),r=j(e,t.baseuri),o=P(r,n.pathname);return o?u({},o.params,{uri:o.uri,path:e}):null}},9608:function(e,t,n){"use strict";n.r(t),n.d(t,{onRouteUpdate:function(){return r}});n(1883),n(292);const r=function(e,t){let{location:n}=e}},292:function(e,t,n){"use strict";var r=n(1883)},2076:function(e,t,n){const r=n(3320),o=n(7351),i=(e,t,n)=>{n?n.endsWith("/")&&(n=n.slice(0,-1)):n=/^https?:\//;let r=e.replace(n,"").split("#").shift();return r.endsWith("/")&&(r+="index"),t?`${r}.${t}`:r},a=e=>new URL(e).hash;const s=(e,t,n)=>{if(!(t in e))return e;const r={};return delete Object.assign(r,e,{[n]:e[t]})[t],r};e.exports={i18n:e=>t=>t[e]||"",getFilePath:i,replaceFilePathInUrl:(e,t,n,r)=>{const o=i(e).replace(/\/[^\/]*$/,"/"+i(t,"",r).split("/").pop()).split("#").shift();return n?`${o}.${n}`:o},getFragment:a,getDomId:e=>{const t=a(e);return t?t.substr(1):e},getLinkPath:(e,t,n)=>"../"+i(e,"",n).split("/").pop()+"."+t,parseLanguages:e=>{const t=new Set,n=e=>{for(let r of e)(null==r?void 0:r.title)&&Object.keys(r.title).forEach((e=>r.title[e]&&t.add(e))),(null==r?void 0:r.prefLabel)&&Object.keys(r.prefLabel).forEach((e=>r.prefLabel[e]&&t.add(e))),(null==r?void 0:r.altLabel)&&Object.keys(r.altLabel).forEach((e=>r.altLabel[e]&&t.add(e))),(null==r?void 0:r.hiddenLabel)&&Object.keys(r.hiddenLabel).forEach((e=>r.hiddenLabel[e]&&t.add(e))),(null==r?void 0:r.hasTopConcept)&&n(r.hasTopConcept),(null==r?void 0:r.narrower)&&n(r.narrower)};return n(e),t},loadConfig:function(e,t){let n;const i=r.load(o.readFileSync(t,"utf8"));try{n=r.load(o.readFileSync(e,"utf8"))}catch(s){n=i}if(!n.ui.title)throw Error("A Title has to be provided! Please check your config.yaml");const a={title:n.ui.title,logo:n.ui.logo||"",tokenizer:n.tokenizer||i.tokenizer,colors:n.ui.colors||i.ui.colors,fonts:n.ui.fonts||i.ui.fonts,searchableAttributes:n.searchableAttributes||i.searchableAttributes,customDomain:n.custom_domain||"",failOnValidation:n.fail_on_validation};return["skoHubWhite","skoHubDarkColor","skoHubMiddleColor","skoHubLightColor","skoHubThinColor","skoHubBlackColor","skoHubAction","skoHubNotice","skoHubDarkGrey","skoHubMiddleGrey","skoHubLightGrey"].every((e=>Object.keys(a.colors).includes(e)))||(a.colors=i.ui.colors),(()=>{const e=["font_family","font_style","font_weight","name"];return!(!e.every((e=>Object.keys(a.fonts.regular).includes(e)))||!e.every((e=>Object.keys(a.fonts.bold).includes(e))))})()||(a.fonts=i.ui.fonts),a},getLanguageFromUrl:e=>new URLSearchParams(e.search).get("lang"),replaceKeyInObject:s,replaceMultipleKeysInObject:(e,t)=>t.reduce(((e,t)=>s(e,t[0],t[1])),e)}},1042:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(7294),o=n(6298),i=n(1883),a=n(7405),s=n(2076),c=n(973),l=n(2548);var u=e=>{var t;let{siteTitle:n}=e;const{config:u,conceptSchemes:p}=(0,a.N)(),{data:f,updateState:d}=(0,c.B)(),h=(0,o.iv)("background:",u.colors.skoHubWhite,";.headerContent{padding:20px 20px 0 20px;display:flex;}.skohubLogo{margin:0;display:inline-block;width:calc(100% - 80px);a{text-decoration:none;color:",u.colors.skoHubDarkColor,';}.skohubImg{display:inline-block;vertical-align:middle;width:30px;height:30px;}.skohubTitle{display:inline-block;vertical-align:middle;padding:0 0 0 15px;font-size:24px;line-height:24px;font-weight:700;@media only screen and (max-width: 800px){padding:0 0 0 8px;font-size:18px;}}.conceptSchemes{display:flex;}.conceptScheme{padding:15px 15px 0 0;font-size:24px;}.conceptScheme:not(:last-child):after{content:", ";}}ul.language-menu{margin:0;padding:0;list-style:none;display:inline-block;width:80px;text-align:right;li{margin:0 0 0 5px;display:inline;button{background:none;display:inline-block;padding:5px;color:',u.colors.skoHubMiddleGrey,";border:1px solid ",u.colors.skoHubMiddleGrey,";border-radius:30px;&:hover{color:",u.colors.skoHubAction,";border:1px solid ",u.colors.skoHubAction,";}}.currentLanguage{color:black;font-weight:bold;display:inline-block;padding:5px;border:1px solid ",u.colors.skoHubLightColor,";border-radius:30px;}}}",""),{0:g,1:m}=(0,r.useState)([]),{0:y,1:b}=(0,r.useState)(""),{0:v,1:w}=(0,r.useState)("");return(0,r.useEffect)((()=>{if(void 0!==g&&g.length)if(f.selectedLanguage)b(f.selectedLanguage);else{const e=(0,l.m)({availableLanguages:g});b(e)}}),[f]),(0,r.useEffect)((()=>{var e;null!=f&&null!==(e=f.currentScheme)&&void 0!==e&&e.id?m(p[f.currentScheme.id].languages):m(f.languages)}),[f]),(0,r.useEffect)((()=>{var e,t,n,r,o,i,a;const s=(null===(e=f.currentScheme)||void 0===e||null===(t=e.title)||void 0===t?void 0:t[f.selectedLanguage])||(null===(n=f.currentScheme)||void 0===n||null===(r=n.prefLabel)||void 0===r?void 0:r[f.selectedLanguage])||(null===(o=f.currentScheme)||void 0===o||null===(i=o.dc_title)||void 0===i?void 0:i[f.selectedLanguage])||(null===(a=f.currentScheme)||void 0===a?void 0:a.id);w(s)}),[f]),(0,o.tZ)("header",{css:h},(0,o.tZ)("div",{className:"headerContent"},(0,o.tZ)("div",{className:"skohubLogo"},(0,o.tZ)(i.Link,{to:"/",onClick:()=>d({...f,currentScheme:{}})},u.logo&&(0,o.tZ)("img",{className:"skohubImg",src:`${(0,i.withPrefix)("/img/"+u.logo)}`,alt:"SkoHub Logo"}),(0,o.tZ)("span",{className:"skohubTitle"},n)),(null==f||null===(t=f.currentScheme)||void 0===t?void 0:t.id)&&(0,o.tZ)("div",{className:"conceptSchemes"},(0,o.tZ)("div",{key:f.currentScheme.id,className:"conceptScheme",onClick:()=>{d({...f,currentScheme:f.currentScheme})}},(0,o.tZ)(i.Link,{to:(0,s.getFilePath)(f.currentScheme.id,"html",u.customDomain)},v)))),g&&g.length>1&&(0,o.tZ)("ul",{className:"language-menu"},g.map((e=>(0,o.tZ)("li",{key:e},e===f.selectedLanguage?(0,o.tZ)("button",{className:"currentLanguage"},e):(0,o.tZ)("button",{onClick:()=>{d({...f,selectedLanguage:e}),b(e)}},e)))))))};const p=()=>{const{config:e}=(0,a.N)(),t=(0,o.iv)("background:",e.colors.skoHubMiddleColor,";color:",e.colors.skoHubWhite,";.footerContent{padding:20px;text-align:right;@media only screen and (max-width: 800px){text-align:center;}ul{display:flex;list-style:none;margin:0;padding:0;li{display:inline-block;padding:0 20px 0 0px;margin:0;}.push-right{margin-left:auto;}}a{color:",e.colors.skoHubWhite,";font-weight:700;&:hover{text-decoration:underline;}}}","");return(0,o.tZ)("footer",{css:t},(0,o.tZ)("div",{className:"footerContent"},(0,o.tZ)("ul",null,(0,o.tZ)("li",null,(0,o.tZ)("a",{href:"https://github.com/skohub-io/skohub-pages",target:"_blank",rel:"noopener noreferrer"},"Source")),(0,o.tZ)("li",{className:"push-right"},(0,o.tZ)("a",{href:"https://www.hbz-nrw.de/impressum",target:"_blank",rel:"noopener noreferrer"},"Impressum")),(0,o.tZ)("li",null,"©"," ",(0,o.tZ)("a",{href:"https://skohub.io",target:"_blank",rel:"noopener noreferrer"},"SkoHub")))))};p.defaultProps={siteTitle:""};var f=p;var d=e=>{let{children:t}=e;const{config:n}=(0,a.N)(),r=(0,o.iv)("height:100vh;display:flex;flex-direction:column;main{flex:1;overflow:auto;padding:20px;@media only screen and (max-width: 1024px){overflow:visible;}}.centerPage{max-width:1200px;margin:0 auto;}.forkMe{position:fixed;background-color:",n.colors.skoHubDarkColor,";color:",n.colors.skoHubWhite,";padding:0 60px;height:40px;transform:rotate(45deg);font-size:14px;line-height:40px;font-weight:700;bottom:60px;left:-60px;box-shadow:0 10px 20px ",n.colors.skoHubBlackColor,";}",""),s=(0,i.useStaticQuery)("3649515864");return(0,o.tZ)("div",{className:"wrapper",css:r},(0,o.tZ)(o.xB,{styles:(0,o.iv)("@font-face{font-family:",n.fonts.regular.font_family,";font-style:",n.fonts.regular.font_style,";font-weight:",n.fonts.regular.font_weight,";src:url(",(0,i.withPrefix)("/fonts/"+n.fonts.regular.name+".woff2"),') format("woff2"),url(',(0,i.withPrefix)("/fonts/"+n.fonts.regular.name+".woff"),') format("woff"),url(',(0,i.withPrefix)("/fonts/"+n.fonts.regular.name+".ttf"),') format("truetype");}@font-face{font-family:',n.fonts.bold.font_family,";font-style:",n.fonts.bold.font_style,";font-weight:",n.fonts.bold.font_weight,";src:url(",(0,i.withPrefix)("/fonts/"+n.fonts.bold.name+".woff2"),') format("woff2"),url(',(0,i.withPrefix)("/fonts/"+n.fonts.bold.name+".woff"),') format("woff"),url(',(0,i.withPrefix)("/fonts/"+n.fonts.bold.name+".ttf"),') format("truetype");}html{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}*,*:before,*:after{-webkit-box-sizing:inherit;-moz-box-sizing:inherit;box-sizing:inherit;}*{-webkit-transition:all 0.5s ease;-moz-transition:all 0.5s ease;transition:all 0.5s ease;}html,body{height:100%;}body{padding:0;margin:0;border:0 none;overflow:hidden;background-color:',n.colors.skoHubWhite,";font-family:",n.fonts.regular.font_family,",",n.fonts.bold.font_family,",sans-serif;font-weight:400;word-wrap:break-word;font-size:16px;line-height:20px;color:",n.colors.skoHubDarkColor,";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;@media only screen and (max-width: 1024px){overflow:auto;}}li>ul{margin-left:1.45rem;margin-bottom:calc(1.45rem / 2);margin-top:calc(1.45rem / 2);}li{margin-bottom:calc(1.45rem / 2);}a{text-decoration:none;color:",n.colors.skoHubDarkColor,";&:hover{color:",n.colors.skoHubAction,";}}.inputStyle{background-color:",n.colors.skoHubWhite,";cursor:pointer;border:1px solid ",n.colors.skoHubDarkGrey,";border-radius:30px;color:",n.colors.skoHubDarkColor,";&:hover,&:focus{background-color:",n.colors.skoHubLightGrey,';}&[type="button"]{background:',n.colors.skoHubLightGrey,";border:1px solid ",n.colors.skoHubLightGrey,";font-weight:700;&:hover{background:",n.colors.skoHubMiddleColor,";border:1px solid ",n.colors.skoHubMiddleColor,";color:",n.colors.skoHubWhite,";}}}","")}),(0,o.tZ)(u,{siteTitle:s.site.siteMetadata.title}),(0,o.tZ)("main",null,t),(0,o.tZ)(f,{siteTitle:s.site.siteMetadata.title}))}},9680:function(e,t,n){"use strict";n.d(t,{Z:function(){return ye}});var r,o,i,a,s=n(7294),c=n(5697),l=n.n(c),u=n(3524),p=n.n(u),f=n(9590),d=n.n(f),h=n(4852),g=n.n(h),m="bodyAttributes",y="htmlAttributes",b="titleAttributes",v={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},w=(Object.keys(v).map((function(e){return v[e]})),"charset"),x="cssText",k="href",C="http-equiv",S="innerHTML",_="itemprop",E="name",O="property",A="rel",T="src",P="target",j={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},R="defaultTitle",L="defer",N="encodeSpecialCharacters",M="onChangeClientState",I="titleTemplate",D=Object.keys(j).reduce((function(e,t){return e[j[t]]=t,e}),{}),Z=[v.NOSCRIPT,v.SCRIPT,v.STYLE],$="data-react-helmet",H="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},F=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},W=function(e){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},z=function(e){var t=J(e,v.TITLE),n=J(e,I);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=J(e,R);return t||r||void 0},B=function(e){return J(e,M)||function(){}},K=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return q({},e,t)}),{})},Q=function(e,t){return t.filter((function(e){return void 0!==e[v.BASE]})).map((function(e){return e[v.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},G=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){G(e)}),0)}),Y=function(e){return clearTimeout(e)},X="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||G:n.g.requestAnimationFrame||G,ee="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Y:n.g.cancelAnimationFrame||Y,te=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},ne=null,re=function(e,t){var n=e.baseTag,r=e.bodyAttributes,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,s=e.noscriptTags,c=e.onChangeClientState,l=e.scriptTags,u=e.styleTags,p=e.title,f=e.titleAttributes;ae(v.BODY,r),ae(v.HTML,o),ie(p,f);var d={baseTag:se(v.BASE,n),linkTags:se(v.LINK,i),metaTags:se(v.META,a),noscriptTags:se(v.NOSCRIPT,s),scriptTags:se(v.SCRIPT,l),styleTags:se(v.STYLE,u)},h={},g={};Object.keys(d).forEach((function(e){var t=d[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(g[e]=d[e].oldTags)})),t&&t(),c(e,h,g)},oe=function(e){return Array.isArray(e)?e.join(""):e},ie=function(e,t){void 0!==e&&document.title!==e&&(document.title=oe(e)),ae(v.TITLE,t)},ae=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute($),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(t),s=0;s=0;p--)n.removeAttribute(i[p]);o.length===i.length?n.removeAttribute($):n.getAttribute($)!==a.join(",")&&n.setAttribute($,a.join(","))}},se=function(e,t){var n=document.head||document.querySelector(v.HEAD),r=n.querySelectorAll(e+"["+$+"]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===S)n.innerHTML=t.innerHTML;else if(r===x)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s=void 0===t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute($,"true"),o.some((function(e,t){return a=t,n.isEqualNode(e)}))?o.splice(a,1):i.push(n)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:i}},ce=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},le=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[j[n]||n]=e[n],t}),t)},ue=function(e,t,n){switch(e){case v.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[$]=!0,o=le(n,r),[s.createElement(v.TITLE,o,e)];var e,n,r,o},toString:function(){return function(e,t,n,r){var o=ce(n),i=oe(t);return o?"<"+e+" "+$+'="true" '+o+">"+W(i,r)+"":"<"+e+" "+$+'="true">'+W(i,r)+""}(e,t.title,t.titleAttributes,n)}};case m:case y:return{toComponent:function(){return le(t)},toString:function(){return ce(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,o=((r={key:n})[$]=!0,r);return Object.keys(t).forEach((function(e){var n=j[e]||e;if(n===S||n===x){var r=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=t[e]})),s.createElement(e,o)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===S||e===x)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+W(r[t],n)+'"';return e?e+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===Z.indexOf(e);return t+"<"+e+" "+$+'="true" '+o+(a?"/>":">"+i+"")}),"")}(e,t,n)}}}},pe=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,s=e.noscriptTags,c=e.scriptTags,l=e.styleTags,u=e.title,p=void 0===u?"":u,f=e.titleAttributes;return{base:ue(v.BASE,t,r),bodyAttributes:ue(m,n,r),htmlAttributes:ue(y,o,r),link:ue(v.LINK,i,r),meta:ue(v.META,a,r),noscript:ue(v.NOSCRIPT,s,r),script:ue(v.SCRIPT,c,r),style:ue(v.STYLE,l,r),title:ue(v.TITLE,{title:p,titleAttributes:f},r)}},fe=p()((function(e){return{baseTag:Q([k,P],e),bodyAttributes:K(m,e),defer:J(e,L),encode:J(e,N),htmlAttributes:K(y,e),linkTags:V(v.LINK,[A,k],e),metaTags:V(v.META,[E,w,C,O,_],e),noscriptTags:V(v.NOSCRIPT,[S],e),onChangeClientState:B(e),scriptTags:V(v.SCRIPT,[T,S],e),styleTags:V(v.STYLE,[x],e),title:z(e),titleAttributes:K(b,e)}}),(function(e){ne&&ee(ne),e.defer?ne=X((function(){re(e,(function(){ne=null}))})):(re(e),ne=null)}),pe)((function(){return null})),de=(o=fe,a=i=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!d()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case v.SCRIPT:case v.NOSCRIPT:return{innerHTML:t};case v.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,o=e.newChildProps,i=e.nestedChildren;return q({},r,((t={})[n.type]=[].concat(r[n.type]||[],[q({},o,this.mapNestedChildrenToProps(n,i))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(r.type){case v.TITLE:return q({},o,((t={})[r.type]=a,t.titleAttributes=q({},i),t));case v.BODY:return q({},o,{bodyAttributes:q({},i)});case v.HTML:return q({},o,{htmlAttributes:q({},i)})}return q({},o,((n={})[r.type]=q({},i),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=q({},t);return Object.keys(e).forEach((function(t){var r;n=q({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return s.Children.forEach(e,(function(e){if(e&&e.props){var o=e.props,i=o.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[D[n]||n]=e[n],t}),t)}(U(o,["children"]));switch(n.warnOnInvalidChildren(e,i),e.type){case v.LINK:case v.META:case v.NOSCRIPT:case v.SCRIPT:case v.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:i});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:i})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=U(e,["children"]),r=q({},n);return t&&(r=this.mapChildrenToProps(t,r)),s.createElement(o,r)},F(t,null,[{key:"canUseDOM",set:function(e){o.canUseDOM=e}}]),t}(s.Component),i.propTypes={base:l().object,bodyAttributes:l().object,children:l().oneOfType([l().arrayOf(l().node),l().node]),defaultTitle:l().string,defer:l().bool,encodeSpecialCharacters:l().bool,htmlAttributes:l().object,link:l().arrayOf(l().object),meta:l().arrayOf(l().object),noscript:l().arrayOf(l().object),onChangeClientState:l().func,script:l().arrayOf(l().object),style:l().arrayOf(l().object),title:l().string,titleAttributes:l().object,titleTemplate:l().string},i.defaultProps={defer:!0,encodeSpecialCharacters:!0},i.peek=o.peek,i.rewind=function(){var e=o.rewind();return e||(e=pe({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},a);de.renderStatic=de.rewind;var he=n(1883),ge=n(6298);function me(e){let{description:t,lang:n,meta:r,keywords:o,title:i}=e;const{site:a}=(0,he.useStaticQuery)("63159454"),s=t||a.siteMetadata.description;return(0,ge.tZ)(de,{htmlAttributes:{lang:n},title:i,titleTemplate:`%s | ${a.siteMetadata.title}`,meta:[{name:"description",content:s},{property:"og:title",content:i},{property:"og:description",content:s},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary"},{name:"twitter:creator",content:a.siteMetadata.author},{name:"twitter:title",content:i},{name:"twitter:description",content:s}].concat(o.length>0?{name:"keywords",content:o.join(", ")}:[]).concat(r)})}me.defaultProps={lang:"en",meta:[],keywords:[],description:""};var ye=me},973:function(e,t,n){"use strict";n.d(t,{B:function(){return c},H:function(){return s}});var r=n(7294),o=n(6298);const i={currentScheme:{},selectedLanguage:"",conceptSchemeLanguages:[],indexPage:!1},a=(0,r.createContext)(i),s=e=>{let{children:t}=e;const{0:n,1:s}=(0,r.useState)(i),c={data:n,updateState:e=>s(e)};return(0,o.tZ)(a.Provider,{value:c},t)},c=()=>{const e=(0,r.useContext)(a);if(null==e)throw new Error("useSkoHubContext must be called within ContextProvider");return e}},7405:function(e,t,n){"use strict";n.d(t,{N:function(){return o}});var r=n(1883);const o=()=>{const{site:e,allConceptScheme:t}=(0,r.useStaticQuery)("4240049689"),n=t.edges.map((e=>{let{node:t}=e;return{[t.id]:{languages:t.fields.languages}}})).reduce(((e,t)=>({...e,...t})),{});return{config:e.siteMetadata,conceptSchemes:n}}},2548:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});const r=e=>{let{availableLanguages:t=[],selectedLanguage:n}=e;if("undefined"!=typeof window){const e=(navigator.language||navigator.userLanguage).slice(0,2);if(n&&t.includes(n))return n;if(n&&!t.includes(n)&&t.includes(e))return e;if(t.includes(e))return e;return t[0]}}},8679:function(e,t,n){"use strict";var r=n(9864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=u(n);p&&(a=a.concat(p(n)));for(var s=c(t),g=c(n),m=0;m=55296&&r<=56319&&t+1=56320&&n<=57343?1024*(r-55296)+n-56320+65536:r}function K(e){return/^\n* /.test(e)}var Q=1,V=2,J=3,G=4,Y=5;function X(e,t,n,r,o,i,a,s){var l,p,f=0,L=null,N=!1,M=!1,I=-1!==r,D=-1,$=U(p=B(e,0))&&p!==c&&!q(p)&&p!==x&&p!==_&&p!==k&&p!==w&&p!==O&&p!==A&&p!==P&&p!==R&&p!==g&&p!==y&&p!==v&&p!==d&&p!==j&&p!==C&&p!==S&&p!==b&&p!==h&&p!==m&&p!==E&&p!==T&&function(e){return!q(e)&&e!==k}(B(e,e.length-1));if(t||a)for(l=0;l=65536?l+=2:l++){if(!U(f=B(e,l)))return Y;$=$&&z(f,L,s),L=f}else{for(l=0;l=65536?l+=2:l++){if((f=B(e,l))===u)N=!0,I&&(M=M||l-D-1>r&&" "!==e[D+1],D=l);else if(!U(f))return Y;$=$&&z(f,L,s),L=f}M=M||I&&l-D-1>r&&" "!==e[D+1]}return N||M?n>9&&K(e)?Y:a?i===Z?Y:V:M?G:J:!$||a||o(e)?i===Z?Y:V:Q}function ee(e,t,n,r,i){e.dump=function(){if(0===t.length)return e.quotingType===Z?'""':"''";if(!e.noCompatMode&&(-1!==N.indexOf(t)||M.test(t)))return e.quotingType===Z?'"'+t+'"':"'"+t+"'";var a=e.indent*Math.max(1,n),s=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),c=r||e.flowLevel>-1&&n>=e.flowLevel;switch(X(t,c,e.indent,s,(function(t){return function(e,t){var n,r;for(n=0,r=e.implicitTypes.length;n"+te(t,e.indent)+ne(H(function(e,t){var n,r,o=/(\n+)([^\n]*)/g,i=(s=e.indexOf("\n"),s=-1!==s?s:e.length,o.lastIndex=s,re(e.slice(0,s),t)),a="\n"===e[0]||" "===e[0];var s;for(;r=o.exec(e);){var c=r[1],l=r[2];n=" "===l[0],i+=c+(a||n||""===l?"":"\n")+re(l,t),a=n}return i}(t,s),a));case Y:return'"'+function(e){for(var t,n="",r=0,o=0;o=65536?o+=2:o++)r=B(e,o),!(t=L[r])&&U(r)?(n+=e[o],r>=65536&&(n+=e[o+1])):n+=t||I(r);return n}(t)+'"';default:throw new o("impossible error: invalid scalar style")}}()}function te(e,t){var n=K(e)?String(t):"",r="\n"===e[e.length-1];return n+(r&&("\n"===e[e.length-2]||"\n"===e)?"+":r?"":"-")+"\n"}function ne(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function re(e,t){if(""===e||" "===e[0])return e;for(var n,r,o=/ [^ ]/g,i=0,a=0,s=0,c="";n=o.exec(e);)(s=n.index)-i>t&&(r=a>i?a:s,c+="\n"+e.slice(i,r),i=r+1),a=s;return c+="\n",e.length-i>t&&a>i?c+=e.slice(i,a)+"\n"+e.slice(a+1):c+=e.slice(i),c.slice(1)}function oe(e,t,n,r){var o,i,a,s="",c=e.tag;for(o=0,i=n.length;o tag resolver accepts not "'+p+'" style');r=u.represent[p](t,p)}e.dump=r}return!0}return!1}function ae(e,t,n,r,i,s,c){e.tag=null,e.dump=n,ie(e,n,!1)||ie(e,n,!0);var l,p=a.call(e.dump),f=r;r&&(r=e.flowLevel<0||e.flowLevel>t);var d,h,g="[object Object]"===p||"[object Array]"===p;if(g&&(h=-1!==(d=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||h||2!==e.indent&&t>0)&&(i=!1),h&&e.usedDuplicates[d])e.dump="*ref_"+d;else{if(g&&h&&!e.usedDuplicates[d]&&(e.usedDuplicates[d]=!0),"[object Object]"===p)r&&0!==Object.keys(e.dump).length?(!function(e,t,n,r){var i,a,s,c,l,p,f="",d=e.tag,h=Object.keys(n);if(!0===e.sortKeys)h.sort();else if("function"==typeof e.sortKeys)h.sort(e.sortKeys);else if(e.sortKeys)throw new o("sortKeys must be a boolean or a function");for(i=0,a=h.length;i1024)&&(e.dump&&u===e.dump.charCodeAt(0)?p+="?":p+="? "),p+=e.dump,l&&(p+=F(e,t)),ae(e,t+1,c,!0,l)&&(e.dump&&u===e.dump.charCodeAt(0)?p+=":":p+=": ",f+=p+=e.dump));e.tag=d,e.dump=f||"{}"}(e,t,e.dump,i),h&&(e.dump="&ref_"+d+e.dump)):(!function(e,t,n){var r,o,i,a,s,c="",l=e.tag,u=Object.keys(n);for(r=0,o=u.length;r1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),ae(e,t,a,!1,!1)&&(c+=s+=e.dump));e.tag=l,e.dump="{"+c+"}"}(e,t,e.dump),h&&(e.dump="&ref_"+d+" "+e.dump));else if("[object Array]"===p)r&&0!==e.dump.length?(e.noArrayIndent&&!c&&t>0?oe(e,t-1,e.dump,i):oe(e,t,e.dump,i),h&&(e.dump="&ref_"+d+e.dump)):(!function(e,t,n){var r,o,i,a="",s=e.tag;for(r=0,o=n.length;r",e.dump=l+" "+e.dump)}return!0}function se(e,t){var n,r,o=[],i=[];for(ce(e,o,i),n=0,r=i.length;n>10),56320+(e-65536&1023))}for(var A=new Array(256),T=new Array(256),P=0;P<256;P++)A[P]=E(P)?1:0,T[P]=E(P);function j(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||a,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function R(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=i(n),new o(t,n)}function L(e,t){throw R(e,t)}function N(e,t){e.onWarning&&e.onWarning.call(null,R(e,t))}var M={YAML:function(e,t,n){var r,o,i;null!==e.version&&L(e,"duplication of %YAML directive"),1!==n.length&&L(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&L(e,"ill-formed argument of the YAML directive"),o=parseInt(r[1],10),i=parseInt(r[2],10),1!==o&&L(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=i<2,1!==i&&2!==i&&N(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,o;2!==n.length&&L(e,"TAG directive accepts exactly two arguments"),r=n[0],o=n[1],b.test(r)||L(e,"ill-formed tag handle (first argument) of the TAG directive"),s.call(e.tagMap,r)&&L(e,'there is a previously declared suffix for "'+r+'" tag handle'),v.test(o)||L(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch(i){L(e,"tag prefix is malformed: "+o)}e.tagMap[r]=o}};function I(e,t,n,r){var o,i,a,s;if(t1&&(e.result+=r.repeat("\n",t-1))}function U(e,t){var n,r,o=e.tag,i=e.anchor,a=[],s=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),r=e.input.charCodeAt(e.position);0!==r&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,L(e,"tab characters must not be used in indentation")),45===r)&&C(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,H(e,!0,-1)&&e.lineIndent<=t)a.push(null),r=e.input.charCodeAt(e.position);else if(n=e.line,B(e,t,u,!1,!0),a.push(e.result),H(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==r)L(e,"bad indentation of a sequence entry");else if(e.lineIndentt?j=1:e.lineIndent===t?j=0:e.lineIndentt?j=1:e.lineIndent===t?j=0:e.lineIndentt)&&(v&&(a=e.line,s=e.lineStart,c=e.position),B(e,t,p,!0,o)&&(v?y=e.result:b=e.result),v||(Z(e,h,g,m,y,b,a,s,c),m=y=b=null),H(e,!0,-1),u=e.input.charCodeAt(e.position)),(e.line===i||e.lineIndent>t)&&0!==u)L(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===i?L(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):u?L(e,"repeat of an indentation width identifier"):(p=t+i-1,u=!0)}if(k(a)){do{a=e.input.charCodeAt(++e.position)}while(k(a));if(35===a)do{a=e.input.charCodeAt(++e.position)}while(!x(a)&&0!==a)}for(;0!==a;){for($(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!u||e.lineIndentp&&(p=e.lineIndent),x(a))g++;else{if(e.lineIndent0){for(o=a,i=0;o>0;o--)(a=_(s=e.input.charCodeAt(++e.position)))>=0?i=(i<<4)+a:L(e,"expected hexadecimal character");e.result+=O(i),e.position++}else L(e,"unknown escape sequence");n=r=e.position}else x(s)?(I(e,n,r,!0),q(e,H(e,!1,t)),n=r=e.position):e.position===e.lineStart&&F(e)?L(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}L(e,"unexpected end of the stream within a double quoted scalar")}(e,E)?N=!0:!function(e){var t,n,r;if(42!==(r=e.input.charCodeAt(e.position)))return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!C(r)&&!S(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&L(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),s.call(e.anchorMap,n)||L(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],H(e,!0,-1),!0}(e)?function(e,t,n){var r,o,i,a,s,c,l,u,p=e.kind,f=e.result;if(C(u=e.input.charCodeAt(e.position))||S(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(C(r=e.input.charCodeAt(e.position+1))||n&&S(r)))return!1;for(e.kind="scalar",e.result="",o=i=e.position,a=!1;0!==u;){if(58===u){if(C(r=e.input.charCodeAt(e.position+1))||n&&S(r))break}else if(35===u){if(C(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&F(e)||n&&S(u))break;if(x(u)){if(s=e.line,c=e.lineStart,l=e.lineIndent,H(e,!1,-1),e.lineIndent>=t){a=!0,u=e.input.charCodeAt(e.position);continue}e.position=i,e.line=s,e.lineStart=c,e.lineIndent=l;break}}a&&(I(e,o,i,!1),q(e,e.line-s),o=i=e.position,a=!1),k(u)||(i=e.position+1),u=e.input.charCodeAt(++e.position)}return I(e,o,i,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,E,c===n)&&(N=!0,null===e.tag&&(e.tag="?")):(N=!0,null===e.tag&&null===e.anchor||L(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===j&&(N=m&&U(e,P))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&L(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),y=0,b=e.implicitTypes.length;y"),null!==e.result&&w.kind!==e.kind&&L(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+w.kind+'", not "'+e.kind+'"'),w.resolve(e.result,e.tag)?(e.result=w.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):L(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||N}function K(e){var t,n,r,o,i=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(o=e.input.charCodeAt(e.position))&&(H(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(a=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!C(o);)o=e.input.charCodeAt(++e.position);for(r=[],(n=e.input.slice(t,e.position)).length<1&&L(e,"directive name must not be less than one character in length");0!==o;){for(;k(o);)o=e.input.charCodeAt(++e.position);if(35===o){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&!x(o));break}if(x(o))break;for(t=e.position;0!==o&&!C(o);)o=e.input.charCodeAt(++e.position);r.push(e.input.slice(t,e.position))}0!==o&&$(e),s.call(M,n)?M[n](e,n,r):N(e,'unknown document directive "'+n+'"')}H(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,H(e,!0,-1)):a&&L(e,"directives end mark is expected"),B(e,e.lineIndent-1,p,!1,!0),H(e,!0,-1),e.checkLineBreaks&&m.test(e.input.slice(i,e.position))&&N(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&F(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,H(e,!0,-1)):e.positions&&(t=r-s+(i=" ... ").length),n-r>s&&(n=r+s-(a=" ...").length),{str:i+e.slice(t,n).replace(/\t/g,"→")+a,pos:r-t+i.length}}function i(e,t){return r.repeat(" ",t-e.length)+e}e.exports=function(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!=typeof t.linesBefore&&(t.linesBefore=3),"number"!=typeof t.linesAfter&&(t.linesAfter=2);for(var n,a=/\r?\n|\r|\0/g,s=[0],c=[],l=-1;n=a.exec(e.buffer);)c.push(n.index),s.push(n.index+n[0].length),e.position<=n.index&&l<0&&(l=s.length-2);l<0&&(l=s.length-1);var u,p,f="",d=Math.min(e.line+t.linesAfter,c.length).toString().length,h=t.maxLength-(t.indent+d+3);for(u=1;u<=t.linesBefore&&!(l-u<0);u++)p=o(e.buffer,s[l-u],c[l-u],e.position-(s[l]-s[l-u]),h),f=r.repeat(" ",t.indent)+i((e.line-u+1).toString(),d)+" | "+p.str+"\n"+f;for(p=o(e.buffer,s[l],c[l],e.position,h),f+=r.repeat(" ",t.indent)+i((e.line+1).toString(),d)+" | "+p.str+"\n",f+=r.repeat("-",t.indent+d+3+p.pos)+"^\n",u=1;u<=t.linesAfter&&!(l+u>=c.length);u++)p=o(e.buffer,s[l+u],c[l+u],e.position-(s[l]-s[l+u]),h),f+=r.repeat(" ",t.indent)+i((e.line+u+1).toString(),d)+" | "+p.str+"\n";return f.replace(/\n$/,"")}},1364:function(e,t,n){"use strict";var r=n(8425),o=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],i=["scalar","sequence","mapping"];e.exports=function(e,t){var n,a;if(t=t||{},Object.keys(t).forEach((function(t){if(-1===o.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=(n=t.styleAliases||null,a={},null!==n&&Object.keys(n).forEach((function(e){n[e].forEach((function(t){a[String(t)]=e}))})),a),-1===i.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},3531:function(e,t,n){"use strict";var r=n(1364),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";e.exports=new r("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=0,i=e.length,a=o;for(n=0;n64)){if(t<0)return!1;r+=6}return r%8==0},construct:function(e){var t,n,r=e.replace(/[\r\n=]/g,""),i=r.length,a=o,s=0,c=[];for(t=0;t>16&255),c.push(s>>8&255),c.push(255&s)),s=s<<6|a.indexOf(r.charAt(t));return 0===(n=i%4*6)?(c.push(s>>16&255),c.push(s>>8&255),c.push(255&s)):18===n?(c.push(s>>10&255),c.push(s>>2&255)):12===n&&c.push(s>>4&255),new Uint8Array(c)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){var t,n,r="",i=0,a=e.length,s=o;for(t=0;t>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]),i=(i<<8)+e[t];return 0===(n=a%3)?(r+=s[i>>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]):2===n?(r+=s[i>>10&63],r+=s[i>>4&63],r+=s[i<<2&63],r+=s[64]):1===n&&(r+=s[i>>2&63],r+=s[i<<4&63],r+=s[64],r+=s[64]),r}})},8771:function(e,t,n){"use strict";var r=n(1364);e.exports=new r("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},5215:function(e,t,n){"use strict";var r=n(8347),o=n(1364),i=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var a=/^[-+]?[0-9]+e/;e.exports=new o("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!i.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||r.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(r.isNegativeZero(e))return"-0.0";return n=e.toString(10),a.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},1518:function(e,t,n){"use strict";var r=n(8347),o=n(1364);function i(e){return 48<=e&&e<=55}function a(e){return 48<=e&&e<=57}e.exports=new o("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=e.length,o=0,s=!1;if(!r)return!1;if("-"!==(t=e[o])&&"+"!==t||(t=e[++o]),"0"===t){if(o+1===r)return!0;if("b"===(t=e[++o])){for(o++;o=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},945:function(e,t,n){"use strict";var r=n(1364);e.exports=new r("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})},7452:function(e,t,n){"use strict";var r=n(1364);e.exports=new r("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}})},151:function(e,t,n){"use strict";var r=n(1364);e.exports=new r("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})},1605:function(e,t,n){"use strict";var r=n(1364),o=Object.prototype.hasOwnProperty,i=Object.prototype.toString;e.exports=new r("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,a,s,c=[],l=e;for(t=0,n=l.length;t((e,t)=>{const{forward:n=[],...r}=e||{},o=JSON.stringify(r,((e,t)=>("function"==typeof t&&(t=String(t)).startsWith(e+"(")&&(t="function "+t),t)));return["!(function(w,p,f,c){",Object.keys(r).length>0?`c=w[p]=Object.assign(w[p]||{},${o});`:"c=w[p]=w[p]||{};","c[f]=(c[f]||[])",n.length>0?`.concat(${JSON.stringify(n)})`:"","})(window,'partytown','forward');",t].join("")})(e,'/* Partytown 0.7.6 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll(\'script[type="text/partytown"]\'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(f,1e4),e.addEventListener("pt0",w),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):f())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.7.6":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function f(n,r){for(w(),i==t&&(o.forward||[]).map((function(e){delete t[e.split(".")[0]]})),n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n{if("string"==typeof e)return!(e=>l.test(e))(e)},p=()=>"/skohub-pages",f=()=>"/skohub-pages";function d(e,t=p()){var n;if(!u(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;const r=null!=(n=null!=t?t:f())?n:"/";return`${null!=r&&r.endsWith("/")?r.slice(0,-1):r}${e.startsWith("/")?e:`/${e}`}`}const h=e=>null==e?void 0:e.startsWith("/");function g(e,t){const{pathname:n,search:r,hash:o}=c(e);return`${(0,a.H)(n,t)}${r}${o}`}const m=(e,t)=>"number"==typeof e?e:u(e)?h(e)?function(e){const t=d(e),n="always";return g(t,n)}(e):function(e,t){if(h(e))return e;const n="always",r=(0,i.resolve)(e,t);return g(r,n)}(e,t):e,y=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function b(e){return d(e,f())}const v={activeClassName:r.string,activeStyle:r.object,partiallyActive:r.bool};function w(e){return o.createElement(i.Location,null,(({location:t})=>o.createElement(x,s({},e,{_location:t}))))}class x extends o.Component{constructor(e){super(e),this.defaultGetProps=({isPartiallyCurrent:e,isCurrent:t})=>(this.props.partiallyActive?e:t)?{className:[this.props.className,this.props.activeClassName].filter(Boolean).join(" "),style:s({},this.props.style,this.props.activeStyle)}:null;let t=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(t=!0),this.state={IOSupported:t},this.abortPrefetch=null,this.handleRef=this.handleRef.bind(this)}_prefetch(){let e=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname+this.props._location.search);const t=c(m(this.props.to,e)),n=t.pathname+t.search;if(e!==n)return ___loader.enqueue(n)}componentWillUnmount(){if(!this.io)return;const{instance:e,el:t}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),e.unobserve(t),e.disconnect()}handleRef(e){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=((e,t)=>{const n=new window.IntersectionObserver((n=>{n.forEach((n=>{e===n.target&&t(n.isIntersecting||n.intersectionRatio>0)}))}));return n.observe(e),{instance:n,el:e}})(e,(e=>{e?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()})))}render(){const e=this.props,{to:t,getProps:n=this.defaultGetProps,onClick:r,onMouseEnter:a,state:l,replace:p,_location:f}=e,d=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,y),h=m(t,f.pathname);return u(h)?o.createElement(i.Link,s({to:h,state:l,getProps:n,innerRef:this.handleRef,onMouseEnter:e=>{a&&a(e);const t=c(h);___loader.hovering(t.pathname+t.search)},onClick:e=>{if(r&&r(e),!(0!==e.button||this.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();let t=p;const n=encodeURI(h)===f.pathname;"boolean"!=typeof p&&n&&(t=!0),window.___navigate(h,{state:l,replace:t})}return!0}},d)):o.createElement("a",s({href:h},d))}}x.propTypes=s({},v,{onClick:r.func,to:r.string.isRequired,replace:r.bool,state:r.object});const k=o.forwardRef(((e,t)=>o.createElement(w,s({innerRef:t},e)))),C=(e,t)=>{window.___navigate(m(e,window.location.pathname),t)}},3521:function(e,t,n){"use strict";n.r(t),n.d(t,{Script:function(){return h},ScriptStrategy:function(){return l},collectedScriptsByPage:function(){return s},scriptCache:function(){return f},scriptCallbackCache:function(){return d}});var r=n(7294),o=n(5268);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.get(e)||[],set(e,t){const n=a.get(e)||[];n.push(t),a.set(e,n)},delete(e){a.delete(e)}},c="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){const t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)};var l,u;(u=l||(l={})).postHydrate="post-hydrate",u.idle="idle",u.offMainThread="off-main-thread";const p=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),f=new Set,d=new Map;function h(e){return r.createElement(o.Location,null,(()=>r.createElement(g,e)))}function g(e){const{src:t,strategy:n=l.postHydrate}=e||{},{pathname:a}=(0,o.useLocation)();if((0,r.useEffect)((()=>{let t;switch(n){case l.postHydrate:t=m(e);break;case l.idle:c((()=>{t=m(e)}));break;case l.offMainThread:{const t=b(e);s.set(a,t)}}return()=>{const{script:e,loadCallback:n,errorCallback:r}=t||{};n&&(null==e||e.removeEventListener("load",n)),r&&(null==e||e.removeEventListener("error",r)),null==e||e.remove()}}),[]),n===l.offMainThread){const o=y(e),c=b(e);return"undefined"==typeof window&&s.set(a,c),r.createElement("script",o?i({type:"text/partytown","data-strategy":n,crossOrigin:"anonymous"},c,{dangerouslySetInnerHTML:{__html:y(e)}}):i({type:"text/partytown",src:v(t),"data-strategy":n,crossOrigin:"anonymous"},c))}return null}function m(e){const{id:t,src:n,strategy:r=l.postHydrate,onLoad:o,onError:a}=e||{},s=t||n,c=["load","error"],u={load:o,error:a};if(s){for(const e of c)if(null!=u&&u[e]){var p;const t=d.get(s)||{},{callbacks:n=[]}=(null==t?void 0:t[e])||{};var h,g;n.push(null==u?void 0:u[e]),null!=t&&null!=(p=t[e])&&p.event?null==u||null==(h=u[e])||h.call(u,null==t||null==(g=t[e])?void 0:g.event):d.set(s,i({},t,{[e]:{callbacks:n}}))}if(f.has(s))return null}const m=y(e),v=b(e),x=document.createElement("script");t&&(x.id=t),x.dataset.strategy=r;for(const[i,l]of Object.entries(v))x.setAttribute(i,l);m&&(x.textContent=m),n&&(x.src=n);const k={};if(s){for(const e of c){const t=t=>w(t,s,e);x.addEventListener(e,t),k[`${e}Callback`]=t}f.add(s)}return document.body.appendChild(x),{script:x,loadCallback:k.loadCallback,errorCallback:k.errorCallback}}function y(e){const{dangerouslySetInnerHTML:t,children:n=""}=e||{},{__html:r=""}=t||{};return r||n}function b(e){const t={};for(const[n,r]of Object.entries(e))p.has(n)||(t[n]=r);return t}function v(e){if(e)return`/__third-party-proxy?url=${encodeURIComponent(e)}`}function w(e,t,n){const r=d.get(t)||{};for(const i of(null==r||null==(o=r[n])?void 0:o.callbacks)||[]){var o;i(e)}d.set(t,{[n]:{event:e}})}}},function(e){e.O(0,[774],(function(){return t=5824,e(e.s=t);var t}));e.O()}]); -//# sourceMappingURL=app-6f57a535d90786ef4861.js.map \ No newline at end of file +/*! For license information please see app-b1bcfbde75680e16ae35.js.LICENSE.txt */ +(self.webpackChunkskohub_vocabs=self.webpackChunkskohub_vocabs||[]).push([[143],{6298:function(e,t,n){"use strict";n.d(t,{xB:function(){return Re},iv:function(){return Le},tZ:function(){return je}});var r=n(7294),o=n.t(r,2);var i=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?f(k,--w):0,b--,10===x&&(b=1,y--),x}function E(){return x=w2||P(x)>3?"":" "}function M(e,t){for(;--t&&E()&&!(x<48||x>102||x>57&&x<65||x>70&&x<97););return T(e,A()+(t<6&&32==O()&&32==E()))}function I(e){for(;E();)switch(x){case e:return w;case 34:case 39:34!==e&&39!==e&&I(x);break;case 40:41===e&&I(e);break;case 92:E()}return w}function D(e,t){for(;E()&&e+x!==57&&(e+x!==84||47!==O()););return"/*"+T(t,w-1)+"*"+s(47===e?e:E())}function Z(e){for(;!P(O());)E();return T(e,w)}var $="-ms-",H="-moz-",F="-webkit-",q="comm",U="rule",W="decl",z="@keyframes";function B(e,t){for(var n="",r=g(e),o=0;o0&&h(I)-y&&m(v>32?Y(I+";",r,n,y-1):Y(u(I," ","")+";",r,n,y-2),l);break;case 59:I+=";";default:if(m(R=J(I,t,n,d,g,o,c,T,P=[],j=[],y),i),123===S)if(0===g)V(I,t,R,R,P,i,y,c,j);else switch(99===b&&110===f(I,3)?100:b){case 100:case 108:case 109:case 115:V(e,R,R,r&&m(J(e,R,R,0,0,o,c,T,o,P=[],y),j),o,j,y,c,r?P:j);break;default:V(I,R,R,R,[""],j,0,c,j)}}d=g=v=0,x=C=1,T=I="",y=a;break;case 58:y=1+h(I),v=w;default:if(x<1)if(123==S)--x;else if(125==S&&0==x++&&125==_())continue;switch(I+=s(S),S*x){case 38:C=g>0?1:(I+="\f",-1);break;case 44:c[d++]=(h(I)-1)*C,C=1;break;case 64:45===O()&&(I+=L(E())),b=O(),g=y=h(T=I+=Z(A())),S++;break;case 45:45===w&&2==h(I)&&(x=0)}}return i}function J(e,t,n,r,o,i,s,c,p,f,h){for(var m=o-1,y=0===o?i:[""],b=g(y),v=0,w=0,x=0;v0?y[k]+" "+S:u(S,/&\f/g,y[k])))&&(p[x++]=_);return C(e,t,n,0===o?U:c,p,f,h)}function G(e,t,n){return C(e,t,n,q,s(x),d(e,2,-2),0)}function Y(e,t,n,r){return C(e,t,n,W,d(e,0,r),d(e,r+1,-1),r)}var X=function(e,t,n){for(var r=0,o=0;r=o,o=O(),38===r&&12===o&&(t[n]=1),!P(o);)E();return T(e,w)},ee=function(e,t){return R(function(e,t){var n=-1,r=44;do{switch(P(r)){case 0:38===r&&12===O()&&(t[n]=1),e[n]+=X(w-1,t,n);break;case 2:e[n]+=L(r);break;case 4:if(44===r){e[++n]=58===O()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=s(r)}}while(r=E());return e}(j(e),t))},te=new WeakMap,ne=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||te.get(n))&&!r){te.set(e,!0);for(var o=[],i=ee(t,o),a=n.props,s=0,c=0;s6)switch(f(e,t+1)){case 109:if(45!==f(e,t+4))break;case 102:return u(e,/(.+:)(.+)-([^]+)/,"$1"+F+"$2-$3$1"+H+(108==f(e,t+3)?"$3":"$2-$3"))+e;case 115:return~p(e,"stretch")?oe(u(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==f(e,t+1))break;case 6444:switch(f(e,h(e)-3-(~p(e,"!important")&&10))){case 107:return u(e,":",":"+F)+e;case 101:return u(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+F+(45===f(e,14)?"inline-":"")+"box$3$1"+F+"$2$3$1"+$+"$2box$3")+e}break;case 5936:switch(f(e,t+11)){case 114:return F+e+$+u(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+$+u(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+$+u(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return F+e+$+e+e}return e}var ie=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case W:e.return=oe(e.value,e.length);break;case z:return B([S(e,{value:u(e.value,"@","@"+F)})],r);case U:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return B([S(e,{props:[u(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return B([S(e,{props:[u(t,/:(plac\w+)/,":"+F+"input-$1")]}),S(e,{props:[u(t,/:(plac\w+)/,":-moz-$1")]}),S(e,{props:[u(t,/:(plac\w+)/,$+"input-$1")]})],r)}return""}))}}],ae=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||ie;var o,a,s={},c=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+c;return{name:l,styles:o,next:be}},xe=!!o.useInsertionEffect&&o.useInsertionEffect,ke=xe||function(e){return e()},Ce=xe||r.useLayoutEffect,Se={}.hasOwnProperty,_e=r.createContext("undefined"!=typeof HTMLElement?ae({key:"css"}):null);_e.Provider;var Ee=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(_e);return e(t,o,n)}))};var Oe=r.createContext({});var Ae="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Te=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return se(t,n,r),ke((function(){return ce(t,n,r)})),null};var Pe=Ee((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[Ae],a=[o],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var c=we(a,void 0,r.useContext(Oe));s+=t.key+"-"+c.name;var l={};for(var u in e)Se.call(e,u)&&"css"!==u&&u!==Ae&&(l[u]=e[u]);return l.ref=n,l.className=s,r.createElement(r.Fragment,null,r.createElement(Te,{cache:t,serialized:c,isStringTag:"string"==typeof i}),r.createElement(i,l))})),je=(n(434),n(8679),function(e,t){var n=arguments;if(null==t||!Se.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=Pe,i[1]=function(e,t){var n={};for(var r in t)Se.call(t,r)&&(n[r]=t[r]);return n[Ae]=e,n}(e,t);for(var a=2;at?e.slice(n,n+t):e}function k(e,t,n,r){if(n){const o=r&&t>n;e=(e=e[o?t:n])&&e[o?n:t]}else e=e[t];return e}function C(e,t,n,r,i){let a=0;if((0,o.WN)(e))if(i){const n=e.indexOf(t);-1===n?a++:1=this.minlength&&(s||!a[u])){let f=w(c,i,l),d="";switch(this.tokenize){case"full":if(2t;r--)if(r-t>=this.minlength){const o=w(c,i,l,p,t);d=u.substring(t,r),this.push_index(a,d,o,e,n)}break}case"reverse":if(1=this.minlength){const r=w(c,i,l,p,t);this.push_index(a,d,r,e,n)}d=""}case"forward":if(1=this.minlength&&this.push_index(a,d,f,e,n);break}default:if(this.boost&&(f=Math.min(0|f/this.boost(t,u,l),c-1)),this.push_index(a,u,f,e,n),s&&1=this.minlength&&!a[u]){a[u]=1;const t=w(c+(i/2>c?0:1),i,l,f-1,o-1),s=this.bidirectional&&u>p;this.push_index(r,s?p:u,t,e,n,s?u:p)}}}}}this.fastupdate||(this.register[e]=1)}}return this},b.prototype.push_index=function(e,t,n,r,i,a){let s=a?this.ctx:this.map;if((!e[t]||a&&!e[t][a])&&(this.optimize&&(s=s[n]),a?((e=e[t]||(e[t]=(0,o.Vf)()))[a]=1,s=s[a]||(s[a]=(0,o.Vf)())):e[t]=1,s=s[t]||(s[t]=[]),this.optimize||(s=s[n]||(s[n]=[])),(!i||!s.includes(r))&&(s[s.length]=r,this.fastupdate))){const e=this.register[r]||(this.register[r]=[]);e[e.length]=s}},b.prototype.search=function(e,t,n){n||(!t&&(0,o.TU)(e)?e=(n=e).query:(0,o.TU)(t)&&(n=t));let i,a,s,c=[],l=0;if(n&&(e=n.query||e,t=n.limit,l=n.offset||0,a=n.context,s=r.rw&&n.suggest),e&&(i=(e=this.encode(""+e)).length,1=this.minlength&&!t[r]){if(!this.optimize&&!s&&!this.map[r])return c;n[a++]=r,t[r]=1}i=(e=n).length}if(!i)return c;t||(t=100);let u,p=this.depth&&1=n)))));p++);if(t)return o?x(s,n,0):void(e[e.length]=s)}return!t&&s},b.prototype.contain=function(e){return!!this.register[e]},b.prototype.update=function(e,t){return this.remove(e).add(e,t)},b.prototype.remove=function(e,t){const n=this.register[e];if(n){if(this.fastupdate)for(let t,r=0;r{if("/"===e)return e;const r=e.endsWith("/");return((e,t)=>{for(const n of e)if(t.endsWith(n))return!0;return!1})(n,e)?e:"always"===t?r?e:`${e}/`:"never"===t&&r?e.slice(0,-1):e}},9679:function(e,t,n){"use strict";t.p2=t.$C=void 0;var r=n(1432);t.$C=r.ScrollHandler;var o=n(4855);t.p2=o.useScrollRestoration},1432:function(e,t,n){"use strict";var r=n(4836);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=r(n(6115)),i=r(n(7867)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(7294)),s=r(n(5697)),c=n(1142);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}var u=a.createContext(new c.SessionStorage);t.ScrollContext=u,u.displayName="GatsbyScrollContext";var p=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i{}},7730:function(e,t){"use strict";t.__esModule=!0,t.getForwards=function(e){return null==e?void 0:e.flatMap((e=>(null==e?void 0:e.forward)||[]))}},2731:function(e,t,n){"use strict";t.__esModule=!0,t.injectPartytownSnippet=function(e){if(!e.length)return;const t=document.querySelector("script[data-partytown]"),n=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');t&&t.remove();n&&n.remove();const i=(0,o.getForwards)(e),a=document.createElement("script");a.dataset.partytown="",a.innerHTML=(0,r.partytownSnippet)({forward:i}),document.head.appendChild(a)};var r=n(2911),o=n(7730)},5418:function(e,t,n){t.components={"component---src-components-concept-jsx":()=>n.e(934).then(n.bind(n,781)),"component---src-components-concept-scheme-jsx":()=>Promise.all([n.e(934),n.e(565)]).then(n.bind(n,9656)),"component---src-pages-404-js":()=>n.e(883).then(n.bind(n,429)),"component---src-pages-index-js":()=>n.e(678).then(n.bind(n,6558))}},4741:function(e,t,n){e.exports=[{plugin:n(9608),options:{plugins:[],name:"Skohub Vocabs",short_name:"Skohub Vocabs",start_url:"/",background_color:"#ffffff",theme_color:"#26c884",display:"minimal-ui",icon:"src/images/skohub-icon.png",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"3b68e7175ff10cac1dc50da0827ce2e1"}},{plugin:n(6517),options:{plugins:[]}},{plugin:n(4094),options:{plugins:[]}}]},3092:function(e,t,n){const r=n(4741),{getResourceURLsForPathname:o,loadPage:i,loadPageSync:a}=n(1975).jN;t.h=function(e,t,n,s){void 0===t&&(t={});let c=r.map((n=>{if(!n.plugin[e])return;t.getResourceURLsForPathname=o,t.loadPage=i,t.loadPageSync=a;const r=n.plugin[e](t,n.options);return r&&s&&(t=s({args:t,result:r,plugin:n})),r}));return c=c.filter((e=>void 0!==e)),c.length>0?c:n?[n]:[]},t.I=(e,t,n)=>r.reduce(((n,r)=>r.plugin[e]?n.then((()=>r.plugin[e](t,r.options))):n),Promise.resolve())},4004:function(e,t){t.M=()=>""},8299:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).slice().map((function(e){e(n)})),(e["*"]||[]).slice().map((function(e){e(t,n)}))}}}()},7802:function(e,t,n){"use strict";n.d(t,{UD:function(){return f},Cj:function(){return h},GA:function(){return d},DS:function(){return p}});var r=n(5268),o=n(1505),i=e=>{if(void 0===e)return e;let[t,n=""]=e.split("?");return n&&(n="?"+n),"/"===t?"/"+n:"/"===t.charAt(t.length-1)?t.slice(0,-1)+n:t+n},a=n(6073);const s=new Map;let c=[];const l=e=>{let t=e;if(-1!==e.indexOf("?")){const[n,r]=e.split("?");t=`${n}?${encodeURIComponent(r)}`}const n=decodeURIComponent(t);return(0,o.Z)(n,decodeURIComponent("/skohub-pages")).split("#")[0]};function u(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const p=e=>{c=e},f=e=>{const t=g(e),n=c.map((e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}})),o=(0,r.pick)(n,t);return o?i(o.route.originalPath):null},d=e=>{const t=g(e),n=c.map((e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}})),o=(0,r.pick)(n,t);return o?o.params:{}},h=e=>{const t=l(u(e));if(s.has(t))return s.get(t);const n=(0,a.J)(e);if(n)return h(n.toPath);let r=f(t);return r||(r=g(e)),s.set(t,r),r},g=e=>{let t=l(u(e));return"/index.html"===t&&(t="/"),t=i(t),t}},1883:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return s.rU},PageRenderer:function(){return i()},Script:function(){return _.Script},ScriptStrategy:function(){return _.ScriptStrategy},Slice:function(){return k},StaticQuery:function(){return c.i1},StaticQueryContext:function(){return c.B9},collectedScriptsByPage:function(){return _.collectedScriptsByPage},graphql:function(){return O},navigate:function(){return s.c4},parsePath:function(){return s.cP},prefetchPathname:function(){return E},scriptCache:function(){return _.scriptCache},scriptCallbackCache:function(){return _.scriptCallbackCache},useScrollRestoration:function(){return a.p2},useStaticQuery:function(){return c.K2},withAssetPrefix:function(){return s.mc},withPrefix:function(){return s.dq}});var r=n(1975),o=n(2743),i=n.n(o),a=n(9679),s=n(1562),c=n(1757);var l=n(4578);function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var p=n(9611);function f(e,t,n){return f=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&(0,p.Z)(o,n.prototype),o},f.apply(null,arguments)}function d(e){var t="function"==typeof Map?new Map:void 0;return d=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return f(e,arguments,u(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,p.Z)(n,e)},d(e)}var h=n(7294),g=n(4004),m=n(8995);const y=e=>{let{sliceId:t,children:n}=e;const r=[h.createElement("slice-start",{id:`${t}-1`}),h.createElement("slice-end",{id:`${t}-1`})];return n&&(r.push(n),r.push(h.createElement("slice-start",{id:`${t}-2`}),h.createElement("slice-end",{id:`${t}-2`}))),r};var b=n(6298);const v=e=>{let{sliceName:t,allowEmpty:n,children:r,...o}=e;const i=(0,h.useContext)(m.u0),a=(0,h.useContext)(m.Db),s=i[t];if(!s){if(n)return null;throw new Error(`Slice "${s}" for "${t}" slot not found`)}const c=((e,t)=>Object.keys(t).length?`${e}-${(0,g.M)(t)}`:e)(s,o);let l=a[c];return l?r&&(l.hasChildren=!0):a[c]=l={props:o,sliceName:s,hasChildren:!!r},(0,b.tZ)(y,{sliceId:c},r)};var w=n(7462);const x=e=>{let{sliceName:t,allowEmpty:n,children:r,...o}=e;const i=(0,h.useContext)(m.u0),a=(0,h.useContext)(m.m3),s=i[t],c=a.get(s);if(!c){if(n)return null;throw new Error(`Slice "${s}" for "${t}" slot not found`)}return(0,b.tZ)(c.component,(0,w.Z)({sliceContext:c.sliceContext,data:c.data},o),r)};function k(e){{const t={...e,sliceName:e.alias};delete t.alias,delete t.__renderedByLocation;const n=(0,h.useContext)(m.Bs),r=S(e);if(Object.keys(r).length)throw new C("browser"===n.renderEnvironment,t.sliceName,r,e.__renderedByLocation);if("server"===n.renderEnvironment)return(0,b.tZ)(v,t);if("browser"===n.renderEnvironment)return(0,b.tZ)(x,t);if("engines"===n.renderEnvironment||"dev-ssr"===n.renderEnvironment)return(0,b.tZ)(x,t);if("slices"===n.renderEnvironment){let t="";try{t=`\n\nSlice component "${n.sliceRoot.name}" (${n.sliceRoot.componentPath}) tried to render `}catch{}throw new Error(`Nested slices are not supported.${t}\n\nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-slice#nested-slices`)}throw new Error(`Slice context "${n.renderEnvironment}" is not supported.`)}}let C=function(e){function t(n,r,o,i){var a;const s=Object.entries(o).map((e=>{let[t,n]=e;return`not serializable "${n}" type passed to "${t}" prop`})).join(", "),c="SlicePropsError";let l="",u="";if(n){const e=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack().trim().split("\n").slice(1);e[0]=e[0].trim(),l="\n"+e.join("\n"),u=`Slice "${r}" was passed props that are not serializable (${s}).`}else{u=`${c}: Slice "${r}" was passed props that are not serializable (${s}).`;l=`${u}\n${(new Error).stack.trim().split("\n").slice(2).join("\n")}`}return(a=e.call(this,u)||this).name=c,l?a.stack=l:Error.captureStackTrace(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(a),t),i&&(a.forcedLocation={...i,functionName:"Slice"}),a}return(0,l.Z)(t,e),t}(d(Error));const S=function(e,t,n,r){void 0===t&&(t={}),void 0===n&&(n=[]),void 0===r&&(r=null);for(const[o,i]of Object.entries(e)){if(null==i||!r&&"children"===o)continue;const e=r?`${r}.${o}`:o;"function"==typeof i?t[e]=typeof i:"object"==typeof i&&n.indexOf(i)<=0&&(n.push(i),S(i,t,n,e))}return t};var _=n(3521);const E=r.ZP.enqueue;function O(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.\n\nUnless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}},1975:function(e,t,n){"use strict";n.d(t,{uQ:function(){return p},kL:function(){return x},ZP:function(){return S},Nt:function(){return E},hs:function(){return _},jN:function(){return C},N1:function(){return k}});var r=n(4578),o=n(5785),i=n(904);const a=function(e){if("undefined"==typeof document)return!1;const t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(n){return!1}return!1}("prefetch")?function(e,t){return new Promise(((n,r)=>{if("undefined"==typeof document)return void r();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach((e=>{o.setAttribute(e,t[e])})),o.onload=n,o.onerror=r;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=()=>{200===r.status?t():n()},r.send(null)}))},s={};var c=function(e,t){return new Promise((n=>{s[e]?n():a(e,t).then((()=>{n(),s[e]=!0})).catch((()=>{}))}))},l=n(8299),u=n(7802);const p={Error:"error",Success:"success"},f=e=>{const[t,n]=e.split("?");var r;return`/skohub-pages/page-data/${"/"===t?"index":(r="/"===(r=t)[0]?r.slice(1):r).endsWith("/")?r.slice(0,-1):r}/page-data.json${n?`?${n}`:""}`},d=e=>e.startsWith("//");function h(e,t){return void 0===t&&(t="GET"),new Promise((n=>{const r=new XMLHttpRequest;r.open(t,e,!0),r.onreadystatechange=()=>{4==r.readyState&&n(r)},r.send(null)}))}const g=/bot|crawler|spider|crawling/i,m=function(e,t,n){var r;void 0===t&&(t=null);const o={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes,getServerDataError:e.getServerDataError,slicesMap:null!==(r=e.slicesMap)&&void 0!==r?r:{}};return{component:t,head:n,json:e.result,page:o}};function y(e){return new Promise((t=>{try{const n=e.readRoot();t(n)}catch(n){if(!Object.hasOwnProperty.call(n,"_response")||!Object.hasOwnProperty.call(n,"_status"))throw n;setTimeout((()=>{y(e).then(t)}),200)}}))}let b=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.partialHydrationDb=new Map,this.slicesDataDb=new Map,this.sliceInflightDb=new Map,this.slicesDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,u.DS)(t)}var t=e.prototype;return t.memoizedGet=function(e){let t=this.inFlightNetworkRequests.get(e);return t||(t=h(e,"GET"),this.inFlightNetworkRequests.set(e,t)),t.then((t=>(this.inFlightNetworkRequests.delete(e),t))).catch((t=>{throw this.inFlightNetworkRequests.delete(e),t}))},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some((e=>e))},t.fetchPageDataJson=function(e){const{pagePath:t,retries:n=0}=e,r=f(t);return this.memoizedGet(r).then((r=>{const{status:o,responseText:i}=r;if(200===o)try{const n=JSON.parse(i);if(void 0===n.path)throw new Error("not a valid pageData response");const r=t.split("?")[1];return r&&!n.path.includes(r)&&(n.path+=`?${r}`),Object.assign(e,{status:p.Success,payload:n})}catch(a){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:p.Error}):this.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPageDataJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:p.Error})}))},t.fetchPartialHydrationJson=function(e){const{pagePath:t,retries:n=0}=e,r=f(t).replace(".json","-rsc.json");return this.memoizedGet(r).then((r=>{const{status:o,responseText:i}=r;if(200===o)try{return Object.assign(e,{status:p.Success,payload:i})}catch(a){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:p.Error}):this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPartialHydrationJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:p.Error})}))},t.loadPageDataJson=function(e){const t=(0,u.Cj)(e);if(this.pageDataDb.has(t)){const e=this.pageDataDb.get(t);return Promise.resolve(e)}return this.fetchPageDataJson({pagePath:t}).then((e=>(this.pageDataDb.set(t,e),e)))},t.loadPartialHydrationJson=function(e){const t=(0,u.Cj)(e);if(this.partialHydrationDb.has(t)){const e=this.partialHydrationDb.get(t);return Promise.resolve(e)}return this.fetchPartialHydrationJson({pagePath:t}).then((e=>(this.partialHydrationDb.set(t,e),e)))},t.loadSliceDataJson=function(e){if(this.slicesDataDb.has(e)){const t=this.slicesDataDb.get(e);return Promise.resolve({sliceName:e,jsonPayload:t})}return h(`/skohub-pages/slice-data/${e}.json`,"GET").then((t=>{const n=JSON.parse(t.responseText);return this.slicesDataDb.set(e,n),{sliceName:e,jsonPayload:n}}))},t.findMatchPath=function(e){return(0,u.UD)(e)},t.loadPage=function(e){const t=(0,u.Cj)(e);if(this.pageDb.has(t)){const e=this.pageDb.get(t);return e.error?Promise.resolve({error:e.error,status:e.status}):Promise.resolve(e.payload)}if(this.inFlightDb.has(t))return this.inFlightDb.get(t);const n=[this.loadAppData(),this.loadPageDataJson(t)];const r=Promise.all(n).then((e=>{const[n,r,a]=e;if(r.status===p.Error||(null==a?void 0:a.status)===p.Error)return{status:p.Error};let s=r.payload;const{componentChunkName:c,staticQueryHashes:u=[],slicesMap:f={}}=s,d={},h=Array.from(new Set(Object.values(f))),g=e=>{if(this.slicesDb.has(e.name))return this.slicesDb.get(e.name);if(this.sliceInflightDb.has(e.name))return this.sliceInflightDb.get(e.name);const t=this.loadComponent(e.componentChunkName).then((t=>{return{component:(n=t,n&&n.default||n),sliceContext:e.result.sliceContext,data:e.result.data};var n}));return this.sliceInflightDb.set(e.name,t),t.then((t=>{this.slicesDb.set(e.name,t),this.sliceInflightDb.delete(e.name)})),t};return Promise.all(h.map((e=>this.loadSliceDataJson(e)))).then((e=>{const f=[],h=(0,o.Z)(u);for(const{jsonPayload:t,sliceName:n}of Object.values(e)){f.push({name:n,...t});for(const e of t.staticQueryHashes)h.includes(e)||h.push(e)}const b=[Promise.all(f.map(g)),this.loadComponent(c,"head")];b.push(this.loadComponent(c));const v=Promise.all(b).then((e=>{const[t,o,c]=e;d.createdAt=new Date;for(const n of t)(!n||n instanceof Error)&&(d.status=p.Error,d.error=n);let l;if((!c||c instanceof Error)&&(d.status=p.Error,d.error=c),d.status!==p.Error){if(d.status=p.Success,!0!==r.notFound&&!0!==(null==a?void 0:a.notFound)||(d.notFound=!0),s=Object.assign(s,{webpackCompilationHash:n?n.webpackCompilationHash:""}),"string"==typeof(null==a?void 0:a.payload)){l=m(s,null,o),l.partialHydration=a.payload;const e=new ReadableStream({start(e){const t=new TextEncoder;e.enqueue(t.encode(a.payload))},pull(e){e.close()},cancel(){}});return y((0,i.createFromReadableStream)(e)).then((e=>(l.partialHydration=e,l)))}l=m(s,c,o)}return l})),w=Promise.all(h.map((e=>{if(this.staticQueryDb[e]){const t=this.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:t}}return this.memoizedGet(`/skohub-pages/page-data/sq/d/${e}.json`).then((t=>{const n=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:n}})).catch((()=>{throw new Error(`We couldn't load "/skohub-pages/page-data/sq/d/${e}.json"`)}))}))).then((e=>{const t={};return e.forEach((e=>{let{staticQueryHash:n,jsonPayload:r}=e;t[n]=r,this.staticQueryDb[n]=r})),t}));return Promise.all([v,w]).then((e=>{let n,[r,o]=e;return r&&(n={...r,staticQueryResults:o},d.payload=n,l.Z.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(t,d),d.error?{error:d.error,status:d.status}:n})).catch((e=>({error:e,status:p.Error})))}))}));return r.then((()=>{this.inFlightDb.delete(t)})).catch((e=>{throw this.inFlightDb.delete(t),e})),this.inFlightDb.set(t,r),r},t.loadPageSync=function(e,t){void 0===t&&(t={});const n=(0,u.Cj)(e);if(this.pageDb.has(n)){var r;const e=this.pageDb.get(n);if(e.payload)return e.payload;if(null!==(r=t)&&void 0!==r&&r.withErrorDetails)return{error:e.error,status:e.status}}},t.shouldPrefetch=function(e){return!!(()=>{if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0})()&&((!navigator.userAgent||!g.test(navigator.userAgent))&&!this.pageDb.has(e))},t.prefetch=function(e){if(!this.shouldPrefetch(e))return{then:e=>e(!1),abort:()=>{}};if(this.prefetchTriggered.has(e))return{then:e=>e(!0),abort:()=>{}};const t={resolve:null,reject:null,promise:null};t.promise=new Promise(((e,n)=>{t.resolve=e,t.reject=n})),this.prefetchQueued.push([e,t]);const n=new AbortController;return n.signal.addEventListener("abort",(()=>{const t=this.prefetchQueued.findIndex((t=>{let[n]=t;return n===e}));-1!==t&&this.prefetchQueued.splice(t,1)})),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)),{then:(e,n)=>t.promise.then(e,n),abort:n.abort.bind(n)}},t._processNextPrefetchBatch=function(){(window.requestIdleCallback||(e=>setTimeout(e,0)))((()=>{const e=this.prefetchQueued.splice(0,4),t=Promise.all(e.map((e=>{let[t,n]=e;return this.prefetchTriggered.has(t)||(this.apiRunner("onPrefetchPathname",{pathname:t}),this.prefetchTriggered.add(t)),this.prefetchDisabled?n.resolve(!1):this.doPrefetch((0,u.Cj)(t)).then((()=>{this.prefetchCompleted.has(t)||(this.apiRunner("onPostPrefetchPathname",{pathname:t}),this.prefetchCompleted.add(t)),n.resolve(!0)}))})));this.prefetchQueued.length?t.then((()=>{setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)})):this.isPrefetchQueueRunning=!1}))},t.doPrefetch=function(e){const t=f(e);return c(t,{crossOrigin:"anonymous",as:"fetch"}).then((()=>this.loadPageDataJson(e)))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){const t=(0,u.Cj)(e),n=this.pageDataDb.get(t);if(n){const e=m(n.payload);return[].concat((0,o.Z)(v(e.page.componentChunkName)),[f(t)])}return null},t.isPageNotFound=function(e){const t=(0,u.Cj)(e),n=this.pageDb.get(t);return!n||n.notFound},t.loadAppData=function(e){return void 0===e&&(e=0),this.memoizedGet("/skohub-pages/page-data/app-data.json").then((t=>{const{status:n,responseText:r}=t;let o;if(200!==n&&e<3)return this.loadAppData(e+1);if(200===n)try{const e=JSON.parse(r);if(void 0===e.webpackCompilationHash)throw new Error("not a valid app-data response");o=e}catch(i){}return o}))},e}();const v=e=>(window.___chunkMapping[e]||[]).map((e=>"/skohub-pages"+e));let w,x=function(e){function t(t,n,r){var o;return o=e.call(this,(function(e,n){if(void 0===n&&(n="components"),!t[n="components"][e])throw new Error(`We couldn't find the correct component chunk with the name "${e}"`);return t[n][e]().catch((e=>e))}),n)||this,r&&o.pageDataDb.set((0,u.Cj)(r.path),{pagePath:r.path,payload:r,status:"success"}),o}(0,r.Z)(t,e);var n=t.prototype;return n.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then((e=>{if(e.status!==p.Success)return Promise.resolve();const t=e.payload,n=t.componentChunkName,r=v(n);return Promise.all(r.map(c)).then((()=>t))}))},n.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then((e=>e.notFound?d(t)?e:h(t,"HEAD").then((t=>200===t.status?{status:p.Error}:e)):e))},n.loadPartialHydrationJson=function(t){return e.prototype.loadPartialHydrationJson.call(this,t).then((e=>e.notFound?d(t)?e:h(t,"HEAD").then((t=>200===t.status?{status:p.Error}:e)):e))},t}(b);const k=e=>{w=e},C={enqueue:e=>w.prefetch(e),getResourceURLsForPathname:e=>w.getResourceURLsForPathname(e),loadPage:e=>w.loadPage(e),loadPageSync:function(e,t){return void 0===t&&(t={}),w.loadPageSync(e,t)},prefetch:e=>w.prefetch(e),isPageNotFound:e=>w.isPageNotFound(e),hovering:e=>w.hovering(e),loadAppData:()=>w.loadAppData()};var S=C;function _(){return w?w.staticQueryDb:{}}function E(){return w?w.slicesDb:{}}},4779:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(7294),o=n(5697),i=n.n(o),a=n(3092),s=n(7802),c=n(5785),l=n(1883),u=n(5268),p=n(4941);function f(e){let{children:t,callback:n}=e;return(0,r.useEffect)((()=>{n()})),t}const d=["link","meta","style","title","base","noscript","script","html","body"];function h(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){const r=t.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===e.nonce&&e.isEqualNode(r)}}return e.isEqualNode(t)}function g(e,t){void 0===t&&(t={html:{},body:{}});const n=new Map,r=[];for(const l of e.childNodes){var o,i;const e=l.nodeName.toLowerCase(),u=null===(o=l.attributes)||void 0===o||null===(i=o.id)||void 0===i?void 0:i.value;if(b(l)){if(y(e))if("html"===e||"body"===e)for(const n of l.attributes){const r="style"===n.name;var a;if(t[e]={...t[e]},r||(t[e][n.name]=n.value),r)t[e].style=`${null!==(a=t[e])&&void 0!==a&&a.style?t[e].style:""}${n.value} `}else{let e=l.cloneNode(!0);if(e.setAttribute("data-gatsby-head",!0),"script"===e.nodeName.toLowerCase()&&(e=m(e)),u)if(n.has(u)){var s;const t=n.get(u);null===(s=r[t].parentNode)||void 0===s||s.removeChild(r[t]),r[t]=e}else r.push(e),n.set(u,r.length-1);else r.push(e)}l.childNodes.length&&r.push.apply(r,(0,c.Z)(g(l,t).validHeadNodes))}}return{validHeadNodes:r,htmlAndBodyAttributes:t}}function m(e){const t=document.createElement("script");for(const n of e.attributes)t.setAttribute(n.name,n.value);return t.innerHTML=e.innerHTML,t}function y(e){return d.includes(e)}function b(e){return 1===e.nodeType}var v=n(6298);const w=document.createElement("div"),x={html:[],body:[]},k=()=>{var e;const{validHeadNodes:t,htmlAndBodyAttributes:n}=g(w);x.html=Object.keys(n.html),x.body=Object.keys(n.body),function(e){if(!e)return;const{html:t,body:n}=e,r=document.querySelector("html");r&&Object.entries(t).forEach((e=>{let[t,n]=e;r.setAttribute(t,n)}));const o=document.querySelector("body");o&&Object.entries(n).forEach((e=>{let[t,n]=e;o.setAttribute(t,n)}))}(n);const r=document.querySelectorAll("[data-gatsby-head]");var o;if(0===r.length)return void(o=document.head).append.apply(o,(0,c.Z)(t));const i=[];!function(e){let{oldNodes:t,newNodes:n,onStale:r,onNew:o}=e;for(const i of t){const e=n.findIndex((e=>h(e,i)));-1===e?r(i):n.splice(e,1)}for(const i of n)o(i)}({oldNodes:r,newNodes:t,onStale:e=>e.parentNode.removeChild(e),onNew:e=>i.push(e)}),(e=document.head).append.apply(e,i)};function C(e){let{pageComponent:t,staticQueryResults:n,pageComponentProps:o}=e;(0,r.useEffect)((()=>{if(null!=t&&t.Head){!function(e){if("function"!=typeof e)throw new Error(`Expected "Head" export to be a function got "${typeof e}".`)}(t.Head);const{render:r}=(0,p.U)(),i=(0,v.tZ)(t.Head,{location:{pathname:(e=o).location.pathname},params:e.params,data:e.data||{},serverData:e.serverData,pageContext:e.pageContext}),s=(0,a.h)("wrapRootElement",{element:i},i,(e=>{let{result:t}=e;return{element:t}})).pop();r((0,v.tZ)(f,{callback:k},(0,v.tZ)(l.StaticQueryContext.Provider,{value:n},(0,v.tZ)(u.LocationProvider,null,s))),w)}var e;return()=>{!function(){const e=document.querySelectorAll("[data-gatsby-head]");for(const t of e)t.parentNode.removeChild(t)}(),function(e){if(!e)return;const{html:t,body:n}=e;if(t){const e=document.querySelector("html");t.forEach((t=>{e&&e.removeAttribute(t)}))}if(n){const e=document.querySelector("body");n.forEach((t=>{e&&e.removeAttribute(t)}))}}(x)}}))}function S(e){const t={...e,params:{...(0,s.GA)(e.location.pathname),...e.pageResources.json.pageContext.__params}};let n;var o;n=e.pageResources.partialHydration?e.pageResources.partialHydration:(0,r.createElement)((o=e.pageResources.component)&&o.default||o,{...t,key:e.path||e.pageResources.page.path});C({pageComponent:e.pageResources.head,staticQueryResults:e.pageResources.staticQueryResults,pageComponentProps:t});return(0,a.h)("wrapPageElement",{element:n,props:t},n,(e=>{let{result:n}=e;return{element:n,props:t}})).pop()}S.propTypes={location:i().object.isRequired,pageResources:i().object.isRequired,data:i().object,pageContext:i().object.isRequired};var _=S},5824:function(e,t,n){"use strict";var r=n(7462),o=n(4578),i=n(3092),a=n(7294),s=n(5268),c=n(9679),l=n(1757),u=n(8995),p=n(1975),f=n(6073),d=n(8299);const h={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"};var g=n(1562),m=n(6298);function y(e){const t=(0,f.J)(e),{hash:n,search:r}=window.location;return null!=t&&(window.___replace(t.toPath+r+n),!0)}let b="";window.addEventListener("unhandledrejection",(e=>{/loading chunk \d* failed./i.test(e.reason)&&b&&(window.location.pathname=b)}));const v=(e,t)=>{y(e.pathname)||(b=e.pathname,(0,i.h)("onPreRouteUpdate",{location:e,prevLocation:t}))},w=(e,t)=>{y(e.pathname)||(0,i.h)("onRouteUpdate",{location:e,prevLocation:t})},x=function(e,t){if(void 0===t&&(t={}),"number"==typeof e)return void s.globalHistory.navigate(e);const{pathname:n,search:r,hash:o}=(0,g.cP)(e),a=(0,f.J)(n);if(a&&(e=a.toPath+r+o),window.___swUpdated)return void(window.location=n+r+o);const c=setTimeout((()=>{d.Z.emit("onDelayedLoadPageResources",{pathname:n}),(0,i.h)("onRouteUpdateDelayed",{location:window.location})}),1e3);p.ZP.loadPage(n+r).then((i=>{if(!i||i.status===p.uQ.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(c);i&&i.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=n+r+o),(0,s.navigate)(e,t),clearTimeout(c)}))};function k(e,t){let{location:n}=t;const{pathname:r,hash:o}=n,a=(0,i.h)("shouldUpdateScroll",{prevRouterProps:e,pathname:r,routerProps:{location:n},getSavedScrollPosition:e=>[0,this._stateStorage.read(e,e.key)]});if(a.length>0)return a[a.length-1];if(e){const{location:{pathname:t}}=e;if(t===r)return o?decodeURI(o.slice(1)):[0,0]}return!0}let C=function(e){function t(t){var n;return(n=e.call(this,t)||this).announcementRef=a.createRef(),n}(0,o.Z)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){requestAnimationFrame((()=>{let e=`new page at ${this.props.location.pathname}`;document.title&&(e=document.title);const t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);const n=`Navigated to ${e}`;if(this.announcementRef.current){this.announcementRef.current.innerText!==n&&(this.announcementRef.current.innerText=n)}}))},n.render=function(){return(0,m.tZ)("div",(0,r.Z)({},h,{ref:this.announcementRef}))},t}(a.Component);const S=(e,t)=>{var n,r;return e.href!==t.href||(null==e||null===(n=e.state)||void 0===n?void 0:n.key)!==(null==t||null===(r=t.state)||void 0===r?void 0:r.key)};let _=function(e){function t(t){var n;return n=e.call(this,t)||this,v(t.location,null),n}(0,o.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){w(this.props.location,null)},n.shouldComponentUpdate=function(e){return!!S(this.props.location,e.location)&&(v(e.location,this.props.location),!0)},n.componentDidUpdate=function(e){S(e.location,this.props.location)&&w(this.props.location,e.location)},n.render=function(){return(0,m.tZ)(a.Fragment,null,this.props.children,(0,m.tZ)(C,{location:location}))},t}(a.Component);var E=n(4779),O=n(5418);function A(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}var T=function(e){function t(t){var n;n=e.call(this)||this;const{location:r,pageResources:o}=t;return n.state={location:{...r},pageResources:o||p.ZP.loadPageSync(r.pathname+r.search,{withErrorDetails:!0})},n}(0,o.Z)(t,e),t.getDerivedStateFromProps=function(e,t){let{location:n}=e;if(t.location.href!==n.href){return{pageResources:p.ZP.loadPageSync(n.pathname+n.search,{withErrorDetails:!0}),location:{...n}}}return{location:{...n}}};var n=t.prototype;return n.loadResources=function(e){p.ZP.loadPage(e).then((t=>{t&&t.status!==p.uQ.Error?this.setState({location:{...window.location},pageResources:t}):(window.history.replaceState({},"",location.href),window.location=e)}))},n.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,n){return A(e.props,t)||A(e.state,n)}(this,e,t)))):(this.loadResources(e.location.pathname+e.location.search),!1)},n.render=function(){return this.props.children(this.state)},t}(a.Component),P=n(1505),j=n(4941);const R=new p.kL(O,[],window.pageData);(0,p.N1)(R),R.setApiRunner(i.h);const{render:L,hydrate:N}=(0,j.U)();window.asyncRequires=O,window.___emitter=d.Z,window.___loader=p.jN,s.globalHistory.listen((e=>{e.location.action=e.action})),window.___push=e=>x(e,{replace:!1}),window.___replace=e=>x(e,{replace:!0}),window.___navigate=(e,t)=>x(e,t);const M="gatsby-reload-compilation-hash-match";(0,i.I)("onClientEntry").then((()=>{(0,i.h)("registerServiceWorker").filter(Boolean).length>0&&n(9939);const e=e=>(0,m.tZ)(s.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},(0,m.tZ)(E.Z,e)),t=a.createContext({}),f={renderEnvironment:"browser"};let d=function(e){function n(){return e.apply(this,arguments)||this}return(0,o.Z)(n,e),n.prototype.render=function(){const{children:e}=this.props;return(0,m.tZ)(s.Location,null,(n=>{let{location:r}=n;return(0,m.tZ)(T,{location:r},(n=>{let{pageResources:r,location:o}=n;const i=(0,p.hs)(),a=(0,p.Nt)();return(0,m.tZ)(l.B9.Provider,{value:i},(0,m.tZ)(u.Bs.Provider,{value:f},(0,m.tZ)(u.m3.Provider,{value:a},(0,m.tZ)(u.u0.Provider,{value:r.page.slicesMap},(0,m.tZ)(t.Provider,{value:{pageResources:r,location:o}},e)))))}))}))},n}(a.Component),h=function(n){function i(){return n.apply(this,arguments)||this}return(0,o.Z)(i,n),i.prototype.render=function(){return(0,m.tZ)(t.Consumer,null,(t=>{let{pageResources:n,location:o}=t;return(0,m.tZ)(_,{location:o},(0,m.tZ)(c.$C,{location:o,shouldUpdateScroll:k},(0,m.tZ)(s.Router,{basepath:"/skohub-pages",location:o,id:"gatsby-focus-wrapper"},(0,m.tZ)(e,(0,r.Z)({path:"/404.html"===n.page.path||"/500.html"===n.page.path?(0,P.Z)(o.pathname,"/skohub-pages"):encodeURI((n.page.matchPath||n.page.path).split("?")[0])},this.props,{location:o,pageResources:n},n.json)))))}))},i}(a.Component);const{pagePath:g,location:y}=window;g&&"/skohub-pages"+g!==y.pathname+(g.includes("?")?y.search:"")&&!(R.findMatchPath((0,P.Z)(y.pathname,"/skohub-pages"))||g.match(/^\/(404|500)(\/?|.html)$/)||g.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,s.navigate)("/skohub-pages"+g+(g.includes("?")?"":y.search)+y.hash,{replace:!0});const b=()=>{try{return sessionStorage}catch{return null}};p.jN.loadPage(y.pathname+y.search).then((e=>{var t;const n=b();if(null!=e&&null!==(t=e.page)&&void 0!==t&&t.webpackCompilationHash&&e.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),n)){if(!("1"===n.getItem(M)))return n.setItem(M,"1"),void window.location.reload(!0)}if(n&&n.removeItem(M),!e||e.status===p.uQ.Error){const t=`page resources for ${y.pathname} not found. Not rendering React`;if(e&&e.error)throw console.error(t),e.error;throw new Error(t)}const r=(0,i.h)("wrapRootElement",{element:(0,m.tZ)(h,null)},(0,m.tZ)(h,null),(e=>{let{result:t}=e;return{element:t}})).pop(),o=function(){const e=a.useRef(!1);return a.useEffect((()=>{e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,i.h)("onInitialClientRender"))}),[]),(0,m.tZ)(d,null,r)},s=document.getElementById("gatsby-focus-wrapper");let c=L;s&&s.children.length&&(c=N);const l=(0,i.h)("replaceHydrateFunction",void 0,c)[0];function u(){const e="undefined"!=typeof window?document.getElementById("___gatsby"):null;l((0,m.tZ)(o,null),e)}const f=document;if("complete"===f.readyState||"loading"!==f.readyState&&!f.documentElement.doScroll)setTimeout((function(){u()}),0);else{const e=function(){f.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),u()};f.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",e,!1)}}))}))},224:function(e,t,n){"use strict";n.r(t);var r=n(7294),o=n(1975),i=n(4779);t.default=e=>{let{location:t}=e;const n=o.ZP.loadPageSync(t.pathname);return n?r.createElement(i.Z,{location:t,pageResources:n,...n.json}):null}},2743:function(e,t,n){var r;e.exports=(r=n(224))&&r.default||r},4941:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});const r=new WeakMap;function o(){const e=n(745);return{render:(t,n)=>{let o=r.get(n);o||r.set(n,o=e.createRoot(n)),o.render(t)},hydrate:(t,n)=>e.hydrateRoot(n,t)}}},6073:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});const r=new Map,o=new Map;function i(e){let t=r.get(e);return t||(t=o.get(e.toLowerCase())),t}[].forEach((e=>{e.ignoreCase?o.set(e.fromPath,e):r.set(e.fromPath,e)}))},9939:function(e,t,n){"use strict";n.r(t);var r=n(3092);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/skohub-pages/sw.js").then((function(e){e.addEventListener("updatefound",(()=>{(0,r.h)("onServiceWorkerUpdateFound",{serviceWorker:e});const t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",(()=>{switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.h)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.h)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.h)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,r.h)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},8995:function(e,t,n){"use strict";n.d(t,{Bs:function(){return i},Db:function(){return s},m3:function(){return o},u0:function(){return a}});var r=n(7294);const o=r.createContext({}),i=r.createContext({}),a=r.createContext({}),s=r.createContext({})},1757:function(e,t,n){"use strict";n.d(t,{i1:function(){return l},B9:function(){return i},K2:function(){return u}});var r=n(7294);var o=n(6298);const i=(a="StaticQuery",s={},r.createServerContext?function(e,t){return void 0===t&&(t=null),globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=r.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]}(a,s):r.createContext(s));var a,s;function c(e){let{staticQueryData:t,data:n,query:i,render:a}=e;const s=n?n.data:t[i]&&t[i].data;return(0,o.tZ)(r.Fragment,null,s&&a(s),!s&&(0,o.tZ)("div",null,"Loading (StaticQuery)"))}const l=e=>{const{data:t,query:n,render:r,children:a}=e;return(0,o.tZ)(i.Consumer,null,(e=>(0,o.tZ)(c,{data:t,query:n,render:r||a,staticQueryData:e})))},u=e=>{var t;r.useContext;const n=r.useContext(i);if(isNaN(Number(e)))throw new Error(`useStaticQuery was called with a string but expects to be called using \`graphql\`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql\`${e}\`);\n`);if(null!==(t=n[e])&&void 0!==t&&t.data)return n[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")}},1505:function(e,t,n){"use strict";function r(e,t){return void 0===t&&(t=""),t?e===t?"/":e.startsWith(`${t}/`)?e.slice(t.length):e:e}n.d(t,{Z:function(){return r}})},6517:function(e,t,n){"use strict";n.r(t),n.d(t,{wrapPageElement:function(){return Q},wrapRootElement:function(){return K}});var r=n(7294),o=n(1658),i=n.n(o),a=n(2076),s=n(6298),c=n(1883),l=n(7405),u=n(973);const p=e=>{let t=[e.id];return e.narrower&&e.narrower.forEach((e=>{t=t.concat(p(e))})),t},f=e=>{let{items:t,current:n,queryFilter:o,highlight:i,language:d,topLevel:h=!1,customDomain:g}=e;const{config:m}=(0,l.N)(),y=(0,s.iv)('list-style-type:none;padding:0;word-wrap:break-word;position:relative;li{display:flex;margin-bottom:0;& a{display:block;padding-bottom:10px;}>button+div{margin-bottom:10px;}>div{flex:1;display:flex;flex-direction:column;}}&::before{content:"";position:absolute;height:100%;background-color:',m.colors.skoHubMiddleGrey,";width:1px;left:-16px;}.notation{font-weight:bold;}span{word-break:normal;}span>strong{display:inline-flex;color:",m.colors.skoHubDarkColor,';}.treeItemIcon{display:inline-flex;border-radius:50%;width:20px;height:20px;margin-right:5px;font-weight:bold;position:relative;top:-1px;&:before{content:"";background-color:',m.colors.skoHubDarkColor,';position:absolute;width:60%;height:3px;left:50%;top:50%;transform:translateY(-50%) translateX(-50%);}&.collapsed{&:after{content:"";background-color:',m.colors.skoHubDarkColor,";position:absolute;width:3px;height:60%;left:50%;top:50%;transform:translateX(-50%) translateY(-50%);}&+div>a+ul{display:none;}}}",""),{data:b,_:v}=(0,u.B)();(0,r.useEffect)((()=>{d||(d=b.selectedLanguage)}),[null==b?void 0:b.selectedLanguage]);const w=o&&o.length?o.flatMap((e=>e.result)):[],x=o?w.length?t.filter((e=>!o||w.some((t=>p(e).includes(t))))):[]:t,k=(0,a.i18n)(d),C=(e,t,r)=>o||p(e).some((e=>e===n))?t:r;const S=function(e){const t={};return e&&e.forEach((e=>{e.result.forEach((n=>{t[n]||(t[n]=[]),"prefLabel"!==e.field&&t[n].push(e.field)}))})),t}(o);return!x.length&&h?(0,s.tZ)("p",null,"Nothing found!"):(0,s.tZ)("ul",{css:y},(x||[]).map((e=>(0,s.tZ)("li",{key:e.id},e.narrower&&e.narrower.length>0&&(0,s.tZ)("button",{"aria-expanded":C(e,"true","false"),className:`treeItemIcon inputStyle${C(e,""," collapsed")}`,onClick:e=>{e.target.classList.toggle("collapsed"),e.target.setAttribute("aria-expanded",e.target.classList.contains("collapsed")?"false":"true")}}),(0,s.tZ)("div",null,(e=>{const t=(0,a.getFragment)(e.id)?"a":c.Link,o=e.notation&&(0,s.tZ)("span",{className:"notation"},e.notation.join(",")," "),l=(0,s.tZ)(r.Fragment,null,o,(()=>{function t(t,n){return t=e.deprecated?`(DEPRECATED) ${t}`:t,n?t.replace(n,(e=>`${e}`)):t}const n=S[e.id],o=()=>{const r=[],o=(e,n)=>{var o;i.test(e)&&r.push(`${o=n,o.charAt(0).toUpperCase()+o.slice(1)}: ${t(e,i)}`)};return n.forEach((t=>{Array.isArray(e[t][d])?e[t][d].forEach((e=>o(e,t))):Array.isArray(e[t])?e[t].forEach((e=>o(e,t))):o(e[t][d],t)})),r};if(n&&o(),k(e.prefLabel)){return a=t(k(e.prefLabel),i),null!=n&&n.length?(0,s.tZ)(r.Fragment,null,(0,s.tZ)("span",{dangerouslySetInnerHTML:{__html:a}}),(0,s.tZ)("span",null," ("),(0,s.tZ)("span",{dangerouslySetInnerHTML:{__html:o().join(", ")}}),(0,s.tZ)("span",null," )")):(0,s.tZ)(r.Fragment,null,(0,s.tZ)("span",{dangerouslySetInnerHTML:{__html:a}}))}return(0,s.tZ)("i",{style:{color:"red"}},'No label for language "',d,'" provided');var a})());return r.createElement(t,{className:e.id===n?"current":"","aria-current":e.id===n?"true":"false",..."a"===t?{href:(0,a.getFragment)(e.id)}:{to:(0,a.getFilePath)(e.id,"html",g)}},l)})(e),e.narrower&&e.narrower.length>0&&(0,s.tZ)(f,{items:e.narrower,current:n,queryFilter:o,highlight:i,language:d,customDomain:g}))))))};var d=f,h=n(5785);const g={name:"1tcd3aq",styles:'display:flex;margin-bottom:10px;input[type="button"]{flex:1;padding:5px 10px;&:first-of-type{margin-right:10px;}}'};var m=()=>(0,s.tZ)("div",{className:"TreeControls",css:g},(0,s.tZ)("input",{type:"button",className:"inputStyle",value:"Collapse",onClick:()=>{(0,h.Z)(document.querySelectorAll(".treeItemIcon")).forEach((e=>{e.classList.add("collapsed"),e.setAttribute("aria-expanded",!1)}))}}),(0,s.tZ)("input",{type:"button",className:"inputStyle",value:"Expand",onClick:()=>{(0,h.Z)(document.querySelectorAll(".collapsed")).forEach((e=>{e.classList.remove("collapsed"),e.setAttribute("aria-expanded",!0)}))}})),y=n(1042),b=n(9680);var v=()=>(0,s.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",className:"bi bi-gear",viewBox:"0 0 16 16"},(0,s.tZ)("path",{d:"M8 4.754a3.246 3.246 0 1 0 0 6.492 3.246 3.246 0 0 0 0-6.492zM5.754 8a2.246 2.246 0 1 1 4.492 0 2.246 2.246 0 0 1-4.492 0z"}),(0,s.tZ)("path",{d:"M9.796 1.343c-.527-1.79-3.065-1.79-3.592 0l-.094.319a.873.873 0 0 1-1.255.52l-.292-.16c-1.64-.892-3.433.902-2.54 2.541l.159.292a.873.873 0 0 1-.52 1.255l-.319.094c-1.79.527-1.79 3.065 0 3.592l.319.094a.873.873 0 0 1 .52 1.255l-.16.292c-.892 1.64.901 3.434 2.541 2.54l.292-.159a.873.873 0 0 1 1.255.52l.094.319c.527 1.79 3.065 1.79 3.592 0l.094-.319a.873.873 0 0 1 1.255-.52l.292.16c1.64.893 3.434-.902 2.54-2.541l-.159-.292a.873.873 0 0 1 .52-1.255l.319-.094c1.79-.527 1.79-3.065 0-3.592l-.319-.094a.873.873 0 0 1-.52-1.255l.16-.292c.893-1.64-.902-3.433-2.541-2.54l-.292.159a.873.873 0 0 1-1.255-.52l-.094-.319zm-2.633.283c.246-.835 1.428-.835 1.674 0l.094.319a1.873 1.873 0 0 0 2.693 1.115l.291-.16c.764-.415 1.6.42 1.184 1.185l-.159.292a1.873 1.873 0 0 0 1.116 2.692l.318.094c.835.246.835 1.428 0 1.674l-.319.094a1.873 1.873 0 0 0-1.115 2.693l.16.291c.415.764-.42 1.6-1.185 1.184l-.291-.159a1.873 1.873 0 0 0-2.693 1.116l-.094.318c-.246.835-1.428.835-1.674 0l-.094-.319a1.873 1.873 0 0 0-2.692-1.115l-.292.16c-.764.415-1.6-.42-1.184-1.185l.159-.291A1.873 1.873 0 0 0 1.945 8.93l-.319-.094c-.835-.246-.835-1.428 0-1.674l.319-.094A1.873 1.873 0 0 0 3.06 4.377l-.16-.292c-.415-.764.42-1.6 1.185-1.184l.292.159a1.873 1.873 0 0 0 2.692-1.115l.094-.319z"}));function w(e,t){(0,r.useEffect)((()=>{const e=e=>{(function(e,t){var n=e.offsetWidth,r=e.offsetHeight,o=parseFloat(t.offsetX),i=parseFloat(t.offsetY);return o<0||o>n||i<0||i>r})(e.target,e)&&t(e)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[e,t])}var x={name:"ftkgk7",styles:"dialog{border:none;border-radius:10px;}"};var k=e=>{let{openModal:t,closeModal:n,id:o,children:i}=e;const a=x,c=(0,r.useRef)();return(0,r.useEffect)((()=>{var e,n;t?null===(e=c.current)||void 0===e||e.showModal():null===(n=c.current)||void 0===n||n.close()}),[t]),w(c,n),(0,s.tZ)("div",{css:a},(0,s.tZ)("dialog",{id:o,ref:c,onCancel:n},i,(0,s.tZ)("br",null),(0,s.tZ)("button",{id:"closeModal",className:"close",onClick:n},"Close")))};function C(e){return(0,s.tZ)("span",{style:{textDecoration:"underline"}},e.children)}var S=e=>{let{labels:t,toggleClick:n}=e;const{config:r}=(0,l.N)(),o=(0,s.iv)('display:grid;grid-template-columns:repeat(2, 1fr);gap:2px 30px;padding:2px;.slider-wrapper{display:flex;align-items:center;}.switch{position:relative;display:block;width:2.5rem;height:1.5rem;margin:0 0.5rem 0 0;}.switch input{opacity:0;width:0;height:0;}.slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;-webkit-transition:0.4s;transition:0.4s;}.slider:before{position:absolute;content:"";height:1rem;width:1rem;left:4px;bottom:4px;background-color:white;-webkit-transition:0.4s;transition:0.4s;}input:checked+.slider{background-color:',r.colors.skoHubMiddleColor,";}input:focus+.slider{box-shadow:0 0 1px ",r.colors.skoHubMiddleColor,";}input:checked+.slider:before{-webkit-transform:translateX(1rem);-ms-transform:translateX(1rem);transform:translateX(1rem);}.slider.round{border-radius:1.5rem;}.slider.round:before{border-radius:50%;}",""),i=Object.entries(t).map((e=>(0,s.tZ)("div",{className:"slider-wrapper",key:e[0]},(0,s.tZ)("label",{className:"switch",id:e[0]+"CheckBox"},(0,s.tZ)("input",{type:"checkbox",checked:e[1],onChange:()=>{return t=e[0],void n(t);var t}}),(0,s.tZ)("span",{className:"slider round"})),(0,s.tZ)(C,null,e[0][0]),e[0].slice(1))));return(0,s.tZ)("div",{css:o},i)};var _={name:"j3l3gj",styles:'.search{display:flex;align-items:center;margin-bottom:10px;input[type="text"]{width:100%;padding:10px;margin-right:10px;}button{border:none;background:transparent;cursor:pointer;}dialog{button.close{background:lightgrey;border-width:2px;border-radius:10px;padding:5px 15px;margin:5px;}}}'};var E=e=>{let{handleQueryInput:t,labels:n,onLabelClick:o}=e;const i=_,{0:a,1:c}=(0,r.useState)(!1);return(0,s.tZ)("div",{css:i},(0,s.tZ)("div",{className:"search"},(0,s.tZ)("input",{id:"searchInput",type:"text",className:"inputStyle",onChange:t,placeholder:"Search",autoFocus:!0}),(0,s.tZ)("button",{id:"settings",onClick:()=>c(!0)},(0,s.tZ)(v,null)),(0,s.tZ)(k,{openModal:a,closeModal:()=>c(!1),id:"settingsModal"},(0,s.tZ)("p",null,"Which fields do you want to include in the search?"),(0,s.tZ)(S,{labels:n,toggleClick:o}))))};const O=e=>(0,s.iv)("display:flex;height:100%;@media only screen and (max-width: 800px){display:block;flex-direction:column;height:auto;}a.current{color:",e.skoHubMiddleColor,";font-weight:700;}.block{background-color:",e.skoHubWhite,";box-shadow:0px 10px 20px ",e.skoHubMiddleGrey,";padding:30px;border-radius:30px;@media only screen and (max-width: 1024px){padding:15px;}}.concepts{overflow:auto;}.nav-block{flex:1;@media only screen and (max-width: 800px){display:block;height:45vh;padding:15px 15px 30px 15px;width:100%;}}.main-block{flex:2;@media only screen and (max-width: 800px){display:block;width:100%;}}&>nav{display:flex;flex-direction:column;overflow:auto;&>ul{overflow:auto;margin:0;padding:10px;height:100%;@media only screen and (max-width: 800px){overflow:visible;height:auto;}}&>ul:before{content:none;}}.content{position:relative;overflow:auto;margin-left:20px;@media only screen and (max-width: 800px){margin:20px 0 0 0;}button{padding:10px 20px;}.json-png{position:absolute;right:30px;top:30px;@media only screen and (max-width: 1024px){position:relative;left:0;right:0;top:0;}}h1{margin:0;padding:0 0 15px 0;font-size:30px;line-height:32px;font-weight:700;@media only screen and (max-width: 800px){font-size:24px;line-height:26px;}}h2{margin:0;padding:0 0 0 0;font-size:24px;line-height:28px;font-weight:700;@media only screen and (max-width: 800px){font-size:20px;line-height:26px;}}a{color:",e.skoHubAction,";text-decoration:underline;&:hover{color:",e.skoHubMiddleColor,";}}}.markdown{padding-top:10px;}.conceptURI{display:flex;flex-direction:row;align-items:center;button{border:2px solid transparent;border-radius:5px;padding:5px;margin:5px;background-color:transparent;cursor:pointer;}button:hover{border:2px solid ",e.skoHubMiddleColor,';}}.tooltip{position:relative;display:inline-block;}.tooltip .tooltiptext{visibility:hidden;width:120px;background-color:#555;color:#fff;text-align:center;padding:5px 0;border-radius:6px;position:absolute;z-index:1;bottom:125%;left:50%;margin-left:-60px;opacity:0;transition:opacity 0.3s;}.tooltip .tooltiptext::after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#555 transparent transparent transparent;}.tooltip:hover .tooltiptext{visibility:visible;opacity:1;}',"");var A=n(2548),T=n(6605),P=n(7016),j=(n(9006),n(4333)),R=n(4376),L=n(7440),N=n(9375),M=n(8485),I=n(8423);function D(e){if(!(this instanceof D))return new D(e);const t=e.document||e.doc||e;let n;this.tree=[],this.field=[],this.marker=[],this.register=(0,R.Vf)(),this.key=(n=t.key||t.id)&&H(n,this.marker)||"id",this.fastupdate=(0,R.wD)(e.fastupdate,!0),T.qA&&(this.storetree=(n=t.store)&&!0!==n&&[],this.store=n&&(0,R.Vf)()),T.ur&&(this.tag=(n=t.tag)&&H(n,this.marker),this.tagindex=n&&(0,R.Vf)()),T.wA&&(this.cache=(n=e.cache)&&new j.Z(n),e.cache=!1),T.kz&&(this.worker=e.worker),T.R3&&(this.async=!1),this.index=$.call(this,e,t)}var Z=D;function $(e,t){const n=(0,R.Vf)();let r=t.index||t.field||t;(0,R.NH)(r)&&(r=[r]);for(let o,i,a=0;at||n)&&(o=o.slice(n,n+t)),r&&(o=z.call(this,o)),{tag:e,result:o}}function z(e){const t=Array(e.length);for(let n,r=0;r{var t,n,o;let{pageContext:p,children:f,location:g}=e;const{data:v,updateState:w}=(0,u.B)(),{config:x,conceptSchemes:k}=(0,l.N)(),C=O(x.colors),{0:S,1:_}=(0,r.useState)({}),{0:T,1:P}=(0,r.useState)(null),{0:j,1:R}=(0,r.useState)("ConceptScheme"===p.node.type?p.node:null);let L=!1;const{0:N,1:M}=(0,r.useState)(Object.fromEntries(x.searchableAttributes.map((e=>[e,"prefLabel"===e]))));if(((e,t)=>{(0,r.useEffect)((()=>{function n(n){n.ctrlKey&&75===n.which?(n.preventDefault(),document.getElementById("searchInput").focus()):n.altKey&&80===n.which?(n.preventDefault(),Object.keys(e).includes("prefLabel")&&t({...e,prefLabel:!e.prefLabel})):n.altKey&&78===n.which?(n.preventDefault(),Object.keys(e).includes("notation")&&t({...e,notation:!e.notation})):n.altKey&&65===n.which?(n.preventDefault(),Object.keys(e).includes("altLabel")&&t({...e,altLabel:!e.altLabel})):n.altKey&&68===n.which?(n.preventDefault(),Object.keys(e).includes("definition")&&t({...e,definition:!e.definition})):n.altKey&&69===n.which?(n.preventDefault(),Object.keys(e).includes("example")&&t({...e,example:!e.example})):n.altKey&&72===n.which?(n.preventDefault(),Object.keys(e).includes("hiddenLabel")&&t({...e,hiddenLabel:!e.hiddenLabel})):n.altKey&&83===n.which&&(n.preventDefault(),Object.keys(e).includes("scopeNote")&&t({...e,scopeNote:!e.scopeNote}))}return document.addEventListener("keydown",n),function(){document.removeEventListener("keydown",n)}}))})(N,M),!L&&j&&j.hasTopConcept)for(const r of j.hasTopConcept){var I;if((null===(I=r.narrower)||void 0===I?void 0:I.length)>0){L=!0;break}}const{0:D,1:$}=(0,r.useState)(""),{0:H,1:F}=(0,r.useState)(null);(0,r.useEffect)((()=>{(async()=>{if("ConceptScheme"===p.node.type)F(p.node);else if("Concept"===p.node.type)F(p.node.inScheme[0]);else{if("Collection"!==p.node.type)return{};{const e=await(async e=>{for(const t of e.member){const e=(0,a.replaceFilePathInUrl)(g.pathname,t.id,"json",x.customDomain),n=await(await fetch(e)).json(),r=n.inScheme[0];if("Concept"===n.type)return r}})(p.node);F(e)}}})()}),[]),(0,r.useEffect)((()=>{if(H){const e=(0,a.getLanguageFromUrl)(g);if(e&&!v.selectedLanguage){const t=(0,A.m)({availableLanguages:k[H.id].languages,selectedLanguage:e});$(t),w({...v,currentScheme:H,indexPage:!1,selectedLanguage:t,availableLanguages:k[H.id].languages})}else{const e=(0,A.m)({availableLanguages:k[H.id].languages,selectedLanguage:(null==v?void 0:v.selectedLanguage)||null});$(e),w({...v,currentScheme:H,indexPage:!1,selectedLanguage:e,availableLanguages:k[H.id].languages})}}}),[null==v?void 0:v.languages,null==v?void 0:v.selectedLanguage,H]),(0,r.useEffect)((()=>{var e;(async(e,t,n,r,o)=>{if(!e)return;const i=new Z({tokenize:"full",charset:"latin",id:"id",document:{id:"id",index:(0,h.Z)(o.searchableAttributes)}}),s=Object.entries(t).filter((e=>!0===e[1])).flatMap((e=>[`${e[0]}.cfg`,`${e[0]}.ctx`,`${e[0]}.map`,`${e[0]}.store`,`${e[0]}.tag`])).concat(["reg"]);for(let u,p=0;p{var e,t;(null==v||null===(e=v.currentScheme)||void 0===e?void 0:e.id)&&"ConceptScheme"!==p.node.type&&fetch((0,c.withPrefix)((0,a.getFilePath)(null==v||null===(t=v.currentScheme)||void 0===t?void 0:t.id,"json",x.customDomain))).then((e=>e.json())).then((e=>R(e)))}),[v,p.node.type]),(0,r.useEffect)((()=>{const e=document.querySelector(".current");e&&e.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})}));const q=(null===(t=p.node)||void 0===t?void 0:t.prefLabel)||(null===(n=p.node)||void 0===n?void 0:n.title)||(null===(o=p.node)||void 0===o?void 0:o.dc_title);return(0,s.tZ)(y.Z,null,(0,s.tZ)(b.Z,{title:(0,a.i18n)(D)(q),keywords:["Concept",(0,a.i18n)(D)(q)]}),(0,s.tZ)("div",{className:"Concept",css:C},(0,s.tZ)("nav",{className:"block nav-block"},(0,s.tZ)(E,{handleQueryInput:e=>P(e.target.value||null),labels:N,onLabelClick:e=>(e=>M({...N,[e]:!N[e]}))(e)}),L&&(0,s.tZ)(m,null),(0,s.tZ)("div",{className:"concepts"},j&&(0,s.tZ)(d,{items:j.hasTopConcept,current:p.node.id,queryFilter:T&&null!=S&&S.search?S.search(T):null,highlight:T?RegExp(i()(T),"gi"):null,language:D,topLevel:!0,customDomain:x.customDomain}))),(0,s.tZ)("div",{className:"content concept block main-block"},f)))};const K=e=>{let{element:t}=e;return(0,s.tZ)(u.H,null,t)},Q=e=>{let{element:t,props:n}=e;return n.pageContext.node?(0,s.tZ)(B,n,t):t}},5268:function(e,t,n){"use strict";var r;n.r(t),n.d(t,{BaseContext:function(){return v},Link:function(){return J},Location:function(){return te},LocationContext:function(){return w},LocationProvider:function(){return ee},Match:function(){return re},Redirect:function(){return O},Router:function(){return ue},ServerLocation:function(){return ne},createHistory:function(){return d},createMemorySource:function(){return h},globalHistory:function(){return m},insertParams:function(){return R},isRedirect:function(){return S},match:function(){return P},navigate:function(){return y},pick:function(){return T},redirectTo:function(){return _},resolve:function(){return j},shallowCompare:function(){return q},startsWith:function(){return A},useBaseContext:function(){return x},useLocation:function(){return fe},useLocationContext:function(){return k},useMatch:function(){return ge},useNavigate:function(){return de},useParams:function(){return he},validateRedirect:function(){return L}});var o=n(4578),i=n(7294),a=n(5697),s=n.n(a),c=n(1143),l=n.n(c);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}const f=e=>{const{search:t,hash:n,href:r,origin:o,protocol:i,host:a,hostname:s,port:c}=e.location;let{pathname:l}=e.location;return!l&&r&&g&&(l=new URL(r).pathname),{pathname:encodeURI(decodeURI(l)),search:t,hash:n,href:r,origin:o,protocol:i,host:a,hostname:s,port:c,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},d=(e,t)=>{let n=[],r=f(e),o=!1,i=()=>{};return{get location(){return r},get transitioning(){return o},_onTransitionComplete(){o=!1,i()},listen(t){n.push(t);const o=()=>{r=f(e),t({location:r,action:"POP"})};return e.addEventListener("popstate",o),()=>{e.removeEventListener("popstate",o),n=n.filter((e=>e!==t))}},navigate(t,a){let{state:s,replace:c=!1}=void 0===a?{}:a;if("number"==typeof t)e.history.go(t);else{s=u({},s,{key:Date.now()+""});try{o||c?e.history.replaceState(s,null,t):e.history.pushState(s,null,t)}catch(n){e.location[c?"replace":"assign"](t)}}r=f(e),o=!0;const l=new Promise((e=>i=e));return n.forEach((e=>e({location:r,action:"PUSH"}))),l}}},h=function(e){void 0===e&&(e="/");const t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""};let r=0;const o=[n],i=[null];return{get location(){return o[r]},addEventListener(e,t){},removeEventListener(e,t){},history:{get entries(){return o},get index(){return r},get state(){return i[r]},pushState(e,t,n){const[a,s=""]=n.split("?");r++,o.push({pathname:a,search:s.length?`?${s}`:s}),i.push(e)},replaceState(e,t,n){const[a,s=""]=n.split("?");o[r]={pathname:a,search:s},i[r]=e},go(e){const t=r+e;t<0||t>i.length-1||(r=t)}}}},g=!("undefined"==typeof window||!window.document||!window.document.createElement),m=d(g?window:h()),{navigate:y}=m;function b(e,t){return i.createServerContext?function(e,t){return void 0===t&&(t=null),globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=i.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]}(e,t):i.createContext(t)}const v=b("Base",{baseuri:"/",basepath:"/"}),w=b("Location"),x=()=>i.useContext(v),k=()=>i.useContext(w);function C(e){this.uri=e}const S=e=>e instanceof C,_=e=>{throw new C(e)};function E(e){const{to:t,replace:n=!0,state:r,noThrow:o,baseuri:a}=e;i.useEffect((()=>{Promise.resolve().then((()=>{const o=j(t,a);y(R(o,e),{replace:n,state:r})}))}),[]);const s=j(t,a);return o||_(R(s,e)),null}const O=e=>{const t=k(),{baseuri:n}=x();return i.createElement(E,u({},t,{baseuri:n},e))};O.propTypes={from:s().string,to:s().string.isRequired};const A=(e,t)=>e.substr(0,t.length)===t,T=(e,t)=>{let n,r;const[o]=t.split("?"),i=$(o),a=""===i[0],s=Z(e);for(let c=0,u=s.length;c dynamic segment "${r[1]}" is a reserved name. Please use a different name in path "${o.path}".`);const t=decodeURIComponent(n);p[r[1]]=t}else if(t!==n){e=!0;break}}if(!e){n={route:o,params:p,uri:"/"+i.slice(0,d).join("/")};break}}return n||r||null},P=(e,t)=>T([{path:e}],t),j=(e,t)=>{if(A(e,"/"))return e;const[n,r]=e.split("?"),[o]=t.split("?"),i=$(n),a=$(o);if(""===i[0])return H(o,r);if(!A(i[0],".")){const e=a.concat(i).join("/");return H(("/"===o?"":"/")+e,r)}const s=a.concat(i),c=[];for(let l=0,u=s.length;l{const[n,r=""]=e.split("?");let o="/"+$(n).map((e=>{const n=N.exec(e);return n?t[n[1]]:e})).join("/");const{location:{search:i=""}={}}=t,a=i.split("?")[1]||"";return o=H(o,r,a),o},L=(e,t)=>{const n=e=>M(e);return $(e).filter(n).sort().join("/")===$(t).filter(n).sort().join("/")},N=/^:(.+)/,M=e=>N.test(e),I=e=>e&&"*"===e[0],D=(e,t)=>({route:e,score:e.default?0:$(e.path).reduce(((e,t)=>(e+=4,(e=>""===e)(t)?e+=1:M(t)?e+=2:I(t)?e-=5:e+=3,e)),0),index:t}),Z=e=>e.map(D).sort(((e,t)=>e.scoret.score?-1:e.index-t.index)),$=e=>e.replace(/(^\/+|\/+$)/g,"").split("/"),H=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;re&&e.length>0)))&&n.length>0?`?${n.join("&")}`:"")},F=["uri","path"],q=(e,t)=>{const n=Object.keys(e);return n.length===Object.keys(t).length&&n.every((n=>t.hasOwnProperty(n)&&e[n]===t[n]))},U=e=>e.replace(/(^\/+|\/+$)/g,""),W=e=>t=>{if(!t)return null;if(t.type===i.Fragment&&t.props.children)return i.Children.map(t.props.children,W(e));if(l()(t.props.path||t.props.default||t.type===O,`: Children of must have a \`path\` or \`default\` prop, or be a \`\`. None found on element type \`${t.type}\``),l()(!!(t.type!==O||t.props.from&&t.props.to),` requires both "from" and "to" props when inside a .`),l()(!(t.type===O&&!L(t.props.from,t.props.to)),` has mismatched dynamic segments, ensure both paths have the exact same dynamic segments.`),t.props.default)return{value:t,default:!0};const n=t.type===O?t.props.from:t.props.path,r="/"===n?e:`${U(e)}/${U(n)}`;return{value:t,default:t.props.default,path:t.props.children?`${U(r)}/*`:r}},z=["innerRef"],B=["to","state","replace","getProps"],K=["key"];let{forwardRef:Q}=r||(r=n.t(i,2));void 0===Q&&(Q=e=>e);const V=()=>{},J=Q(((e,t)=>{let{innerRef:n}=e,r=p(e,z);const{baseuri:o}=x(),{location:a}=k(),{to:s,state:c,replace:l,getProps:f=V}=r,d=p(r,B),h=j(s,o),g=encodeURI(h),m=a.pathname===g,b=A(a.pathname,g);return i.createElement("a",u({ref:t||n,"aria-current":m?"page":void 0},d,f({isCurrent:m,isPartiallyCurrent:b,href:h,location:a}),{href:h,onClick:e=>{if(d.onClick&&d.onClick(e),(e=>!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey))(e)){e.preventDefault();let t=l;if("boolean"!=typeof l&&m){const e=p(u({},a.state),K);t=q(u({},c),e)}y(h,{state:c,replace:t})}}}))}));J.displayName="Link",J.propTypes={to:s().string.isRequired};let G=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o!1});function X(e){let{children:t}=e;const[n,r]=i.useState(),o=i.useRef(),a=i.useMemo((()=>({componentDidCatch:o,error:n,setError:r})),[n]);return i.createElement(Y.Provider,{value:a},i.createElement(G,{error:n,onError:(e,t)=>{r(e),null==o.current||o.current(e,t)}},t))}X.displayName="ReactUseErrorBoundaryContext";const ee=function(e){var t,n;function r(t){return i.createElement(X,null,i.createElement(e,u({key:"WrappedComponent"},t)))}return r.displayName=`WithErrorBoundary(${null!=(t=null!=(n=e.displayName)?n:e.name)?t:"Component"})`,r}((e=>{let{history:t=m,children:n}=e;const{location:r}=t,[o,a]=i.useState({location:r}),[s]=function(e){const t=i.useContext(Y);t.componentDidCatch.current=void 0;const n=i.useCallback((()=>{t.setError(void 0)}),[]);return[t.error,n]}();if(i.useEffect((()=>{t._onTransitionComplete()}),[o.location]),i.useEffect((()=>{let e=!1;const n=t.listen((t=>{let{location:n}=t;Promise.resolve().then((()=>{requestAnimationFrame((()=>{e||a({location:n})}))}))}));return()=>{e=!0,n()}}),[]),s){if(!S(s))throw s;y(s.uri,{replace:!0})}return i.createElement(w.Provider,{value:o},"function"==typeof n?n(o):n||null)})),te=e=>{let{children:t}=e;const n=k();return n?t(n):i.createElement(ee,null,t)},ne=e=>{let{url:t,children:n}=e;const r=t.indexOf("?");let o,a="";return r>-1?(o=t.substring(0,r),a=t.substring(r)):o=t,i.createElement(w.Provider,{value:{location:{pathname:o,search:a,hash:""}}},n)},re=e=>{let{path:t,children:n}=e;const{baseuri:r}=x(),{location:o}=k(),i=j(t,r),a=P(i,o.pathname);return n({location:o,match:a?u({},a.params,{uri:a.uri,path:t}):null})},oe=["uri","location","component"],ie=["children","style","component","uri","location"],ae=e=>{let{uri:t,location:n,component:r}=e,o=p(e,oe);return i.createElement(ce,u({},o,{component:r,uri:t,location:n}))};let se=0;const ce=e=>{let{children:t,style:n,component:r="div",uri:o,location:a}=e,s=p(e,ie);const c=i.useRef(),l=i.useRef(!0),f=i.useRef(o),d=i.useRef(a.pathname),h=i.useRef(!1);i.useEffect((()=>(se++,g(),()=>{se--,0===se&&(l.current=!0)})),[]),i.useEffect((()=>{let e=!1,t=!1;o!==f.current&&(f.current=o,e=!0),a.pathname!==d.current&&(d.current=a.pathname,t=!0),h.current=e||t&&a.pathname===o,h.current&&g()}),[o,a]);const g=i.useCallback((()=>{var e;l.current?l.current=!1:(e=c.current,h.current&&e&&e.focus())}),[]);return i.createElement(r,u({style:u({outline:"none"},n),tabIndex:"-1",ref:c},s),t)},le=["location","primary","children","basepath","baseuri","component"],ue=e=>{const t=x(),n=k();return i.createElement(pe,u({},t,n,e))};function pe(e){const{location:t,primary:n=!0,children:r,basepath:o,component:a="div"}=e,s=p(e,le),c=i.Children.toArray(r).reduce(((e,t)=>{const n=W(o)(t);return e.concat(n)}),[]),{pathname:l}=t,f=T(c,l);if(f){const{params:e,uri:r,route:c,route:{value:l}}=f,p=c.default?o:c.path.replace(/\*$/,""),d=u({},e,{uri:r,location:t}),h=i.cloneElement(l,d,l.props.children?i.createElement(ue,{location:t,primary:n},l.props.children):void 0),g=n?ae:a,m=n?u({uri:r,location:t,component:a},s):s;return i.createElement(v.Provider,{value:{baseuri:r,basepath:p}},i.createElement(g,m,h))}return null}const fe=()=>{const e=k();if(!e)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.location},de=()=>{throw new Error("useNavigate is removed. Use import { navigate } from 'gatsby' instead")},he=()=>{const e=x();if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const t=fe(),n=P(e.basepath,t.pathname);return n?n.params:null},ge=e=>{if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");const t=x();if(!t)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const n=fe(),r=j(e,t.baseuri),o=P(r,n.pathname);return o?u({},o.params,{uri:o.uri,path:e}):null}},9608:function(e,t,n){"use strict";n.r(t),n.d(t,{onRouteUpdate:function(){return r}});n(1883),n(292);const r=function(e,t){let{location:n}=e}},292:function(e,t,n){"use strict";var r=n(1883)},2076:function(e,t,n){const r=n(3320),o=n(7351),i=(e,t,n)=>{n?n.endsWith("/")&&(n=n.slice(0,-1)):n=/^https?:\//;let r=e.replace(n,"").split("#").shift();return r.endsWith("/")&&(r+="index"),t?`${r}.${t}`:r},a=e=>new URL(e).hash;const s=(e,t,n)=>{if(!(t in e))return e;const r={};return delete Object.assign(r,e,{[n]:e[t]})[t],r};e.exports={i18n:e=>t=>t[e]||"",getFilePath:i,replaceFilePathInUrl:(e,t,n,r)=>{const o=i(e).replace(/\/[^\/]*$/,"/"+i(t,"",r).split("/").pop()).split("#").shift();return n?`${o}.${n}`:o},getFragment:a,getDomId:e=>{const t=a(e);return t?t.substr(1):e},getLinkPath:(e,t,n)=>"../"+i(e,"",n).split("/").pop()+"."+t,parseLanguages:e=>{const t=new Set,n=e=>{for(let r of e)(null==r?void 0:r.title)&&Object.keys(r.title).forEach((e=>r.title[e]&&t.add(e))),(null==r?void 0:r.prefLabel)&&Object.keys(r.prefLabel).forEach((e=>r.prefLabel[e]&&t.add(e))),(null==r?void 0:r.altLabel)&&Object.keys(r.altLabel).forEach((e=>r.altLabel[e]&&t.add(e))),(null==r?void 0:r.hiddenLabel)&&Object.keys(r.hiddenLabel).forEach((e=>r.hiddenLabel[e]&&t.add(e))),(null==r?void 0:r.hasTopConcept)&&n(r.hasTopConcept),(null==r?void 0:r.narrower)&&n(r.narrower)};return n(e),t},loadConfig:function(e,t){let n;const i=r.load(o.readFileSync(t,"utf8"));try{n=r.load(o.readFileSync(e,"utf8"))}catch(s){n=i}if(!n.ui.title)throw Error("A Title has to be provided! Please check your config.yaml");const a={title:n.ui.title,logo:n.ui.logo||"",tokenizer:n.tokenizer||i.tokenizer,colors:n.ui.colors||i.ui.colors,fonts:n.ui.fonts||i.ui.fonts,searchableAttributes:n.searchableAttributes||i.searchableAttributes,customDomain:n.custom_domain||"",failOnValidation:n.fail_on_validation};return["skoHubWhite","skoHubDarkColor","skoHubMiddleColor","skoHubLightColor","skoHubThinColor","skoHubBlackColor","skoHubAction","skoHubNotice","skoHubDarkGrey","skoHubMiddleGrey","skoHubLightGrey"].every((e=>Object.keys(a.colors).includes(e)))||(a.colors=i.ui.colors),(()=>{const e=["font_family","font_style","font_weight","name"];return!(!e.every((e=>Object.keys(a.fonts.regular).includes(e)))||!e.every((e=>Object.keys(a.fonts.bold).includes(e))))})()||(a.fonts=i.ui.fonts),a},getLanguageFromUrl:e=>new URLSearchParams(e.search).get("lang"),replaceKeyInObject:s,replaceMultipleKeysInObject:(e,t)=>t.reduce(((e,t)=>s(e,t[0],t[1])),e)}},1042:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(7294),o=n(6298),i=n(1883),a=n(7405),s=n(2076),c=n(973),l=n(2548);var u=e=>{var t;let{siteTitle:n}=e;const{config:u,conceptSchemes:p}=(0,a.N)(),{data:f,updateState:d}=(0,c.B)(),h=(0,o.iv)("background:",u.colors.skoHubWhite,";.headerContent{padding:20px 20px 0 20px;display:flex;}.skohubLogo{margin:0;display:inline-block;width:calc(100% - 80px);a{text-decoration:none;color:",u.colors.skoHubDarkColor,';}.skohubImg{display:inline-block;vertical-align:middle;width:30px;height:30px;}.skohubTitle{display:inline-block;vertical-align:middle;padding:0 0 0 15px;font-size:24px;line-height:24px;font-weight:700;@media only screen and (max-width: 800px){padding:0 0 0 8px;font-size:18px;}}.conceptSchemes{display:flex;}.conceptScheme{padding:15px 15px 0 0;font-size:24px;}.conceptScheme:not(:last-child):after{content:", ";}}ul.language-menu{margin:0;padding:0;list-style:none;display:inline-block;width:80px;text-align:right;li{margin:0 0 0 5px;display:inline;button{background:none;display:inline-block;padding:5px;color:',u.colors.skoHubMiddleGrey,";border:1px solid ",u.colors.skoHubMiddleGrey,";border-radius:30px;&:hover{color:",u.colors.skoHubAction,";border:1px solid ",u.colors.skoHubAction,";}}.currentLanguage{color:black;font-weight:bold;display:inline-block;padding:5px;border:1px solid ",u.colors.skoHubLightColor,";border-radius:30px;}}}",""),{0:g,1:m}=(0,r.useState)([]),{0:y,1:b}=(0,r.useState)(""),{0:v,1:w}=(0,r.useState)("");return(0,r.useEffect)((()=>{if(void 0!==g&&g.length)if(f.selectedLanguage)b(f.selectedLanguage);else{const e=(0,l.m)({availableLanguages:g});b(e)}}),[f]),(0,r.useEffect)((()=>{var e;null!=f&&null!==(e=f.currentScheme)&&void 0!==e&&e.id?m(p[f.currentScheme.id].languages):m(f.languages)}),[f]),(0,r.useEffect)((()=>{var e,t,n,r,o,i,a;const s=(null===(e=f.currentScheme)||void 0===e||null===(t=e.title)||void 0===t?void 0:t[f.selectedLanguage])||(null===(n=f.currentScheme)||void 0===n||null===(r=n.prefLabel)||void 0===r?void 0:r[f.selectedLanguage])||(null===(o=f.currentScheme)||void 0===o||null===(i=o.dc_title)||void 0===i?void 0:i[f.selectedLanguage])||(null===(a=f.currentScheme)||void 0===a?void 0:a.id);w(s)}),[f]),(0,o.tZ)("header",{css:h},(0,o.tZ)("div",{className:"headerContent"},(0,o.tZ)("div",{className:"skohubLogo"},(0,o.tZ)(i.Link,{to:"/",onClick:()=>d({...f,currentScheme:{}})},u.logo&&(0,o.tZ)("img",{className:"skohubImg",src:`${(0,i.withPrefix)("/img/"+u.logo)}`,alt:"SkoHub Logo"}),(0,o.tZ)("span",{className:"skohubTitle"},n)),(null==f||null===(t=f.currentScheme)||void 0===t?void 0:t.id)&&(0,o.tZ)("div",{className:"conceptSchemes"},(0,o.tZ)("div",{key:f.currentScheme.id,className:"conceptScheme",onClick:()=>{d({...f,currentScheme:f.currentScheme})}},(0,o.tZ)(i.Link,{to:(0,s.getFilePath)(f.currentScheme.id,"html",u.customDomain)},v)))),g&&g.length>1&&(0,o.tZ)("ul",{className:"language-menu"},g.map((e=>(0,o.tZ)("li",{key:e},e===f.selectedLanguage?(0,o.tZ)("button",{className:"currentLanguage"},e):(0,o.tZ)("button",{onClick:()=>{d({...f,selectedLanguage:e}),b(e)}},e)))))))};const p=()=>{const{config:e}=(0,a.N)(),t=(0,o.iv)("background:",e.colors.skoHubMiddleColor,";color:",e.colors.skoHubWhite,";.footerContent{padding:20px;text-align:right;@media only screen and (max-width: 800px){text-align:center;}ul{display:flex;list-style:none;margin:0;padding:0;li{display:inline-block;padding:0 20px 0 0px;margin:0;}.push-right{margin-left:auto;}}a{color:",e.colors.skoHubWhite,";font-weight:700;&:hover{text-decoration:underline;}}}","");return(0,o.tZ)("footer",{css:t},(0,o.tZ)("div",{className:"footerContent"},(0,o.tZ)("ul",null,(0,o.tZ)("li",null,(0,o.tZ)("a",{href:"https://github.com/darnelleMelvin/skohub-pages",target:"_blank",rel:"noopener noreferrer"},"Source")),(0,o.tZ)("li",{className:"push-right"},(0,o.tZ)("a",{href:"https://www.hbz-nrw.de/impressum",target:"_blank",rel:"noopener noreferrer"},"Impressum")),(0,o.tZ)("li",null,"©"," ",(0,o.tZ)("a",{href:"https://skohub.io",target:"_blank",rel:"noopener noreferrer"},"SkoHub")))))};p.defaultProps={siteTitle:""};var f=p;var d=e=>{let{children:t}=e;const{config:n}=(0,a.N)(),r=(0,o.iv)("height:100vh;display:flex;flex-direction:column;main{flex:1;overflow:auto;padding:20px;@media only screen and (max-width: 1024px){overflow:visible;}}.centerPage{max-width:1200px;margin:0 auto;}.forkMe{position:fixed;background-color:",n.colors.skoHubDarkColor,";color:",n.colors.skoHubWhite,";padding:0 60px;height:40px;transform:rotate(45deg);font-size:14px;line-height:40px;font-weight:700;bottom:60px;left:-60px;box-shadow:0 10px 20px ",n.colors.skoHubBlackColor,";}",""),s=(0,i.useStaticQuery)("3649515864");return(0,o.tZ)("div",{className:"wrapper",css:r},(0,o.tZ)(o.xB,{styles:(0,o.iv)("@font-face{font-family:",n.fonts.regular.font_family,";font-style:",n.fonts.regular.font_style,";font-weight:",n.fonts.regular.font_weight,";src:url(",(0,i.withPrefix)("/fonts/"+n.fonts.regular.name+".woff2"),') format("woff2"),url(',(0,i.withPrefix)("/fonts/"+n.fonts.regular.name+".woff"),') format("woff"),url(',(0,i.withPrefix)("/fonts/"+n.fonts.regular.name+".ttf"),') format("truetype");}@font-face{font-family:',n.fonts.bold.font_family,";font-style:",n.fonts.bold.font_style,";font-weight:",n.fonts.bold.font_weight,";src:url(",(0,i.withPrefix)("/fonts/"+n.fonts.bold.name+".woff2"),') format("woff2"),url(',(0,i.withPrefix)("/fonts/"+n.fonts.bold.name+".woff"),') format("woff"),url(',(0,i.withPrefix)("/fonts/"+n.fonts.bold.name+".ttf"),') format("truetype");}html{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}*,*:before,*:after{-webkit-box-sizing:inherit;-moz-box-sizing:inherit;box-sizing:inherit;}*{-webkit-transition:all 0.5s ease;-moz-transition:all 0.5s ease;transition:all 0.5s ease;}html,body{height:100%;}body{padding:0;margin:0;border:0 none;overflow:hidden;background-color:',n.colors.skoHubWhite,";font-family:",n.fonts.regular.font_family,",",n.fonts.bold.font_family,",sans-serif;font-weight:400;word-wrap:break-word;font-size:16px;line-height:20px;color:",n.colors.skoHubDarkColor,";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;@media only screen and (max-width: 1024px){overflow:auto;}}li>ul{margin-left:1.45rem;margin-bottom:calc(1.45rem / 2);margin-top:calc(1.45rem / 2);}li{margin-bottom:calc(1.45rem / 2);}a{text-decoration:none;color:",n.colors.skoHubDarkColor,";&:hover{color:",n.colors.skoHubAction,";}}.inputStyle{background-color:",n.colors.skoHubWhite,";cursor:pointer;border:1px solid ",n.colors.skoHubDarkGrey,";border-radius:30px;color:",n.colors.skoHubDarkColor,";&:hover,&:focus{background-color:",n.colors.skoHubLightGrey,';}&[type="button"]{background:',n.colors.skoHubLightGrey,";border:1px solid ",n.colors.skoHubLightGrey,";font-weight:700;&:hover{background:",n.colors.skoHubMiddleColor,";border:1px solid ",n.colors.skoHubMiddleColor,";color:",n.colors.skoHubWhite,";}}}","")}),(0,o.tZ)(u,{siteTitle:s.site.siteMetadata.title}),(0,o.tZ)("main",null,t),(0,o.tZ)(f,{siteTitle:s.site.siteMetadata.title}))}},9680:function(e,t,n){"use strict";n.d(t,{Z:function(){return ye}});var r,o,i,a,s=n(7294),c=n(5697),l=n.n(c),u=n(3524),p=n.n(u),f=n(9590),d=n.n(f),h=n(4852),g=n.n(h),m="bodyAttributes",y="htmlAttributes",b="titleAttributes",v={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},w=(Object.keys(v).map((function(e){return v[e]})),"charset"),x="cssText",k="href",C="http-equiv",S="innerHTML",_="itemprop",E="name",O="property",A="rel",T="src",P="target",j={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},R="defaultTitle",L="defer",N="encodeSpecialCharacters",M="onChangeClientState",I="titleTemplate",D=Object.keys(j).reduce((function(e,t){return e[j[t]]=t,e}),{}),Z=[v.NOSCRIPT,v.SCRIPT,v.STYLE],$="data-react-helmet",H="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},F=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},W=function(e){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},z=function(e){var t=J(e,v.TITLE),n=J(e,I);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=J(e,R);return t||r||void 0},B=function(e){return J(e,M)||function(){}},K=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return q({},e,t)}),{})},Q=function(e,t){return t.filter((function(e){return void 0!==e[v.BASE]})).map((function(e){return e[v.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},G=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){G(e)}),0)}),Y=function(e){return clearTimeout(e)},X="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||G:n.g.requestAnimationFrame||G,ee="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Y:n.g.cancelAnimationFrame||Y,te=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},ne=null,re=function(e,t){var n=e.baseTag,r=e.bodyAttributes,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,s=e.noscriptTags,c=e.onChangeClientState,l=e.scriptTags,u=e.styleTags,p=e.title,f=e.titleAttributes;ae(v.BODY,r),ae(v.HTML,o),ie(p,f);var d={baseTag:se(v.BASE,n),linkTags:se(v.LINK,i),metaTags:se(v.META,a),noscriptTags:se(v.NOSCRIPT,s),scriptTags:se(v.SCRIPT,l),styleTags:se(v.STYLE,u)},h={},g={};Object.keys(d).forEach((function(e){var t=d[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(g[e]=d[e].oldTags)})),t&&t(),c(e,h,g)},oe=function(e){return Array.isArray(e)?e.join(""):e},ie=function(e,t){void 0!==e&&document.title!==e&&(document.title=oe(e)),ae(v.TITLE,t)},ae=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute($),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(t),s=0;s=0;p--)n.removeAttribute(i[p]);o.length===i.length?n.removeAttribute($):n.getAttribute($)!==a.join(",")&&n.setAttribute($,a.join(","))}},se=function(e,t){var n=document.head||document.querySelector(v.HEAD),r=n.querySelectorAll(e+"["+$+"]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===S)n.innerHTML=t.innerHTML;else if(r===x)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s=void 0===t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute($,"true"),o.some((function(e,t){return a=t,n.isEqualNode(e)}))?o.splice(a,1):i.push(n)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:i}},ce=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},le=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[j[n]||n]=e[n],t}),t)},ue=function(e,t,n){switch(e){case v.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[$]=!0,o=le(n,r),[s.createElement(v.TITLE,o,e)];var e,n,r,o},toString:function(){return function(e,t,n,r){var o=ce(n),i=oe(t);return o?"<"+e+" "+$+'="true" '+o+">"+W(i,r)+"":"<"+e+" "+$+'="true">'+W(i,r)+""}(e,t.title,t.titleAttributes,n)}};case m:case y:return{toComponent:function(){return le(t)},toString:function(){return ce(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,o=((r={key:n})[$]=!0,r);return Object.keys(t).forEach((function(e){var n=j[e]||e;if(n===S||n===x){var r=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=t[e]})),s.createElement(e,o)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===S||e===x)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+W(r[t],n)+'"';return e?e+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===Z.indexOf(e);return t+"<"+e+" "+$+'="true" '+o+(a?"/>":">"+i+"")}),"")}(e,t,n)}}}},pe=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,s=e.noscriptTags,c=e.scriptTags,l=e.styleTags,u=e.title,p=void 0===u?"":u,f=e.titleAttributes;return{base:ue(v.BASE,t,r),bodyAttributes:ue(m,n,r),htmlAttributes:ue(y,o,r),link:ue(v.LINK,i,r),meta:ue(v.META,a,r),noscript:ue(v.NOSCRIPT,s,r),script:ue(v.SCRIPT,c,r),style:ue(v.STYLE,l,r),title:ue(v.TITLE,{title:p,titleAttributes:f},r)}},fe=p()((function(e){return{baseTag:Q([k,P],e),bodyAttributes:K(m,e),defer:J(e,L),encode:J(e,N),htmlAttributes:K(y,e),linkTags:V(v.LINK,[A,k],e),metaTags:V(v.META,[E,w,C,O,_],e),noscriptTags:V(v.NOSCRIPT,[S],e),onChangeClientState:B(e),scriptTags:V(v.SCRIPT,[T,S],e),styleTags:V(v.STYLE,[x],e),title:z(e),titleAttributes:K(b,e)}}),(function(e){ne&&ee(ne),e.defer?ne=X((function(){re(e,(function(){ne=null}))})):(re(e),ne=null)}),pe)((function(){return null})),de=(o=fe,a=i=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!d()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case v.SCRIPT:case v.NOSCRIPT:return{innerHTML:t};case v.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,o=e.newChildProps,i=e.nestedChildren;return q({},r,((t={})[n.type]=[].concat(r[n.type]||[],[q({},o,this.mapNestedChildrenToProps(n,i))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(r.type){case v.TITLE:return q({},o,((t={})[r.type]=a,t.titleAttributes=q({},i),t));case v.BODY:return q({},o,{bodyAttributes:q({},i)});case v.HTML:return q({},o,{htmlAttributes:q({},i)})}return q({},o,((n={})[r.type]=q({},i),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=q({},t);return Object.keys(e).forEach((function(t){var r;n=q({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return s.Children.forEach(e,(function(e){if(e&&e.props){var o=e.props,i=o.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[D[n]||n]=e[n],t}),t)}(U(o,["children"]));switch(n.warnOnInvalidChildren(e,i),e.type){case v.LINK:case v.META:case v.NOSCRIPT:case v.SCRIPT:case v.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:i});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:i})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=U(e,["children"]),r=q({},n);return t&&(r=this.mapChildrenToProps(t,r)),s.createElement(o,r)},F(t,null,[{key:"canUseDOM",set:function(e){o.canUseDOM=e}}]),t}(s.Component),i.propTypes={base:l().object,bodyAttributes:l().object,children:l().oneOfType([l().arrayOf(l().node),l().node]),defaultTitle:l().string,defer:l().bool,encodeSpecialCharacters:l().bool,htmlAttributes:l().object,link:l().arrayOf(l().object),meta:l().arrayOf(l().object),noscript:l().arrayOf(l().object),onChangeClientState:l().func,script:l().arrayOf(l().object),style:l().arrayOf(l().object),title:l().string,titleAttributes:l().object,titleTemplate:l().string},i.defaultProps={defer:!0,encodeSpecialCharacters:!0},i.peek=o.peek,i.rewind=function(){var e=o.rewind();return e||(e=pe({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},a);de.renderStatic=de.rewind;var he=n(1883),ge=n(6298);function me(e){let{description:t,lang:n,meta:r,keywords:o,title:i}=e;const{site:a}=(0,he.useStaticQuery)("63159454"),s=t||a.siteMetadata.description;return(0,ge.tZ)(de,{htmlAttributes:{lang:n},title:i,titleTemplate:`%s | ${a.siteMetadata.title}`,meta:[{name:"description",content:s},{property:"og:title",content:i},{property:"og:description",content:s},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary"},{name:"twitter:creator",content:a.siteMetadata.author},{name:"twitter:title",content:i},{name:"twitter:description",content:s}].concat(o.length>0?{name:"keywords",content:o.join(", ")}:[]).concat(r)})}me.defaultProps={lang:"en",meta:[],keywords:[],description:""};var ye=me},973:function(e,t,n){"use strict";n.d(t,{B:function(){return c},H:function(){return s}});var r=n(7294),o=n(6298);const i={currentScheme:{},selectedLanguage:"",conceptSchemeLanguages:[],indexPage:!1},a=(0,r.createContext)(i),s=e=>{let{children:t}=e;const{0:n,1:s}=(0,r.useState)(i),c={data:n,updateState:e=>s(e)};return(0,o.tZ)(a.Provider,{value:c},t)},c=()=>{const e=(0,r.useContext)(a);if(null==e)throw new Error("useSkoHubContext must be called within ContextProvider");return e}},7405:function(e,t,n){"use strict";n.d(t,{N:function(){return o}});var r=n(1883);const o=()=>{const{site:e,allConceptScheme:t}=(0,r.useStaticQuery)("4240049689"),n=t.edges.map((e=>{let{node:t}=e;return{[t.id]:{languages:t.fields.languages}}})).reduce(((e,t)=>({...e,...t})),{});return{config:e.siteMetadata,conceptSchemes:n}}},2548:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});const r=e=>{let{availableLanguages:t=[],selectedLanguage:n}=e;if("undefined"!=typeof window){const e=(navigator.language||navigator.userLanguage).slice(0,2);if(n&&t.includes(n))return n;if(n&&!t.includes(n)&&t.includes(e))return e;if(t.includes(e))return e;return t[0]}}},8679:function(e,t,n){"use strict";var r=n(9864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=u(n);p&&(a=a.concat(p(n)));for(var s=c(t),g=c(n),m=0;m=55296&&r<=56319&&t+1=56320&&n<=57343?1024*(r-55296)+n-56320+65536:r}function K(e){return/^\n* /.test(e)}var Q=1,V=2,J=3,G=4,Y=5;function X(e,t,n,r,o,i,a,s){var l,p,f=0,L=null,N=!1,M=!1,I=-1!==r,D=-1,$=U(p=B(e,0))&&p!==c&&!q(p)&&p!==x&&p!==_&&p!==k&&p!==w&&p!==O&&p!==A&&p!==P&&p!==R&&p!==g&&p!==y&&p!==v&&p!==d&&p!==j&&p!==C&&p!==S&&p!==b&&p!==h&&p!==m&&p!==E&&p!==T&&function(e){return!q(e)&&e!==k}(B(e,e.length-1));if(t||a)for(l=0;l=65536?l+=2:l++){if(!U(f=B(e,l)))return Y;$=$&&z(f,L,s),L=f}else{for(l=0;l=65536?l+=2:l++){if((f=B(e,l))===u)N=!0,I&&(M=M||l-D-1>r&&" "!==e[D+1],D=l);else if(!U(f))return Y;$=$&&z(f,L,s),L=f}M=M||I&&l-D-1>r&&" "!==e[D+1]}return N||M?n>9&&K(e)?Y:a?i===Z?Y:V:M?G:J:!$||a||o(e)?i===Z?Y:V:Q}function ee(e,t,n,r,i){e.dump=function(){if(0===t.length)return e.quotingType===Z?'""':"''";if(!e.noCompatMode&&(-1!==N.indexOf(t)||M.test(t)))return e.quotingType===Z?'"'+t+'"':"'"+t+"'";var a=e.indent*Math.max(1,n),s=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-a),c=r||e.flowLevel>-1&&n>=e.flowLevel;switch(X(t,c,e.indent,s,(function(t){return function(e,t){var n,r;for(n=0,r=e.implicitTypes.length;n"+te(t,e.indent)+ne(H(function(e,t){var n,r,o=/(\n+)([^\n]*)/g,i=(s=e.indexOf("\n"),s=-1!==s?s:e.length,o.lastIndex=s,re(e.slice(0,s),t)),a="\n"===e[0]||" "===e[0];var s;for(;r=o.exec(e);){var c=r[1],l=r[2];n=" "===l[0],i+=c+(a||n||""===l?"":"\n")+re(l,t),a=n}return i}(t,s),a));case Y:return'"'+function(e){for(var t,n="",r=0,o=0;o=65536?o+=2:o++)r=B(e,o),!(t=L[r])&&U(r)?(n+=e[o],r>=65536&&(n+=e[o+1])):n+=t||I(r);return n}(t)+'"';default:throw new o("impossible error: invalid scalar style")}}()}function te(e,t){var n=K(e)?String(t):"",r="\n"===e[e.length-1];return n+(r&&("\n"===e[e.length-2]||"\n"===e)?"+":r?"":"-")+"\n"}function ne(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function re(e,t){if(""===e||" "===e[0])return e;for(var n,r,o=/ [^ ]/g,i=0,a=0,s=0,c="";n=o.exec(e);)(s=n.index)-i>t&&(r=a>i?a:s,c+="\n"+e.slice(i,r),i=r+1),a=s;return c+="\n",e.length-i>t&&a>i?c+=e.slice(i,a)+"\n"+e.slice(a+1):c+=e.slice(i),c.slice(1)}function oe(e,t,n,r){var o,i,a,s="",c=e.tag;for(o=0,i=n.length;o tag resolver accepts not "'+p+'" style');r=u.represent[p](t,p)}e.dump=r}return!0}return!1}function ae(e,t,n,r,i,s,c){e.tag=null,e.dump=n,ie(e,n,!1)||ie(e,n,!0);var l,p=a.call(e.dump),f=r;r&&(r=e.flowLevel<0||e.flowLevel>t);var d,h,g="[object Object]"===p||"[object Array]"===p;if(g&&(h=-1!==(d=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||h||2!==e.indent&&t>0)&&(i=!1),h&&e.usedDuplicates[d])e.dump="*ref_"+d;else{if(g&&h&&!e.usedDuplicates[d]&&(e.usedDuplicates[d]=!0),"[object Object]"===p)r&&0!==Object.keys(e.dump).length?(!function(e,t,n,r){var i,a,s,c,l,p,f="",d=e.tag,h=Object.keys(n);if(!0===e.sortKeys)h.sort();else if("function"==typeof e.sortKeys)h.sort(e.sortKeys);else if(e.sortKeys)throw new o("sortKeys must be a boolean or a function");for(i=0,a=h.length;i1024)&&(e.dump&&u===e.dump.charCodeAt(0)?p+="?":p+="? "),p+=e.dump,l&&(p+=F(e,t)),ae(e,t+1,c,!0,l)&&(e.dump&&u===e.dump.charCodeAt(0)?p+=":":p+=": ",f+=p+=e.dump));e.tag=d,e.dump=f||"{}"}(e,t,e.dump,i),h&&(e.dump="&ref_"+d+e.dump)):(!function(e,t,n){var r,o,i,a,s,c="",l=e.tag,u=Object.keys(n);for(r=0,o=u.length;r1024&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),ae(e,t,a,!1,!1)&&(c+=s+=e.dump));e.tag=l,e.dump="{"+c+"}"}(e,t,e.dump),h&&(e.dump="&ref_"+d+" "+e.dump));else if("[object Array]"===p)r&&0!==e.dump.length?(e.noArrayIndent&&!c&&t>0?oe(e,t-1,e.dump,i):oe(e,t,e.dump,i),h&&(e.dump="&ref_"+d+e.dump)):(!function(e,t,n){var r,o,i,a="",s=e.tag;for(r=0,o=n.length;r",e.dump=l+" "+e.dump)}return!0}function se(e,t){var n,r,o=[],i=[];for(ce(e,o,i),n=0,r=i.length;n>10),56320+(e-65536&1023))}for(var A=new Array(256),T=new Array(256),P=0;P<256;P++)A[P]=E(P)?1:0,T[P]=E(P);function j(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||a,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function R(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=i(n),new o(t,n)}function L(e,t){throw R(e,t)}function N(e,t){e.onWarning&&e.onWarning.call(null,R(e,t))}var M={YAML:function(e,t,n){var r,o,i;null!==e.version&&L(e,"duplication of %YAML directive"),1!==n.length&&L(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&L(e,"ill-formed argument of the YAML directive"),o=parseInt(r[1],10),i=parseInt(r[2],10),1!==o&&L(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=i<2,1!==i&&2!==i&&N(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,o;2!==n.length&&L(e,"TAG directive accepts exactly two arguments"),r=n[0],o=n[1],b.test(r)||L(e,"ill-formed tag handle (first argument) of the TAG directive"),s.call(e.tagMap,r)&&L(e,'there is a previously declared suffix for "'+r+'" tag handle'),v.test(o)||L(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch(i){L(e,"tag prefix is malformed: "+o)}e.tagMap[r]=o}};function I(e,t,n,r){var o,i,a,s;if(t1&&(e.result+=r.repeat("\n",t-1))}function U(e,t){var n,r,o=e.tag,i=e.anchor,a=[],s=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),r=e.input.charCodeAt(e.position);0!==r&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,L(e,"tab characters must not be used in indentation")),45===r)&&C(e.input.charCodeAt(e.position+1));)if(s=!0,e.position++,H(e,!0,-1)&&e.lineIndent<=t)a.push(null),r=e.input.charCodeAt(e.position);else if(n=e.line,B(e,t,u,!1,!0),a.push(e.result),H(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==r)L(e,"bad indentation of a sequence entry");else if(e.lineIndentt?j=1:e.lineIndent===t?j=0:e.lineIndentt?j=1:e.lineIndent===t?j=0:e.lineIndentt)&&(v&&(a=e.line,s=e.lineStart,c=e.position),B(e,t,p,!0,o)&&(v?y=e.result:b=e.result),v||(Z(e,h,g,m,y,b,a,s,c),m=y=b=null),H(e,!0,-1),u=e.input.charCodeAt(e.position)),(e.line===i||e.lineIndent>t)&&0!==u)L(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===i?L(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):u?L(e,"repeat of an indentation width identifier"):(p=t+i-1,u=!0)}if(k(a)){do{a=e.input.charCodeAt(++e.position)}while(k(a));if(35===a)do{a=e.input.charCodeAt(++e.position)}while(!x(a)&&0!==a)}for(;0!==a;){for($(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!u||e.lineIndentp&&(p=e.lineIndent),x(a))g++;else{if(e.lineIndent0){for(o=a,i=0;o>0;o--)(a=_(s=e.input.charCodeAt(++e.position)))>=0?i=(i<<4)+a:L(e,"expected hexadecimal character");e.result+=O(i),e.position++}else L(e,"unknown escape sequence");n=r=e.position}else x(s)?(I(e,n,r,!0),q(e,H(e,!1,t)),n=r=e.position):e.position===e.lineStart&&F(e)?L(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}L(e,"unexpected end of the stream within a double quoted scalar")}(e,E)?N=!0:!function(e){var t,n,r;if(42!==(r=e.input.charCodeAt(e.position)))return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!C(r)&&!S(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&L(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),s.call(e.anchorMap,n)||L(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],H(e,!0,-1),!0}(e)?function(e,t,n){var r,o,i,a,s,c,l,u,p=e.kind,f=e.result;if(C(u=e.input.charCodeAt(e.position))||S(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1;if((63===u||45===u)&&(C(r=e.input.charCodeAt(e.position+1))||n&&S(r)))return!1;for(e.kind="scalar",e.result="",o=i=e.position,a=!1;0!==u;){if(58===u){if(C(r=e.input.charCodeAt(e.position+1))||n&&S(r))break}else if(35===u){if(C(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&F(e)||n&&S(u))break;if(x(u)){if(s=e.line,c=e.lineStart,l=e.lineIndent,H(e,!1,-1),e.lineIndent>=t){a=!0,u=e.input.charCodeAt(e.position);continue}e.position=i,e.line=s,e.lineStart=c,e.lineIndent=l;break}}a&&(I(e,o,i,!1),q(e,e.line-s),o=i=e.position,a=!1),k(u)||(i=e.position+1),u=e.input.charCodeAt(++e.position)}return I(e,o,i,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,E,c===n)&&(N=!0,null===e.tag&&(e.tag="?")):(N=!0,null===e.tag&&null===e.anchor||L(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===j&&(N=m&&U(e,P))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&L(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),y=0,b=e.implicitTypes.length;y"),null!==e.result&&w.kind!==e.kind&&L(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+w.kind+'", not "'+e.kind+'"'),w.resolve(e.result,e.tag)?(e.result=w.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):L(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||N}function K(e){var t,n,r,o,i=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(o=e.input.charCodeAt(e.position))&&(H(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(a=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!C(o);)o=e.input.charCodeAt(++e.position);for(r=[],(n=e.input.slice(t,e.position)).length<1&&L(e,"directive name must not be less than one character in length");0!==o;){for(;k(o);)o=e.input.charCodeAt(++e.position);if(35===o){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&!x(o));break}if(x(o))break;for(t=e.position;0!==o&&!C(o);)o=e.input.charCodeAt(++e.position);r.push(e.input.slice(t,e.position))}0!==o&&$(e),s.call(M,n)?M[n](e,n,r):N(e,'unknown document directive "'+n+'"')}H(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,H(e,!0,-1)):a&&L(e,"directives end mark is expected"),B(e,e.lineIndent-1,p,!1,!0),H(e,!0,-1),e.checkLineBreaks&&m.test(e.input.slice(i,e.position))&&N(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&F(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,H(e,!0,-1)):e.positions&&(t=r-s+(i=" ... ").length),n-r>s&&(n=r+s-(a=" ...").length),{str:i+e.slice(t,n).replace(/\t/g,"→")+a,pos:r-t+i.length}}function i(e,t){return r.repeat(" ",t-e.length)+e}e.exports=function(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!=typeof t.linesBefore&&(t.linesBefore=3),"number"!=typeof t.linesAfter&&(t.linesAfter=2);for(var n,a=/\r?\n|\r|\0/g,s=[0],c=[],l=-1;n=a.exec(e.buffer);)c.push(n.index),s.push(n.index+n[0].length),e.position<=n.index&&l<0&&(l=s.length-2);l<0&&(l=s.length-1);var u,p,f="",d=Math.min(e.line+t.linesAfter,c.length).toString().length,h=t.maxLength-(t.indent+d+3);for(u=1;u<=t.linesBefore&&!(l-u<0);u++)p=o(e.buffer,s[l-u],c[l-u],e.position-(s[l]-s[l-u]),h),f=r.repeat(" ",t.indent)+i((e.line-u+1).toString(),d)+" | "+p.str+"\n"+f;for(p=o(e.buffer,s[l],c[l],e.position,h),f+=r.repeat(" ",t.indent)+i((e.line+1).toString(),d)+" | "+p.str+"\n",f+=r.repeat("-",t.indent+d+3+p.pos)+"^\n",u=1;u<=t.linesAfter&&!(l+u>=c.length);u++)p=o(e.buffer,s[l+u],c[l+u],e.position-(s[l]-s[l+u]),h),f+=r.repeat(" ",t.indent)+i((e.line+u+1).toString(),d)+" | "+p.str+"\n";return f.replace(/\n$/,"")}},1364:function(e,t,n){"use strict";var r=n(8425),o=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],i=["scalar","sequence","mapping"];e.exports=function(e,t){var n,a;if(t=t||{},Object.keys(t).forEach((function(t){if(-1===o.indexOf(t))throw new r('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=(n=t.styleAliases||null,a={},null!==n&&Object.keys(n).forEach((function(e){n[e].forEach((function(t){a[String(t)]=e}))})),a),-1===i.indexOf(this.kind))throw new r('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}},3531:function(e,t,n){"use strict";var r=n(1364),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";e.exports=new r("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=0,i=e.length,a=o;for(n=0;n64)){if(t<0)return!1;r+=6}return r%8==0},construct:function(e){var t,n,r=e.replace(/[\r\n=]/g,""),i=r.length,a=o,s=0,c=[];for(t=0;t>16&255),c.push(s>>8&255),c.push(255&s)),s=s<<6|a.indexOf(r.charAt(t));return 0===(n=i%4*6)?(c.push(s>>16&255),c.push(s>>8&255),c.push(255&s)):18===n?(c.push(s>>10&255),c.push(s>>2&255)):12===n&&c.push(s>>4&255),new Uint8Array(c)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){var t,n,r="",i=0,a=e.length,s=o;for(t=0;t>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]),i=(i<<8)+e[t];return 0===(n=a%3)?(r+=s[i>>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]):2===n?(r+=s[i>>10&63],r+=s[i>>4&63],r+=s[i<<2&63],r+=s[64]):1===n&&(r+=s[i>>2&63],r+=s[i<<4&63],r+=s[64],r+=s[64]),r}})},8771:function(e,t,n){"use strict";var r=n(1364);e.exports=new r("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},5215:function(e,t,n){"use strict";var r=n(8347),o=n(1364),i=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var a=/^[-+]?[0-9]+e/;e.exports=new o("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!i.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||r.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(r.isNegativeZero(e))return"-0.0";return n=e.toString(10),a.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})},1518:function(e,t,n){"use strict";var r=n(8347),o=n(1364);function i(e){return 48<=e&&e<=55}function a(e){return 48<=e&&e<=57}e.exports=new o("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=e.length,o=0,s=!1;if(!r)return!1;if("-"!==(t=e[o])&&"+"!==t||(t=e[++o]),"0"===t){if(o+1===r)return!0;if("b"===(t=e[++o])){for(o++;o=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},945:function(e,t,n){"use strict";var r=n(1364);e.exports=new r("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}})},7452:function(e,t,n){"use strict";var r=n(1364);e.exports=new r("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}})},151:function(e,t,n){"use strict";var r=n(1364);e.exports=new r("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})},1605:function(e,t,n){"use strict";var r=n(1364),o=Object.prototype.hasOwnProperty,i=Object.prototype.toString;e.exports=new r("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,a,s,c=[],l=e;for(t=0,n=l.length;t((e,t)=>{const{forward:n=[],...r}=e||{},o=JSON.stringify(r,((e,t)=>("function"==typeof t&&(t=String(t)).startsWith(e+"(")&&(t="function "+t),t)));return["!(function(w,p,f,c){",Object.keys(r).length>0?`c=w[p]=Object.assign(w[p]||{},${o});`:"c=w[p]=w[p]||{};","c[f]=(c[f]||[])",n.length>0?`.concat(${JSON.stringify(n)})`:"","})(window,'partytown','forward');",t].join("")})(e,'/* Partytown 0.7.6 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll(\'script[type="text/partytown"]\'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(f,1e4),e.addEventListener("pt0",w),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):f())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.7.6":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function f(n,r){for(w(),i==t&&(o.forward||[]).map((function(e){delete t[e.split(".")[0]]})),n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n{if("string"==typeof e)return!(e=>l.test(e))(e)},p=()=>"/skohub-pages",f=()=>"/skohub-pages";function d(e,t=p()){var n;if(!u(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;const r=null!=(n=null!=t?t:f())?n:"/";return`${null!=r&&r.endsWith("/")?r.slice(0,-1):r}${e.startsWith("/")?e:`/${e}`}`}const h=e=>null==e?void 0:e.startsWith("/");function g(e,t){const{pathname:n,search:r,hash:o}=c(e);return`${(0,a.H)(n,t)}${r}${o}`}const m=(e,t)=>"number"==typeof e?e:u(e)?h(e)?function(e){const t=d(e),n="always";return g(t,n)}(e):function(e,t){if(h(e))return e;const n="always",r=(0,i.resolve)(e,t);return g(r,n)}(e,t):e,y=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function b(e){return d(e,f())}const v={activeClassName:r.string,activeStyle:r.object,partiallyActive:r.bool};function w(e){return o.createElement(i.Location,null,(({location:t})=>o.createElement(x,s({},e,{_location:t}))))}class x extends o.Component{constructor(e){super(e),this.defaultGetProps=({isPartiallyCurrent:e,isCurrent:t})=>(this.props.partiallyActive?e:t)?{className:[this.props.className,this.props.activeClassName].filter(Boolean).join(" "),style:s({},this.props.style,this.props.activeStyle)}:null;let t=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(t=!0),this.state={IOSupported:t},this.abortPrefetch=null,this.handleRef=this.handleRef.bind(this)}_prefetch(){let e=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname+this.props._location.search);const t=c(m(this.props.to,e)),n=t.pathname+t.search;if(e!==n)return ___loader.enqueue(n)}componentWillUnmount(){if(!this.io)return;const{instance:e,el:t}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),e.unobserve(t),e.disconnect()}handleRef(e){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=((e,t)=>{const n=new window.IntersectionObserver((n=>{n.forEach((n=>{e===n.target&&t(n.isIntersecting||n.intersectionRatio>0)}))}));return n.observe(e),{instance:n,el:e}})(e,(e=>{e?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()})))}render(){const e=this.props,{to:t,getProps:n=this.defaultGetProps,onClick:r,onMouseEnter:a,state:l,replace:p,_location:f}=e,d=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,y),h=m(t,f.pathname);return u(h)?o.createElement(i.Link,s({to:h,state:l,getProps:n,innerRef:this.handleRef,onMouseEnter:e=>{a&&a(e);const t=c(h);___loader.hovering(t.pathname+t.search)},onClick:e=>{if(r&&r(e),!(0!==e.button||this.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();let t=p;const n=encodeURI(h)===f.pathname;"boolean"!=typeof p&&n&&(t=!0),window.___navigate(h,{state:l,replace:t})}return!0}},d)):o.createElement("a",s({href:h},d))}}x.propTypes=s({},v,{onClick:r.func,to:r.string.isRequired,replace:r.bool,state:r.object});const k=o.forwardRef(((e,t)=>o.createElement(w,s({innerRef:t},e)))),C=(e,t)=>{window.___navigate(m(e,window.location.pathname),t)}},3521:function(e,t,n){"use strict";n.r(t),n.d(t,{Script:function(){return h},ScriptStrategy:function(){return l},collectedScriptsByPage:function(){return s},scriptCache:function(){return f},scriptCallbackCache:function(){return d}});var r=n(7294),o=n(5268);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.get(e)||[],set(e,t){const n=a.get(e)||[];n.push(t),a.set(e,n)},delete(e){a.delete(e)}},c="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){const t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)};var l,u;(u=l||(l={})).postHydrate="post-hydrate",u.idle="idle",u.offMainThread="off-main-thread";const p=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),f=new Set,d=new Map;function h(e){return r.createElement(o.Location,null,(()=>r.createElement(g,e)))}function g(e){const{src:t,strategy:n=l.postHydrate}=e||{},{pathname:a}=(0,o.useLocation)();if((0,r.useEffect)((()=>{let t;switch(n){case l.postHydrate:t=m(e);break;case l.idle:c((()=>{t=m(e)}));break;case l.offMainThread:{const t=b(e);s.set(a,t)}}return()=>{const{script:e,loadCallback:n,errorCallback:r}=t||{};n&&(null==e||e.removeEventListener("load",n)),r&&(null==e||e.removeEventListener("error",r)),null==e||e.remove()}}),[]),n===l.offMainThread){const o=y(e),c=b(e);return"undefined"==typeof window&&s.set(a,c),r.createElement("script",o?i({type:"text/partytown","data-strategy":n,crossOrigin:"anonymous"},c,{dangerouslySetInnerHTML:{__html:y(e)}}):i({type:"text/partytown",src:v(t),"data-strategy":n,crossOrigin:"anonymous"},c))}return null}function m(e){const{id:t,src:n,strategy:r=l.postHydrate,onLoad:o,onError:a}=e||{},s=t||n,c=["load","error"],u={load:o,error:a};if(s){for(const e of c)if(null!=u&&u[e]){var p;const t=d.get(s)||{},{callbacks:n=[]}=(null==t?void 0:t[e])||{};var h,g;n.push(null==u?void 0:u[e]),null!=t&&null!=(p=t[e])&&p.event?null==u||null==(h=u[e])||h.call(u,null==t||null==(g=t[e])?void 0:g.event):d.set(s,i({},t,{[e]:{callbacks:n}}))}if(f.has(s))return null}const m=y(e),v=b(e),x=document.createElement("script");t&&(x.id=t),x.dataset.strategy=r;for(const[i,l]of Object.entries(v))x.setAttribute(i,l);m&&(x.textContent=m),n&&(x.src=n);const k={};if(s){for(const e of c){const t=t=>w(t,s,e);x.addEventListener(e,t),k[`${e}Callback`]=t}f.add(s)}return document.body.appendChild(x),{script:x,loadCallback:k.loadCallback,errorCallback:k.errorCallback}}function y(e){const{dangerouslySetInnerHTML:t,children:n=""}=e||{},{__html:r=""}=t||{};return r||n}function b(e){const t={};for(const[n,r]of Object.entries(e))p.has(n)||(t[n]=r);return t}function v(e){if(e)return`/__third-party-proxy?url=${encodeURIComponent(e)}`}function w(e,t,n){const r=d.get(t)||{};for(const i of(null==r||null==(o=r[n])?void 0:o.callbacks)||[]){var o;i(e)}d.set(t,{[n]:{event:e}})}}},function(e){e.O(0,[774],(function(){return t=5824,e(e.s=t);var t}));e.O()}]); +//# sourceMappingURL=app-b1bcfbde75680e16ae35.js.map \ No newline at end of file diff --git a/app-6f57a535d90786ef4861.js.LICENSE.txt b/app-b1bcfbde75680e16ae35.js.LICENSE.txt similarity index 100% rename from app-6f57a535d90786ef4861.js.LICENSE.txt rename to app-b1bcfbde75680e16ae35.js.LICENSE.txt diff --git a/app-6f57a535d90786ef4861.js.map b/app-b1bcfbde75680e16ae35.js.map similarity index 99% rename from app-6f57a535d90786ef4861.js.map rename to app-b1bcfbde75680e16ae35.js.map index 1bc78faec0..86f1033b2c 100644 --- a/app-6f57a535d90786ef4861.js.map +++ b/app-b1bcfbde75680e16ae35.js.map @@ -1 +1 @@ -{"version":3,"file":"app-6f57a535d90786ef4861.js","mappings":";gOAqDA,IAAIA,EAA0B,WAE5B,SAASA,EAAWC,GAClB,IAAIC,EAAQC,KAEZA,KAAKC,WAAa,SAAUC,GAC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IAAI5D,KAAKvV,EAAEuV,GAAGqzB,GAAG,OAAO5oC,CAAC,CAAC,SAASmN,EAAEqyB,GAAG,GAAGA,EAAE,MAAM,4BAA4Bhf,mBAAmBgf,IAAI,CAAC,SAASntB,EAAEmtB,EAAEx/B,EAAEuV,GAAG,MAAMqzB,EAAE/4B,EAAEpK,IAAIzF,IAAI,CAAC,EAAE,IAAI,MAAMA,KAAK,MAAM4oC,GAAG,OAAOpzB,EAAEozB,EAAErzB,SAAI,EAAOC,EAAEupD,YAAY,GAAG,CAAC,IAAIvpD,EAAExV,EAAEw/B,EAAE,CAAC3vB,EAAEnK,IAAI1F,EAAE,CAAC,CAACuV,GAAG,CAAC8hB,MAAMmI,IAAI","sources":["webpack://skohub-vocabs/./node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js","webpack://skohub-vocabs/./node_modules/stylis/src/Utility.js","webpack://skohub-vocabs/./node_modules/stylis/src/Tokenizer.js","webpack://skohub-vocabs/./node_modules/stylis/src/Enum.js","webpack://skohub-vocabs/./node_modules/stylis/src/Serializer.js","webpack://skohub-vocabs/./node_modules/stylis/src/Parser.js","webpack://skohub-vocabs/./node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js","webpack://skohub-vocabs/./node_modules/stylis/src/Middleware.js","webpack://skohub-vocabs/./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js","webpack://skohub-vocabs/./node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","webpack://skohub-vocabs/./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","webpack://skohub-vocabs/./node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js","webpack://skohub-vocabs/./node_modules/@emotion/hash/dist/emotion-hash.esm.js","webpack://skohub-vocabs/./node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js","webpack://skohub-vocabs/./node_modules/@emotion/react/dist/emotion-element-c39617d8.browser.esm.js","webpack://skohub-vocabs/./node_modules/@emotion/react/dist/emotion-react.browser.esm.js","webpack://skohub-vocabs/./node_modules/flexsearch/dist/module/async.js","webpack://skohub-vocabs/./node_modules/flexsearch/dist/module/cache.js","webpack://skohub-vocabs/./node_modules/flexsearch/dist/module/common.js","webpack://skohub-vocabs/./node_modules/flexsearch/dist/module/config.js","webpack://skohub-vocabs/./node_modules/flexsearch/dist/module/lang.js","webpack://skohub-vocabs/./node_modules/flexsearch/dist/module/lang/latin/default.js","webpack://skohub-vocabs/./node_modules/flexsearch/dist/module/global.js","webpack://skohub-vocabs/./node_modules/flexsearch/dist/module/preset.js","webpack://skohub-vocabs/./node_modules/flexsearch/dist/module/index.js","webpack://skohub-vocabs/./node_modules/flexsearch/dist/module/intersect.js","webpack://skohub-vocabs/./node_modules/flexsearch/dist/module/serialize.js","webpack://skohub-vocabs/./node_modules/flexsearch/dist/module/type.js","webpack://skohub-vocabs/./node_modules/flexsearch/dist/module/worker/handler.js","webpack://skohub-vocabs/./node_modules/flexsearch/dist/module/worker/index.js","webpack://skohub-vocabs/./node_modules/gatsby-page-utils/dist/apply-trailing-slash-option.js","webpack://skohub-vocabs/./node_modules/gatsby-react-router-scroll/index.js","webpack://skohub-vocabs/./node_modules/gatsby-react-router-scroll/scroll-handler.js","webpack://skohub-vocabs/./node_modules/gatsby-react-router-scroll/session-storage.js","webpack://skohub-vocabs/./node_modules/gatsby-react-router-scroll/use-scroll-restoration.js","webpack://skohub-vocabs/./node_modules/gatsby/dist/internal-plugins/bundle-optimisations/polyfills/object-assign.js","webpack://skohub-vocabs/./node_modules/gatsby/dist/internal-plugins/partytown/gatsby-browser.js","webpack://skohub-vocabs/./node_modules/gatsby/dist/internal-plugins/partytown/utils/get-forwards.js","webpack://skohub-vocabs/./node_modules/gatsby/dist/internal-plugins/partytown/utils/inject-partytown-snippet.js","webpack://skohub-vocabs/./.cache/_this_is_virtual_fs_path_/$virtual/async-requires.js","webpack://skohub-vocabs/./.cache/api-runner-browser-plugins.js","webpack://skohub-vocabs/./.cache/api-runner-browser.js","webpack://skohub-vocabs/./.cache/create-content-digest-browser-shim.js","webpack://skohub-vocabs/./.cache/emitter.js","webpack://skohub-vocabs/./node_modules/mitt/dist/mitt.es.js","webpack://skohub-vocabs/./.cache/normalize-page-path.js","webpack://skohub-vocabs/./.cache/find-path.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/esm/construct.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/esm/isNativeFunction.js","webpack://skohub-vocabs/./.cache/slice/server-slice-renderer.js","webpack://skohub-vocabs/./.cache/slice/server-slice.js","webpack://skohub-vocabs/./.cache/slice/inline-slice.js","webpack://skohub-vocabs/./.cache/slice.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack://skohub-vocabs/./.cache/gatsby-browser-entry.js","webpack://skohub-vocabs/./.cache/prefetch.js","webpack://skohub-vocabs/./.cache/loader.js","webpack://skohub-vocabs/./.cache/head/components/fire-callback-in-effect.js","webpack://skohub-vocabs/./.cache/head/constants.js","webpack://skohub-vocabs/./.cache/head/utils.js","webpack://skohub-vocabs/./.cache/head/head-export-handler-for-browser.js","webpack://skohub-vocabs/./.cache/page-renderer.js","webpack://skohub-vocabs/./.cache/route-announcer-props.js","webpack://skohub-vocabs/./.cache/navigation.js","webpack://skohub-vocabs/./node_modules/shallow-compare/es/index.js","webpack://skohub-vocabs/./.cache/ensure-resources.js","webpack://skohub-vocabs/./.cache/production-app.js","webpack://skohub-vocabs/./.cache/public-page-renderer-prod.js","webpack://skohub-vocabs/./.cache/public-page-renderer.js","webpack://skohub-vocabs/./.cache/react-dom-utils.js","webpack://skohub-vocabs/./.cache/redirect-utils.js","webpack://skohub-vocabs/./.cache/register-service-worker.js","webpack://skohub-vocabs/./.cache/slice/context.js","webpack://skohub-vocabs/./.cache/static-query.js","webpack://skohub-vocabs/./.cache/context-utils.js","webpack://skohub-vocabs/./.cache/strip-prefix.js","webpack://skohub-vocabs/./src/components/nestedList.jsx","webpack://skohub-vocabs/./src/components/TreeControls.jsx","webpack://skohub-vocabs/./src/icons/Gear.jsx","webpack://skohub-vocabs/./src/components/Modal.jsx","webpack://skohub-vocabs/./src/components/LabelFilter.jsx","webpack://skohub-vocabs/./src/components/Search.jsx","webpack://skohub-vocabs/./src/styles/concepts.css.js","webpack://skohub-vocabs/./node_modules/flexsearch/dist/module/document.js","webpack://skohub-vocabs/./src/templates/App.jsx","webpack://skohub-vocabs/./src/templates/helpers.js","webpack://skohub-vocabs/./gatsby-browser.js","webpack://skohub-vocabs/../src/lib/history.js","webpack://skohub-vocabs/../src/lib/hooks-create-context.js","webpack://skohub-vocabs/../src/lib/hooks-use-context.js","webpack://skohub-vocabs/../src/lib/redirect.js","webpack://skohub-vocabs/../src/lib/utils.js","webpack://skohub-vocabs/../src/lib/link.js","webpack://skohub-vocabs/../src/lib/error-boundary.js","webpack://skohub-vocabs/../src/lib/location-provider.js","webpack://skohub-vocabs/../src/lib/location.js","webpack://skohub-vocabs/../src/lib/location-server.js","webpack://skohub-vocabs/../src/lib/match.js","webpack://skohub-vocabs/../src/lib/focus-handler.js","webpack://skohub-vocabs/../src/lib/router.js","webpack://skohub-vocabs/../src/hooks/use-location.js","webpack://skohub-vocabs/../src/hooks/use-navigate.js","webpack://skohub-vocabs/../src/hooks/use-params.js","webpack://skohub-vocabs/../src/hooks/use-match.js","webpack://skohub-vocabs/./node_modules/gatsby-plugin-manifest/gatsby-browser.js","webpack://skohub-vocabs/./node_modules/gatsby-plugin-manifest/get-manifest-pathname.js","webpack://skohub-vocabs/./src/common.js","webpack://skohub-vocabs/./src/components/header.jsx","webpack://skohub-vocabs/./src/components/footer.jsx","webpack://skohub-vocabs/./src/components/layout.jsx","webpack://skohub-vocabs/./node_modules/react-helmet/es/Helmet.js","webpack://skohub-vocabs/./src/components/seo.jsx","webpack://skohub-vocabs/./src/context/Context.jsx","webpack://skohub-vocabs/./src/hooks/configAndConceptSchemes.js","webpack://skohub-vocabs/./src/hooks/getUserLanguage.js","webpack://skohub-vocabs/./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack://skohub-vocabs/./node_modules/invariant/browser.js","webpack://skohub-vocabs/./node_modules/js-yaml/index.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/common.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/dumper.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/exception.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/loader.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/schema.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/schema/core.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/schema/default.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/schema/failsafe.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/schema/json.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/snippet.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/type.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/type/binary.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/type/bool.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/type/float.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/type/int.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/type/map.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/type/merge.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/type/null.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/type/omap.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/type/pairs.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/type/seq.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/type/set.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/type/str.js","webpack://skohub-vocabs/./node_modules/js-yaml/lib/type/timestamp.js","webpack://skohub-vocabs/./node_modules/lodash.escaperegexp/index.js","webpack://skohub-vocabs/./node_modules/react-fast-compare/index.js","webpack://skohub-vocabs/./node_modules/react-is/cjs/react-is.production.min.js","webpack://skohub-vocabs/./node_modules/react-is/index.js","webpack://skohub-vocabs/./node_modules/react-server-dom-webpack/cjs/react-server-dom-webpack.production.min.js","webpack://skohub-vocabs/./node_modules/react-server-dom-webpack/index.js","webpack://skohub-vocabs/./node_modules/react-side-effect/lib/index.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/assertThisInitialized.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/extends.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/inheritsLoose.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/interopRequireDefault.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/setPrototypeOf.js","webpack://skohub-vocabs/./node_modules/@builder.io/partytown/integration/index.cjs","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/esm/extends.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","webpack://skohub-vocabs/./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack://skohub-vocabs/./node_modules/gatsby-link/dist/index.modern.mjs","webpack://skohub-vocabs/./node_modules/gatsby-script/dist/index.modern.mjs"],"sourcesContent":["/*\n\nBased off glamor's StyleSheet, thanks Sunil ❤️\n\nhigh performance StyleSheet for css-in-js systems\n\n- uses multiple style tags behind the scenes for millions of rules\n- uses `insertRule` for appending in production for *much* faster performance\n\n// usage\n\nimport { StyleSheet } from '@emotion/sheet'\n\nlet styleSheet = new StyleSheet({ key: '', container: document.head })\n\nstyleSheet.insert('#box { border: 1px solid red; }')\n- appends a css rule into the stylesheet\n\nstyleSheet.flush()\n- empties the stylesheet of all its contents\n\n*/\n// $FlowFixMe\nfunction sheetForTag(tag) {\n if (tag.sheet) {\n // $FlowFixMe\n return tag.sheet;\n } // this weirdness brought to you by firefox\n\n /* istanbul ignore next */\n\n\n for (var i = 0; i < document.styleSheets.length; i++) {\n if (document.styleSheets[i].ownerNode === tag) {\n // $FlowFixMe\n return document.styleSheets[i];\n }\n }\n}\n\nfunction createStyleElement(options) {\n var tag = document.createElement('style');\n tag.setAttribute('data-emotion', options.key);\n\n if (options.nonce !== undefined) {\n tag.setAttribute('nonce', options.nonce);\n }\n\n tag.appendChild(document.createTextNode(''));\n tag.setAttribute('data-s', '');\n return tag;\n}\n\nvar StyleSheet = /*#__PURE__*/function () {\n // Using Node instead of HTMLElement since container may be a ShadowRoot\n function StyleSheet(options) {\n var _this = this;\n\n this._insertTag = function (tag) {\n var before;\n\n if (_this.tags.length === 0) {\n if (_this.insertionPoint) {\n before = _this.insertionPoint.nextSibling;\n } else if (_this.prepend) {\n before = _this.container.firstChild;\n } else {\n before = _this.before;\n }\n } else {\n before = _this.tags[_this.tags.length - 1].nextSibling;\n }\n\n _this.container.insertBefore(tag, before);\n\n _this.tags.push(tag);\n };\n\n this.isSpeedy = options.speedy === undefined ? process.env.NODE_ENV === 'production' : options.speedy;\n this.tags = [];\n this.ctr = 0;\n this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets\n\n this.key = options.key;\n this.container = options.container;\n this.prepend = options.prepend;\n this.insertionPoint = options.insertionPoint;\n this.before = null;\n }\n\n var _proto = StyleSheet.prototype;\n\n _proto.hydrate = function hydrate(nodes) {\n nodes.forEach(this._insertTag);\n };\n\n _proto.insert = function insert(rule) {\n // the max length is how many rules we have per style tag, it's 65000 in speedy mode\n // it's 1 in dev because we insert source maps that map a single rule to a location\n // and you can only have one source map per style tag\n if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {\n this._insertTag(createStyleElement(this));\n }\n\n var tag = this.tags[this.tags.length - 1];\n\n if (process.env.NODE_ENV !== 'production') {\n var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;\n\n if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) {\n // this would only cause problem in speedy mode\n // but we don't want enabling speedy to affect the observable behavior\n // so we report this error at all times\n console.error(\"You're attempting to insert the following rule:\\n\" + rule + '\\n\\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.');\n }\n this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule;\n }\n\n if (this.isSpeedy) {\n var sheet = sheetForTag(tag);\n\n try {\n // this is the ultrafast version, works across browsers\n // the big drawback is that the css won't be editable in devtools\n sheet.insertRule(rule, sheet.cssRules.length);\n } catch (e) {\n if (process.env.NODE_ENV !== 'production' && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(rule)) {\n console.error(\"There was a problem inserting the following rule: \\\"\" + rule + \"\\\"\", e);\n }\n }\n } else {\n tag.appendChild(document.createTextNode(rule));\n }\n\n this.ctr++;\n };\n\n _proto.flush = function flush() {\n // $FlowFixMe\n this.tags.forEach(function (tag) {\n return tag.parentNode && tag.parentNode.removeChild(tag);\n });\n this.tags = [];\n this.ctr = 0;\n\n if (process.env.NODE_ENV !== 'production') {\n this._alreadyInsertedOrderInsensitiveRule = false;\n }\n };\n\n return StyleSheet;\n}();\n\nexport { StyleSheet };\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @return {number}\n */\nexport function indexof (value, search) {\n\treturn value.indexOf(search)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: ''}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0), root, {length: -root.length}, props)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen, sizeof} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\tvar length = sizeof(children)\n\n\tfor (var i = 0; i < length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: element.value = element.props.join(',')\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f') != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @return {object}\n */\nexport function comment (value, root, parent) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @return {object}\n */\nexport function declaration (value, root, parent, length) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length)\n}\n","import { StyleSheet } from '@emotion/sheet';\nimport { dealloc, alloc, next, token, from, peek, delimit, slice, position, RULESET, combine, match, serialize, copy, replace, WEBKIT, MOZ, MS, KEYFRAMES, DECLARATION, hash, charat, strlen, indexof, stringify, COMMENT, rulesheet, middleware, compile } from 'stylis';\nimport '@emotion/weak-memoize';\nimport '@emotion/memoize';\n\nvar identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {\n var previous = 0;\n var character = 0;\n\n while (true) {\n previous = character;\n character = peek(); // &\\f\n\n if (previous === 38 && character === 12) {\n points[index] = 1;\n }\n\n if (token(character)) {\n break;\n }\n\n next();\n }\n\n return slice(begin, position);\n};\n\nvar toRules = function toRules(parsed, points) {\n // pretend we've started with a comma\n var index = -1;\n var character = 44;\n\n do {\n switch (token(character)) {\n case 0:\n // &\\f\n if (character === 38 && peek() === 12) {\n // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings\n // stylis inserts \\f after & to know when & where it should replace this sequence with the context selector\n // and when it should just concatenate the outer and inner selectors\n // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here\n points[index] = 1;\n }\n\n parsed[index] += identifierWithPointTracking(position - 1, points, index);\n break;\n\n case 2:\n parsed[index] += delimit(character);\n break;\n\n case 4:\n // comma\n if (character === 44) {\n // colon\n parsed[++index] = peek() === 58 ? '&\\f' : '';\n points[index] = parsed[index].length;\n break;\n }\n\n // fallthrough\n\n default:\n parsed[index] += from(character);\n }\n } while (character = next());\n\n return parsed;\n};\n\nvar getRules = function getRules(value, points) {\n return dealloc(toRules(alloc(value), points));\n}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11\n\n\nvar fixedElements = /* #__PURE__ */new WeakMap();\nvar compat = function compat(element) {\n if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo\n // negative .length indicates that this rule has been already prefixed\n element.length < 1) {\n return;\n }\n\n var value = element.value,\n parent = element.parent;\n var isImplicitRule = element.column === parent.column && element.line === parent.line;\n\n while (parent.type !== 'rule') {\n parent = parent.parent;\n if (!parent) return;\n } // short-circuit for the simplest case\n\n\n if (element.props.length === 1 && value.charCodeAt(0) !== 58\n /* colon */\n && !fixedElements.get(parent)) {\n return;\n } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)\n // then the props has already been manipulated beforehand as they that array is shared between it and its \"rule parent\"\n\n\n if (isImplicitRule) {\n return;\n }\n\n fixedElements.set(element, true);\n var points = [];\n var rules = getRules(value, points);\n var parentRules = parent.props;\n\n for (var i = 0, k = 0; i < rules.length; i++) {\n for (var j = 0; j < parentRules.length; j++, k++) {\n element.props[k] = points[i] ? rules[i].replace(/&\\f/g, parentRules[j]) : parentRules[j] + \" \" + rules[i];\n }\n }\n};\nvar removeLabel = function removeLabel(element) {\n if (element.type === 'decl') {\n var value = element.value;\n\n if ( // charcode for l\n value.charCodeAt(0) === 108 && // charcode for b\n value.charCodeAt(2) === 98) {\n // this ignores label\n element[\"return\"] = '';\n element.value = '';\n }\n }\n};\nvar ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';\n\nvar isIgnoringComment = function isIgnoringComment(element) {\n return element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1;\n};\n\nvar createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {\n return function (element, index, children) {\n if (element.type !== 'rule' || cache.compat) return;\n var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);\n\n if (unsafePseudoClasses) {\n var isNested = !!element.parent; // in nested rules comments become children of the \"auto-inserted\" rule and that's always the `element.parent`\n //\n // considering this input:\n // .a {\n // .b /* comm */ {}\n // color: hotpink;\n // }\n // we get output corresponding to this:\n // .a {\n // & {\n // /* comm */\n // color: hotpink;\n // }\n // .b {}\n // }\n\n var commentContainer = isNested ? element.parent.children : // global rule at the root level\n children;\n\n for (var i = commentContainer.length - 1; i >= 0; i--) {\n var node = commentContainer[i];\n\n if (node.line < element.line) {\n break;\n } // it is quite weird but comments are *usually* put at `column: element.column - 1`\n // so we seek *from the end* for the node that is earlier than the rule's `element` and check that\n // this will also match inputs like this:\n // .a {\n // /* comm */\n // .b {}\n // }\n //\n // but that is fine\n //\n // it would be the easiest to change the placement of the comment to be the first child of the rule:\n // .a {\n // .b { /* comm */ }\n // }\n // with such inputs we wouldn't have to search for the comment at all\n // TODO: consider changing this comment placement in the next major version\n\n\n if (node.column < element.column) {\n if (isIgnoringComment(node)) {\n return;\n }\n\n break;\n }\n }\n\n unsafePseudoClasses.forEach(function (unsafePseudoClass) {\n console.error(\"The pseudo class \\\"\" + unsafePseudoClass + \"\\\" is potentially unsafe when doing server-side rendering. Try changing it to \\\"\" + unsafePseudoClass.split('-child')[0] + \"-of-type\\\".\");\n });\n }\n };\n};\n\nvar isImportRule = function isImportRule(element) {\n return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;\n};\n\nvar isPrependedWithRegularRules = function isPrependedWithRegularRules(index, children) {\n for (var i = index - 1; i >= 0; i--) {\n if (!isImportRule(children[i])) {\n return true;\n }\n }\n\n return false;\n}; // use this to remove incorrect elements from further processing\n// so they don't get handed to the `sheet` (or anything else)\n// as that could potentially lead to additional logs which in turn could be overhelming to the user\n\n\nvar nullifyElement = function nullifyElement(element) {\n element.type = '';\n element.value = '';\n element[\"return\"] = '';\n element.children = '';\n element.props = '';\n};\n\nvar incorrectImportAlarm = function incorrectImportAlarm(element, index, children) {\n if (!isImportRule(element)) {\n return;\n }\n\n if (element.parent) {\n console.error(\"`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.\");\n nullifyElement(element);\n } else if (isPrependedWithRegularRules(index, children)) {\n console.error(\"`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.\");\n nullifyElement(element);\n }\n};\n\n/* eslint-disable no-fallthrough */\n\nfunction prefix(value, length) {\n switch (hash(value, length)) {\n // color-adjust\n case 5103:\n return WEBKIT + 'print-' + value + value;\n // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\n case 5737:\n case 4201:\n case 3177:\n case 3433:\n case 1641:\n case 4457:\n case 2921: // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\n case 5572:\n case 6356:\n case 5844:\n case 3191:\n case 6645:\n case 3005: // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\n case 6391:\n case 5879:\n case 5623:\n case 6135:\n case 4599:\n case 4855: // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\n case 4215:\n case 6389:\n case 5109:\n case 5365:\n case 5621:\n case 3829:\n return WEBKIT + value + value;\n // appearance, user-select, transform, hyphens, text-size-adjust\n\n case 5349:\n case 4246:\n case 4810:\n case 6968:\n case 2756:\n return WEBKIT + value + MOZ + value + MS + value + value;\n // flex, flex-direction\n\n case 6828:\n case 4268:\n return WEBKIT + value + MS + value + value;\n // order\n\n case 6165:\n return WEBKIT + value + MS + 'flex-' + value + value;\n // align-items\n\n case 5187:\n return WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;\n // align-self\n\n case 5443:\n return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value;\n // align-content\n\n case 4675:\n return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value;\n // flex-shrink\n\n case 5548:\n return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;\n // flex-basis\n\n case 5292:\n return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;\n // flex-grow\n\n case 6060:\n return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;\n // transition\n\n case 4554:\n return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;\n // cursor\n\n case 6187:\n return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;\n // background, background-image\n\n case 5495:\n case 3959:\n return replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1');\n // justify-content\n\n case 4968:\n return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;\n // (margin|padding)-inline-(start|end)\n\n case 4095:\n case 3583:\n case 4068:\n case 2532:\n return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;\n // (min|max)?(width|height|inline-size|block-size)\n\n case 8116:\n case 7059:\n case 5753:\n case 5535:\n case 5445:\n case 5701:\n case 4933:\n case 4677:\n case 5533:\n case 5789:\n case 5021:\n case 4765:\n // stretch, max-content, min-content, fill-available\n if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {\n // (m)ax-content, (m)in-content\n case 109:\n // -\n if (charat(value, length + 4) !== 45) break;\n // (f)ill-available, (f)it-content\n\n case 102:\n return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;\n // (s)tretch\n\n case 115:\n return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;\n }\n break;\n // position: sticky\n\n case 4949:\n // (s)ticky?\n if (charat(value, length + 1) !== 115) break;\n // display: (flex|inline-flex)\n\n case 6444:\n switch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {\n // stic(k)y\n case 107:\n return replace(value, ':', ':' + WEBKIT) + value;\n // (inline-)?fl(e)x\n\n case 101:\n return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;\n }\n\n break;\n // writing-mode\n\n case 5936:\n switch (charat(value, length + 11)) {\n // vertical-l(r)\n case 114:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value;\n // vertical-r(l)\n\n case 108:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value;\n // horizontal(-)tb\n\n case 45:\n return WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value;\n }\n\n return WEBKIT + value + MS + value + value;\n }\n\n return value;\n}\n\nvar prefixer = function prefixer(element, index, children, callback) {\n if (element.length > -1) if (!element[\"return\"]) switch (element.type) {\n case DECLARATION:\n element[\"return\"] = prefix(element.value, element.length);\n break;\n\n case KEYFRAMES:\n return serialize([copy(element, {\n value: replace(element.value, '@', '@' + WEBKIT)\n })], callback);\n\n case RULESET:\n if (element.length) return combine(element.props, function (value) {\n switch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n // :read-(only|write)\n case ':read-only':\n case ':read-write':\n return serialize([copy(element, {\n props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]\n })], callback);\n // :placeholder\n\n case '::placeholder':\n return serialize([copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]\n }), copy(element, {\n props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]\n })], callback);\n }\n\n return '';\n });\n }\n};\n\nvar defaultStylisPlugins = [prefixer];\n\nvar createCache = function createCache(options) {\n var key = options.key;\n\n if (process.env.NODE_ENV !== 'production' && !key) {\n throw new Error(\"You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\\n\" + \"If multiple caches share the same key they might \\\"fight\\\" for each other's style elements.\");\n }\n\n if (key === 'css') {\n var ssrStyles = document.querySelectorAll(\"style[data-emotion]:not([data-s])\"); // get SSRed styles out of the way of React's hydration\n // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)\n // note this very very intentionally targets all style elements regardless of the key to ensure\n // that creating a cache works inside of render of a React component\n\n Array.prototype.forEach.call(ssrStyles, function (node) {\n // we want to only move elements which have a space in the data-emotion attribute value\n // because that indicates that it is an Emotion 11 server-side rendered style elements\n // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector\n // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)\n // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles\n // will not result in the Emotion 10 styles being destroyed\n var dataEmotionAttribute = node.getAttribute('data-emotion');\n\n if (dataEmotionAttribute.indexOf(' ') === -1) {\n return;\n }\n document.head.appendChild(node);\n node.setAttribute('data-s', '');\n });\n }\n\n var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;\n\n if (process.env.NODE_ENV !== 'production') {\n // $FlowFixMe\n if (/[^a-z-]/.test(key)) {\n throw new Error(\"Emotion key must only contain lower case alphabetical characters and - but \\\"\" + key + \"\\\" was passed\");\n }\n }\n\n var inserted = {};\n var container;\n var nodesToHydrate = [];\n\n {\n container = options.container || document.head;\n Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which\n // means that the style elements we're looking at are only Emotion 11 server-rendered style elements\n document.querySelectorAll(\"style[data-emotion^=\\\"\" + key + \" \\\"]\"), function (node) {\n var attrib = node.getAttribute(\"data-emotion\").split(' '); // $FlowFixMe\n\n for (var i = 1; i < attrib.length; i++) {\n inserted[attrib[i]] = true;\n }\n\n nodesToHydrate.push(node);\n });\n }\n\n var _insert;\n\n var omnipresentPlugins = [compat, removeLabel];\n\n if (process.env.NODE_ENV !== 'production') {\n omnipresentPlugins.push(createUnsafeSelectorsAlarm({\n get compat() {\n return cache.compat;\n }\n\n }), incorrectImportAlarm);\n }\n\n {\n var currentSheet;\n var finalizingPlugins = [stringify, process.env.NODE_ENV !== 'production' ? function (element) {\n if (!element.root) {\n if (element[\"return\"]) {\n currentSheet.insert(element[\"return\"]);\n } else if (element.value && element.type !== COMMENT) {\n // insert empty rule in non-production environments\n // so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet\n currentSheet.insert(element.value + \"{}\");\n }\n }\n } : rulesheet(function (rule) {\n currentSheet.insert(rule);\n })];\n var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));\n\n var stylis = function stylis(styles) {\n return serialize(compile(styles), serializer);\n };\n\n _insert = function insert(selector, serialized, sheet, shouldCache) {\n currentSheet = sheet;\n\n if (process.env.NODE_ENV !== 'production' && serialized.map !== undefined) {\n currentSheet = {\n insert: function insert(rule) {\n sheet.insert(rule + serialized.map);\n }\n };\n }\n\n stylis(selector ? selector + \"{\" + serialized.styles + \"}\" : serialized.styles);\n\n if (shouldCache) {\n cache.inserted[serialized.name] = true;\n }\n };\n }\n\n var cache = {\n key: key,\n sheet: new StyleSheet({\n key: key,\n container: container,\n nonce: options.nonce,\n speedy: options.speedy,\n prepend: options.prepend,\n insertionPoint: options.insertionPoint\n }),\n nonce: options.nonce,\n inserted: inserted,\n registered: {},\n insert: _insert\n };\n cache.sheet.hydrate(nodesToHydrate);\n return cache;\n};\n\nexport { createCache as default };\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine} from './Utility.js'\nimport {copy, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\treturn serialize([copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]})], callback)\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\treturn serialize([\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}),\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}),\n\t\t\t\t\t\t\t\t\t\tcopy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]})\n\t\t\t\t\t\t\t\t\t], callback)\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","var isBrowser = \"object\" !== 'undefined';\nfunction getRegisteredStyles(registered, registeredStyles, classNames) {\n var rawClassName = '';\n classNames.split(' ').forEach(function (className) {\n if (registered[className] !== undefined) {\n registeredStyles.push(registered[className] + \";\");\n } else {\n rawClassName += className + \" \";\n }\n });\n return rawClassName;\n}\nvar registerStyles = function registerStyles(cache, serialized, isStringTag) {\n var className = cache.key + \"-\" + serialized.name;\n\n if ( // we only need to add the styles to the registered cache if the\n // class name could be used further down\n // the tree but if it's a string tag, we know it won't\n // so we don't have to add it to registered cache.\n // this improves memory usage since we can avoid storing the whole style string\n (isStringTag === false || // we need to always store it if we're in compat mode and\n // in node since emotion-server relies on whether a style is in\n // the registered cache to know whether a style is global or not\n // also, note that this check will be dead code eliminated in the browser\n isBrowser === false ) && cache.registered[className] === undefined) {\n cache.registered[className] = serialized.styles;\n }\n};\nvar insertStyles = function insertStyles(cache, serialized, isStringTag) {\n registerStyles(cache, serialized, isStringTag);\n var className = cache.key + \"-\" + serialized.name;\n\n if (cache.inserted[serialized.name] === undefined) {\n var current = serialized;\n\n do {\n cache.insert(serialized === current ? \".\" + className : '', current, cache.sheet, true);\n\n current = current.next;\n } while (current !== undefined);\n }\n};\n\nexport { getRegisteredStyles, insertStyles, registerStyles };\n","var unitlessKeys = {\n animationIterationCount: 1,\n aspectRatio: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\n\nexport { unitlessKeys as default };\n","function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n","import hashString from '@emotion/hash';\nimport unitless from '@emotion/unitless';\nimport memoize from '@emotion/memoize';\n\nvar ILLEGAL_ESCAPE_SEQUENCE_ERROR = \"You have illegal escape sequence in your template literal, most likely inside content's property value.\\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \\\"content: '\\\\00d7';\\\" should become \\\"content: '\\\\\\\\00d7';\\\".\\nYou can read more about this here:\\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences\";\nvar UNDEFINED_AS_OBJECT_KEY_ERROR = \"You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).\";\nvar hyphenateRegex = /[A-Z]|^ms/g;\nvar animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;\n\nvar isCustomProperty = function isCustomProperty(property) {\n return property.charCodeAt(1) === 45;\n};\n\nvar isProcessableValue = function isProcessableValue(value) {\n return value != null && typeof value !== 'boolean';\n};\n\nvar processStyleName = /* #__PURE__ */memoize(function (styleName) {\n return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();\n});\n\nvar processStyleValue = function processStyleValue(key, value) {\n switch (key) {\n case 'animation':\n case 'animationName':\n {\n if (typeof value === 'string') {\n return value.replace(animationRegex, function (match, p1, p2) {\n cursor = {\n name: p1,\n styles: p2,\n next: cursor\n };\n return p1;\n });\n }\n }\n }\n\n if (unitless[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {\n return value + 'px';\n }\n\n return value;\n};\n\nif (process.env.NODE_ENV !== 'production') {\n var contentValuePattern = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\\(|(no-)?(open|close)-quote/;\n var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];\n var oldProcessStyleValue = processStyleValue;\n var msPattern = /^-ms-/;\n var hyphenPattern = /-(.)/g;\n var hyphenatedCache = {};\n\n processStyleValue = function processStyleValue(key, value) {\n if (key === 'content') {\n if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '\"' && value.charAt(0) !== \"'\")) {\n throw new Error(\"You seem to be using a value for 'content' without quotes, try replacing it with `content: '\\\"\" + value + \"\\\"'`\");\n }\n }\n\n var processed = oldProcessStyleValue(key, value);\n\n if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {\n hyphenatedCache[key] = true;\n console.error(\"Using kebab-case for css properties in objects is not supported. Did you mean \" + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {\n return _char.toUpperCase();\n }) + \"?\");\n }\n\n return processed;\n };\n}\n\nvar noComponentSelectorMessage = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';\n\nfunction handleInterpolation(mergedProps, registered, interpolation) {\n if (interpolation == null) {\n return '';\n }\n\n if (interpolation.__emotion_styles !== undefined) {\n if (process.env.NODE_ENV !== 'production' && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {\n throw new Error(noComponentSelectorMessage);\n }\n\n return interpolation;\n }\n\n switch (typeof interpolation) {\n case 'boolean':\n {\n return '';\n }\n\n case 'object':\n {\n if (interpolation.anim === 1) {\n cursor = {\n name: interpolation.name,\n styles: interpolation.styles,\n next: cursor\n };\n return interpolation.name;\n }\n\n if (interpolation.styles !== undefined) {\n var next = interpolation.next;\n\n if (next !== undefined) {\n // not the most efficient thing ever but this is a pretty rare case\n // and there will be very few iterations of this generally\n while (next !== undefined) {\n cursor = {\n name: next.name,\n styles: next.styles,\n next: cursor\n };\n next = next.next;\n }\n }\n\n var styles = interpolation.styles + \";\";\n\n if (process.env.NODE_ENV !== 'production' && interpolation.map !== undefined) {\n styles += interpolation.map;\n }\n\n return styles;\n }\n\n return createStringFromObject(mergedProps, registered, interpolation);\n }\n\n case 'function':\n {\n if (mergedProps !== undefined) {\n var previousCursor = cursor;\n var result = interpolation(mergedProps);\n cursor = previousCursor;\n return handleInterpolation(mergedProps, registered, result);\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('Functions that are interpolated in css calls will be stringified.\\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\\n' + 'It can be called directly with props or interpolated in a styled call like this\\n' + \"let SomeComponent = styled('div')`${dynamicStyle}`\");\n }\n\n break;\n }\n\n case 'string':\n if (process.env.NODE_ENV !== 'production') {\n var matched = [];\n var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {\n var fakeVarName = \"animation\" + matched.length;\n matched.push(\"const \" + fakeVarName + \" = keyframes`\" + p2.replace(/^@keyframes animation-\\w+/, '') + \"`\");\n return \"${\" + fakeVarName + \"}\";\n });\n\n if (matched.length) {\n console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\\n\\n' + 'Instead of doing this:\\n\\n' + [].concat(matched, [\"`\" + replaced + \"`\"]).join('\\n') + '\\n\\nYou should wrap it with `css` like this:\\n\\n' + (\"css`\" + replaced + \"`\"));\n }\n }\n\n break;\n } // finalize string values (regular strings and functions interpolated into css calls)\n\n\n if (registered == null) {\n return interpolation;\n }\n\n var cached = registered[interpolation];\n return cached !== undefined ? cached : interpolation;\n}\n\nfunction createStringFromObject(mergedProps, registered, obj) {\n var string = '';\n\n if (Array.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n string += handleInterpolation(mergedProps, registered, obj[i]) + \";\";\n }\n } else {\n for (var _key in obj) {\n var value = obj[_key];\n\n if (typeof value !== 'object') {\n if (registered != null && registered[value] !== undefined) {\n string += _key + \"{\" + registered[value] + \"}\";\n } else if (isProcessableValue(value)) {\n string += processStyleName(_key) + \":\" + processStyleValue(_key, value) + \";\";\n }\n } else {\n if (_key === 'NO_COMPONENT_SELECTOR' && process.env.NODE_ENV !== 'production') {\n throw new Error(noComponentSelectorMessage);\n }\n\n if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {\n for (var _i = 0; _i < value.length; _i++) {\n if (isProcessableValue(value[_i])) {\n string += processStyleName(_key) + \":\" + processStyleValue(_key, value[_i]) + \";\";\n }\n }\n } else {\n var interpolated = handleInterpolation(mergedProps, registered, value);\n\n switch (_key) {\n case 'animation':\n case 'animationName':\n {\n string += processStyleName(_key) + \":\" + interpolated + \";\";\n break;\n }\n\n default:\n {\n if (process.env.NODE_ENV !== 'production' && _key === 'undefined') {\n console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);\n }\n\n string += _key + \"{\" + interpolated + \"}\";\n }\n }\n }\n }\n }\n }\n\n return string;\n}\n\nvar labelPattern = /label:\\s*([^\\s;\\n{]+)\\s*(;|$)/g;\nvar sourceMapPattern;\n\nif (process.env.NODE_ENV !== 'production') {\n sourceMapPattern = /\\/\\*#\\ssourceMappingURL=data:application\\/json;\\S+\\s+\\*\\//g;\n} // this is the cursor for keyframes\n// keyframes are stored on the SerializedStyles object as a linked list\n\n\nvar cursor;\nvar serializeStyles = function serializeStyles(args, registered, mergedProps) {\n if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {\n return args[0];\n }\n\n var stringMode = true;\n var styles = '';\n cursor = undefined;\n var strings = args[0];\n\n if (strings == null || strings.raw === undefined) {\n stringMode = false;\n styles += handleInterpolation(mergedProps, registered, strings);\n } else {\n if (process.env.NODE_ENV !== 'production' && strings[0] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);\n }\n\n styles += strings[0];\n } // we start at 1 since we've already handled the first arg\n\n\n for (var i = 1; i < args.length; i++) {\n styles += handleInterpolation(mergedProps, registered, args[i]);\n\n if (stringMode) {\n if (process.env.NODE_ENV !== 'production' && strings[i] === undefined) {\n console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);\n }\n\n styles += strings[i];\n }\n }\n\n var sourceMap;\n\n if (process.env.NODE_ENV !== 'production') {\n styles = styles.replace(sourceMapPattern, function (match) {\n sourceMap = match;\n return '';\n });\n } // using a global regex with .exec is stateful so lastIndex has to be reset each time\n\n\n labelPattern.lastIndex = 0;\n var identifierName = '';\n var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5\n\n while ((match = labelPattern.exec(styles)) !== null) {\n identifierName += '-' + // $FlowFixMe we know it's not null\n match[1];\n }\n\n var name = hashString(styles) + identifierName;\n\n if (process.env.NODE_ENV !== 'production') {\n // $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)\n return {\n name: name,\n styles: styles,\n map: sourceMap,\n next: cursor,\n toString: function toString() {\n return \"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).\";\n }\n };\n }\n\n return {\n name: name,\n styles: styles,\n next: cursor\n };\n};\n\nexport { serializeStyles };\n","/* eslint-disable */\n// Inspired by https://github.com/garycourt/murmurhash-js\n// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86\nfunction murmur2(str) {\n // 'm' and 'r' are mixing constants generated offline.\n // They're not really 'magic', they just happen to work well.\n // const m = 0x5bd1e995;\n // const r = 24;\n // Initialize the hash\n var h = 0; // Mix 4 bytes at a time into the hash\n\n var k,\n i = 0,\n len = str.length;\n\n for (; len >= 4; ++i, len -= 4) {\n k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n k =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);\n k ^=\n /* k >>> r: */\n k >>> 24;\n h =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Handle the last few bytes of the input array\n\n\n switch (len) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n\n case 1:\n h ^= str.charCodeAt(i) & 0xff;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Do a few final mixes of the hash to ensure the last few\n // bytes are well-incorporated.\n\n\n h ^= h >>> 13;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n return ((h ^ h >>> 15) >>> 0).toString(36);\n}\n\nexport { murmur2 as default };\n","import * as React from 'react';\n\nvar syncFallback = function syncFallback(create) {\n return create();\n};\n\nvar useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : false;\nvar useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;\nvar useInsertionEffectWithLayoutFallback = useInsertionEffect || React.useLayoutEffect;\n\nexport { useInsertionEffectAlwaysWithSyncFallback, useInsertionEffectWithLayoutFallback };\n","import * as React from 'react';\nimport { useContext, forwardRef } from 'react';\nimport createCache from '@emotion/cache';\nimport _extends from '@babel/runtime/helpers/esm/extends';\nimport weakMemoize from '@emotion/weak-memoize';\nimport hoistNonReactStatics from '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport { getRegisteredStyles, registerStyles, insertStyles } from '@emotion/utils';\nimport { serializeStyles } from '@emotion/serialize';\nimport { useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\n\nvar isBrowser = \"object\" !== 'undefined';\nvar hasOwnProperty = {}.hasOwnProperty;\n\nvar EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case\n// because this module is primarily intended for the browser and node\n// but it's also required in react native and similar environments sometimes\n// and we could have a special build just for that\n// but this is much easier and the native packages\n// might use a different theme context in the future anyway\ntypeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({\n key: 'css'\n}) : null);\n\nif (process.env.NODE_ENV !== 'production') {\n EmotionCacheContext.displayName = 'EmotionCacheContext';\n}\n\nvar CacheProvider = EmotionCacheContext.Provider;\nvar __unsafe_useEmotionCache = function useEmotionCache() {\n return useContext(EmotionCacheContext);\n};\n\nvar withEmotionCache = function withEmotionCache(func) {\n // $FlowFixMe\n return /*#__PURE__*/forwardRef(function (props, ref) {\n // the cache will never be null in the browser\n var cache = useContext(EmotionCacheContext);\n return func(props, cache, ref);\n });\n};\n\nif (!isBrowser) {\n withEmotionCache = function withEmotionCache(func) {\n return function (props) {\n var cache = useContext(EmotionCacheContext);\n\n if (cache === null) {\n // yes, we're potentially creating this on every render\n // it doesn't actually matter though since it's only on the server\n // so there will only every be a single render\n // that could change in the future because of suspense and etc. but for now,\n // this works and i don't want to optimise for a future thing that we aren't sure about\n cache = createCache({\n key: 'css'\n });\n return /*#__PURE__*/React.createElement(EmotionCacheContext.Provider, {\n value: cache\n }, func(props, cache));\n } else {\n return func(props, cache);\n }\n };\n };\n}\n\nvar ThemeContext = /* #__PURE__ */React.createContext({});\n\nif (process.env.NODE_ENV !== 'production') {\n ThemeContext.displayName = 'EmotionThemeContext';\n}\n\nvar useTheme = function useTheme() {\n return React.useContext(ThemeContext);\n};\n\nvar getTheme = function getTheme(outerTheme, theme) {\n if (typeof theme === 'function') {\n var mergedTheme = theme(outerTheme);\n\n if (process.env.NODE_ENV !== 'production' && (mergedTheme == null || typeof mergedTheme !== 'object' || Array.isArray(mergedTheme))) {\n throw new Error('[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!');\n }\n\n return mergedTheme;\n }\n\n if (process.env.NODE_ENV !== 'production' && (theme == null || typeof theme !== 'object' || Array.isArray(theme))) {\n throw new Error('[ThemeProvider] Please make your theme prop a plain object');\n }\n\n return _extends({}, outerTheme, theme);\n};\n\nvar createCacheWithTheme = /* #__PURE__ */weakMemoize(function (outerTheme) {\n return weakMemoize(function (theme) {\n return getTheme(outerTheme, theme);\n });\n});\nvar ThemeProvider = function ThemeProvider(props) {\n var theme = React.useContext(ThemeContext);\n\n if (props.theme !== theme) {\n theme = createCacheWithTheme(theme)(props.theme);\n }\n\n return /*#__PURE__*/React.createElement(ThemeContext.Provider, {\n value: theme\n }, props.children);\n};\nfunction withTheme(Component) {\n var componentName = Component.displayName || Component.name || 'Component';\n\n var render = function render(props, ref) {\n var theme = React.useContext(ThemeContext);\n return /*#__PURE__*/React.createElement(Component, _extends({\n theme: theme,\n ref: ref\n }, props));\n }; // $FlowFixMe\n\n\n var WithTheme = /*#__PURE__*/React.forwardRef(render);\n WithTheme.displayName = \"WithTheme(\" + componentName + \")\";\n return hoistNonReactStatics(WithTheme, Component);\n}\n\nvar getLastPart = function getLastPart(functionName) {\n // The match may be something like 'Object.createEmotionProps' or\n // 'Loader.prototype.render'\n var parts = functionName.split('.');\n return parts[parts.length - 1];\n};\n\nvar getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine(line) {\n // V8\n var match = /^\\s+at\\s+([A-Za-z0-9$.]+)\\s/.exec(line);\n if (match) return getLastPart(match[1]); // Safari / Firefox\n\n match = /^([A-Za-z0-9$.]+)@/.exec(line);\n if (match) return getLastPart(match[1]);\n return undefined;\n};\n\nvar internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS\n// identifiers, thus we only need to replace what is a valid character for JS,\n// but not for CSS.\n\nvar sanitizeIdentifier = function sanitizeIdentifier(identifier) {\n return identifier.replace(/\\$/g, '-');\n};\n\nvar getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) {\n if (!stackTrace) return undefined;\n var lines = stackTrace.split('\\n');\n\n for (var i = 0; i < lines.length; i++) {\n var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just \"Error\"\n\n if (!functionName) continue; // If we reach one of these, we have gone too far and should quit\n\n if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an\n // uppercase letter\n\n if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName);\n }\n\n return undefined;\n};\n\nvar typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';\nvar labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';\nvar createEmotionProps = function createEmotionProps(type, props) {\n if (process.env.NODE_ENV !== 'production' && typeof props.css === 'string' && // check if there is a css declaration\n props.css.indexOf(':') !== -1) {\n throw new Error(\"Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`\" + props.css + \"`\");\n }\n\n var newProps = {};\n\n for (var key in props) {\n if (hasOwnProperty.call(props, key)) {\n newProps[key] = props[key];\n }\n }\n\n newProps[typePropName] = type; // For performance, only call getLabelFromStackTrace in development and when\n // the label hasn't already been computed\n\n if (process.env.NODE_ENV !== 'production' && !!props.css && (typeof props.css !== 'object' || typeof props.css.name !== 'string' || props.css.name.indexOf('-') === -1)) {\n var label = getLabelFromStackTrace(new Error().stack);\n if (label) newProps[labelPropName] = label;\n }\n\n return newProps;\n};\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serialized = _ref.serialized,\n isStringTag = _ref.isStringTag;\n registerStyles(cache, serialized, isStringTag);\n useInsertionEffectAlwaysWithSyncFallback(function () {\n return insertStyles(cache, serialized, isStringTag);\n });\n\n return null;\n};\n\nvar Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {\n var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works\n // not passing the registered cache to serializeStyles because it would\n // make certain babel optimisations not possible\n\n if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {\n cssProp = cache.registered[cssProp];\n }\n\n var WrappedComponent = props[typePropName];\n var registeredStyles = [cssProp];\n var className = '';\n\n if (typeof props.className === 'string') {\n className = getRegisteredStyles(cache.registered, registeredStyles, props.className);\n } else if (props.className != null) {\n className = props.className + \" \";\n }\n\n var serialized = serializeStyles(registeredStyles, undefined, React.useContext(ThemeContext));\n\n if (process.env.NODE_ENV !== 'production' && serialized.name.indexOf('-') === -1) {\n var labelFromStack = props[labelPropName];\n\n if (labelFromStack) {\n serialized = serializeStyles([serialized, 'label:' + labelFromStack + ';']);\n }\n }\n\n className += cache.key + \"-\" + serialized.name;\n var newProps = {};\n\n for (var key in props) {\n if (hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {\n newProps[key] = props[key];\n }\n }\n\n newProps.ref = ref;\n newProps.className = className;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serialized: serialized,\n isStringTag: typeof WrappedComponent === 'string'\n }), /*#__PURE__*/React.createElement(WrappedComponent, newProps));\n});\n\nif (process.env.NODE_ENV !== 'production') {\n Emotion.displayName = 'EmotionCssPropInternal';\n}\n\nvar Emotion$1 = Emotion;\n\nexport { CacheProvider as C, Emotion$1 as E, ThemeContext as T, __unsafe_useEmotionCache as _, ThemeProvider as a, withTheme as b, createEmotionProps as c, hasOwnProperty as h, isBrowser as i, useTheme as u, withEmotionCache as w };\n","import { h as hasOwnProperty, E as Emotion, c as createEmotionProps, w as withEmotionCache, T as ThemeContext, i as isBrowser$1 } from './emotion-element-c39617d8.browser.esm.js';\nexport { C as CacheProvider, T as ThemeContext, a as ThemeProvider, _ as __unsafe_useEmotionCache, u as useTheme, w as withEmotionCache, b as withTheme } from './emotion-element-c39617d8.browser.esm.js';\nimport * as React from 'react';\nimport { insertStyles, registerStyles, getRegisteredStyles } from '@emotion/utils';\nimport { useInsertionEffectWithLayoutFallback, useInsertionEffectAlwaysWithSyncFallback } from '@emotion/use-insertion-effect-with-fallbacks';\nimport { serializeStyles } from '@emotion/serialize';\nimport '@emotion/cache';\nimport '@babel/runtime/helpers/extends';\nimport '@emotion/weak-memoize';\nimport '../_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js';\nimport 'hoist-non-react-statics';\n\nvar pkg = {\n\tname: \"@emotion/react\",\n\tversion: \"11.11.1\",\n\tmain: \"dist/emotion-react.cjs.js\",\n\tmodule: \"dist/emotion-react.esm.js\",\n\tbrowser: {\n\t\t\"./dist/emotion-react.esm.js\": \"./dist/emotion-react.browser.esm.js\"\n\t},\n\texports: {\n\t\t\".\": {\n\t\t\tmodule: {\n\t\t\t\tworker: \"./dist/emotion-react.worker.esm.js\",\n\t\t\t\tbrowser: \"./dist/emotion-react.browser.esm.js\",\n\t\t\t\t\"default\": \"./dist/emotion-react.esm.js\"\n\t\t\t},\n\t\t\t\"import\": \"./dist/emotion-react.cjs.mjs\",\n\t\t\t\"default\": \"./dist/emotion-react.cjs.js\"\n\t\t},\n\t\t\"./jsx-runtime\": {\n\t\t\tmodule: {\n\t\t\t\tworker: \"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js\",\n\t\t\t\tbrowser: \"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js\",\n\t\t\t\t\"default\": \"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js\"\n\t\t\t},\n\t\t\t\"import\": \"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs\",\n\t\t\t\"default\": \"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js\"\n\t\t},\n\t\t\"./_isolated-hnrs\": {\n\t\t\tmodule: {\n\t\t\t\tworker: \"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js\",\n\t\t\t\tbrowser: \"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js\",\n\t\t\t\t\"default\": \"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js\"\n\t\t\t},\n\t\t\t\"import\": \"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs\",\n\t\t\t\"default\": \"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js\"\n\t\t},\n\t\t\"./jsx-dev-runtime\": {\n\t\t\tmodule: {\n\t\t\t\tworker: \"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js\",\n\t\t\t\tbrowser: \"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js\",\n\t\t\t\t\"default\": \"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js\"\n\t\t\t},\n\t\t\t\"import\": \"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs\",\n\t\t\t\"default\": \"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js\"\n\t\t},\n\t\t\"./package.json\": \"./package.json\",\n\t\t\"./types/css-prop\": \"./types/css-prop.d.ts\",\n\t\t\"./macro\": {\n\t\t\ttypes: {\n\t\t\t\t\"import\": \"./macro.d.mts\",\n\t\t\t\t\"default\": \"./macro.d.ts\"\n\t\t\t},\n\t\t\t\"default\": \"./macro.js\"\n\t\t}\n\t},\n\ttypes: \"types/index.d.ts\",\n\tfiles: [\n\t\t\"src\",\n\t\t\"dist\",\n\t\t\"jsx-runtime\",\n\t\t\"jsx-dev-runtime\",\n\t\t\"_isolated-hnrs\",\n\t\t\"types/*.d.ts\",\n\t\t\"macro.*\"\n\t],\n\tsideEffects: false,\n\tauthor: \"Emotion Contributors\",\n\tlicense: \"MIT\",\n\tscripts: {\n\t\t\"test:typescript\": \"dtslint types\"\n\t},\n\tdependencies: {\n\t\t\"@babel/runtime\": \"^7.18.3\",\n\t\t\"@emotion/babel-plugin\": \"^11.11.0\",\n\t\t\"@emotion/cache\": \"^11.11.0\",\n\t\t\"@emotion/serialize\": \"^1.1.2\",\n\t\t\"@emotion/use-insertion-effect-with-fallbacks\": \"^1.0.1\",\n\t\t\"@emotion/utils\": \"^1.2.1\",\n\t\t\"@emotion/weak-memoize\": \"^0.3.1\",\n\t\t\"hoist-non-react-statics\": \"^3.3.1\"\n\t},\n\tpeerDependencies: {\n\t\treact: \">=16.8.0\"\n\t},\n\tpeerDependenciesMeta: {\n\t\t\"@types/react\": {\n\t\t\toptional: true\n\t\t}\n\t},\n\tdevDependencies: {\n\t\t\"@definitelytyped/dtslint\": \"0.0.112\",\n\t\t\"@emotion/css\": \"11.11.0\",\n\t\t\"@emotion/css-prettifier\": \"1.1.3\",\n\t\t\"@emotion/server\": \"11.11.0\",\n\t\t\"@emotion/styled\": \"11.11.0\",\n\t\t\"html-tag-names\": \"^1.1.2\",\n\t\treact: \"16.14.0\",\n\t\t\"svg-tag-names\": \"^1.1.1\",\n\t\ttypescript: \"^4.5.5\"\n\t},\n\trepository: \"https://github.com/emotion-js/emotion/tree/main/packages/react\",\n\tpublishConfig: {\n\t\taccess: \"public\"\n\t},\n\t\"umd:main\": \"dist/emotion-react.umd.min.js\",\n\tpreconstruct: {\n\t\tentrypoints: [\n\t\t\t\"./index.js\",\n\t\t\t\"./jsx-runtime.js\",\n\t\t\t\"./jsx-dev-runtime.js\",\n\t\t\t\"./_isolated-hnrs.js\"\n\t\t],\n\t\tumdName: \"emotionReact\",\n\t\texports: {\n\t\t\tenvConditions: [\n\t\t\t\t\"browser\",\n\t\t\t\t\"worker\"\n\t\t\t],\n\t\t\textra: {\n\t\t\t\t\"./types/css-prop\": \"./types/css-prop.d.ts\",\n\t\t\t\t\"./macro\": {\n\t\t\t\t\ttypes: {\n\t\t\t\t\t\t\"import\": \"./macro.d.mts\",\n\t\t\t\t\t\t\"default\": \"./macro.d.ts\"\n\t\t\t\t\t},\n\t\t\t\t\t\"default\": \"./macro.js\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\n\nvar jsx = function jsx(type, props) {\n var args = arguments;\n\n if (props == null || !hasOwnProperty.call(props, 'css')) {\n // $FlowFixMe\n return React.createElement.apply(undefined, args);\n }\n\n var argsLength = args.length;\n var createElementArgArray = new Array(argsLength);\n createElementArgArray[0] = Emotion;\n createElementArgArray[1] = createEmotionProps(type, props);\n\n for (var i = 2; i < argsLength; i++) {\n createElementArgArray[i] = args[i];\n } // $FlowFixMe\n\n\n return React.createElement.apply(null, createElementArgArray);\n};\n\nvar warnedAboutCssPropForGlobal = false; // maintain place over rerenders.\n// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild\n// initial client-side render from SSR, use place of hydrating tag\n\nvar Global = /* #__PURE__ */withEmotionCache(function (props, cache) {\n if (process.env.NODE_ENV !== 'production' && !warnedAboutCssPropForGlobal && ( // check for className as well since the user is\n // probably using the custom createElement which\n // means it will be turned into a className prop\n // $FlowFixMe I don't really want to add it to the type since it shouldn't be used\n props.className || props.css)) {\n console.error(\"It looks like you're using the css prop on Global, did you mean to use the styles prop instead?\");\n warnedAboutCssPropForGlobal = true;\n }\n\n var styles = props.styles;\n var serialized = serializeStyles([styles], undefined, React.useContext(ThemeContext));\n\n if (!isBrowser$1) {\n var _ref;\n\n var serializedNames = serialized.name;\n var serializedStyles = serialized.styles;\n var next = serialized.next;\n\n while (next !== undefined) {\n serializedNames += ' ' + next.name;\n serializedStyles += next.styles;\n next = next.next;\n }\n\n var shouldCache = cache.compat === true;\n var rules = cache.insert(\"\", {\n name: serializedNames,\n styles: serializedStyles\n }, cache.sheet, shouldCache);\n\n if (shouldCache) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(\"style\", (_ref = {}, _ref[\"data-emotion\"] = cache.key + \"-global \" + serializedNames, _ref.dangerouslySetInnerHTML = {\n __html: rules\n }, _ref.nonce = cache.sheet.nonce, _ref));\n } // yes, i know these hooks are used conditionally\n // but it is based on a constant that will never change at runtime\n // it's effectively like having two implementations and switching them out\n // so it's not actually breaking anything\n\n\n var sheetRef = React.useRef();\n useInsertionEffectWithLayoutFallback(function () {\n var key = cache.key + \"-global\"; // use case of https://github.com/emotion-js/emotion/issues/2675\n\n var sheet = new cache.sheet.constructor({\n key: key,\n nonce: cache.sheet.nonce,\n container: cache.sheet.container,\n speedy: cache.sheet.isSpeedy\n });\n var rehydrating = false; // $FlowFixMe\n\n var node = document.querySelector(\"style[data-emotion=\\\"\" + key + \" \" + serialized.name + \"\\\"]\");\n\n if (cache.sheet.tags.length) {\n sheet.before = cache.sheet.tags[0];\n }\n\n if (node !== null) {\n rehydrating = true; // clear the hash so this node won't be recognizable as rehydratable by other s\n\n node.setAttribute('data-emotion', key);\n sheet.hydrate([node]);\n }\n\n sheetRef.current = [sheet, rehydrating];\n return function () {\n sheet.flush();\n };\n }, [cache]);\n useInsertionEffectWithLayoutFallback(function () {\n var sheetRefCurrent = sheetRef.current;\n var sheet = sheetRefCurrent[0],\n rehydrating = sheetRefCurrent[1];\n\n if (rehydrating) {\n sheetRefCurrent[1] = false;\n return;\n }\n\n if (serialized.next !== undefined) {\n // insert keyframes\n insertStyles(cache, serialized.next, true);\n }\n\n if (sheet.tags.length) {\n // if this doesn't exist then it will be null so the style element will be appended\n var element = sheet.tags[sheet.tags.length - 1].nextElementSibling;\n sheet.before = element;\n sheet.flush();\n }\n\n cache.insert(\"\", serialized, sheet, false);\n }, [cache, serialized.name]);\n return null;\n});\n\nif (process.env.NODE_ENV !== 'production') {\n Global.displayName = 'EmotionGlobal';\n}\n\nfunction css() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return serializeStyles(args);\n}\n\nvar keyframes = function keyframes() {\n var insertable = css.apply(void 0, arguments);\n var name = \"animation-\" + insertable.name; // $FlowFixMe\n\n return {\n name: name,\n styles: \"@keyframes \" + name + \"{\" + insertable.styles + \"}\",\n anim: 1,\n toString: function toString() {\n return \"_EMO_\" + this.name + \"_\" + this.styles + \"_EMO_\";\n }\n };\n};\n\nvar classnames = function classnames(args) {\n var len = args.length;\n var i = 0;\n var cls = '';\n\n for (; i < len; i++) {\n var arg = args[i];\n if (arg == null) continue;\n var toAdd = void 0;\n\n switch (typeof arg) {\n case 'boolean':\n break;\n\n case 'object':\n {\n if (Array.isArray(arg)) {\n toAdd = classnames(arg);\n } else {\n if (process.env.NODE_ENV !== 'production' && arg.styles !== undefined && arg.name !== undefined) {\n console.error('You have passed styles created with `css` from `@emotion/react` package to the `cx`.\\n' + '`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from component.');\n }\n\n toAdd = '';\n\n for (var k in arg) {\n if (arg[k] && k) {\n toAdd && (toAdd += ' ');\n toAdd += k;\n }\n }\n }\n\n break;\n }\n\n default:\n {\n toAdd = arg;\n }\n }\n\n if (toAdd) {\n cls && (cls += ' ');\n cls += toAdd;\n }\n }\n\n return cls;\n};\n\nfunction merge(registered, css, className) {\n var registeredStyles = [];\n var rawClassName = getRegisteredStyles(registered, registeredStyles, className);\n\n if (registeredStyles.length < 2) {\n return className;\n }\n\n return rawClassName + css(registeredStyles);\n}\n\nvar Insertion = function Insertion(_ref) {\n var cache = _ref.cache,\n serializedArr = _ref.serializedArr;\n useInsertionEffectAlwaysWithSyncFallback(function () {\n\n for (var i = 0; i < serializedArr.length; i++) {\n insertStyles(cache, serializedArr[i], false);\n }\n });\n\n return null;\n};\n\nvar ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {\n var hasRendered = false;\n var serializedArr = [];\n\n var css = function css() {\n if (hasRendered && process.env.NODE_ENV !== 'production') {\n throw new Error('css can only be used during render');\n }\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var serialized = serializeStyles(args, cache.registered);\n serializedArr.push(serialized); // registration has to happen here as the result of this might get consumed by `cx`\n\n registerStyles(cache, serialized, false);\n return cache.key + \"-\" + serialized.name;\n };\n\n var cx = function cx() {\n if (hasRendered && process.env.NODE_ENV !== 'production') {\n throw new Error('cx can only be used during render');\n }\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return merge(cache.registered, css, classnames(args));\n };\n\n var content = {\n css: css,\n cx: cx,\n theme: React.useContext(ThemeContext)\n };\n var ele = props.children(content);\n hasRendered = true;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Insertion, {\n cache: cache,\n serializedArr: serializedArr\n }), ele);\n});\n\nif (process.env.NODE_ENV !== 'production') {\n ClassNames.displayName = 'EmotionClassNames';\n}\n\nif (process.env.NODE_ENV !== 'production') {\n var isBrowser = \"object\" !== 'undefined'; // #1727, #2905 for some reason Jest and Vitest evaluate modules twice if some consuming module gets mocked\n\n var isTestEnv = typeof jest !== 'undefined' || typeof vi !== 'undefined';\n\n if (isBrowser && !isTestEnv) {\n // globalThis has wide browser support - https://caniuse.com/?search=globalThis, Node.js 12 and later\n var globalContext = // $FlowIgnore\n typeof globalThis !== 'undefined' ? globalThis // eslint-disable-line no-undef\n : isBrowser ? window : global;\n var globalKey = \"__EMOTION_REACT_\" + pkg.version.split('.')[0] + \"__\";\n\n if (globalContext[globalKey]) {\n console.warn('You are loading @emotion/react when it is already loaded. Running ' + 'multiple instances may cause problems. This can happen if multiple ' + 'versions are used, or if multiple builds of the same version are ' + 'used.');\n }\n\n globalContext[globalKey] = true;\n }\n}\n\nexport { ClassNames, Global, jsx as createElement, css, jsx, keyframes };\n","import{IndexInterface,DocumentInterface}from\"./type.js\";import{is_function,is_object,is_string}from\"./common.js\";export default function(a){register(a,\"add\"),register(a,\"append\"),register(a,\"search\"),register(a,\"update\"),register(a,\"remove\")}function register(a,b){a[b+\"Async\"]=function(){const a=this,c=arguments,d=c[c.length-1];let e;is_function(d)&&(e=d,delete c[c.length-1]);const f=new Promise(function(d){setTimeout(function(){a.async=!0;const e=a[b].apply(a,c);a.async=!1,d(e)})});return e?(f.then(e),this):f}}","import{IndexInterface,DocumentInterface}from\"./type.js\";import{create_object,is_object}from\"./common.js\";function CacheClass(a){this.limit=!0!==a&&a,this.cache=create_object(),this.queue=[]}export default CacheClass;export function searchCache(a,b,c){is_object(a)&&(a=a.query);let d=this.cache.get(a);return d||(d=this.search(a,b,c),this.cache.set(a,d)),d}CacheClass.prototype.set=function(a,b){if(!this.cache[a]){let b=this.queue.length;b===this.limit?delete this.cache[this.queue[b-1]]:b++;for(let a=b-1;0=this.minlength&&(g||!f[i])){let l=get_score(h,e,j),m=\"\";switch(this.tokenize){case\"full\":if(2b;d--)if(d-b>=this.minlength){const g=get_score(h,e,j,k,b);m=i.substring(b,d),this.push_index(f,m,g,a,c)}break}case\"reverse\":if(1=this.minlength){const d=get_score(h,e,j,k,b);this.push_index(f,m,d,a,c)}m=\"\"}case\"forward\":if(1=this.minlength&&this.push_index(f,m,l,a,c);break}default:if(this.boost&&(l=Math.min(0|l/this.boost(b,i,j),h-1)),this.push_index(f,i,l,a,c),g&&1=this.minlength&&!f[i]){f[i]=1;const b=get_score(h+(e/2>h?0:1),e,j,l-1,g-1),m=this.bidirectional&&i>k;this.push_index(d,m?k:i,b,a,c,m?i:k)}}}}}this.fastupdate||(this.register[a]=1)}}return this};function get_score(a,b,c,d,e){return c&&1=this.minlength&&!b[e]){if(!this.optimize&&!f&&!this.map[e])return g;c[i++]=e,b[e]=1}a=c,d=a.length}if(!d)return g;b||(b=100);let i,j=this.depth&&1=c)))));l++);if(b)return e?single_result(h,c,0):void(a[a.length]=h)}return!b&&h};function single_result(a,b,c){return a=1===a.length?a[0]:concat(a),c||a.length>b?a.slice(c,c+b):a}function get_array(a,b,c,d){if(c){const e=d&&b>c;a=a[e?b:c],a=a&&a[e?c:b]}else a=a[b];return a}Index.prototype.contain=function(a){return!!this.register[a]},Index.prototype.update=function(a,b){return this.remove(a).add(a,b)},Index.prototype.remove=function(a,b){const c=this.register[a];if(c){if(this.fastupdate)for(let b,d=0;d {\n for (const suffix of suffixes) {\n if (input.endsWith(suffix)) return true;\n }\n return false;\n};\nconst suffixes = [`.html`, `.json`, `.js`, `.map`, `.txt`, `.xml`, `.pdf`];\nconst applyTrailingSlashOption = (input, option = `always`) => {\n if (input === `/`) return input;\n const hasTrailingSlash = input.endsWith(`/`);\n if (endsWithSuffixes(suffixes, input)) {\n return input;\n }\n if (option === `always`) {\n return hasTrailingSlash ? input : `${input}/`;\n }\n if (option === `never`) {\n return hasTrailingSlash ? input.slice(0, -1) : input;\n }\n return input;\n};\nexports.applyTrailingSlashOption = applyTrailingSlashOption;","\"use strict\";\n\nexports.__esModule = true;\nexports.useScrollRestoration = exports.ScrollContext = void 0;\nvar _scrollHandler = require(\"./scroll-handler\");\nexports.ScrollContext = _scrollHandler.ScrollHandler;\nvar _useScrollRestoration = require(\"./use-scroll-restoration\");\nexports.useScrollRestoration = _useScrollRestoration.useScrollRestoration;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nexports.__esModule = true;\nexports.ScrollHandler = exports.ScrollContext = void 0;\nvar _assertThisInitialized2 = _interopRequireDefault(require(\"@babel/runtime/helpers/assertThisInitialized\"));\nvar _inheritsLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/inheritsLoose\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nvar _sessionStorage = require(\"./session-storage\");\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\nvar ScrollContext = /*#__PURE__*/React.createContext(new _sessionStorage.SessionStorage());\nexports.ScrollContext = ScrollContext;\nScrollContext.displayName = \"GatsbyScrollContext\";\nvar ScrollHandler = /*#__PURE__*/function (_React$Component) {\n (0, _inheritsLoose2.default)(ScrollHandler, _React$Component);\n function ScrollHandler() {\n var _this;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this._stateStorage = new _sessionStorage.SessionStorage();\n _this._isTicking = false;\n _this._latestKnownScrollY = 0;\n _this.scrollListener = function () {\n _this._latestKnownScrollY = window.scrollY;\n if (!_this._isTicking) {\n _this._isTicking = true;\n requestAnimationFrame(_this._saveScroll.bind((0, _assertThisInitialized2.default)(_this)));\n }\n };\n _this.windowScroll = function (position, prevProps) {\n if (_this.shouldUpdateScroll(prevProps, _this.props)) {\n window.scrollTo(0, position);\n }\n };\n _this.scrollToHash = function (hash, prevProps) {\n var node = document.getElementById(hash.substring(1));\n if (node && _this.shouldUpdateScroll(prevProps, _this.props)) {\n node.scrollIntoView();\n }\n };\n _this.shouldUpdateScroll = function (prevRouterProps, routerProps) {\n var shouldUpdateScroll = _this.props.shouldUpdateScroll;\n if (!shouldUpdateScroll) {\n return true;\n }\n\n // Hack to allow accessing this._stateStorage.\n return shouldUpdateScroll.call((0, _assertThisInitialized2.default)(_this), prevRouterProps, routerProps);\n };\n return _this;\n }\n var _proto = ScrollHandler.prototype;\n _proto._saveScroll = function _saveScroll() {\n var key = this.props.location.key || null;\n if (key) {\n this._stateStorage.save(this.props.location, key, this._latestKnownScrollY);\n }\n this._isTicking = false;\n };\n _proto.componentDidMount = function componentDidMount() {\n window.addEventListener(\"scroll\", this.scrollListener);\n var scrollPosition;\n var _this$props$location = this.props.location,\n key = _this$props$location.key,\n hash = _this$props$location.hash;\n if (key) {\n scrollPosition = this._stateStorage.read(this.props.location, key);\n }\n\n /** If a hash is present in the browser url as the component mounts (i.e. the user is navigating\n * from an external website) then scroll to the hash instead of any previously stored scroll\n * position. */\n if (hash) {\n this.scrollToHash(decodeURI(hash), undefined);\n } else if (scrollPosition) {\n this.windowScroll(scrollPosition, undefined);\n }\n };\n _proto.componentWillUnmount = function componentWillUnmount() {\n window.removeEventListener(\"scroll\", this.scrollListener);\n };\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var _this$props$location2 = this.props.location,\n hash = _this$props$location2.hash,\n key = _this$props$location2.key;\n var scrollPosition;\n if (key) {\n scrollPosition = this._stateStorage.read(this.props.location, key);\n }\n\n /** There are two pieces of state: the browser url and\n * history state which keeps track of scroll position\n * Native behaviour prescribes that we ought to restore scroll position\n * when a user navigates back in their browser (this is the `POP` action)\n * Currently, reach router has a bug that prevents this at https://github.com/reach/router/issues/228\n * So we _always_ stick to the url as a source of truth — if the url\n * contains a hash, we scroll to it\n */\n\n if (hash) {\n this.scrollToHash(decodeURI(hash), prevProps);\n } else {\n this.windowScroll(scrollPosition, prevProps);\n }\n };\n _proto.render = function render() {\n return /*#__PURE__*/React.createElement(ScrollContext.Provider, {\n value: this._stateStorage\n }, this.props.children);\n };\n return ScrollHandler;\n}(React.Component);\nexports.ScrollHandler = ScrollHandler;\nScrollHandler.propTypes = {\n shouldUpdateScroll: _propTypes.default.func,\n children: _propTypes.default.element.isRequired,\n location: _propTypes.default.object.isRequired\n};","\"use strict\";\n\nexports.__esModule = true;\nexports.SessionStorage = void 0;\nvar STATE_KEY_PREFIX = \"@@scroll|\";\nvar GATSBY_ROUTER_SCROLL_STATE = \"___GATSBY_REACT_ROUTER_SCROLL\";\nvar SessionStorage = /*#__PURE__*/function () {\n function SessionStorage() {}\n var _proto = SessionStorage.prototype;\n _proto.read = function read(location, key) {\n var stateKey = this.getStateKey(location, key);\n try {\n var value = window.sessionStorage.getItem(stateKey);\n return value ? JSON.parse(value) : 0;\n } catch (e) {\n if (process.env.NODE_ENV !== \"production\") {\n console.warn(\"[gatsby-react-router-scroll] Unable to access sessionStorage; sessionStorage is not available.\");\n }\n if (window && window[GATSBY_ROUTER_SCROLL_STATE] && window[GATSBY_ROUTER_SCROLL_STATE][stateKey]) {\n return window[GATSBY_ROUTER_SCROLL_STATE][stateKey];\n }\n return 0;\n }\n };\n _proto.save = function save(location, key, value) {\n var stateKey = this.getStateKey(location, key);\n var storedValue = JSON.stringify(value);\n try {\n window.sessionStorage.setItem(stateKey, storedValue);\n } catch (e) {\n if (window && window[GATSBY_ROUTER_SCROLL_STATE]) {\n window[GATSBY_ROUTER_SCROLL_STATE][stateKey] = JSON.parse(storedValue);\n } else {\n window[GATSBY_ROUTER_SCROLL_STATE] = {};\n window[GATSBY_ROUTER_SCROLL_STATE][stateKey] = JSON.parse(storedValue);\n }\n if (process.env.NODE_ENV !== \"production\") {\n console.warn(\"[gatsby-react-router-scroll] Unable to save state in sessionStorage; sessionStorage is not available.\");\n }\n }\n };\n _proto.getStateKey = function getStateKey(location, key) {\n var stateKeyBase = \"\" + STATE_KEY_PREFIX + location.pathname;\n return key === null || typeof key === \"undefined\" ? stateKeyBase : stateKeyBase + \"|\" + key;\n };\n return SessionStorage;\n}();\nexports.SessionStorage = SessionStorage;","\"use strict\";\n\nexports.__esModule = true;\nexports.useScrollRestoration = useScrollRestoration;\nvar _scrollHandler = require(\"./scroll-handler\");\nvar _react = require(\"react\");\nvar _reachRouter = require(\"@gatsbyjs/reach-router\");\nfunction useScrollRestoration(identifier) {\n var location = (0, _reachRouter.useLocation)();\n var state = (0, _react.useContext)(_scrollHandler.ScrollContext);\n var ref = (0, _react.useRef)(null);\n (0, _react.useLayoutEffect)(function () {\n if (ref.current) {\n var position = state.read(location, identifier);\n ref.current.scrollTo(0, position || 0);\n }\n }, [location.key]);\n return {\n ref: ref,\n onScroll: function onScroll() {\n if (ref.current) {\n state.save(location, identifier, ref.current.scrollTop);\n }\n }\n };\n}","\"use strict\";\n\nmodule.exports = Object.assign;\n//# sourceMappingURL=object-assign.js.map","\"use strict\";\n\nexports.__esModule = true;\nexports.onInitialClientRender = void 0;\nvar _gatsbyScript = require(\"gatsby-script\");\nvar _injectPartytownSnippet = require(\"./utils/inject-partytown-snippet\");\n// Makes sure off-main-thread scripts are loaded in `gatsby develop`\nconst onInitialClientRender = () => {\n if (process.env.NODE_ENV !== `development`) {\n return;\n }\n (0, _injectPartytownSnippet.injectPartytownSnippet)(_gatsbyScript.collectedScriptsByPage.get(window.location.pathname));\n\n // Clear scripts after we've used them to avoid leaky behavior\n _gatsbyScript.collectedScriptsByPage.delete(window.location.pathname);\n};\n\n// Client-side navigation (CSR, e.g. Gatsby Link navigations) are broken upstream in Partytown.\n// We need an official API from Partytown for handling re-configuration and on-demand script loading.\n// Until then, `off-main-thread` scripts load only on server-side navigation (SSR).\n// See https://github.com/BuilderIO/partytown/issues/74 for more details.\nexports.onInitialClientRender = onInitialClientRender;\n//# sourceMappingURL=gatsby-browser.js.map","\"use strict\";\n\nexports.__esModule = true;\nexports.getForwards = getForwards;\nfunction getForwards(collectedScripts) {\n return collectedScripts === null || collectedScripts === void 0 ? void 0 : collectedScripts.flatMap(script => (script === null || script === void 0 ? void 0 : script.forward) || []);\n}\n//# sourceMappingURL=get-forwards.js.map","\"use strict\";\n\nexports.__esModule = true;\nexports.injectPartytownSnippet = injectPartytownSnippet;\nvar _integration = require(\"@builder.io/partytown/integration\");\nvar _getForwards = require(\"./get-forwards\");\n// Adapted from https://github.com/BuilderIO/partytown/blob/main/src/react/snippet.tsx to only include CSR logic\nfunction injectPartytownSnippet(collectedScripts) {\n if (!collectedScripts.length) {\n return;\n }\n const existingSnippet = document.querySelector(`script[data-partytown]`);\n const existingSandbox = document.querySelector(`iframe[src*=\"~partytown/partytown-sandbox-sw\"]`);\n if (existingSnippet) {\n existingSnippet.remove();\n }\n if (existingSandbox) {\n existingSandbox.remove();\n }\n const forwards = (0, _getForwards.getForwards)(collectedScripts);\n const snippet = document.createElement(`script`);\n snippet.dataset.partytown = ``;\n snippet.innerHTML = (0, _integration.partytownSnippet)({\n forward: forwards\n });\n document.head.appendChild(snippet);\n}\n//# sourceMappingURL=inject-partytown-snippet.js.map","exports.components = {\n \"component---src-components-concept-jsx\": () => import(\"./../../../src/components/Concept.jsx\" /* webpackChunkName: \"component---src-components-concept-jsx\" */),\n \"component---src-components-concept-scheme-jsx\": () => import(\"./../../../src/components/ConceptScheme.jsx\" /* webpackChunkName: \"component---src-components-concept-scheme-jsx\" */),\n \"component---src-pages-404-js\": () => import(\"./../../../src/pages/404.js\" /* webpackChunkName: \"component---src-pages-404-js\" */),\n \"component---src-pages-index-js\": () => import(\"./../../../src/pages/index.js\" /* webpackChunkName: \"component---src-pages-index-js\" */)\n}\n\n","module.exports = [{\n plugin: require('../node_modules/gatsby-plugin-manifest/gatsby-browser.js'),\n options: {\"plugins\":[],\"name\":\"Skohub Vocabs\",\"short_name\":\"Skohub Vocabs\",\"start_url\":\"/\",\"background_color\":\"#ffffff\",\"theme_color\":\"#26c884\",\"display\":\"minimal-ui\",\"icon\":\"src/images/skohub-icon.png\",\"legacy\":true,\"theme_color_in_head\":true,\"cache_busting_mode\":\"query\",\"crossOrigin\":\"anonymous\",\"include_favicon\":true,\"cacheDigest\":\"3b68e7175ff10cac1dc50da0827ce2e1\"},\n },{\n plugin: require('../gatsby-browser.js'),\n options: {\"plugins\":[]},\n },{\n plugin: require('../node_modules/gatsby/dist/internal-plugins/partytown/gatsby-browser.js'),\n options: {\"plugins\":[]},\n }]\n","const plugins = require(`./api-runner-browser-plugins`)\nconst { getResourceURLsForPathname, loadPage, loadPageSync } =\n require(`./loader`).publicLoader\n\nexports.apiRunner = (api, args = {}, defaultReturn, argTransform) => {\n // Hooks for gatsby-cypress's API handler\n if (process.env.CYPRESS_SUPPORT) {\n if (window.___apiHandler) {\n window.___apiHandler(api)\n } else if (window.___resolvedAPIs) {\n window.___resolvedAPIs.push(api)\n } else {\n window.___resolvedAPIs = [api]\n }\n }\n\n let results = plugins.map(plugin => {\n if (!plugin.plugin[api]) {\n return undefined\n }\n\n args.getResourceURLsForPathname = getResourceURLsForPathname\n args.loadPage = loadPage\n args.loadPageSync = loadPageSync\n\n const result = plugin.plugin[api](args, plugin.options)\n if (result && argTransform) {\n args = argTransform({ args, result, plugin })\n }\n return result\n })\n\n // Filter out undefined results.\n results = results.filter(result => typeof result !== `undefined`)\n\n if (results.length > 0) {\n return results\n } else if (defaultReturn) {\n return [defaultReturn]\n } else {\n return []\n }\n}\n\nexports.apiRunnerAsync = (api, args, defaultReturn) =>\n plugins.reduce(\n (previous, next) =>\n next.plugin[api]\n ? previous.then(() => next.plugin[api](args, next.options))\n : previous,\n Promise.resolve()\n )\n","exports.createContentDigest = () => ``\n","import mitt from \"mitt\"\n\nconst emitter = mitt()\nexport default emitter\n","// \n// An event handler can take an optional event argument\n// and should not return a value\n \n \n\n// An array of all currently registered event handlers for a type\n \n \n// A map of event types and their corresponding event handlers.\n \n \n \n \n\n/** Mitt: Tiny (~200b) functional event emitter / pubsub.\n * @name mitt\n * @returns {Mitt}\n */\nfunction mitt(all ) {\n\tall = all || Object.create(null);\n\n\treturn {\n\t\t/**\n\t\t * Register an event handler for the given type.\n\t\t *\n\t\t * @param {String} type\tType of event to listen for, or `\"*\"` for all events\n\t\t * @param {Function} handler Function to call in response to given event\n\t\t * @memberOf mitt\n\t\t */\n\t\ton: function on(type , handler ) {\n\t\t\t(all[type] || (all[type] = [])).push(handler);\n\t\t},\n\n\t\t/**\n\t\t * Remove an event handler for the given type.\n\t\t *\n\t\t * @param {String} type\tType of event to unregister `handler` from, or `\"*\"`\n\t\t * @param {Function} handler Handler function to remove\n\t\t * @memberOf mitt\n\t\t */\n\t\toff: function off(type , handler ) {\n\t\t\tif (all[type]) {\n\t\t\t\tall[type].splice(all[type].indexOf(handler) >>> 0, 1);\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Invoke all handlers for the given type.\n\t\t * If present, `\"*\"` handlers are invoked after type-matched handlers.\n\t\t *\n\t\t * @param {String} type The event type to invoke\n\t\t * @param {Any} [evt] Any value (object is recommended and powerful), passed to each handler\n\t\t * @memberOf mitt\n\t\t */\n\t\temit: function emit(type , evt ) {\n\t\t\t(all[type] || []).slice().map(function (handler) { handler(evt); });\n\t\t\t(all['*'] || []).slice().map(function (handler) { handler(type, evt); });\n\t\t}\n\t};\n}\n\nexport default mitt;\n//# sourceMappingURL=mitt.es.js.map\n","export default pathAndSearch => {\n if (pathAndSearch === undefined) {\n return pathAndSearch\n }\n let [path, search = ``] = pathAndSearch.split(`?`)\n if (search) {\n search = `?` + search\n }\n\n if (path === `/`) {\n return `/` + search\n }\n if (path.charAt(path.length - 1) === `/`) {\n return path.slice(0, -1) + search\n }\n return path + search\n}\n","import { pick } from \"@gatsbyjs/reach-router\"\nimport stripPrefix from \"./strip-prefix\"\nimport normalizePagePath from \"./normalize-page-path\"\nimport { maybeGetBrowserRedirect } from \"./redirect-utils.js\"\n\nconst pathCache = new Map()\nlet matchPaths = []\n\nconst trimPathname = rawPathname => {\n let newRawPathname = rawPathname\n const queryIndex = rawPathname.indexOf(`?`)\n\n if (queryIndex !== -1) {\n const [path, qs] = rawPathname.split(`?`)\n newRawPathname = `${path}?${encodeURIComponent(qs)}`\n }\n\n const pathname = decodeURIComponent(newRawPathname)\n\n // Remove the pathPrefix from the pathname.\n const trimmedPathname = stripPrefix(\n pathname,\n decodeURIComponent(__BASE_PATH__)\n )\n // Remove any hashfragment\n .split(`#`)[0]\n\n return trimmedPathname\n}\n\nfunction absolutify(path) {\n // If it's already absolute, return as-is\n if (\n path.startsWith(`/`) ||\n path.startsWith(`https://`) ||\n path.startsWith(`http://`)\n ) {\n return path\n }\n // Calculate path relative to current location, adding a trailing slash to\n // match behavior of @reach/router\n return new URL(\n path,\n window.location.href + (window.location.href.endsWith(`/`) ? `` : `/`)\n ).pathname\n}\n\n/**\n * Set list of matchPaths\n *\n * @param {Array<{path: string, matchPath: string}>} value collection of matchPaths\n */\nexport const setMatchPaths = value => {\n matchPaths = value\n}\n\n/**\n * Return a matchpath url\n * if `match-paths.json` contains `{ \"/foo*\": \"/page1\", ...}`, then\n * `/foo?bar=far` => `/page1`\n *\n * @param {string} rawPathname A raw pathname\n * @return {string|null}\n */\nexport const findMatchPath = rawPathname => {\n const trimmedPathname = cleanPath(rawPathname)\n\n const pickPaths = matchPaths.map(({ path, matchPath }) => {\n return {\n path: matchPath,\n originalPath: path,\n }\n })\n\n const path = pick(pickPaths, trimmedPathname)\n\n if (path) {\n return normalizePagePath(path.route.originalPath)\n }\n\n return null\n}\n\n/**\n * Return a matchpath params from reach/router rules\n * if `match-paths.json` contains `{ \":bar/*foo\" }`, and the path is /baz/zaz/zoo\n * then it returns\n * { bar: baz, foo: zaz/zoo }\n *\n * @param {string} rawPathname A raw pathname\n * @return {object}\n */\nexport const grabMatchParams = rawPathname => {\n const trimmedPathname = cleanPath(rawPathname)\n\n const pickPaths = matchPaths.map(({ path, matchPath }) => {\n return {\n path: matchPath,\n originalPath: path,\n }\n })\n\n const path = pick(pickPaths, trimmedPathname)\n\n if (path) {\n return path.params\n }\n\n return {}\n}\n\n// Given a raw URL path, returns the cleaned version of it (trim off\n// `#` and query params), or if it matches an entry in\n// `match-paths.json`, its matched path is returned\n//\n// E.g. `/foo?bar=far` => `/foo`\n//\n// Or if `match-paths.json` contains `{ \"/foo*\": \"/page1\", ...}`, then\n// `/foo?bar=far` => `/page1`\nexport const findPath = rawPathname => {\n const trimmedPathname = trimPathname(absolutify(rawPathname))\n if (pathCache.has(trimmedPathname)) {\n return pathCache.get(trimmedPathname)\n }\n\n const redirect = maybeGetBrowserRedirect(rawPathname)\n if (redirect) {\n return findPath(redirect.toPath)\n }\n\n let foundPath = findMatchPath(trimmedPathname)\n\n if (!foundPath) {\n foundPath = cleanPath(rawPathname)\n }\n\n pathCache.set(trimmedPathname, foundPath)\n\n return foundPath\n}\n\n/**\n * Clean a url and converts /index.html => /\n * E.g. `/foo?bar=far` => `/foo`\n *\n * @param {string} rawPathname A raw pathname\n * @return {string}\n */\nexport const cleanPath = rawPathname => {\n const trimmedPathname = trimPathname(absolutify(rawPathname))\n\n let foundPath = trimmedPathname\n if (foundPath === `/index.html`) {\n foundPath = `/`\n }\n\n foundPath = normalizePagePath(foundPath)\n\n return foundPath\n}\n","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nexport default function _construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n _construct = Reflect.construct.bind();\n } else {\n _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n return _construct.apply(null, arguments);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport setPrototypeOf from \"./setPrototypeOf.js\";\nimport isNativeFunction from \"./isNativeFunction.js\";\nimport construct from \"./construct.js\";\nexport default function _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !isNativeFunction(Class)) return Class;\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return construct(Class, arguments, getPrototypeOf(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return setPrototypeOf(Wrapper, Class);\n };\n return _wrapNativeSuper(Class);\n}","export default function _isNativeFunction(fn) {\n try {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n } catch (e) {\n return typeof fn === \"function\";\n }\n}","import React from \"react\"\n\nexport const ServerSliceRenderer = ({ sliceId, children }) => {\n const contents = [\n React.createElement(`slice-start`, {\n id: `${sliceId}-1`,\n }),\n React.createElement(`slice-end`, {\n id: `${sliceId}-1`,\n }),\n ]\n\n if (children) {\n // if children exist, we split the slice into a before and after piece\n // see renderSlices in render-html\n contents.push(children)\n contents.push(\n React.createElement(`slice-start`, {\n id: `${sliceId}-2`,\n }),\n React.createElement(`slice-end`, {\n id: `${sliceId}-2`,\n })\n )\n }\n\n return contents\n}\n","import React, { useContext } from \"react\"\nimport { createContentDigest } from \"gatsby-core-utils/create-content-digest\"\nimport { SlicesMapContext, SlicesPropsContext } from \"./context\"\nimport { ServerSliceRenderer } from \"./server-slice-renderer\"\n\nconst getSliceId = (sliceName, sliceProps) => {\n if (!Object.keys(sliceProps).length) {\n return sliceName\n }\n\n const propsString = createContentDigest(sliceProps)\n return `${sliceName}-${propsString}`\n}\n\nexport const ServerSlice = ({\n sliceName,\n allowEmpty,\n children,\n ...sliceProps\n}) => {\n const slicesMap = useContext(SlicesMapContext)\n const slicesProps = useContext(SlicesPropsContext)\n const concreteSliceName = slicesMap[sliceName]\n\n if (!concreteSliceName) {\n if (allowEmpty) {\n return null\n } else {\n throw new Error(\n `Slice \"${concreteSliceName}\" for \"${sliceName}\" slot not found`\n )\n }\n }\n\n const sliceId = getSliceId(concreteSliceName, sliceProps)\n\n // set props on context object for static-entry to return\n let sliceUsage = slicesProps[sliceId]\n if (!sliceUsage) {\n slicesProps[sliceId] = sliceUsage = {\n props: sliceProps,\n sliceName: concreteSliceName,\n hasChildren: !!children,\n }\n } else {\n if (children) {\n sliceUsage.hasChildren = true\n }\n }\n\n return {children}\n}\n","import React, { useContext } from \"react\"\nimport { SlicesMapContext, SlicesResultsContext } from \"./context\"\n\nexport const InlineSlice = ({\n sliceName,\n allowEmpty,\n children,\n ...sliceProps\n}) => {\n const slicesMap = useContext(SlicesMapContext)\n const slicesResultsMap = useContext(SlicesResultsContext)\n const concreteSliceName = slicesMap[sliceName]\n const slice = slicesResultsMap.get(concreteSliceName)\n\n if (!slice) {\n if (allowEmpty) {\n return null\n } else {\n throw new Error(\n `Slice \"${concreteSliceName}\" for \"${sliceName}\" slot not found`\n )\n }\n }\n\n return (\n \n {children}\n \n )\n}\n","\"use client\"\n\nimport React, { useContext } from \"react\"\nimport { ServerSlice } from \"./slice/server-slice\"\nimport { InlineSlice } from \"./slice/inline-slice\"\nimport { SlicesContext } from \"./slice/context\"\n\nexport function Slice(props) {\n if (process.env.GATSBY_SLICES) {\n // we use sliceName internally, so remap alias to sliceName\n const internalProps = {\n ...props,\n sliceName: props.alias,\n }\n delete internalProps.alias\n delete internalProps.__renderedByLocation\n\n const slicesContext = useContext(SlicesContext)\n\n // validate props\n const propErrors = validateSliceProps(props)\n if (Object.keys(propErrors).length) {\n throw new SlicePropsError(\n slicesContext.renderEnvironment === `browser`,\n internalProps.sliceName,\n propErrors,\n props.__renderedByLocation\n )\n }\n\n if (slicesContext.renderEnvironment === `server`) {\n return \n } else if (slicesContext.renderEnvironment === `browser`) {\n // in the browser, we'll just render the component as is\n return \n } else if (\n slicesContext.renderEnvironment === `engines` ||\n slicesContext.renderEnvironment === `dev-ssr`\n ) {\n // if we're in SSR, we'll just render the component as is\n return \n } else if (slicesContext.renderEnvironment === `slices`) {\n // we are not yet supporting nested slices\n\n let additionalContextMessage = ``\n\n // just in case generating additional contextual information fails, we still want the base message to show\n // and not show another cryptic error message\n try {\n additionalContextMessage = `\\n\\nSlice component \"${slicesContext.sliceRoot.name}\" (${slicesContext.sliceRoot.componentPath}) tried to render `\n } catch {\n // don't need to handle it, we will just skip the additional context message if we fail to generate it\n }\n\n throw new Error(\n `Nested slices are not supported.${additionalContextMessage}\\n\\nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-slice#nested-slices`\n )\n } else {\n throw new Error(\n `Slice context \"${slicesContext.renderEnvironment}\" is not supported.`\n )\n }\n } else {\n throw new Error(`Slices are disabled.`)\n }\n}\n\nclass SlicePropsError extends Error {\n constructor(inBrowser, sliceName, propErrors, renderedByLocation) {\n const errors = Object.entries(propErrors)\n .map(\n ([key, value]) =>\n `not serializable \"${value}\" type passed to \"${key}\" prop`\n )\n .join(`, `)\n\n const name = `SlicePropsError`\n let stack = ``\n let message = ``\n\n if (inBrowser) {\n // They're just (kinda) kidding, I promise... You can still work here <3\n // https://www.gatsbyjs.com/careers/\n const fullStack =\n React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack()\n\n // remove the first line of the stack trace\n const stackLines = fullStack.trim().split(`\\n`).slice(1)\n stackLines[0] = stackLines[0].trim()\n stack = `\\n` + stackLines.join(`\\n`)\n\n message = `Slice \"${sliceName}\" was passed props that are not serializable (${errors}).`\n } else {\n // we can't really grab any extra info outside of the browser, so just print what we can\n message = `${name}: Slice \"${sliceName}\" was passed props that are not serializable (${errors}).`\n const stackLines = new Error().stack.trim().split(`\\n`).slice(2)\n stack = `${message}\\n${stackLines.join(`\\n`)}`\n }\n\n super(message)\n this.name = name\n if (stack) {\n this.stack = stack\n } else {\n Error.captureStackTrace(this, SlicePropsError)\n }\n\n if (renderedByLocation) {\n this.forcedLocation = { ...renderedByLocation, functionName: `Slice` }\n }\n }\n}\n\nconst validateSliceProps = (\n props,\n errors = {},\n seenObjects = [],\n path = null\n) => {\n // recursively validate all props\n for (const [name, value] of Object.entries(props)) {\n if (\n value === undefined ||\n value === null ||\n (!path && name === `children`)\n ) {\n continue\n }\n\n const propPath = path ? `${path}.${name}` : name\n\n if (typeof value === `function`) {\n errors[propPath] = typeof value\n } else if (typeof value === `object` && seenObjects.indexOf(value) <= 0) {\n seenObjects.push(value)\n validateSliceProps(value, errors, seenObjects, propPath)\n }\n }\n\n return errors\n}\n","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import loader from \"./loader\"\n\nconst prefetchPathname = loader.enqueue\n\nfunction graphql() {\n throw new Error(\n `It appears like Gatsby is misconfigured. Gatsby related \\`graphql\\` calls ` +\n `are supposed to only be evaluated at compile time, and then compiled away. ` +\n `Unfortunately, something went wrong and the query was left in the compiled code.\\n\\n` +\n `Unless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.`\n )\n}\n\nexport { default as PageRenderer } from \"./public-page-renderer\"\nexport { useScrollRestoration } from \"gatsby-react-router-scroll\"\nexport {\n Link,\n withPrefix,\n withAssetPrefix,\n navigate,\n parsePath,\n} from \"gatsby-link\"\n\nexport { graphql, prefetchPathname }\nexport { StaticQuery, StaticQueryContext, useStaticQuery } from \"./static-query\"\nexport { Slice } from \"./slice\"\nexport * from \"gatsby-script\"\n","const support = function (feature) {\n if (typeof document === `undefined`) {\n return false\n }\n const fakeLink = document.createElement(`link`)\n try {\n if (fakeLink.relList && typeof fakeLink.relList.supports === `function`) {\n return fakeLink.relList.supports(feature)\n }\n } catch (err) {\n return false\n }\n return false\n}\n\nconst linkPrefetchStrategy = function (url, options) {\n return new Promise((resolve, reject) => {\n if (typeof document === `undefined`) {\n reject()\n return\n }\n\n const link = document.createElement(`link`)\n link.setAttribute(`rel`, `prefetch`)\n link.setAttribute(`href`, url)\n\n Object.keys(options).forEach(key => {\n link.setAttribute(key, options[key])\n })\n\n link.onload = resolve\n link.onerror = reject\n\n const parentElement =\n document.getElementsByTagName(`head`)[0] ||\n document.getElementsByName(`script`)[0].parentNode\n parentElement.appendChild(link)\n })\n}\n\nconst xhrPrefetchStrategy = function (url) {\n return new Promise((resolve, reject) => {\n const req = new XMLHttpRequest()\n req.open(`GET`, url, true)\n\n req.onload = () => {\n if (req.status === 200) {\n resolve()\n } else {\n reject()\n }\n }\n\n req.send(null)\n })\n}\n\nconst supportedPrefetchStrategy = support(`prefetch`)\n ? linkPrefetchStrategy\n : xhrPrefetchStrategy\n\nconst preFetched = {}\n\nconst prefetch = function (url, options) {\n return new Promise(resolve => {\n if (preFetched[url]) {\n resolve()\n return\n }\n\n supportedPrefetchStrategy(url, options)\n .then(() => {\n resolve()\n preFetched[url] = true\n })\n .catch(() => {}) // 404s are logged to the console anyway\n })\n}\n\nexport default prefetch\n","import { createFromReadableStream } from \"react-server-dom-webpack\"\nimport prefetchHelper from \"./prefetch\"\nimport emitter from \"./emitter\"\nimport { setMatchPaths, findPath, findMatchPath } from \"./find-path\"\n\n/**\n * Available resource loading statuses\n */\nexport const PageResourceStatus = {\n /**\n * At least one of critical resources failed to load\n */\n Error: `error`,\n /**\n * Resources loaded successfully\n */\n Success: `success`,\n}\n\nconst preferDefault = m => (m && m.default) || m\n\nconst stripSurroundingSlashes = s => {\n s = s[0] === `/` ? s.slice(1) : s\n s = s.endsWith(`/`) ? s.slice(0, -1) : s\n return s\n}\n\nconst createPageDataUrl = rawPath => {\n const [path, maybeSearch] = rawPath.split(`?`)\n const fixedPath = path === `/` ? `index` : stripSurroundingSlashes(path)\n return `${__PATH_PREFIX__}/page-data/${fixedPath}/page-data.json${\n maybeSearch ? `?${maybeSearch}` : ``\n }`\n}\n\n/**\n * Utility to check the path that goes into doFetch for e.g. potential malicious intentions.\n * It checks for \"//\" because with this you could do a fetch request to a different domain.\n */\nconst shouldAbortFetch = rawPath => rawPath.startsWith(`//`)\n\nfunction doFetch(url, method = `GET`) {\n return new Promise(resolve => {\n const req = new XMLHttpRequest()\n req.open(method, url, true)\n req.onreadystatechange = () => {\n if (req.readyState == 4) {\n resolve(req)\n }\n }\n req.send(null)\n })\n}\n\nconst doesConnectionSupportPrefetch = () => {\n if (\n `connection` in navigator &&\n typeof navigator.connection !== `undefined`\n ) {\n if ((navigator.connection.effectiveType || ``).includes(`2g`)) {\n return false\n }\n if (navigator.connection.saveData) {\n return false\n }\n }\n return true\n}\n\n// Regex that matches common search crawlers\nconst BOT_REGEX = /bot|crawler|spider|crawling/i\n\nconst toPageResources = (pageData, component = null, head) => {\n const page = {\n componentChunkName: pageData.componentChunkName,\n path: pageData.path,\n webpackCompilationHash: pageData.webpackCompilationHash,\n matchPath: pageData.matchPath,\n staticQueryHashes: pageData.staticQueryHashes,\n getServerDataError: pageData.getServerDataError,\n slicesMap: pageData.slicesMap ?? {},\n }\n\n return {\n component,\n head,\n json: pageData.result,\n page,\n }\n}\n\nfunction waitForResponse(response) {\n return new Promise(resolve => {\n try {\n const result = response.readRoot()\n resolve(result)\n } catch (err) {\n if (\n Object.hasOwnProperty.call(err, `_response`) &&\n Object.hasOwnProperty.call(err, `_status`)\n ) {\n setTimeout(() => {\n waitForResponse(response).then(resolve)\n }, 200)\n } else {\n throw err\n }\n }\n })\n}\n\nexport class BaseLoader {\n constructor(loadComponent, matchPaths) {\n // Map of pagePath -> Page. Where Page is an object with: {\n // status: PageResourceStatus.Success || PageResourceStatus.Error,\n // payload: PageResources, // undefined if PageResourceStatus.Error\n // }\n // PageResources is {\n // component,\n // json: pageData.result,\n // page: {\n // componentChunkName,\n // path,\n // webpackCompilationHash,\n // staticQueryHashes\n // },\n // staticQueryResults\n // }\n this.pageDb = new Map()\n this.inFlightDb = new Map()\n this.staticQueryDb = {}\n this.pageDataDb = new Map()\n this.partialHydrationDb = new Map()\n this.slicesDataDb = new Map()\n this.sliceInflightDb = new Map()\n this.slicesDb = new Map()\n this.isPrefetchQueueRunning = false\n this.prefetchQueued = []\n this.prefetchTriggered = new Set()\n this.prefetchCompleted = new Set()\n this.loadComponent = loadComponent\n setMatchPaths(matchPaths)\n }\n\n inFlightNetworkRequests = new Map()\n\n memoizedGet(url) {\n let inFlightPromise = this.inFlightNetworkRequests.get(url)\n\n if (!inFlightPromise) {\n inFlightPromise = doFetch(url, `GET`)\n this.inFlightNetworkRequests.set(url, inFlightPromise)\n }\n\n // Prefer duplication with then + catch over .finally to prevent problems in ie11 + firefox\n return inFlightPromise\n .then(response => {\n this.inFlightNetworkRequests.delete(url)\n return response\n })\n .catch(err => {\n this.inFlightNetworkRequests.delete(url)\n throw err\n })\n }\n\n setApiRunner(apiRunner) {\n this.apiRunner = apiRunner\n this.prefetchDisabled = apiRunner(`disableCorePrefetching`).some(a => a)\n }\n\n fetchPageDataJson(loadObj) {\n const { pagePath, retries = 0 } = loadObj\n const url = createPageDataUrl(pagePath)\n return this.memoizedGet(url).then(req => {\n const { status, responseText } = req\n\n // Handle 200\n if (status === 200) {\n try {\n const jsonPayload = JSON.parse(responseText)\n if (jsonPayload.path === undefined) {\n throw new Error(`not a valid pageData response`)\n }\n\n const maybeSearch = pagePath.split(`?`)[1]\n if (maybeSearch && !jsonPayload.path.includes(maybeSearch)) {\n jsonPayload.path += `?${maybeSearch}`\n }\n\n return Object.assign(loadObj, {\n status: PageResourceStatus.Success,\n payload: jsonPayload,\n })\n } catch (err) {\n // continue regardless of error\n }\n }\n\n // Handle 404\n if (status === 404 || status === 200) {\n // If the request was for a 404/500 page and it doesn't exist, we're done\n if (pagePath === `/404.html` || pagePath === `/500.html`) {\n return Object.assign(loadObj, {\n status: PageResourceStatus.Error,\n })\n }\n\n // Need some code here to cache the 404 request. In case\n // multiple loadPageDataJsons result in 404s\n return this.fetchPageDataJson(\n Object.assign(loadObj, { pagePath: `/404.html`, notFound: true })\n )\n }\n\n // handle 500 response (Unrecoverable)\n if (status === 500) {\n return this.fetchPageDataJson(\n Object.assign(loadObj, {\n pagePath: `/500.html`,\n internalServerError: true,\n })\n )\n }\n\n // Handle everything else, including status === 0, and 503s. Should retry\n if (retries < 3) {\n return this.fetchPageDataJson(\n Object.assign(loadObj, { retries: retries + 1 })\n )\n }\n\n // Retried 3 times already, result is an error.\n return Object.assign(loadObj, {\n status: PageResourceStatus.Error,\n })\n })\n }\n\n fetchPartialHydrationJson(loadObj) {\n const { pagePath, retries = 0 } = loadObj\n const url = createPageDataUrl(pagePath).replace(`.json`, `-rsc.json`)\n return this.memoizedGet(url).then(req => {\n const { status, responseText } = req\n\n // Handle 200\n if (status === 200) {\n try {\n return Object.assign(loadObj, {\n status: PageResourceStatus.Success,\n payload: responseText,\n })\n } catch (err) {\n // continue regardless of error\n }\n }\n\n // Handle 404\n if (status === 404 || status === 200) {\n // If the request was for a 404/500 page and it doesn't exist, we're done\n if (pagePath === `/404.html` || pagePath === `/500.html`) {\n return Object.assign(loadObj, {\n status: PageResourceStatus.Error,\n })\n }\n\n // Need some code here to cache the 404 request. In case\n // multiple loadPageDataJsons result in 404s\n return this.fetchPartialHydrationJson(\n Object.assign(loadObj, { pagePath: `/404.html`, notFound: true })\n )\n }\n\n // handle 500 response (Unrecoverable)\n if (status === 500) {\n return this.fetchPartialHydrationJson(\n Object.assign(loadObj, {\n pagePath: `/500.html`,\n internalServerError: true,\n })\n )\n }\n\n // Handle everything else, including status === 0, and 503s. Should retry\n if (retries < 3) {\n return this.fetchPartialHydrationJson(\n Object.assign(loadObj, { retries: retries + 1 })\n )\n }\n\n // Retried 3 times already, result is an error.\n return Object.assign(loadObj, {\n status: PageResourceStatus.Error,\n })\n })\n }\n\n loadPageDataJson(rawPath) {\n const pagePath = findPath(rawPath)\n if (this.pageDataDb.has(pagePath)) {\n const pageData = this.pageDataDb.get(pagePath)\n if (process.env.BUILD_STAGE !== `develop` || !pageData.stale) {\n return Promise.resolve(pageData)\n }\n }\n\n return this.fetchPageDataJson({ pagePath }).then(pageData => {\n this.pageDataDb.set(pagePath, pageData)\n\n return pageData\n })\n }\n\n loadPartialHydrationJson(rawPath) {\n const pagePath = findPath(rawPath)\n if (this.partialHydrationDb.has(pagePath)) {\n const pageData = this.partialHydrationDb.get(pagePath)\n if (process.env.BUILD_STAGE !== `develop` || !pageData.stale) {\n return Promise.resolve(pageData)\n }\n }\n\n return this.fetchPartialHydrationJson({ pagePath }).then(pageData => {\n this.partialHydrationDb.set(pagePath, pageData)\n\n return pageData\n })\n }\n\n loadSliceDataJson(sliceName) {\n if (this.slicesDataDb.has(sliceName)) {\n const jsonPayload = this.slicesDataDb.get(sliceName)\n return Promise.resolve({ sliceName, jsonPayload })\n }\n\n const url = `${__PATH_PREFIX__}/slice-data/${sliceName}.json`\n return doFetch(url, `GET`).then(res => {\n const jsonPayload = JSON.parse(res.responseText)\n\n this.slicesDataDb.set(sliceName, jsonPayload)\n return { sliceName, jsonPayload }\n })\n }\n\n findMatchPath(rawPath) {\n return findMatchPath(rawPath)\n }\n\n // TODO check all uses of this and whether they use undefined for page resources not exist\n loadPage(rawPath) {\n const pagePath = findPath(rawPath)\n if (this.pageDb.has(pagePath)) {\n const page = this.pageDb.get(pagePath)\n if (process.env.BUILD_STAGE !== `develop` || !page.payload.stale) {\n if (page.error) {\n return Promise.resolve({\n error: page.error,\n status: page.status,\n })\n }\n\n return Promise.resolve(page.payload)\n }\n }\n\n if (this.inFlightDb.has(pagePath)) {\n return this.inFlightDb.get(pagePath)\n }\n\n const loadDataPromises = [\n this.loadAppData(),\n this.loadPageDataJson(pagePath),\n ]\n\n if (global.hasPartialHydration) {\n loadDataPromises.push(this.loadPartialHydrationJson(pagePath))\n }\n\n const inFlightPromise = Promise.all(loadDataPromises).then(allData => {\n const [appDataResponse, pageDataResponse, rscDataResponse] = allData\n\n if (\n pageDataResponse.status === PageResourceStatus.Error ||\n rscDataResponse?.status === PageResourceStatus.Error\n ) {\n return {\n status: PageResourceStatus.Error,\n }\n }\n\n let pageData = pageDataResponse.payload\n\n const {\n componentChunkName,\n staticQueryHashes: pageStaticQueryHashes = [],\n slicesMap = {},\n } = pageData\n\n const finalResult = {}\n\n const dedupedSliceNames = Array.from(new Set(Object.values(slicesMap)))\n\n const loadSlice = slice => {\n if (this.slicesDb.has(slice.name)) {\n return this.slicesDb.get(slice.name)\n } else if (this.sliceInflightDb.has(slice.name)) {\n return this.sliceInflightDb.get(slice.name)\n }\n\n const inFlight = this.loadComponent(slice.componentChunkName).then(\n component => {\n return {\n component: preferDefault(component),\n sliceContext: slice.result.sliceContext,\n data: slice.result.data,\n }\n }\n )\n\n this.sliceInflightDb.set(slice.name, inFlight)\n inFlight.then(results => {\n this.slicesDb.set(slice.name, results)\n this.sliceInflightDb.delete(slice.name)\n })\n\n return inFlight\n }\n\n return Promise.all(\n dedupedSliceNames.map(sliceName => this.loadSliceDataJson(sliceName))\n ).then(slicesData => {\n const slices = []\n const dedupedStaticQueryHashes = [...pageStaticQueryHashes]\n\n for (const { jsonPayload, sliceName } of Object.values(slicesData)) {\n slices.push({ name: sliceName, ...jsonPayload })\n for (const staticQueryHash of jsonPayload.staticQueryHashes) {\n if (!dedupedStaticQueryHashes.includes(staticQueryHash)) {\n dedupedStaticQueryHashes.push(staticQueryHash)\n }\n }\n }\n\n const loadChunkPromises = [\n Promise.all(slices.map(loadSlice)),\n this.loadComponent(componentChunkName, `head`),\n ]\n\n if (!global.hasPartialHydration) {\n loadChunkPromises.push(this.loadComponent(componentChunkName))\n }\n\n // In develop we have separate chunks for template and Head components\n // to enable HMR (fast refresh requires single exports).\n // In production we have shared chunk with both exports. Double loadComponent here\n // will be deduped by webpack runtime resulting in single request and single module\n // being loaded for both `component` and `head`.\n // get list of components to get\n const componentChunkPromises = Promise.all(loadChunkPromises).then(\n components => {\n const [sliceComponents, headComponent, pageComponent] = components\n\n finalResult.createdAt = new Date()\n\n for (const sliceComponent of sliceComponents) {\n if (!sliceComponent || sliceComponent instanceof Error) {\n finalResult.status = PageResourceStatus.Error\n finalResult.error = sliceComponent\n }\n }\n\n if (\n !global.hasPartialHydration &&\n (!pageComponent || pageComponent instanceof Error)\n ) {\n finalResult.status = PageResourceStatus.Error\n finalResult.error = pageComponent\n }\n\n let pageResources\n\n if (finalResult.status !== PageResourceStatus.Error) {\n finalResult.status = PageResourceStatus.Success\n if (\n pageDataResponse.notFound === true ||\n rscDataResponse?.notFound === true\n ) {\n finalResult.notFound = true\n }\n pageData = Object.assign(pageData, {\n webpackCompilationHash: appDataResponse\n ? appDataResponse.webpackCompilationHash\n : ``,\n })\n\n if (typeof rscDataResponse?.payload === `string`) {\n pageResources = toPageResources(pageData, null, headComponent)\n\n pageResources.partialHydration = rscDataResponse.payload\n\n const readableStream = new ReadableStream({\n start(controller) {\n const te = new TextEncoder()\n controller.enqueue(te.encode(rscDataResponse.payload))\n },\n pull(controller) {\n // close on next read when queue is empty\n controller.close()\n },\n cancel() {},\n })\n\n return waitForResponse(\n createFromReadableStream(readableStream)\n ).then(result => {\n pageResources.partialHydration = result\n\n return pageResources\n })\n } else {\n pageResources = toPageResources(\n pageData,\n pageComponent,\n headComponent\n )\n }\n }\n\n // undefined if final result is an error\n return pageResources\n }\n )\n\n // get list of static queries to get\n const staticQueryBatchPromise = Promise.all(\n dedupedStaticQueryHashes.map(staticQueryHash => {\n // Check for cache in case this static query result has already been loaded\n if (this.staticQueryDb[staticQueryHash]) {\n const jsonPayload = this.staticQueryDb[staticQueryHash]\n return { staticQueryHash, jsonPayload }\n }\n\n return this.memoizedGet(\n `${__PATH_PREFIX__}/page-data/sq/d/${staticQueryHash}.json`\n )\n .then(req => {\n const jsonPayload = JSON.parse(req.responseText)\n return { staticQueryHash, jsonPayload }\n })\n .catch(() => {\n throw new Error(\n `We couldn't load \"${__PATH_PREFIX__}/page-data/sq/d/${staticQueryHash}.json\"`\n )\n })\n })\n ).then(staticQueryResults => {\n const staticQueryResultsMap = {}\n\n staticQueryResults.forEach(({ staticQueryHash, jsonPayload }) => {\n staticQueryResultsMap[staticQueryHash] = jsonPayload\n this.staticQueryDb[staticQueryHash] = jsonPayload\n })\n\n return staticQueryResultsMap\n })\n\n return (\n Promise.all([componentChunkPromises, staticQueryBatchPromise])\n .then(([pageResources, staticQueryResults]) => {\n let payload\n if (pageResources) {\n payload = { ...pageResources, staticQueryResults }\n finalResult.payload = payload\n emitter.emit(`onPostLoadPageResources`, {\n page: payload,\n pageResources: payload,\n })\n }\n\n this.pageDb.set(pagePath, finalResult)\n\n if (finalResult.error) {\n return {\n error: finalResult.error,\n status: finalResult.status,\n }\n }\n\n return payload\n })\n // when static-query fail to load we throw a better error\n .catch(err => {\n return {\n error: err,\n status: PageResourceStatus.Error,\n }\n })\n )\n })\n })\n\n inFlightPromise\n .then(() => {\n this.inFlightDb.delete(pagePath)\n })\n .catch(error => {\n this.inFlightDb.delete(pagePath)\n throw error\n })\n\n this.inFlightDb.set(pagePath, inFlightPromise)\n\n return inFlightPromise\n }\n\n // returns undefined if the page does not exists in cache\n loadPageSync(rawPath, options = {}) {\n const pagePath = findPath(rawPath)\n if (this.pageDb.has(pagePath)) {\n const pageData = this.pageDb.get(pagePath)\n\n if (pageData.payload) {\n return pageData.payload\n }\n\n if (options?.withErrorDetails) {\n return {\n error: pageData.error,\n status: pageData.status,\n }\n }\n }\n return undefined\n }\n\n shouldPrefetch(pagePath) {\n // Skip prefetching if we know user is on slow or constrained connection\n if (!doesConnectionSupportPrefetch()) {\n return false\n }\n\n // Don't prefetch if this is a crawler bot\n if (navigator.userAgent && BOT_REGEX.test(navigator.userAgent)) {\n return false\n }\n\n // Check if the page exists.\n if (this.pageDb.has(pagePath)) {\n return false\n }\n\n return true\n }\n\n prefetch(pagePath) {\n if (!this.shouldPrefetch(pagePath)) {\n return {\n then: resolve => resolve(false),\n abort: () => {},\n }\n }\n if (this.prefetchTriggered.has(pagePath)) {\n return {\n then: resolve => resolve(true),\n abort: () => {},\n }\n }\n\n const defer = {\n resolve: null,\n reject: null,\n promise: null,\n }\n defer.promise = new Promise((resolve, reject) => {\n defer.resolve = resolve\n defer.reject = reject\n })\n this.prefetchQueued.push([pagePath, defer])\n const abortC = new AbortController()\n abortC.signal.addEventListener(`abort`, () => {\n const index = this.prefetchQueued.findIndex(([p]) => p === pagePath)\n // remove from the queue\n if (index !== -1) {\n this.prefetchQueued.splice(index, 1)\n }\n })\n\n if (!this.isPrefetchQueueRunning) {\n this.isPrefetchQueueRunning = true\n setTimeout(() => {\n this._processNextPrefetchBatch()\n }, 3000)\n }\n\n return {\n then: (resolve, reject) => defer.promise.then(resolve, reject),\n abort: abortC.abort.bind(abortC),\n }\n }\n\n _processNextPrefetchBatch() {\n const idleCallback = window.requestIdleCallback || (cb => setTimeout(cb, 0))\n\n idleCallback(() => {\n const toPrefetch = this.prefetchQueued.splice(0, 4)\n const prefetches = Promise.all(\n toPrefetch.map(([pagePath, dPromise]) => {\n // Tell plugins with custom prefetching logic that they should start\n // prefetching this path.\n if (!this.prefetchTriggered.has(pagePath)) {\n this.apiRunner(`onPrefetchPathname`, { pathname: pagePath })\n this.prefetchTriggered.add(pagePath)\n }\n\n // If a plugin has disabled core prefetching, stop now.\n if (this.prefetchDisabled) {\n return dPromise.resolve(false)\n }\n\n return this.doPrefetch(findPath(pagePath)).then(() => {\n if (!this.prefetchCompleted.has(pagePath)) {\n this.apiRunner(`onPostPrefetchPathname`, { pathname: pagePath })\n this.prefetchCompleted.add(pagePath)\n }\n\n dPromise.resolve(true)\n })\n })\n )\n\n if (this.prefetchQueued.length) {\n prefetches.then(() => {\n setTimeout(() => {\n this._processNextPrefetchBatch()\n }, 3000)\n })\n } else {\n this.isPrefetchQueueRunning = false\n }\n })\n }\n\n doPrefetch(pagePath) {\n const pageDataUrl = createPageDataUrl(pagePath)\n\n if (global.hasPartialHydration) {\n return Promise.all([\n prefetchHelper(pageDataUrl, {\n crossOrigin: `anonymous`,\n as: `fetch`,\n }).then(() =>\n // This was just prefetched, so will return a response from\n // the cache instead of making another request to the server\n this.loadPageDataJson(pagePath)\n ),\n prefetchHelper(pageDataUrl.replace(`.json`, `-rsc.json`), {\n crossOrigin: `anonymous`,\n as: `fetch`,\n }).then(() =>\n // This was just prefetched, so will return a response from\n // the cache instead of making another request to the server\n this.loadPartialHydrationJson(pagePath)\n ),\n ])\n } else {\n return prefetchHelper(pageDataUrl, {\n crossOrigin: `anonymous`,\n as: `fetch`,\n }).then(() =>\n // This was just prefetched, so will return a response from\n // the cache instead of making another request to the server\n this.loadPageDataJson(pagePath)\n )\n }\n }\n\n hovering(rawPath) {\n this.loadPage(rawPath)\n }\n\n getResourceURLsForPathname(rawPath) {\n const pagePath = findPath(rawPath)\n const page = this.pageDataDb.get(pagePath)\n if (page) {\n const pageResources = toPageResources(page.payload)\n\n return [\n ...createComponentUrls(pageResources.page.componentChunkName),\n createPageDataUrl(pagePath),\n ]\n } else {\n return null\n }\n }\n\n isPageNotFound(rawPath) {\n const pagePath = findPath(rawPath)\n const page = this.pageDb.get(pagePath)\n return !page || page.notFound\n }\n\n loadAppData(retries = 0) {\n return this.memoizedGet(`${__PATH_PREFIX__}/page-data/app-data.json`).then(\n req => {\n const { status, responseText } = req\n\n let appData\n\n if (status !== 200 && retries < 3) {\n // Retry 3 times incase of non-200 responses\n return this.loadAppData(retries + 1)\n }\n\n // Handle 200\n if (status === 200) {\n try {\n const jsonPayload = JSON.parse(responseText)\n if (jsonPayload.webpackCompilationHash === undefined) {\n throw new Error(`not a valid app-data response`)\n }\n\n appData = jsonPayload\n } catch (err) {\n // continue regardless of error\n }\n }\n\n return appData\n }\n )\n }\n}\n\nconst createComponentUrls = componentChunkName =>\n (window.___chunkMapping[componentChunkName] || []).map(\n chunk => __PATH_PREFIX__ + chunk\n )\n\nexport class ProdLoader extends BaseLoader {\n constructor(asyncRequires, matchPaths, pageData) {\n const loadComponent = (chunkName, exportType = `components`) => {\n if (!global.hasPartialHydration) {\n exportType = `components`\n }\n\n if (!asyncRequires[exportType][chunkName]) {\n throw new Error(\n `We couldn't find the correct component chunk with the name \"${chunkName}\"`\n )\n }\n\n return (\n asyncRequires[exportType][chunkName]()\n // loader will handle the case when component is error\n .catch(err => err)\n )\n }\n\n super(loadComponent, matchPaths)\n\n if (pageData) {\n this.pageDataDb.set(findPath(pageData.path), {\n pagePath: pageData.path,\n payload: pageData,\n status: `success`,\n })\n }\n }\n\n doPrefetch(pagePath) {\n return super.doPrefetch(pagePath).then(result => {\n if (result.status !== PageResourceStatus.Success) {\n return Promise.resolve()\n }\n const pageData = result.payload\n const chunkName = pageData.componentChunkName\n const componentUrls = createComponentUrls(chunkName)\n return Promise.all(componentUrls.map(prefetchHelper)).then(() => pageData)\n })\n }\n\n loadPageDataJson(rawPath) {\n return super.loadPageDataJson(rawPath).then(data => {\n if (data.notFound) {\n if (shouldAbortFetch(rawPath)) {\n return data\n }\n // check if html file exist using HEAD request:\n // if it does we should navigate to it instead of showing 404\n return doFetch(rawPath, `HEAD`).then(req => {\n if (req.status === 200) {\n // page (.html file) actually exist (or we asked for 404 )\n // returning page resources status as errored to trigger\n // regular browser navigation to given page\n return {\n status: PageResourceStatus.Error,\n }\n }\n\n // if HEAD request wasn't 200, return notFound result\n // and show 404 page\n return data\n })\n }\n return data\n })\n }\n\n loadPartialHydrationJson(rawPath) {\n return super.loadPartialHydrationJson(rawPath).then(data => {\n if (data.notFound) {\n if (shouldAbortFetch(rawPath)) {\n return data\n }\n // check if html file exist using HEAD request:\n // if it does we should navigate to it instead of showing 404\n return doFetch(rawPath, `HEAD`).then(req => {\n if (req.status === 200) {\n // page (.html file) actually exist (or we asked for 404 )\n // returning page resources status as errored to trigger\n // regular browser navigation to given page\n return {\n status: PageResourceStatus.Error,\n }\n }\n\n // if HEAD request wasn't 200, return notFound result\n // and show 404 page\n return data\n })\n }\n return data\n })\n }\n}\n\nlet instance\n\nexport const setLoader = _loader => {\n instance = _loader\n}\n\nexport const publicLoader = {\n enqueue: rawPath => instance.prefetch(rawPath),\n\n // Real methods\n getResourceURLsForPathname: rawPath =>\n instance.getResourceURLsForPathname(rawPath),\n loadPage: rawPath => instance.loadPage(rawPath),\n // TODO add deprecation to v4 so people use withErrorDetails and then we can remove in v5 and change default behaviour\n loadPageSync: (rawPath, options = {}) =>\n instance.loadPageSync(rawPath, options),\n prefetch: rawPath => instance.prefetch(rawPath),\n isPageNotFound: rawPath => instance.isPageNotFound(rawPath),\n hovering: rawPath => instance.hovering(rawPath),\n loadAppData: () => instance.loadAppData(),\n}\n\nexport default publicLoader\n\nexport function getStaticQueryResults() {\n if (instance) {\n return instance.staticQueryDb\n } else {\n return {}\n }\n}\n\nexport function getSliceResults() {\n if (instance) {\n return instance.slicesDb\n } else {\n return {}\n }\n}\n","import { useEffect } from \"react\"\n\n/*\n * Calls callback in an effect and renders children\n */\nexport function FireCallbackInEffect({ children, callback }) {\n useEffect(() => {\n callback()\n })\n\n return children\n}\n","export const VALID_NODE_NAMES = [\n `link`,\n `meta`,\n `style`,\n `title`,\n `base`,\n `noscript`,\n `script`,\n `html`,\n `body`,\n]\n","import { VALID_NODE_NAMES } from \"./constants\"\n\n/**\n * Filter the props coming from a page down to just the ones that are relevant for head.\n * This e.g. filters out properties that are undefined during SSR.\n */\nexport function filterHeadProps(input) {\n return {\n location: {\n pathname: input.location.pathname,\n },\n params: input.params,\n data: input.data || {},\n serverData: input.serverData,\n pageContext: input.pageContext,\n }\n}\n\n/**\n * Throw error if Head export is not a valid function\n */\nexport function headExportValidator(head) {\n if (typeof head !== `function`)\n throw new Error(\n `Expected \"Head\" export to be a function got \"${typeof head}\".`\n )\n}\n\n/**\n * Warn once for same messsage\n */\nlet warnOnce = _ => {}\nif (process.env.NODE_ENV !== `production`) {\n const warnings = new Set()\n warnOnce = msg => {\n if (!warnings.has(msg)) {\n console.warn(msg)\n }\n warnings.add(msg)\n }\n}\n\n/**\n * Warn for invalid tags in Head which may have been directly added or introduced by `wrapRootElement`\n * @param {string} tagName\n */\nexport function warnForInvalidTag(tagName) {\n if (process.env.NODE_ENV !== `production`) {\n const warning = createWarningForInvalidTag(tagName)\n warnOnce(warning)\n }\n}\n\nfunction createWarningForInvalidTag(tagName) {\n return `<${tagName}> is not a valid head element. Please use one of the following: ${VALID_NODE_NAMES.join(\n `, `\n )}.\\n\\nAlso make sure that wrapRootElement in gatsby-ssr/gatsby-browser doesn't contain UI elements: https://gatsby.dev/invalid-head-elements`\n}\n\n/**\n * When a `nonce` is present on an element, browsers such as Chrome and Firefox strip it out of the\n * actual HTML attributes for security reasons *when the element is added to the document*. Thus,\n * given two equivalent elements that have nonces, `Element,isEqualNode()` will return false if one\n * of those elements gets added to the document. Although the `element.nonce` property will be the\n * same for both elements, the one that was added to the document will return an empty string for\n * its nonce HTML attribute value.\n *\n * This custom `isEqualNode()` function therefore removes the nonce value from the `newTag` before\n * comparing it to `oldTag`, restoring it afterwards.\n *\n * For more information, see:\n * https://bugs.chromium.org/p/chromium/issues/detail?id=1211471#c12\n */\nexport function isEqualNode(oldTag, newTag) {\n if (oldTag instanceof HTMLElement && newTag instanceof HTMLElement) {\n const nonce = newTag.getAttribute(`nonce`)\n // Only strip the nonce if `oldTag` has had it stripped. An element's nonce attribute will not\n // be stripped if there is no content security policy response header that includes a nonce.\n if (nonce && !oldTag.getAttribute(`nonce`)) {\n const cloneTag = newTag.cloneNode(true)\n cloneTag.setAttribute(`nonce`, ``)\n cloneTag.nonce = nonce\n return nonce === oldTag.nonce && oldTag.isEqualNode(cloneTag)\n }\n }\n\n return oldTag.isEqualNode(newTag)\n}\n\nexport function diffNodes({ oldNodes, newNodes, onStale, onNew }) {\n for (const existingHeadElement of oldNodes) {\n const indexInNewNodes = newNodes.findIndex(e =>\n isEqualNode(e, existingHeadElement)\n )\n\n if (indexInNewNodes === -1) {\n onStale(existingHeadElement)\n } else {\n // this node is re-created as-is, so we keep old node, and remove it from list of new nodes (as we handled it already here)\n newNodes.splice(indexInNewNodes, 1)\n }\n }\n\n // remaing new nodes didn't have matching old node, so need to be added\n for (const newNode of newNodes) {\n onNew(newNode)\n }\n}\n\nexport function getValidHeadNodesAndAttributes(\n rootNode,\n htmlAndBodyAttributes = {\n html: {},\n body: {},\n }\n) {\n const seenIds = new Map()\n const validHeadNodes = []\n\n // Filter out non-element nodes before looping since we don't care about them\n for (const node of rootNode.childNodes) {\n const nodeName = node.nodeName.toLowerCase()\n const id = node.attributes?.id?.value\n\n if (!isElementType(node)) continue\n\n if (isValidNodeName(nodeName)) {\n // and tags are treated differently, in that we don't render them, we only extract the attributes and apply them separetely\n if (nodeName === `html` || nodeName === `body`) {\n for (const attribute of node.attributes) {\n const isStyleAttribute = attribute.name === `style`\n\n // Merge attributes for same nodeName from previous loop iteration\n htmlAndBodyAttributes[nodeName] = {\n ...htmlAndBodyAttributes[nodeName],\n }\n\n if (!isStyleAttribute) {\n htmlAndBodyAttributes[nodeName][attribute.name] = attribute.value\n }\n\n // If there is already a style attribute, we need to merge them as otherwise the last one will \"win\"\n if (isStyleAttribute) {\n htmlAndBodyAttributes[nodeName].style = `${\n htmlAndBodyAttributes[nodeName]?.style\n ? htmlAndBodyAttributes[nodeName].style\n : ``\n }${attribute.value} `\n }\n }\n } else {\n let clonedNode = node.cloneNode(true)\n clonedNode.setAttribute(`data-gatsby-head`, true)\n\n // // This is hack to make script tags work\n if (clonedNode.nodeName.toLowerCase() === `script`) {\n clonedNode = massageScript(clonedNode)\n }\n // Duplicate ids are not allowed in the head, so we need to dedupe them\n if (id) {\n if (!seenIds.has(id)) {\n validHeadNodes.push(clonedNode)\n seenIds.set(id, validHeadNodes.length - 1)\n } else {\n const indexOfPreviouslyInsertedNode = seenIds.get(id)\n validHeadNodes[\n indexOfPreviouslyInsertedNode\n ].parentNode?.removeChild(\n validHeadNodes[indexOfPreviouslyInsertedNode]\n )\n validHeadNodes[indexOfPreviouslyInsertedNode] = clonedNode\n }\n } else {\n validHeadNodes.push(clonedNode)\n }\n }\n } else {\n warnForInvalidTag(nodeName)\n }\n\n if (node.childNodes.length) {\n validHeadNodes.push(\n ...getValidHeadNodesAndAttributes(node, htmlAndBodyAttributes)\n .validHeadNodes\n )\n }\n }\n\n return { validHeadNodes, htmlAndBodyAttributes }\n}\n\nfunction massageScript(node) {\n const script = document.createElement(`script`)\n for (const attr of node.attributes) {\n script.setAttribute(attr.name, attr.value)\n }\n script.innerHTML = node.innerHTML\n\n return script\n}\n\nexport function isValidNodeName(nodeName) {\n return VALID_NODE_NAMES.includes(nodeName)\n}\n/*\n * For Head, we only care about element nodes(type = 1), so this util is used to skip over non-element nodes\n * For Node type, see https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType\n */\nexport function isElementType(node) {\n return node.nodeType === 1\n}\n\n/**\n * Removes all the head elements that were added by `Head`\n */\nexport function removePrevHeadElements() {\n const prevHeadNodes = document.querySelectorAll(`[data-gatsby-head]`)\n for (const node of prevHeadNodes) {\n node.parentNode.removeChild(node)\n }\n}\n\nexport function applyHtmlAndBodyAttributes(htmlAndBodyAttributes) {\n if (!htmlAndBodyAttributes) return\n\n const { html, body } = htmlAndBodyAttributes\n\n const htmlElement = document.querySelector(`html`)\n if (htmlElement) {\n Object.entries(html).forEach(([attributeName, attributeValue]) => {\n htmlElement.setAttribute(attributeName, attributeValue)\n })\n }\n\n const bodyElement = document.querySelector(`body`)\n if (bodyElement) {\n Object.entries(body).forEach(([attributeName, attributeValue]) => {\n bodyElement.setAttribute(attributeName, attributeValue)\n })\n }\n}\n\nexport function removeHtmlAndBodyAttributes(htmlAndBodyattributeList) {\n if (!htmlAndBodyattributeList) return\n\n const { html, body } = htmlAndBodyattributeList\n\n if (html) {\n const htmlElement = document.querySelector(`html`)\n html.forEach(attributeName => {\n if (htmlElement) {\n htmlElement.removeAttribute(attributeName)\n }\n })\n }\n\n if (body) {\n const bodyElement = document.querySelector(`body`)\n body.forEach(attributeName => {\n if (bodyElement) {\n bodyElement.removeAttribute(attributeName)\n }\n })\n }\n}\n","import React from \"react\"\nimport { useEffect } from \"react\"\nimport { StaticQueryContext } from \"gatsby\"\nimport { LocationProvider } from \"@gatsbyjs/reach-router\"\nimport { reactDOMUtils } from \"../react-dom-utils\"\nimport { FireCallbackInEffect } from \"./components/fire-callback-in-effect\"\nimport {\n headExportValidator,\n filterHeadProps,\n diffNodes,\n getValidHeadNodesAndAttributes,\n removePrevHeadElements,\n applyHtmlAndBodyAttributes,\n removeHtmlAndBodyAttributes,\n} from \"./utils\"\nimport { apiRunner } from \"../api-runner-browser\"\n\nconst hiddenRoot = document.createElement(`div`)\nconst keysOfHtmlAndBodyAttributes = {\n html: [],\n body: [],\n}\n\nconst onHeadRendered = () => {\n const { validHeadNodes, htmlAndBodyAttributes } =\n getValidHeadNodesAndAttributes(hiddenRoot)\n\n keysOfHtmlAndBodyAttributes.html = Object.keys(htmlAndBodyAttributes.html)\n keysOfHtmlAndBodyAttributes.body = Object.keys(htmlAndBodyAttributes.body)\n\n applyHtmlAndBodyAttributes(htmlAndBodyAttributes)\n\n /**\n * The rest of the code block below is a diffing mechanism to ensure that\n * the head elements aren't duplicted on every re-render.\n */\n const existingHeadElements = document.querySelectorAll(`[data-gatsby-head]`)\n\n if (existingHeadElements.length === 0) {\n document.head.append(...validHeadNodes)\n return\n }\n\n const newHeadNodes = []\n diffNodes({\n oldNodes: existingHeadElements,\n newNodes: validHeadNodes,\n onStale: node => node.parentNode.removeChild(node),\n onNew: node => newHeadNodes.push(node),\n })\n\n document.head.append(...newHeadNodes)\n}\n\nif (process.env.BUILD_STAGE === `develop`) {\n // sigh ... and elements are not valid descedents of
(our hidden element)\n // react-dom in dev mode will warn about this. There doesn't seem to be a way to render arbitrary\n // user Head without hitting this issue (our hidden element could be just \"new Document()\", but\n // this can only have 1 child, and we don't control what is being rendered so that's not an option)\n // instead we continue to render to
, and just silence warnings for and elements\n // https://github.com/facebook/react/blob/e2424f33b3ad727321fc12e75c5e94838e84c2b5/packages/react-dom-bindings/src/client/validateDOMNesting.js#L498-L520\n const originalConsoleError = console.error.bind(console)\n console.error = (...args) => {\n if (\n Array.isArray(args) &&\n args.length >= 2 &&\n args[0]?.includes?.(`validateDOMNesting(...): %s cannot appear as`) &&\n (args[1] === `` || args[1] === ``)\n ) {\n return undefined\n }\n return originalConsoleError(...args)\n }\n\n /* We set up observer to be able to regenerate after react-refresh\n updates our hidden element.\n */\n const observer = new MutationObserver(onHeadRendered)\n observer.observe(hiddenRoot, {\n attributes: true,\n childList: true,\n characterData: true,\n subtree: true,\n })\n}\n\nexport function headHandlerForBrowser({\n pageComponent,\n staticQueryResults,\n pageComponentProps,\n}) {\n useEffect(() => {\n if (pageComponent?.Head) {\n headExportValidator(pageComponent.Head)\n\n const { render } = reactDOMUtils()\n\n const HeadElement = (\n \n )\n\n const WrapHeadElement = apiRunner(\n `wrapRootElement`,\n { element: HeadElement },\n HeadElement,\n ({ result }) => {\n return { element: result }\n }\n ).pop()\n\n render(\n // just a hack to call the callback after react has done first render\n // Note: In dev, we call onHeadRendered twice( in FireCallbackInEffect and after mutualution observer dectects initail render into hiddenRoot) this is for hot reloading\n // In Prod we only call onHeadRendered in FireCallbackInEffect to render to head\n \n \n {WrapHeadElement}\n \n ,\n hiddenRoot\n )\n }\n\n return () => {\n removePrevHeadElements()\n removeHtmlAndBodyAttributes(keysOfHtmlAndBodyAttributes)\n }\n })\n}\n","import React, { Suspense, createElement } from \"react\"\nimport PropTypes from \"prop-types\"\nimport { apiRunner } from \"./api-runner-browser\"\nimport { grabMatchParams } from \"./find-path\"\nimport { headHandlerForBrowser } from \"./head/head-export-handler-for-browser\"\n\n// Renders page\nfunction PageRenderer(props) {\n const pageComponentProps = {\n ...props,\n params: {\n ...grabMatchParams(props.location.pathname),\n ...props.pageResources.json.pageContext.__params,\n },\n }\n\n const preferDefault = m => (m && m.default) || m\n\n let pageElement\n if (props.pageResources.partialHydration) {\n pageElement = props.pageResources.partialHydration\n } else {\n pageElement = createElement(preferDefault(props.pageResources.component), {\n ...pageComponentProps,\n key: props.path || props.pageResources.page.path,\n })\n }\n\n const pageComponent = props.pageResources.head\n\n headHandlerForBrowser({\n pageComponent,\n staticQueryResults: props.pageResources.staticQueryResults,\n pageComponentProps,\n })\n\n const wrappedPage = apiRunner(\n `wrapPageElement`,\n {\n element: pageElement,\n props: pageComponentProps,\n },\n pageElement,\n ({ result }) => {\n return { element: result, props: pageComponentProps }\n }\n ).pop()\n\n return wrappedPage\n}\n\nPageRenderer.propTypes = {\n location: PropTypes.object.isRequired,\n pageResources: PropTypes.object.isRequired,\n data: PropTypes.object,\n pageContext: PropTypes.object.isRequired,\n}\n\nexport default PageRenderer\n","// This is extracted to separate module because it's shared\n// between browser and SSR code\nexport const RouteAnnouncerProps = {\n id: `gatsby-announcer`,\n style: {\n position: `absolute`,\n top: 0,\n width: 1,\n height: 1,\n padding: 0,\n overflow: `hidden`,\n clip: `rect(0, 0, 0, 0)`,\n whiteSpace: `nowrap`,\n border: 0,\n },\n \"aria-live\": `assertive`,\n \"aria-atomic\": `true`,\n}\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport loader, { PageResourceStatus } from \"./loader\"\nimport { maybeGetBrowserRedirect } from \"./redirect-utils.js\"\nimport { apiRunner } from \"./api-runner-browser\"\nimport emitter from \"./emitter\"\nimport { RouteAnnouncerProps } from \"./route-announcer-props\"\nimport {\n navigate as reachNavigate,\n globalHistory,\n} from \"@gatsbyjs/reach-router\"\nimport { parsePath } from \"gatsby-link\"\n\nfunction maybeRedirect(pathname) {\n const redirect = maybeGetBrowserRedirect(pathname)\n const { hash, search } = window.location\n\n if (redirect != null) {\n window.___replace(redirect.toPath + search + hash)\n return true\n } else {\n return false\n }\n}\n\n// Catch unhandled chunk loading errors and force a restart of the app.\nlet nextRoute = ``\n\nwindow.addEventListener(`unhandledrejection`, event => {\n if (/loading chunk \\d* failed./i.test(event.reason)) {\n if (nextRoute) {\n window.location.pathname = nextRoute\n }\n }\n})\n\nconst onPreRouteUpdate = (location, prevLocation) => {\n if (!maybeRedirect(location.pathname)) {\n nextRoute = location.pathname\n apiRunner(`onPreRouteUpdate`, { location, prevLocation })\n }\n}\n\nconst onRouteUpdate = (location, prevLocation) => {\n if (!maybeRedirect(location.pathname)) {\n apiRunner(`onRouteUpdate`, { location, prevLocation })\n if (\n process.env.GATSBY_QUERY_ON_DEMAND &&\n process.env.GATSBY_QUERY_ON_DEMAND_LOADING_INDICATOR === `true`\n ) {\n emitter.emit(`onRouteUpdate`, { location, prevLocation })\n }\n }\n}\n\nconst navigate = (to, options = {}) => {\n // Support forward/backward navigation with numbers\n // navigate(-2) (jumps back 2 history steps)\n // navigate(2) (jumps forward 2 history steps)\n if (typeof to === `number`) {\n globalHistory.navigate(to)\n return\n }\n\n const { pathname, search, hash } = parsePath(to)\n const redirect = maybeGetBrowserRedirect(pathname)\n\n // If we're redirecting, just replace the passed in pathname\n // to the one we want to redirect to.\n if (redirect) {\n to = redirect.toPath + search + hash\n }\n\n // If we had a service worker update, no matter the path, reload window and\n // reset the pathname whitelist\n if (window.___swUpdated) {\n window.location = pathname + search + hash\n return\n }\n\n // Start a timer to wait for a second before transitioning and showing a\n // loader in case resources aren't around yet.\n const timeoutId = setTimeout(() => {\n emitter.emit(`onDelayedLoadPageResources`, { pathname })\n apiRunner(`onRouteUpdateDelayed`, {\n location: window.location,\n })\n }, 1000)\n\n loader.loadPage(pathname + search).then(pageResources => {\n // If no page resources, then refresh the page\n // Do this, rather than simply `window.location.reload()`, so that\n // pressing the back/forward buttons work - otherwise when pressing\n // back, the browser will just change the URL and expect JS to handle\n // the change, which won't always work since it might not be a Gatsby\n // page.\n if (!pageResources || pageResources.status === PageResourceStatus.Error) {\n window.history.replaceState({}, ``, location.href)\n window.location = pathname\n clearTimeout(timeoutId)\n return\n }\n\n // If the loaded page has a different compilation hash to the\n // window, then a rebuild has occurred on the server. Reload.\n if (process.env.NODE_ENV === `production` && pageResources) {\n if (\n pageResources.page.webpackCompilationHash !==\n window.___webpackCompilationHash\n ) {\n // Purge plugin-offline cache\n if (\n `serviceWorker` in navigator &&\n navigator.serviceWorker.controller !== null &&\n navigator.serviceWorker.controller.state === `activated`\n ) {\n navigator.serviceWorker.controller.postMessage({\n gatsbyApi: `clearPathResources`,\n })\n }\n\n window.location = pathname + search + hash\n }\n }\n reachNavigate(to, options)\n clearTimeout(timeoutId)\n })\n}\n\nfunction shouldUpdateScroll(prevRouterProps, { location }) {\n const { pathname, hash } = location\n const results = apiRunner(`shouldUpdateScroll`, {\n prevRouterProps,\n // `pathname` for backwards compatibility\n pathname,\n routerProps: { location },\n getSavedScrollPosition: args => [\n 0,\n // FIXME this is actually a big code smell, we should fix this\n // eslint-disable-next-line @babel/no-invalid-this\n this._stateStorage.read(args, args.key),\n ],\n })\n if (results.length > 0) {\n // Use the latest registered shouldUpdateScroll result, this allows users to override plugin's configuration\n // @see https://github.com/gatsbyjs/gatsby/issues/12038\n return results[results.length - 1]\n }\n\n if (prevRouterProps) {\n const {\n location: { pathname: oldPathname },\n } = prevRouterProps\n if (oldPathname === pathname) {\n // Scroll to element if it exists, if it doesn't, or no hash is provided,\n // scroll to top.\n return hash ? decodeURI(hash.slice(1)) : [0, 0]\n }\n }\n return true\n}\n\nfunction init() {\n // The \"scroll-behavior\" package expects the \"action\" to be on the location\n // object so let's copy it over.\n globalHistory.listen(args => {\n args.location.action = args.action\n })\n\n window.___push = to => navigate(to, { replace: false })\n window.___replace = to => navigate(to, { replace: true })\n window.___navigate = (to, options) => navigate(to, options)\n}\n\nclass RouteAnnouncer extends React.Component {\n constructor(props) {\n super(props)\n this.announcementRef = React.createRef()\n }\n\n componentDidUpdate(prevProps, nextProps) {\n requestAnimationFrame(() => {\n let pageName = `new page at ${this.props.location.pathname}`\n if (document.title) {\n pageName = document.title\n }\n const pageHeadings = document.querySelectorAll(`#gatsby-focus-wrapper h1`)\n if (pageHeadings && pageHeadings.length) {\n pageName = pageHeadings[0].textContent\n }\n const newAnnouncement = `Navigated to ${pageName}`\n if (this.announcementRef.current) {\n const oldAnnouncement = this.announcementRef.current.innerText\n if (oldAnnouncement !== newAnnouncement) {\n this.announcementRef.current.innerText = newAnnouncement\n }\n }\n })\n }\n\n render() {\n return
\n }\n}\n\nconst compareLocationProps = (prevLocation, nextLocation) => {\n if (prevLocation.href !== nextLocation.href) {\n return true\n }\n\n if (prevLocation?.state?.key !== nextLocation?.state?.key) {\n return true\n }\n\n return false\n}\n\n// Fire on(Pre)RouteUpdate APIs\nclass RouteUpdates extends React.Component {\n constructor(props) {\n super(props)\n onPreRouteUpdate(props.location, null)\n }\n\n componentDidMount() {\n onRouteUpdate(this.props.location, null)\n }\n\n shouldComponentUpdate(nextProps) {\n if (compareLocationProps(this.props.location, nextProps.location)) {\n onPreRouteUpdate(nextProps.location, this.props.location)\n return true\n }\n return false\n }\n\n componentDidUpdate(prevProps) {\n if (compareLocationProps(prevProps.location, this.props.location)) {\n onRouteUpdate(this.props.location, prevProps.location)\n }\n }\n\n render() {\n return (\n \n {this.props.children}\n \n \n )\n }\n}\n\nRouteUpdates.propTypes = {\n location: PropTypes.object.isRequired,\n}\n\nexport { init, shouldUpdateScroll, RouteUpdates, maybeGetBrowserRedirect }\n","// Pulled from react-compat\n// https://github.com/developit/preact-compat/blob/7c5de00e7c85e2ffd011bf3af02899b63f699d3a/src/index.js#L349\nfunction shallowDiffers(a, b) {\n for (var i in a) {\n if (!(i in b)) return true;\n }for (var _i in b) {\n if (a[_i] !== b[_i]) return true;\n }return false;\n}\n\nexport default (function (instance, nextProps, nextState) {\n return shallowDiffers(instance.props, nextProps) || shallowDiffers(instance.state, nextState);\n});","import React from \"react\"\nimport loader, { PageResourceStatus } from \"./loader\"\nimport shallowCompare from \"shallow-compare\"\n\nclass EnsureResources extends React.Component {\n constructor(props) {\n super()\n const { location, pageResources } = props\n this.state = {\n location: { ...location },\n pageResources:\n pageResources ||\n loader.loadPageSync(location.pathname + location.search, {\n withErrorDetails: true,\n }),\n }\n }\n\n static getDerivedStateFromProps({ location }, prevState) {\n if (prevState.location.href !== location.href) {\n const pageResources = loader.loadPageSync(\n location.pathname + location.search,\n {\n withErrorDetails: true,\n }\n )\n\n return {\n pageResources,\n location: { ...location },\n }\n }\n\n return {\n location: { ...location },\n }\n }\n\n loadResources(rawPath) {\n loader.loadPage(rawPath).then(pageResources => {\n if (pageResources && pageResources.status !== PageResourceStatus.Error) {\n this.setState({\n location: { ...window.location },\n pageResources,\n })\n } else {\n window.history.replaceState({}, ``, location.href)\n window.location = rawPath\n }\n })\n }\n\n shouldComponentUpdate(nextProps, nextState) {\n // Always return false if we're missing resources.\n if (!nextState.pageResources) {\n this.loadResources(\n nextProps.location.pathname + nextProps.location.search\n )\n return false\n }\n\n if (\n process.env.BUILD_STAGE === `develop` &&\n nextState.pageResources.stale\n ) {\n this.loadResources(\n nextProps.location.pathname + nextProps.location.search\n )\n return false\n }\n\n // Check if the component or json have changed.\n if (this.state.pageResources !== nextState.pageResources) {\n return true\n }\n if (\n this.state.pageResources.component !== nextState.pageResources.component\n ) {\n return true\n }\n\n if (this.state.pageResources.json !== nextState.pageResources.json) {\n return true\n }\n // Check if location has changed on a page using internal routing\n // via matchPath configuration.\n if (\n this.state.location.key !== nextState.location.key &&\n nextState.pageResources.page &&\n (nextState.pageResources.page.matchPath ||\n nextState.pageResources.page.path)\n ) {\n return true\n }\n return shallowCompare(this, nextProps, nextState)\n }\n\n render() {\n if (\n process.env.NODE_ENV !== `production` &&\n (!this.state.pageResources ||\n this.state.pageResources.status === PageResourceStatus.Error)\n ) {\n const message = `EnsureResources was not able to find resources for path: \"${this.props.location.pathname}\"\nThis typically means that an issue occurred building components for that path.\nRun \\`gatsby clean\\` to remove any cached elements.`\n if (this.state.pageResources?.error) {\n console.error(message)\n throw this.state.pageResources.error\n }\n\n throw new Error(message)\n }\n\n return this.props.children(this.state)\n }\n}\n\nexport default EnsureResources\n","import { apiRunner, apiRunnerAsync } from \"./api-runner-browser\"\nimport React from \"react\"\nimport { Router, navigate, Location, BaseContext } from \"@gatsbyjs/reach-router\"\nimport { ScrollContext } from \"gatsby-react-router-scroll\"\nimport { StaticQueryContext } from \"./static-query\"\nimport {\n SlicesMapContext,\n SlicesContext,\n SlicesResultsContext,\n} from \"./slice/context\"\nimport {\n shouldUpdateScroll,\n init as navigationInit,\n RouteUpdates,\n} from \"./navigation\"\nimport emitter from \"./emitter\"\nimport PageRenderer from \"./page-renderer\"\nimport asyncRequires from \"$virtual/async-requires\"\nimport {\n setLoader,\n ProdLoader,\n publicLoader,\n PageResourceStatus,\n getStaticQueryResults,\n getSliceResults,\n} from \"./loader\"\nimport EnsureResources from \"./ensure-resources\"\nimport stripPrefix from \"./strip-prefix\"\n\n// Generated during bootstrap\nimport matchPaths from \"$virtual/match-paths.json\"\nimport { reactDOMUtils } from \"./react-dom-utils\"\n\nconst loader = new ProdLoader(asyncRequires, matchPaths, window.pageData)\nsetLoader(loader)\nloader.setApiRunner(apiRunner)\n\nconst { render, hydrate } = reactDOMUtils()\n\nwindow.asyncRequires = asyncRequires\nwindow.___emitter = emitter\nwindow.___loader = publicLoader\n\nnavigationInit()\n\nconst reloadStorageKey = `gatsby-reload-compilation-hash-match`\n\napiRunnerAsync(`onClientEntry`).then(() => {\n // Let plugins register a service worker. The plugin just needs\n // to return true.\n if (apiRunner(`registerServiceWorker`).filter(Boolean).length > 0) {\n require(`./register-service-worker`)\n }\n\n // In gatsby v2 if Router is used in page using matchPaths\n // paths need to contain full path.\n // For example:\n // - page have `/app/*` matchPath\n // - inside template user needs to use `/app/xyz` as path\n // Resetting `basepath`/`baseuri` keeps current behaviour\n // to not introduce breaking change.\n // Remove this in v3\n const RouteHandler = props => (\n \n \n \n )\n\n const DataContext = React.createContext({})\n\n const slicesContext = {\n renderEnvironment: `browser`,\n }\n\n class GatsbyRoot extends React.Component {\n render() {\n const { children } = this.props\n return (\n \n {({ location }) => (\n \n {({ pageResources, location }) => {\n const staticQueryResults = getStaticQueryResults()\n const sliceResults = getSliceResults()\n\n return (\n \n \n \n \n \n {children}\n \n \n \n \n \n )\n }}\n \n )}\n \n )\n }\n }\n\n class LocationHandler extends React.Component {\n render() {\n return (\n \n {({ pageResources, location }) => (\n \n \n \n \n \n \n \n )}\n \n )\n }\n }\n\n const { pagePath, location: browserLoc } = window\n\n // Explicitly call navigate if the canonical path (window.pagePath)\n // is different to the browser path (window.location.pathname). SSR\n // page paths might include search params, while SSG and DSG won't.\n // If page path include search params we also compare query params.\n // But only if NONE of the following conditions hold:\n //\n // - The url matches a client side route (page.matchPath)\n // - it's a 404 page\n // - it's the offline plugin shell (/offline-plugin-app-shell-fallback/)\n if (\n pagePath &&\n __BASE_PATH__ + pagePath !==\n browserLoc.pathname + (pagePath.includes(`?`) ? browserLoc.search : ``) &&\n !(\n loader.findMatchPath(stripPrefix(browserLoc.pathname, __BASE_PATH__)) ||\n pagePath.match(/^\\/(404|500)(\\/?|.html)$/) ||\n pagePath.match(/^\\/offline-plugin-app-shell-fallback\\/?$/)\n )\n ) {\n navigate(\n __BASE_PATH__ +\n pagePath +\n (!pagePath.includes(`?`) ? browserLoc.search : ``) +\n browserLoc.hash,\n {\n replace: true,\n }\n )\n }\n\n // It's possible that sessionStorage can throw an exception if access is not granted, see https://github.com/gatsbyjs/gatsby/issues/34512\n const getSessionStorage = () => {\n try {\n return sessionStorage\n } catch {\n return null\n }\n }\n\n publicLoader.loadPage(browserLoc.pathname + browserLoc.search).then(page => {\n const sessionStorage = getSessionStorage()\n\n if (\n page?.page?.webpackCompilationHash &&\n page.page.webpackCompilationHash !== window.___webpackCompilationHash\n ) {\n // Purge plugin-offline cache\n if (\n `serviceWorker` in navigator &&\n navigator.serviceWorker.controller !== null &&\n navigator.serviceWorker.controller.state === `activated`\n ) {\n navigator.serviceWorker.controller.postMessage({\n gatsbyApi: `clearPathResources`,\n })\n }\n\n // We have not matching html + js (inlined `window.___webpackCompilationHash`)\n // with our data (coming from `app-data.json` file). This can cause issues such as\n // errors trying to load static queries (as list of static queries is inside `page-data`\n // which might not match to currently loaded `.js` scripts).\n // We are making attempt to reload if hashes don't match, but we also have to handle case\n // when reload doesn't fix it (possibly broken deploy) so we don't end up in infinite reload loop\n if (sessionStorage) {\n const isReloaded = sessionStorage.getItem(reloadStorageKey) === `1`\n\n if (!isReloaded) {\n sessionStorage.setItem(reloadStorageKey, `1`)\n window.location.reload(true)\n return\n }\n }\n }\n\n if (sessionStorage) {\n sessionStorage.removeItem(reloadStorageKey)\n }\n\n if (!page || page.status === PageResourceStatus.Error) {\n const message = `page resources for ${browserLoc.pathname} not found. Not rendering React`\n\n // if the chunk throws an error we want to capture the real error\n // This should help with https://github.com/gatsbyjs/gatsby/issues/19618\n if (page && page.error) {\n console.error(message)\n throw page.error\n }\n\n throw new Error(message)\n }\n\n const SiteRoot = apiRunner(\n `wrapRootElement`,\n { element: },\n ,\n ({ result }) => {\n return { element: result }\n }\n ).pop()\n\n const App = function App() {\n const onClientEntryRanRef = React.useRef(false)\n\n React.useEffect(() => {\n if (!onClientEntryRanRef.current) {\n onClientEntryRanRef.current = true\n if (performance.mark) {\n performance.mark(`onInitialClientRender`)\n }\n\n apiRunner(`onInitialClientRender`)\n }\n }, [])\n\n return {SiteRoot}\n }\n\n const focusEl = document.getElementById(`gatsby-focus-wrapper`)\n\n // Client only pages have any empty body so we just do a normal\n // render to avoid React complaining about hydration mis-matches.\n let defaultRenderer = render\n if (focusEl && focusEl.children.length) {\n defaultRenderer = hydrate\n }\n\n const renderer = apiRunner(\n `replaceHydrateFunction`,\n undefined,\n defaultRenderer\n )[0]\n\n function runRender() {\n const rootElement =\n typeof window !== `undefined`\n ? document.getElementById(`___gatsby`)\n : null\n\n renderer(, rootElement)\n }\n\n // https://github.com/madrobby/zepto/blob/b5ed8d607f67724788ec9ff492be297f64d47dfc/src/zepto.js#L439-L450\n // TODO remove IE 10 support\n const doc = document\n if (\n doc.readyState === `complete` ||\n (doc.readyState !== `loading` && !doc.documentElement.doScroll)\n ) {\n setTimeout(function () {\n runRender()\n }, 0)\n } else {\n const handler = function () {\n doc.removeEventListener(`DOMContentLoaded`, handler, false)\n window.removeEventListener(`load`, handler, false)\n\n runRender()\n }\n\n doc.addEventListener(`DOMContentLoaded`, handler, false)\n window.addEventListener(`load`, handler, false)\n }\n\n return\n })\n})\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\n\nimport loader from \"./loader\"\nimport InternalPageRenderer from \"./page-renderer\"\n\nconst ProdPageRenderer = ({ location }) => {\n const pageResources = loader.loadPageSync(location.pathname)\n if (!pageResources) {\n return null\n }\n return React.createElement(InternalPageRenderer, {\n location,\n pageResources,\n ...pageResources.json,\n })\n}\n\nProdPageRenderer.propTypes = {\n location: PropTypes.shape({\n pathname: PropTypes.string.isRequired,\n }).isRequired,\n}\n\nexport default ProdPageRenderer\n","const preferDefault = m => (m && m.default) || m\n\nif (process.env.BUILD_STAGE === `develop`) {\n module.exports = preferDefault(require(`./public-page-renderer-dev`))\n} else if (process.env.BUILD_STAGE === `build-javascript`) {\n module.exports = preferDefault(require(`./public-page-renderer-prod`))\n} else {\n module.exports = () => null\n}\n","const map = new WeakMap()\n\nexport function reactDOMUtils() {\n const reactDomClient = require(`react-dom/client`)\n\n const render = (Component, el) => {\n let root = map.get(el)\n if (!root) {\n map.set(el, (root = reactDomClient.createRoot(el)))\n }\n root.render(Component)\n }\n\n const hydrate = (Component, el) => reactDomClient.hydrateRoot(el, Component)\n\n return { render, hydrate }\n}\n","import redirects from \"./redirects.json\"\n\n// Convert to a map for faster lookup in maybeRedirect()\n\nconst redirectMap = new Map()\nconst redirectIgnoreCaseMap = new Map()\n\nredirects.forEach(redirect => {\n if (redirect.ignoreCase) {\n redirectIgnoreCaseMap.set(redirect.fromPath, redirect)\n } else {\n redirectMap.set(redirect.fromPath, redirect)\n }\n})\n\nexport function maybeGetBrowserRedirect(pathname) {\n let redirect = redirectMap.get(pathname)\n if (!redirect) {\n redirect = redirectIgnoreCaseMap.get(pathname.toLowerCase())\n }\n return redirect\n}\n","import { apiRunner } from \"./api-runner-browser\"\n\nif (\n window.location.protocol !== `https:` &&\n window.location.hostname !== `localhost`\n) {\n console.error(\n `Service workers can only be used over HTTPS, or on localhost for development`\n )\n} else if (`serviceWorker` in navigator) {\n navigator.serviceWorker\n .register(`${__BASE_PATH__}/sw.js`)\n .then(function (reg) {\n reg.addEventListener(`updatefound`, () => {\n apiRunner(`onServiceWorkerUpdateFound`, { serviceWorker: reg })\n // The updatefound event implies that reg.installing is set; see\n // https://w3c.github.io/ServiceWorker/#service-worker-registration-updatefound-event\n const installingWorker = reg.installing\n console.log(`installingWorker`, installingWorker)\n installingWorker.addEventListener(`statechange`, () => {\n switch (installingWorker.state) {\n case `installed`:\n if (navigator.serviceWorker.controller) {\n // At this point, the old content will have been purged and the fresh content will\n // have been added to the cache.\n\n // We set a flag so Gatsby Link knows to refresh the page on next navigation attempt\n window.___swUpdated = true\n // We call the onServiceWorkerUpdateReady API so users can show update prompts.\n apiRunner(`onServiceWorkerUpdateReady`, { serviceWorker: reg })\n\n // If resources failed for the current page, reload.\n if (window.___failedResources) {\n console.log(`resources failed, SW updated - reloading`)\n window.location.reload()\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a \"Content is cached for offline use.\" message.\n console.log(`Content is now available offline!`)\n\n // Post to service worker that install is complete.\n // Delay to allow time for the event listener to be added --\n // otherwise fetch is called too soon and resources aren't cached.\n apiRunner(`onServiceWorkerInstalled`, { serviceWorker: reg })\n }\n break\n\n case `redundant`:\n console.error(`The installing service worker became redundant.`)\n apiRunner(`onServiceWorkerRedundant`, { serviceWorker: reg })\n break\n\n case `activated`:\n apiRunner(`onServiceWorkerActive`, { serviceWorker: reg })\n break\n }\n })\n })\n })\n .catch(function (e) {\n console.error(`Error during service worker registration:`, e)\n })\n}\n","import React from \"react\"\n\nconst SlicesResultsContext = React.createContext({})\nconst SlicesContext = React.createContext({})\nconst SlicesMapContext = React.createContext({})\nconst SlicesPropsContext = React.createContext({})\n\nexport {\n SlicesResultsContext,\n SlicesContext,\n SlicesMapContext,\n SlicesPropsContext,\n}\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport { createServerOrClientContext } from \"./context-utils\"\n\nconst StaticQueryContext = createServerOrClientContext(`StaticQuery`, {})\n\nfunction StaticQueryDataRenderer({ staticQueryData, data, query, render }) {\n const finalData = data\n ? data.data\n : staticQueryData[query] && staticQueryData[query].data\n\n return (\n \n {finalData && render(finalData)}\n {!finalData &&
Loading (StaticQuery)
}\n
\n )\n}\n\nlet warnedAboutStaticQuery = false\n\n// TODO(v6): Remove completely\nconst StaticQuery = props => {\n const { data, query, render, children } = props\n\n if (process.env.NODE_ENV === `development` && !warnedAboutStaticQuery) {\n console.warn(\n `The component is deprecated and will be removed in Gatsby v6. Use useStaticQuery instead. Refer to the migration guide for more information: https://gatsby.dev/migrating-4-to-5/#staticquery--is-deprecated`\n )\n warnedAboutStaticQuery = true\n }\n\n return (\n \n {staticQueryData => (\n \n )}\n \n )\n}\n\nStaticQuery.propTypes = {\n data: PropTypes.object,\n query: PropTypes.string.isRequired,\n render: PropTypes.func,\n children: PropTypes.func,\n}\n\nconst useStaticQuery = query => {\n if (\n typeof React.useContext !== `function` &&\n process.env.NODE_ENV === `development`\n ) {\n // TODO(v5): Remove since we require React >= 18\n throw new Error(\n `You're likely using a version of React that doesn't support Hooks\\n` +\n `Please update React and ReactDOM to 16.8.0 or later to use the useStaticQuery hook.`\n )\n }\n\n const context = React.useContext(StaticQueryContext)\n\n // query is a stringified number like `3303882` when wrapped with graphql, If a user forgets\n // to wrap the query in a grqphql, then casting it to a Number results in `NaN` allowing us to\n // catch the misuse of the API and give proper direction\n if (isNaN(Number(query))) {\n throw new Error(`useStaticQuery was called with a string but expects to be called using \\`graphql\\`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql\\`${query}\\`);\n`)\n }\n\n if (context[query]?.data) {\n return context[query].data\n } else {\n throw new Error(\n `The result of this StaticQuery could not be fetched.\\n\\n` +\n `This is likely a bug in Gatsby and if refreshing the page does not fix it, ` +\n `please open an issue in https://github.com/gatsbyjs/gatsby/issues`\n )\n }\n}\n\nexport { StaticQuery, StaticQueryContext, useStaticQuery }\n","import React from \"react\"\n\n// Ensure serverContext is not created more than once as React will throw when creating it more than once\n// https://github.com/facebook/react/blob/dd2d6522754f52c70d02c51db25eb7cbd5d1c8eb/packages/react/src/ReactServerContext.js#L101\nconst createServerContext = (name, defaultValue = null) => {\n /* eslint-disable no-undef */\n if (!globalThis.__SERVER_CONTEXT) {\n globalThis.__SERVER_CONTEXT = {}\n }\n\n if (!globalThis.__SERVER_CONTEXT[name]) {\n globalThis.__SERVER_CONTEXT[name] = React.createServerContext(\n name,\n defaultValue\n )\n }\n\n return globalThis.__SERVER_CONTEXT[name]\n}\n\nfunction createServerOrClientContext(name, defaultValue) {\n if (React.createServerContext) {\n return createServerContext(name, defaultValue)\n }\n\n return React.createContext(defaultValue)\n}\n\nexport { createServerOrClientContext }\n","/**\n * Remove a prefix from a string. Return the input string if the given prefix\n * isn't found.\n */\n\nexport default function stripPrefix(str, prefix = ``) {\n if (!prefix) {\n return str\n }\n\n if (str === prefix) {\n return `/`\n }\n\n if (str.startsWith(`${prefix}/`)) {\n return str.slice(prefix.length)\n }\n\n return str\n}\n","import React, { useEffect, useState } from \"react\"\nimport { css } from \"@emotion/react\"\nimport { i18n, getFilePath, getFragment } from \"../common\"\nimport { Link as GatsbyLink } from \"gatsby\"\n\nimport { getConfigAndConceptSchemes } from \"../hooks/configAndConceptSchemes\"\nimport { useSkoHubContext } from \"../context/Context\"\n\nconst getNestedItems = (item) => {\n let ids = [item.id]\n if (item.narrower) {\n item.narrower.forEach((narrower) => {\n ids = ids.concat(getNestedItems(narrower))\n })\n }\n return ids\n}\n\n/**\n * Building the tree view for the vocabs\n * @param {Array} items - list of concepts\n * @param {string} current - current concept id\n * @param {Object|null} queryFilter\n * @param {string} queryFilter.field\n * @param {Array} queryFilter.result\n * @param {RegExp|null} highlight - RegExp of the search term\n * @param {string} language\n * @returns\n */\nconst NestedList = ({\n items,\n current,\n queryFilter,\n highlight,\n language,\n topLevel = false,\n customDomain,\n}) => {\n const { config } = getConfigAndConceptSchemes()\n\n const style = css`\n list-style-type: none;\n padding: 0;\n word-wrap: break-word;\n position: relative;\n\n li {\n display: flex;\n margin-bottom: 0;\n\n & a {\n display: block;\n padding-bottom: 10px;\n }\n\n > button + div {\n margin-bottom: 10px;\n }\n\n > div {\n flex: 1;\n display: flex;\n flex-direction: column;\n }\n }\n\n &::before {\n content: \"\";\n position: absolute;\n height: 100%;\n background-color: ${config.colors.skoHubMiddleGrey};\n width: 1px;\n left: -16px;\n }\n\n .notation {\n font-weight: bold;\n }\n\n span {\n word-break: normal;\n }\n\n span > strong {\n display: inline-flex;\n color: ${config.colors.skoHubDarkColor};\n }\n\n .treeItemIcon {\n display: inline-flex;\n border-radius: 50%;\n width: 20px;\n height: 20px;\n margin-right: 5px;\n font-weight: bold;\n position: relative;\n top: -1px;\n\n &:before {\n content: \"\";\n background-color: ${config.colors.skoHubDarkColor};\n position: absolute;\n width: 60%;\n height: 3px;\n left: 50%;\n top: 50%;\n transform: translateY(-50%) translateX(-50%);\n }\n\n &.collapsed {\n &:after {\n content: \"\";\n background-color: ${config.colors.skoHubDarkColor};\n position: absolute;\n width: 3px;\n height: 60%;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n }\n\n & + div > a + ul {\n display: none;\n }\n }\n }\n `\n const { data, _ } = useSkoHubContext()\n useEffect(() => {\n if (!language) {\n language = data.selectedLanguage\n }\n }, [data?.selectedLanguage])\n\n const filteredIds =\n queryFilter && queryFilter.length\n ? queryFilter.flatMap((f) => f.result)\n : []\n\n const getFilteredItems = () => {\n if (!queryFilter) {\n return items\n } else if (filteredIds.length) {\n return items.filter(\n (item) =>\n !queryFilter ||\n filteredIds.some((filter) => getNestedItems(item).includes(filter))\n )\n } else {\n return []\n }\n }\n\n const filteredItems = getFilteredItems()\n const t = i18n(language)\n\n const isExpanded = (item, truthy, falsy) => {\n return queryFilter || getNestedItems(item).some((id) => id === current)\n ? truthy\n : falsy\n }\n\n function associateLabelsByIds(queryFilter) {\n const labelsByIds = {}\n\n queryFilter &&\n queryFilter.forEach((item) => {\n item.result.forEach((id) => {\n if (!labelsByIds[id]) {\n labelsByIds[id] = []\n }\n if (item.field !== \"prefLabel\") labelsByIds[id].push(item.field)\n })\n })\n return labelsByIds\n }\n const labelsByIds = associateLabelsByIds(queryFilter)\n\n const capitalize = (word) => {\n return word.charAt(0).toUpperCase() + word.slice(1)\n }\n\n const renderItemLink = (item) => {\n // checks if current item is a hash-uri */\n // Gatsby Link Component can't handle hash URIs so we use an anchor-tag instead\n const LinkTag = getFragment(item.id) ? \"a\" : GatsbyLink\n\n const notation = item.notation && (\n {item.notation.join(\",\")} \n )\n const renderPrefLabel = () => {\n // Function for handling highlighting\n function handleHighlight(text, highlight) {\n text = item.deprecated\n ? `(DEPRECATED) ${text}`\n : text\n if (highlight) {\n return text.replace(highlight, (str) => `${str}`)\n } else {\n return text\n }\n }\n const matchingLabels = labelsByIds[item.id]\n\n const matchHint = () => {\n const hints = []\n const testLabelAndPush = (label, labelAttribute) => {\n if (highlight.test(label)) {\n hints.push(\n `${capitalize(labelAttribute)}: ${handleHighlight(\n label,\n highlight\n )}`\n )\n }\n }\n\n matchingLabels.forEach((labelAttribute) => {\n // for attributes that are languageMapsArrays, e.g. skos:altLabel\n if (Array.isArray(item[labelAttribute][language])) {\n item[labelAttribute][language].forEach((label) =>\n testLabelAndPush(label, labelAttribute)\n )\n // for attributes that are arrays, e.g. skos:notation\n } else if (Array.isArray(item[labelAttribute])) {\n item[labelAttribute].forEach((label) =>\n testLabelAndPush(label, labelAttribute)\n )\n // for attributes that are LanguageMaps, e.g. skos:definition\n } else {\n testLabelAndPush(item[labelAttribute][language], labelAttribute)\n }\n })\n return hints\n }\n matchingLabels && matchHint()\n // Function for rendering HTML\n function renderHtml(text) {\n // add info about other matching labels\n // if its not the prefLabel that matches\n return matchingLabels?.length ? (\n <>\n \n (\n \n )\n \n ) : (\n <>\n \n \n )\n }\n\n // give a warning if no prefLabel in selected language is provided\n if (!t(item.prefLabel)) {\n return (\n \n No label for language \"{language}\" provided\n \n )\n } else {\n const htmlText = handleHighlight(t(item.prefLabel), highlight)\n return renderHtml(htmlText)\n }\n }\n const children = (\n <>\n {notation}\n {renderPrefLabel()}\n \n )\n const Link = React.createElement(\n LinkTag,\n {\n className: item.id === current ? \"current\" : \"\",\n \"aria-current\": item.id === current ? \"true\" : \"false\",\n ...(LinkTag === \"a\"\n ? { href: getFragment(item.id) }\n : { to: getFilePath(item.id, `html`, customDomain) }),\n },\n children\n )\n return Link\n }\n\n // only return nothing found for topLevel nestedList\n if (!filteredItems.length && topLevel) return

Nothing found!

\n\n return (\n
    \n {(filteredItems || []).map((item) => (\n
  • \n {item.narrower && item.narrower.length > 0 && (\n {\n e.target.classList.toggle(\"collapsed\")\n e.target.setAttribute(\n \"aria-expanded\",\n e.target.classList.contains(\"collapsed\") ? \"false\" : \"true\"\n )\n }}\n >\n )}\n
    \n {renderItemLink(item)}\n {item.narrower && item.narrower.length > 0 && (\n \n )}\n
    \n
  • \n ))}\n
\n )\n}\n\nexport default NestedList\n","import { css } from \"@emotion/react\"\n\nconst style = css`\n display: flex;\n margin-bottom: 10px;\n\n input[type=\"button\"] {\n flex: 1;\n padding: 5px 10px;\n\n &:first-of-type {\n margin-right: 10px;\n }\n }\n`\n\nconst TreeControls = () => (\n
\n {\n ;[...document.querySelectorAll(\".treeItemIcon\")].forEach((el) => {\n el.classList.add(\"collapsed\")\n el.setAttribute(\"aria-expanded\", false)\n })\n }}\n />\n {\n ;[...document.querySelectorAll(\".collapsed\")].forEach((el) => {\n el.classList.remove(\"collapsed\")\n el.setAttribute(\"aria-expanded\", true)\n })\n }}\n />\n
\n)\n\nexport default TreeControls\n","const GearIcon = () => (\n \n \n \n \n)\n\nexport default GearIcon\n","import { useEffect, useRef } from \"react\"\nimport { css } from \"@emotion/react\"\n\nfunction isMarginClick(element, event) {\n var width = element.offsetWidth\n var height = element.offsetHeight\n var x = parseFloat(event.offsetX)\n var y = parseFloat(event.offsetY)\n\n return x < 0 || x > width || y < 0 || y > height\n}\n\nfunction useOnClickOutside(ref, handler) {\n useEffect(() => {\n const listener = (event) => {\n // a dialog puts a big margin around itself\n // do nothing if it is not a margin click\n if (!isMarginClick(event.target, event)) {\n return\n }\n handler(event)\n }\n document.addEventListener(\"mousedown\", listener)\n document.addEventListener(\"touchstart\", listener)\n return () => {\n document.removeEventListener(\"mousedown\", listener)\n document.removeEventListener(\"touchstart\", listener)\n }\n }, [ref, handler])\n}\n\nconst Modal = ({ openModal, closeModal, id, children }) => {\n const style = css`\n dialog {\n border: none;\n border-radius: 10px;\n `\n\n const ref = useRef()\n\n useEffect(() => {\n if (openModal) {\n ref.current?.showModal()\n } else {\n ref.current?.close()\n }\n }, [openModal])\n\n useOnClickOutside(ref, closeModal)\n\n return (\n
\n \n {children}\n
\n \n
\n
\n )\n}\n\nexport default Modal\n","import { css } from \"@emotion/react\"\nimport { getConfigAndConceptSchemes } from \"../hooks/configAndConceptSchemes\"\n\nfunction UnderlinedText(props) {\n return {props.children}\n}\n\nconst LabelFilter = ({ labels, toggleClick }) => {\n const { config } = getConfigAndConceptSchemes()\n const style = css`\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n gap: 2px 30px;\n padding: 2px;\n\n .slider-wrapper {\n display: flex;\n align-items: center;\n }\n /* The switch - the box around the slider */\n .switch {\n position: relative;\n display: block;\n width: 2.5rem;\n height: 1.5rem;\n margin: 0 0.5rem 0 0;\n }\n\n /* Hide default HTML checkbox */\n .switch input {\n opacity: 0;\n width: 0;\n height: 0;\n }\n\n /* The slider */\n .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 .slider:before {\n position: absolute;\n content: \"\";\n height: 1rem;\n width: 1rem;\n left: 4px;\n bottom: 4px;\n background-color: white;\n -webkit-transition: 0.4s;\n transition: 0.4s;\n }\n\n input:checked + .slider {\n background-color: ${config.colors.skoHubMiddleColor};\n }\n\n input:focus + .slider {\n box-shadow: 0 0 1px ${config.colors.skoHubMiddleColor};\n }\n\n input:checked + .slider:before {\n -webkit-transform: translateX(1rem);\n -ms-transform: translateX(1rem);\n transform: translateX(1rem);\n }\n\n /* Rounded sliders */\n .slider.round {\n border-radius: 1.5rem;\n }\n\n .slider.round:before {\n border-radius: 50%;\n }\n `\n const handleClick = (e) => {\n toggleClick(e)\n }\n const labelBoxes = Object.entries(labels).map((label) => (\n
\n \n {label[0][0]}\n {label[0].slice(1)}\n
\n ))\n\n return
{labelBoxes}
\n}\n\nexport default LabelFilter\n","import React, { useState } from \"react\"\nimport { css } from \"@emotion/react\"\nimport GearIcon from \"../icons/Gear\"\nimport Modal from \"./Modal\"\nimport LabelFilter from \"../components/LabelFilter\"\n\nconst Search = ({ handleQueryInput, labels, onLabelClick }) => {\n const style = css`\n .search {\n display: flex;\n align-items: center;\n margin-bottom: 10px;\n\n input[type=\"text\"] {\n width: 100%;\n padding: 10px;\n margin-right: 10px;\n }\n button {\n border: none;\n background: transparent;\n cursor: pointer;\n }\n dialog {\n button.close {\n background: lightgrey;\n border-width: 2px;\n border-radius: 10px;\n padding: 5px 15px;\n margin: 5px;\n }\n }\n }\n `\n const [modal, setModal] = useState(false)\n\n return (\n
\n
\n \n \n setModal(false)}\n id=\"settingsModal\"\n >\n

Which fields do you want to include in the search?

\n \n \n
\n
\n )\n}\n\nexport default Search\n","import { css } from \"@emotion/react\"\n\nexport const conceptStyle = (colors) => css`\n display: flex;\n height: 100%;\n\n @media only screen and (max-width: 800px) {\n display: block;\n flex-direction: column;\n height: auto;\n }\n\n a.current {\n color: ${colors.skoHubMiddleColor};\n font-weight: 700;\n }\n\n .block {\n background-color: ${colors.skoHubWhite};\n box-shadow: 0px 10px 20px ${colors.skoHubMiddleGrey};\n padding: 30px;\n border-radius: 30px;\n\n @media only screen and (max-width: 1024px) {\n padding: 15px;\n }\n }\n\n .concepts {\n overflow: auto;\n }\n\n .nav-block {\n flex: 1;\n\n @media only screen and (max-width: 800px) {\n display: block;\n height: 45vh;\n padding: 15px 15px 30px 15px;\n width: 100%;\n }\n }\n\n .main-block {\n flex: 2;\n\n @media only screen and (max-width: 800px) {\n display: block;\n width: 100%;\n }\n }\n\n & > nav {\n display: flex;\n flex-direction: column;\n overflow: auto;\n\n & > ul {\n overflow: auto;\n margin: 0;\n padding: 10px;\n height: 100%;\n\n @media only screen and (max-width: 800px) {\n overflow: visible;\n height: auto;\n }\n }\n\n & > ul:before {\n content: none;\n }\n }\n\n .content {\n position: relative;\n overflow: auto;\n margin-left: 20px;\n\n @media only screen and (max-width: 800px) {\n margin: 20px 0 0 0;\n }\n\n button {\n padding: 10px 20px;\n }\n\n .json-png {\n position: absolute;\n right: 30px;\n top: 30px;\n\n @media only screen and (max-width: 1024px) {\n position: relative;\n left: 0;\n right: 0;\n top: 0;\n }\n }\n\n h1 {\n margin: 0;\n padding: 0 0 15px 0;\n font-size: 30px;\n line-height: 32px;\n font-weight: 700;\n\n @media only screen and (max-width: 800px) {\n font-size: 24px;\n line-height: 26px;\n }\n }\n\n h2 {\n margin: 0;\n padding: 0 0 0 0;\n font-size: 24px;\n line-height: 28px;\n font-weight: 700;\n\n @media only screen and (max-width: 800px) {\n font-size: 20px;\n line-height: 26px;\n }\n }\n\n a {\n color: ${colors.skoHubAction};\n text-decoration: underline;\n\n &:hover {\n color: ${colors.skoHubMiddleColor};\n }\n }\n }\n\n .markdown {\n padding-top: 10px;\n }\n\n .conceptURI {\n display: flex;\n flex-direction: row;\n align-items: center;\n\n button {\n border: 2px solid transparent;\n border-radius: 5px;\n padding: 5px;\n margin: 5px;\n background-color: transparent;\n cursor: pointer;\n }\n button:hover {\n border: 2px solid ${colors.skoHubMiddleColor};\n }\n }\n /* Tooltip container */\n .tooltip {\n position: relative;\n display: inline-block;\n }\n\n /* Tooltip text */\n .tooltip .tooltiptext {\n visibility: hidden;\n width: 120px;\n background-color: #555;\n color: #fff;\n text-align: center;\n padding: 5px 0;\n border-radius: 6px;\n\n /* Position the tooltip text */\n position: absolute;\n z-index: 1;\n bottom: 125%;\n left: 50%;\n margin-left: -60px;\n\n /* Fade in tooltip */\n opacity: 0;\n transition: opacity 0.3s;\n }\n\n /* Tooltip arrow */\n .tooltip .tooltiptext::after {\n content: \"\";\n position: absolute;\n top: 100%;\n left: 50%;\n margin-left: -5px;\n border-width: 5px;\n border-style: solid;\n border-color: #555 transparent transparent transparent;\n }\n\n /* Show the tooltip text when you mouse over the tooltip container */\n .tooltip:hover .tooltiptext {\n visibility: visible;\n opacity: 1;\n }\n`\n\nexport default conceptStyle\n","import{SUPPORT_ASYNC,SUPPORT_CACHE,SUPPORT_SERIALIZE,SUPPORT_STORE,SUPPORT_TAGS,SUPPORT_WORKER}from\"./config.js\";import Index from\"./index.js\";import{DocumentInterface}from\"./type.js\";import Cache,{searchCache}from\"./cache.js\";import{create_object,is_array,is_string,is_object,parse_option,get_keys}from\"./common.js\";import apply_async from\"./async.js\";import{intersect,intersect_union}from\"./intersect.js\";import{exportDocument,importDocument}from\"./serialize.js\";import WorkerIndex from\"./worker/index.js\";function Document(a){if(!(this instanceof Document))return new Document(a);const b=a.document||a.doc||a;let c;this.tree=[],this.field=[],this.marker=[],this.register=create_object(),this.key=(c=b.key||b.id)&&parse_tree(c,this.marker)||\"id\",this.fastupdate=parse_option(a.fastupdate,!0),SUPPORT_STORE&&(this.storetree=(c=b.store)&&!0!==c&&[],this.store=c&&create_object()),SUPPORT_TAGS&&(this.tag=(c=b.tag)&&parse_tree(c,this.marker),this.tagindex=c&&create_object()),SUPPORT_CACHE&&(this.cache=(c=a.cache)&&new Cache(c),a.cache=!1),SUPPORT_WORKER&&(this.worker=a.worker),SUPPORT_ASYNC&&(this.async=!1),this.index=parse_descriptor.call(this,a,b)}export default Document;function parse_descriptor(a,b){const c=create_object();let d=b.index||b.field||b;is_string(d)&&(d=[d]);for(let e,f,g=0;gb||c)&&(e=e.slice(c,c+b)),d&&(e=apply_enrich.call(this,e)),{tag:a,result:e}}function apply_enrich(a){const b=Array(a.length);for(let c,d=0;d {\n const { data, updateState } = useSkoHubContext()\n const { config, conceptSchemes } = getConfigAndConceptSchemes()\n const style = conceptStyle(config.colors)\n const [index, setIndex] = useState({})\n const [query, setQuery] = useState(null)\n const [tree, setTree] = useState(\n pageContext.node.type === \"ConceptScheme\" ? pageContext.node : null\n )\n let showTreeControls = false\n\n const [labels, setLabels] = useState(\n Object.fromEntries(\n config.searchableAttributes.map((attr) => [\n attr,\n attr === \"prefLabel\" ? true : false,\n ])\n )\n )\n\n handleKeypresses(labels, setLabels)\n\n if (!showTreeControls && tree && tree.hasTopConcept) {\n for (const topConcept of tree.hasTopConcept) {\n if (topConcept.narrower?.length > 0) {\n showTreeControls = true\n break\n }\n }\n }\n\n const [language, setLanguage] = useState(\"\")\n const [currentScheme, setCurrentScheme] = useState(null)\n\n // get current scheme\n useEffect(() => {\n const fetchConceptSchemeForCollection = async (collection) => {\n for (const member of collection.member) {\n const path = replaceFilePathInUrl(\n location.pathname,\n member.id,\n \"json\",\n config.customDomain\n )\n const res = await (await fetch(path)).json()\n const cs = res.inScheme[0]\n if (res.type === \"Concept\") {\n return cs\n }\n }\n }\n\n const getCurrentScheme = async () => {\n if (pageContext.node.type === \"ConceptScheme\")\n setCurrentScheme(pageContext.node)\n else if (pageContext.node.type === \"Concept\")\n setCurrentScheme(pageContext.node.inScheme[0])\n else if (pageContext.node.type === \"Collection\") {\n const cs = await fetchConceptSchemeForCollection(pageContext.node)\n setCurrentScheme(cs)\n } else return {}\n }\n getCurrentScheme()\n }, [])\n\n // set language stuff\n useEffect(() => {\n if (currentScheme) {\n const languageFromUrl = getLanguageFromUrl(location)\n\n if (languageFromUrl && !data.selectedLanguage) {\n const userLang = getUserLang({\n availableLanguages: conceptSchemes[currentScheme.id].languages,\n selectedLanguage: languageFromUrl,\n })\n setLanguage(userLang)\n updateState({\n ...data,\n currentScheme,\n indexPage: false,\n selectedLanguage: userLang,\n availableLanguages: conceptSchemes[currentScheme.id].languages,\n })\n } else {\n const userLang = getUserLang({\n availableLanguages: conceptSchemes[currentScheme.id].languages,\n selectedLanguage: data?.selectedLanguage || null,\n })\n setLanguage(userLang)\n updateState({\n ...data,\n currentScheme,\n indexPage: false,\n selectedLanguage: userLang,\n availableLanguages: conceptSchemes[currentScheme.id].languages,\n })\n }\n }\n }, [data?.languages, data?.selectedLanguage, currentScheme])\n\n // useEffect(() => {\n // data?.conceptSchemeLanguages && setLanguage(data.selectedLanguage)\n // }, [data?.selectedLanguage])\n\n // Fetch and load the serialized index\n useEffect(() => {\n importIndex(\n data?.currentScheme?.id,\n labels,\n data.selectedLanguage,\n setIndex,\n config\n )\n }, [data, language, labels])\n\n // Fetch and load the tree\n useEffect(() => {\n data?.currentScheme?.id &&\n // if node.type would be concept scheme the tree would already have been set\n pageContext.node.type !== \"ConceptScheme\" &&\n fetch(\n withPrefix(\n getFilePath(data?.currentScheme?.id, \"json\", config.customDomain)\n )\n )\n .then((response) => response.json())\n .then((tree) => setTree(tree))\n }, [data, pageContext.node.type])\n\n // Scroll current item into view\n useEffect(() => {\n const current = document.querySelector(\".current\")\n current &&\n current.scrollIntoView({\n behavior: \"smooth\",\n block: \"center\",\n inline: \"nearest\",\n })\n })\n const toggleClick = (e) => setLabels({ ...labels, [e]: !labels[e] })\n const title =\n pageContext.node?.prefLabel ||\n pageContext.node?.title ||\n pageContext.node?.dc_title\n\n return (\n \n \n
\n \n
{children}
\n
\n
\n )\n}\n\nexport default App\n","import { useEffect } from \"react\"\nimport Document from \"flexsearch/dist/module/document.js\"\nimport { getFilePath } from \"../common\"\nimport { withPrefix } from \"gatsby\"\n\nexport const handleKeypresses = (labels, setLabels) => {\n useEffect(() => {\n function handleKeyDown(e) {\n // ctrl + k\n if (e.ctrlKey && e.which === 75) {\n e.preventDefault()\n // Get the reference to the input element\n const inputElement = document.getElementById(\"searchInput\")\n // Set the focus on the input element\n inputElement.focus()\n // alt + p\n } else if (e.altKey && e.which === 80) {\n e.preventDefault()\n Object.keys(labels).includes(\"prefLabel\") &&\n setLabels({ ...labels, [\"prefLabel\"]: !labels[\"prefLabel\"] })\n // alt + n\n } else if (e.altKey && e.which === 78) {\n e.preventDefault()\n Object.keys(labels).includes(\"notation\") &&\n setLabels({ ...labels, [\"notation\"]: !labels[\"notation\"] })\n // alt + a\n } else if (e.altKey && e.which === 65) {\n e.preventDefault()\n Object.keys(labels).includes(\"altLabel\") &&\n setLabels({ ...labels, [\"altLabel\"]: !labels[\"altLabel\"] })\n // alt + d\n } else if (e.altKey && e.which === 68) {\n e.preventDefault()\n Object.keys(labels).includes(\"definition\") &&\n setLabels({ ...labels, [\"definition\"]: !labels[\"definition\"] })\n // alt + e\n } else if (e.altKey && e.which === 69) {\n e.preventDefault()\n Object.keys(labels).includes(\"example\") &&\n setLabels({ ...labels, [\"example\"]: !labels[\"example\"] })\n // alt + h\n } else if (e.altKey && e.which === 72) {\n e.preventDefault()\n Object.keys(labels).includes(\"hiddenLabel\") &&\n setLabels({ ...labels, [\"hiddenLabel\"]: !labels[\"hiddenLabel\"] })\n } else if (e.altKey && e.which === 83) {\n e.preventDefault()\n Object.keys(labels).includes(\"scopeNote\") &&\n setLabels({ ...labels, [\"scopeNote\"]: !labels[\"scopeNote\"] })\n }\n }\n document.addEventListener(\"keydown\", handleKeyDown)\n // Don't forget to clean up\n return function cleanup() {\n document.removeEventListener(\"keydown\", handleKeyDown)\n }\n })\n}\n\nexport const importIndex = async (\n conceptSchemeId,\n labels,\n language,\n setIndex,\n config\n) => {\n if (!conceptSchemeId) return\n const idx = new Document({\n tokenize: \"full\",\n charset: \"latin\",\n id: \"id\",\n document: {\n id: \"id\",\n // store: [\"prefLabel\", \"altLabel\"], /* not working flexsearchside */\n index: [...config.searchableAttributes],\n },\n })\n // filter from labels object the selected entries\n // and append the needed keys\n // add reg, which is not specific to a key\n const keys = Object.entries(labels)\n .filter((label) => label[1] === true)\n .flatMap((label) => [\n `${label[0]}.cfg`,\n `${label[0]}.ctx`,\n `${label[0]}.map`,\n `${label[0]}.store` /* might be useful later, when importing with stores works in flexsearch */,\n `${label[0]}.tag`,\n ])\n .concat([\"reg\"])\n for (let i = 0, key; i < keys.length; i += 1) {\n key = keys[i]\n let data\n try {\n const path =\n getFilePath(conceptSchemeId) + `-cs/search/${language}/${key}`\n data = await fetch(\n withPrefix(getFilePath(path, `json`, config.customDomain))\n )\n const jsonData = await data.json()\n idx.import(key, jsonData ?? null)\n } catch (e) {\n // console.log(e)\n }\n }\n setIndex(idx)\n}\n","/**\n * Implement Gatsby's Browser APIs in this file.\n *\n * See: https://www.gatsbyjs.org/docs/browser-apis/\n */\n\nimport React from \"react\"\nimport App from \"./src/templates/App\"\nimport { ContextProvider } from \"./src/context/Context\"\n\nexport const wrapRootElement = ({ element }) => (\n {element}\n)\n\n// if the pageContext contains node data, e.g. it's a concept scheme,\n// concept or collection it gets wrapped in the App component\n// otherwise the present page is delivered (in our case the index page)\nexport const wrapPageElement = ({ element, props }) => {\n return props.pageContext.node ? {element} : element\n}\n","const getLocation = source => {\n const { search, hash, href, origin, protocol, host, hostname, port } =\n source.location\n let { pathname } = source.location\n\n if (!pathname && href && canUseDOM) {\n const url = new URL(href)\n pathname = url.pathname\n }\n\n return {\n pathname: encodeURI(decodeURI(pathname)),\n search,\n hash,\n href,\n origin,\n protocol,\n host,\n hostname,\n port,\n state: source.history.state,\n key: (source.history.state && source.history.state.key) || \"initial\",\n }\n}\n\nconst createHistory = (source, options) => {\n let listeners = []\n let location = getLocation(source)\n let transitioning = false\n let resolveTransition = () => {}\n\n return {\n get location() {\n return location\n },\n\n get transitioning() {\n return transitioning\n },\n\n _onTransitionComplete() {\n transitioning = false\n resolveTransition()\n },\n\n listen(listener) {\n listeners.push(listener)\n\n const popstateListener = () => {\n location = getLocation(source)\n listener({ location, action: \"POP\" })\n }\n\n source.addEventListener(\"popstate\", popstateListener)\n\n return () => {\n source.removeEventListener(\"popstate\", popstateListener)\n listeners = listeners.filter(fn => fn !== listener)\n }\n },\n\n navigate(to, { state, replace = false } = {}) {\n if (typeof to === \"number\") {\n source.history.go(to)\n } else {\n state = { ...state, key: Date.now() + \"\" }\n // try...catch iOS Safari limits to 100 pushState calls\n try {\n if (transitioning || replace) {\n source.history.replaceState(state, null, to)\n } else {\n source.history.pushState(state, null, to)\n }\n } catch (e) {\n source.location[replace ? \"replace\" : \"assign\"](to)\n }\n }\n\n location = getLocation(source)\n transitioning = true\n const transition = new Promise(res => (resolveTransition = res))\n listeners.forEach(listener => listener({ location, action: \"PUSH\" }))\n return transition\n },\n }\n}\n\n// Stores history entries in memory for testing or other platforms like Native\nconst createMemorySource = (initialPath = \"/\") => {\n const searchIndex = initialPath.indexOf(\"?\")\n const initialLocation = {\n pathname:\n searchIndex > -1 ? initialPath.substr(0, searchIndex) : initialPath,\n search: searchIndex > -1 ? initialPath.substr(searchIndex) : \"\",\n }\n let index = 0\n const stack = [initialLocation]\n const states = [null]\n\n return {\n get location() {\n return stack[index]\n },\n addEventListener(name, fn) {},\n removeEventListener(name, fn) {},\n history: {\n get entries() {\n return stack\n },\n get index() {\n return index\n },\n get state() {\n return states[index]\n },\n pushState(state, _, uri) {\n const [pathname, search = \"\"] = uri.split(\"?\")\n index++\n stack.push({ pathname, search: search.length ? `?${search}` : search })\n states.push(state)\n },\n replaceState(state, _, uri) {\n const [pathname, search = \"\"] = uri.split(\"?\")\n stack[index] = { pathname, search }\n states[index] = state\n },\n go(to) {\n const newIndex = index + to\n\n if (newIndex < 0 || newIndex > states.length - 1) {\n return\n }\n\n index = newIndex\n },\n },\n }\n}\n\n// global history - uses window.history as the source if available, otherwise a\n// memory history\nconst canUseDOM = !!(\n typeof window !== \"undefined\" &&\n window.document &&\n window.document.createElement\n)\nconst getSource = () => {\n return canUseDOM ? window : createMemorySource()\n}\n\nconst globalSource = getSource()\nconst globalHistory = createHistory(globalSource)\nconst { navigate } = globalHistory\n\nexport { globalHistory, navigate, createHistory, createMemorySource }\n","/* eslint-disable no-undef */\n\nimport React from \"react\"\n\nconst createServerContext = (name, defaultValue = null) => {\n if (!globalThis.__SERVER_CONTEXT) {\n globalThis.__SERVER_CONTEXT = {}\n }\n\n if (!globalThis.__SERVER_CONTEXT[name]) {\n globalThis.__SERVER_CONTEXT[name] = React.createServerContext(\n name,\n defaultValue\n )\n }\n\n return globalThis.__SERVER_CONTEXT[name]\n}\n\nfunction createServerOrClientContext(name, defaultValue) {\n if (React.createServerContext) {\n return createServerContext(name, defaultValue)\n }\n\n return React.createContext(defaultValue)\n}\n\nexport const BaseContext = createServerOrClientContext(\"Base\", {\n baseuri: \"/\",\n basepath: \"/\",\n})\nexport const LocationContext = createServerOrClientContext(\"Location\")\n","import * as React from \"react\"\nimport { BaseContext, LocationContext } from \"./hooks-create-context\"\n\nexport const useBaseContext = () => React.useContext(BaseContext)\nexport const useLocationContext = () => React.useContext(LocationContext)\n","import * as React from \"react\"\nimport PropTypes from \"prop-types\"\nimport { navigate } from \"./history\"\nimport { resolve, insertParams } from \"./utils\"\nimport { useBaseContext, useLocationContext } from \"./hooks-use-context\"\n\nfunction RedirectRequest(uri) {\n this.uri = uri\n}\n\nconst isRedirect = o => o instanceof RedirectRequest\n\nconst redirectTo = to => {\n throw new RedirectRequest(to)\n}\n\nfunction RedirectImpl(props) {\n const { to, replace = true, state, noThrow, baseuri } = props\n\n React.useEffect(() => {\n Promise.resolve().then(() => {\n const resolvedTo = resolve(to, baseuri)\n navigate(insertParams(resolvedTo, props), { replace, state })\n })\n }, [])\n\n const resolvedTo = resolve(to, baseuri)\n\n if (!noThrow) {\n redirectTo(insertParams(resolvedTo, props))\n }\n\n return null\n}\n\nconst Redirect = props => {\n const locationContext = useLocationContext()\n const { baseuri } = useBaseContext()\n\n return \n}\n\nRedirect.propTypes = {\n from: PropTypes.string,\n to: PropTypes.string.isRequired,\n}\n\nexport { Redirect, isRedirect, redirectTo }\n","import * as React from \"react\"\nimport invariant from \"invariant\"\nimport { Redirect } from \"./redirect\"\n\n/**\n * startsWith(string, search) - Check if `string` starts with `search`\n */\nconst startsWith = (string, search) => {\n return string.substr(0, search.length) === search\n}\n\n/**\n * pick(routes, uri)\n\n Ranks and picks the best route to match. Each segment gets the highest\n amount of points, then the type of segment gets an additional amount of\n points where\n\n static > dynamic > splat > root\n\n This way we don't have to worry about the order of our routes, let the\n computers do it.\n\n A route looks like this\n\n { path, default, value }\n\n And a returned match looks like:\n\n { route, params, uri }\n\n I know, I should use TypeScript not comments for these types. \n */\nconst pick = (routes, uri) => {\n let match\n let default_\n\n const [uriPathname] = uri.split(\"?\")\n const uriSegments = segmentize(uriPathname)\n const isRootUri = uriSegments[0] === \"\"\n const ranked = rankRoutes(routes)\n\n for (let i = 0, l = ranked.length; i < l; i++) {\n let missed = false\n const route = ranked[i].route\n\n if (route.default) {\n default_ = {\n route,\n params: {},\n uri,\n }\n continue\n }\n\n const routeSegments = segmentize(route.path)\n const params = {}\n const max = Math.max(uriSegments.length, routeSegments.length)\n let index = 0\n\n for (; index < max; index++) {\n const routeSegment = routeSegments[index]\n const uriSegment = uriSegments[index]\n\n if (isSplat(routeSegment)) {\n // Hit a splat, just grab the rest, and return a match\n // uri: /files/documents/work\n // route: /files/*\n const param = routeSegment.slice(1) || \"*\"\n params[param] = uriSegments\n .slice(index)\n .map(decodeURIComponent)\n .join(\"/\")\n break\n }\n\n if (uriSegment === undefined) {\n // URI is shorter than the route, no match\n // uri: /users\n // route: /users/:userId\n missed = true\n break\n }\n\n const dynamicMatch = paramRe.exec(routeSegment)\n\n if (dynamicMatch && !isRootUri) {\n const matchIsNotReserved = reservedNames.indexOf(dynamicMatch[1]) === -1\n invariant(\n matchIsNotReserved,\n ` dynamic segment \"${dynamicMatch[1]}\" is a reserved name. Please use a different name in path \"${route.path}\".`\n )\n const value = decodeURIComponent(uriSegment)\n params[dynamicMatch[1]] = value\n } else if (routeSegment !== uriSegment) {\n // Current segments don't match, not dynamic, not splat, so no match\n // uri: /users/123/settings\n // route: /users/:id/profile\n missed = true\n break\n }\n }\n\n if (!missed) {\n match = {\n route,\n params,\n uri: \"/\" + uriSegments.slice(0, index).join(\"/\"),\n }\n break\n }\n }\n\n return match || default_ || null\n}\n\n/**\n * match(path, uri) - Matches just one path to a uri, also lol\n */\nconst match = (path, uri) => pick([{ path }], uri)\n\n/**\n * resolve(to, basepath)\n\n Resolves URIs as though every path is a directory, no files. Relative URIs\n in the browser can feel awkward because not only can you be \"in a directory\"\n you can be \"at a file\", too. For example\n\n browserSpecResolve('foo', '/bar/') => /bar/foo\n browserSpecResolve('foo', '/bar') => /foo\n\n But on the command line of a file system, it's not as complicated, you can't\n `cd` from a file, only directories. This way, links have to know less about\n their current path. To go deeper you can do this:\n\n \n // instead of\n \n\n Just like `cd`, if you want to go deeper from the command line, you do this:\n\n cd deeper\n // not\n cd $(pwd)/deeper\n\n By treating every path as a directory, linking to relative paths should\n require less contextual information and (fingers crossed) be more intuitive.\n */\nconst resolve = (to, base) => {\n // /foo/bar, /baz/qux => /foo/bar\n if (startsWith(to, \"/\")) {\n return to\n }\n\n const [toPathname, toQuery] = to.split(\"?\")\n const [basePathname] = base.split(\"?\")\n\n const toSegments = segmentize(toPathname)\n const baseSegments = segmentize(basePathname)\n\n // ?a=b, /users?b=c => /users?a=b\n if (toSegments[0] === \"\") {\n return addQuery(basePathname, toQuery)\n }\n\n // profile, /users/789 => /users/789/profile\n if (!startsWith(toSegments[0], \".\")) {\n const pathname = baseSegments.concat(toSegments).join(\"/\")\n return addQuery((basePathname === \"/\" ? \"\" : \"/\") + pathname, toQuery)\n }\n\n // ./ /users/123 => /users/123\n // ../ /users/123 => /users\n // ../.. /users/123 => /\n // ../../one /a/b/c/d => /a/b/one\n // .././one /a/b/c/d => /a/b/c/one\n const allSegments = baseSegments.concat(toSegments)\n const segments = []\n for (let i = 0, l = allSegments.length; i < l; i++) {\n const segment = allSegments[i]\n if (segment === \"..\") segments.pop()\n else if (segment !== \".\") segments.push(segment)\n }\n\n return addQuery(\"/\" + segments.join(\"/\"), toQuery)\n}\n\nconst insertParams = (path, params) => {\n const [pathBase, query = \"\"] = path.split(\"?\")\n const segments = segmentize(pathBase)\n let constructedPath =\n \"/\" +\n segments\n .map(segment => {\n const match = paramRe.exec(segment)\n return match ? params[match[1]] : segment\n })\n .join(\"/\")\n const { location: { search = \"\" } = {} } = params\n const searchSplit = search.split(\"?\")[1] || \"\"\n constructedPath = addQuery(constructedPath, query, searchSplit)\n return constructedPath\n}\n\nconst validateRedirect = (from, to) => {\n const filter = segment => isDynamic(segment)\n const fromString = segmentize(from).filter(filter).sort().join(\"/\")\n const toString = segmentize(to).filter(filter).sort().join(\"/\")\n return fromString === toString\n}\n\nconst paramRe = /^:(.+)/\n\nconst SEGMENT_POINTS = 4\nconst STATIC_POINTS = 3\nconst DYNAMIC_POINTS = 2\nconst SPLAT_PENALTY = 1\nconst ROOT_POINTS = 1\n\nconst isRootSegment = segment => segment === \"\"\nconst isDynamic = segment => paramRe.test(segment)\nconst isSplat = segment => segment && segment[0] === \"*\"\n\nconst rankRoute = (route, index) => {\n const score = route.default\n ? 0\n : segmentize(route.path).reduce((score, segment) => {\n score += SEGMENT_POINTS\n if (isRootSegment(segment)) score += ROOT_POINTS\n else if (isDynamic(segment)) score += DYNAMIC_POINTS\n else if (isSplat(segment)) score -= SEGMENT_POINTS + SPLAT_PENALTY\n else score += STATIC_POINTS\n return score\n }, 0)\n return { route, score, index }\n}\n\nconst rankRoutes = routes =>\n routes\n .map(rankRoute)\n .sort((a, b) =>\n a.score < b.score ? 1 : a.score > b.score ? -1 : a.index - b.index\n )\n\nconst segmentize = uri =>\n uri\n // strip starting/ending slashes\n .replace(/(^\\/+|\\/+$)/g, \"\")\n .split(\"/\")\n\nconst addQuery = (pathname, ...query) => {\n query = query.filter(q => q && q.length > 0)\n return pathname + (query && query.length > 0 ? `?${query.join(\"&\")}` : \"\")\n}\n\nconst reservedNames = [\"uri\", \"path\"]\n\n/**\n * Shallow compares two objects.\n * @param {Object} obj1 The first object to compare.\n * @param {Object} obj2 The second object to compare.\n */\nconst shallowCompare = (obj1, obj2) => {\n const obj1Keys = Object.keys(obj1)\n return (\n obj1Keys.length === Object.keys(obj2).length &&\n obj1Keys.every(key => obj2.hasOwnProperty(key) && obj1[key] === obj2[key])\n )\n}\n\nconst stripSlashes = str => str.replace(/(^\\/+|\\/+$)/g, \"\")\n\nconst createRoute = basepath => element => {\n if (!element) {\n return null\n }\n\n if (element.type === React.Fragment && element.props.children) {\n return React.Children.map(element.props.children, createRoute(basepath))\n }\n invariant(\n element.props.path || element.props.default || element.type === Redirect,\n `: Children of must have a \\`path\\` or \\`default\\` prop, or be a \\`\\`. None found on element type \\`${element.type}\\``\n )\n\n invariant(\n !(element.type === Redirect && (!element.props.from || !element.props.to)),\n ` requires both \"from\" and \"to\" props when inside a .`\n )\n\n invariant(\n !(\n element.type === Redirect &&\n !validateRedirect(element.props.from, element.props.to)\n ),\n ` has mismatched dynamic segments, ensure both paths have the exact same dynamic segments.`\n )\n\n if (element.props.default) {\n return { value: element, default: true }\n }\n\n const elementPath =\n element.type === Redirect ? element.props.from : element.props.path\n\n const path =\n elementPath === \"/\"\n ? basepath\n : `${stripSlashes(basepath)}/${stripSlashes(elementPath)}`\n\n return {\n value: element,\n default: element.props.default,\n path: element.props.children ? `${stripSlashes(path)}/*` : path,\n }\n}\n\nconst shouldNavigate = event =>\n !event.defaultPrevented &&\n event.button === 0 &&\n !(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey)\n\nexport {\n startsWith,\n pick,\n match,\n resolve,\n insertParams,\n validateRedirect,\n shallowCompare,\n createRoute,\n shouldNavigate,\n}\n","/* eslint-disable jsx-a11y/anchor-has-content */\nimport * as React from \"react\"\nimport PropTypes from \"prop-types\"\nimport { navigate } from \"./history\"\nimport { resolve, startsWith, shouldNavigate, shallowCompare } from \"./utils\"\nimport { useBaseContext, useLocationContext } from \"./hooks-use-context\"\n\nlet { forwardRef } = React\n\nif (typeof forwardRef === \"undefined\") {\n forwardRef = C => C\n}\n\nconst k = () => {}\n\nexport const Link = forwardRef(({ innerRef, ...props }, ref) => {\n const { baseuri } = useBaseContext()\n const { location } = useLocationContext()\n\n const { to, state, replace, getProps = k, ...anchorProps } = props\n const href = resolve(to, baseuri)\n const encodedHref = encodeURI(href)\n const isCurrent = location.pathname === encodedHref\n const isPartiallyCurrent = startsWith(location.pathname, encodedHref)\n\n return (\n {\n if (anchorProps.onClick) anchorProps.onClick(event)\n if (shouldNavigate(event)) {\n event.preventDefault()\n let shouldReplace = replace\n if (typeof replace !== \"boolean\" && isCurrent) {\n const { key, ...restState } = { ...location.state }\n shouldReplace = shallowCompare({ ...state }, restState)\n }\n navigate(href, {\n state,\n replace: shouldReplace,\n })\n }\n }}\n />\n )\n})\n\nLink.displayName = \"Link\"\n\nLink.propTypes = {\n to: PropTypes.string.isRequired,\n}\n","// MIT LICENSE - Taken from: https://github.com/tatethurston/react-use-error-boundary/blob/525225a34d4ad50f52b5f5ac8731cdf6999cf8a8/src/index.tsx\n\nimport * as React from \"react\"\n\nclass ErrorBoundary extends React.Component {\n displayName = \"ReactUseErrorBoundary\"\n\n componentDidCatch(...args) {\n // silence React warning:\n // ErrorBoundary: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI\n this.setState({})\n this.props.onError(...args)\n }\n\n render() {\n return this.props.children\n }\n}\n\nconst noop = () => false\n\nconst errorBoundaryContext = React.createContext({\n componentDidCatch: { current: undefined },\n error: undefined,\n setError: noop,\n})\n\nexport function ErrorBoundaryContext({ children }) {\n const [error, setError] = React.useState()\n const componentDidCatch = React.useRef()\n const ctx = React.useMemo(\n () => ({\n componentDidCatch,\n error,\n setError,\n }),\n [error]\n )\n return (\n \n {\n setError(error)\n componentDidCatch.current?.(error, errorInfo)\n }}\n >\n {children}\n \n \n )\n}\nErrorBoundaryContext.displayName = \"ReactUseErrorBoundaryContext\"\n\nexport function withErrorBoundary(WrappedComponent) {\n function WithErrorBoundary(props) {\n return (\n \n \n \n )\n }\n WithErrorBoundary.displayName = `WithErrorBoundary(${\n WrappedComponent.displayName ?? WrappedComponent.name ?? \"Component\"\n })`\n\n return WithErrorBoundary\n}\n\nexport function useErrorBoundary(componentDidCatch) {\n const ctx = React.useContext(errorBoundaryContext)\n ctx.componentDidCatch.current = componentDidCatch\n const resetError = React.useCallback(() => {\n ctx.setError(undefined)\n }, [])\n\n return [ctx.error, resetError]\n}\n","import * as React from \"react\"\nimport { globalHistory, navigate } from \"./history\"\nimport { isRedirect } from \"./redirect\"\nimport { LocationContext } from \"./hooks-create-context\"\nimport { withErrorBoundary, useErrorBoundary } from \"./error-boundary\"\n\nexport const LocationProvider = withErrorBoundary(\n ({ history = globalHistory, children }) => {\n const { location } = history\n\n const [context, setContext] = React.useState({ location })\n const [error] = useErrorBoundary()\n\n React.useEffect(() => {\n history._onTransitionComplete()\n }, [context.location])\n\n React.useEffect(() => {\n let isCancelled = false\n const unlisten = history.listen(({ location }) => {\n Promise.resolve().then(() => {\n requestAnimationFrame(() => {\n if (!isCancelled) {\n setContext({ location })\n }\n })\n })\n })\n return () => {\n isCancelled = true\n unlisten()\n }\n }, [])\n\n if (error) {\n if (isRedirect(error)) {\n navigate(error.uri, { replace: true })\n } else {\n throw error\n }\n }\n\n return (\n \n {typeof children === \"function\" ? children(context) : children || null}\n \n )\n }\n)\n","import * as React from \"react\"\nimport { useLocationContext } from \"./hooks-use-context\"\nimport { LocationProvider } from \"./location-provider\"\n\nexport const Location = ({ children }) => {\n const context = useLocationContext()\n\n if (context) {\n return children(context)\n } else {\n return {children}\n }\n}\n","import * as React from \"react\"\nimport { LocationContext } from \"./hooks-create-context\"\n\nexport const ServerLocation = ({ url, children }) => {\n const searchIndex = url.indexOf(\"?\")\n const searchExists = searchIndex > -1\n let pathname\n let search = \"\"\n const hash = \"\"\n\n if (searchExists) {\n pathname = url.substring(0, searchIndex)\n search = url.substring(searchIndex)\n } else {\n pathname = url\n }\n\n return (\n \n {children}\n \n )\n}\n","import { useBaseContext, useLocationContext } from \"./hooks-use-context\"\nimport { resolve, match } from \"./utils\"\n\nconst Match = ({ path, children }) => {\n const { baseuri } = useBaseContext()\n const { location } = useLocationContext()\n\n const resolvedPath = resolve(path, baseuri)\n const result = match(resolvedPath, location.pathname)\n return children({\n location,\n match: result\n ? {\n ...result.params,\n uri: result.uri,\n path,\n }\n : null,\n })\n}\n\nexport { Match }\n","import * as React from \"react\"\n\nexport const FocusHandler = ({ uri, location, component, ...domProps }) => {\n return (\n \n )\n}\n\nlet focusHandlerCount = 0\n\nconst FocusHandlerImpl = ({\n children,\n style,\n component: Comp = \"div\",\n uri,\n location,\n ...domProps\n}) => {\n const focusWrapperRef = React.useRef()\n const initialRenderRef = React.useRef(true)\n const uriRef = React.useRef(uri)\n const pathnameRef = React.useRef(location.pathname)\n const shouldFocusRef = React.useRef(false)\n\n const _requestFocus = requestNode => {\n if (shouldFocusRef.current && requestNode) {\n requestNode.focus()\n }\n }\n\n // Initial mount/unmount logic\n React.useEffect(() => {\n focusHandlerCount++\n focus()\n\n return () => {\n focusHandlerCount--\n if (focusHandlerCount === 0) {\n initialRenderRef.current = true\n }\n }\n }, [])\n\n // Subsequent navigation logic\n React.useEffect(() => {\n let uriChanged = false\n let pathnameChanged = false\n\n if (uri !== uriRef.current) {\n uriRef.current = uri\n uriChanged = true\n }\n\n if (location.pathname !== pathnameRef.current) {\n pathnameRef.current = location.pathname\n pathnameChanged = true\n }\n\n const navigatedUpToMe = pathnameChanged && location.pathname === uri\n\n shouldFocusRef.current = uriChanged || navigatedUpToMe\n\n if (shouldFocusRef.current) {\n focus()\n }\n }, [uri, location])\n\n const focus = React.useCallback(() => {\n if (process.env.NODE_ENV === \"test\") {\n // TODO: Check if change for tests still needed\n return\n }\n\n // Don't focus the on initial render\n if (initialRenderRef.current) {\n initialRenderRef.current = false\n } else {\n _requestFocus(focusWrapperRef.current)\n }\n }, [])\n\n return (\n \n {children}\n \n )\n}\n","import * as React from \"react\"\nimport { BaseContext } from \"./hooks-create-context\"\nimport { createRoute, pick } from \"./utils\"\nimport { FocusHandler } from \"./focus-handler\"\nimport { useBaseContext, useLocationContext } from \"./hooks-use-context\"\n\nexport const Router = props => {\n const baseContext = useBaseContext()\n const locationContext = useLocationContext()\n\n return \n}\n\nfunction RouterImpl(props) {\n const {\n location,\n primary = true,\n children,\n basepath,\n baseuri,\n component = \"div\",\n ...domProps\n } = props\n\n const routes = React.Children.toArray(children).reduce((array, child) => {\n const routes = createRoute(basepath)(child)\n return array.concat(routes)\n }, [])\n const { pathname } = location\n const match = pick(routes, pathname)\n\n if (match) {\n const {\n params,\n uri,\n route,\n route: { value: element },\n } = match\n\n // remove the /* from the end for child routes relative paths\n const normalizedBasePath = route.default\n ? basepath\n : route.path.replace(/\\*$/, \"\")\n\n const props = {\n ...params,\n uri,\n location,\n }\n\n const clone = React.cloneElement(\n element,\n props,\n element.props.children ? (\n \n {element.props.children}\n \n ) : undefined\n )\n\n // using 'div' for < 16.3 support\n const FocusWrapper = primary ? FocusHandler : component\n // don't pass any props to 'div'\n const wrapperProps = primary\n ? { uri, location, component, ...domProps }\n : domProps\n\n return (\n \n {clone}\n \n )\n } else {\n return null\n }\n}\n","import { useLocationContext } from \"../lib/hooks-use-context\"\n\nexport const useLocation = () => {\n const context = useLocationContext()\n\n if (!context) {\n throw new Error(\n \"useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router\"\n )\n }\n\n return context.location\n}\n","export const useNavigate = () => {\n throw new Error(\n \"useNavigate is removed. Use import { navigate } from 'gatsby' instead\"\n )\n}\n","import { useBaseContext } from \"../lib/hooks-use-context\"\nimport { match } from \"../lib/utils\"\nimport { useLocation } from \"./use-location\"\n\nexport const useParams = () => {\n const context = useBaseContext()\n\n if (!context) {\n throw new Error(\n \"useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router\"\n )\n }\n\n const location = useLocation()\n\n const results = match(context.basepath, location.pathname)\n\n return results ? results.params : null\n}\n","import { useBaseContext } from \"../lib/hooks-use-context\"\nimport { resolve, match } from \"../lib/utils\"\nimport { useLocation } from \"./use-location\"\n\nexport const useMatch = path => {\n if (!path) {\n throw new Error(\n \"useMatch(path: string) requires an argument of a string to match against\"\n )\n }\n const context = useBaseContext()\n\n if (!context) {\n throw new Error(\n \"useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router\"\n )\n }\n\n const location = useLocation()\n\n const resolvedPath = resolve(path, context.baseuri)\n const result = match(resolvedPath, location.pathname)\n return result\n ? {\n ...result.params,\n uri: result.uri,\n path,\n }\n : null\n}\n","/* global __MANIFEST_PLUGIN_HAS_LOCALISATION__ */\nimport { withPrefix } from \"gatsby\";\nimport getManifestForPathname from \"./get-manifest-pathname\";\n\n// when we don't have localisation in our manifest, we tree shake everything away\nexport const onRouteUpdate = function onRouteUpdate({\n location\n}, pluginOptions) {\n if (__MANIFEST_PLUGIN_HAS_LOCALISATION__) {\n const {\n localize\n } = pluginOptions;\n const manifestFilename = getManifestForPathname(location.pathname, localize, true);\n const manifestEl = document.head.querySelector(`link[rel=\"manifest\"]`);\n if (manifestEl) {\n manifestEl.setAttribute(`href`, withPrefix(manifestFilename));\n }\n }\n};","\"use strict\";\n\nexports.__esModule = true;\nexports.default = void 0;\nvar _gatsby = require(\"gatsby\");\n/**\n * Get a manifest filename depending on localized pathname\n *\n * @param {string} pathname\n * @param {Array<{start_url: string, lang: string}>} localizedManifests\n * @param {boolean} shouldPrependPathPrefix\n * @return string\n */\nvar _default = (pathname, localizedManifests, shouldPrependPathPrefix = false) => {\n const defaultFilename = `manifest.webmanifest`;\n if (!Array.isArray(localizedManifests)) {\n return defaultFilename;\n }\n const localizedManifest = localizedManifests.find(app => {\n let startUrl = app.start_url;\n if (shouldPrependPathPrefix) {\n startUrl = (0, _gatsby.withPrefix)(startUrl);\n }\n return pathname.startsWith(startUrl);\n });\n if (!localizedManifest) {\n return defaultFilename;\n }\n return `manifest_${localizedManifest.lang}.webmanifest`;\n};\nexports.default = _default;","const yaml = require(\"js-yaml\")\nconst fs = require(\"fs\")\n\nconst i18n = (lang) => (localized) => localized[lang] || \"\"\n\nconst getFilePath = (url, extension, pattern) => {\n if (!pattern) {\n pattern = /^https?:\\//\n } else if (pattern.endsWith(\"/\")) {\n pattern = pattern.slice(0, -1)\n }\n let path = url.replace(pattern, \"\").split(\"#\").shift()\n path.endsWith(\"/\") && (path += \"index\")\n return extension ? `${path}.${extension}` : path\n}\n\n/**\nGet File Path for Gatsby Link component\n@param {string} path\n@param {string} extension\n@returns {string} linkPath\n@example\n// returns \"../1.de.html\"\ngetLinkPath(\"http://w3id.org/class/hochschulfaecher/1\", \"de.html\")\n**/\nconst getLinkPath = (path, extension, customDomain) => {\n const linkPath =\n \"../\" +\n getFilePath(path, \"\", customDomain).split(\"/\").pop() +\n \".\" +\n extension\n return linkPath\n}\n\n/**\nReplaces the last part (Filepath) of a given url with the last part (Filepath) of another url\n@param {string} url\n@param {string} replaceId\n@param {string} [extension] - extension to be added\n@returns {string} path\n**/\nconst replaceFilePathInUrl = (url, replaceId, extension, customDomain) => {\n // we use getFilePath function to add a missing \"index\" if necessary\n const path = getFilePath(url)\n .replace(\n /\\/[^\\/]*$/,\n \"/\" + getFilePath(replaceId, \"\", customDomain).split(\"/\").pop()\n )\n .split(\"#\")\n .shift()\n return extension ? `${path}.${extension}` : path\n}\n\nconst getFragment = (url) => new URL(url).hash\n\nconst getDomId = (url) => {\n const fragment = getFragment(url)\n return fragment ? fragment.substr(1) : url\n}\n\n/**\n * Parses languages from a json ld graph (Concept or Concept Scheme)\n * @param {array} graph\n * @returns {array} languages - found languages\n */\nconst parseLanguages = (graph) => {\n const languages = new Set()\n const parse = (arrayOfObj) => {\n for (let obj of arrayOfObj) {\n // Concept Schemes\n obj?.title &&\n Object.keys(obj.title).forEach((l) => obj.title[l] && languages.add(l))\n // Concepts\n obj?.prefLabel &&\n Object.keys(obj.prefLabel).forEach(\n (l) => obj.prefLabel[l] && languages.add(l)\n )\n obj?.altLabel &&\n Object.keys(obj.altLabel).forEach(\n (l) => obj.altLabel[l] && languages.add(l)\n )\n obj?.hiddenLabel &&\n Object.keys(obj.hiddenLabel).forEach(\n (l) => obj.hiddenLabel[l] && languages.add(l)\n )\n obj?.hasTopConcept && parse(obj.hasTopConcept)\n obj?.narrower && parse(obj.narrower)\n }\n }\n parse(graph)\n return languages\n}\n\n/**\n * @typedef {Object} Config\n * @property {string} title\n * @property {string} logo\n * @property {string} tokenizer\n * @property {Object} colors\n * @property {string} customDomain\n * @property {string[]} searchableAttributes\n */\n\n/**\n * Loads and parses the config file.\n * If no configFile is provided it will use the default config file.\n * @param {string} configFile\n * @param {string} defaultFile\n * @returns {Config} config\n */\nfunction loadConfig(configFile, defaultFile) {\n let userConfig\n const defaults = yaml.load(fs.readFileSync(defaultFile, \"utf8\"))\n\n try {\n userConfig = yaml.load(fs.readFileSync(configFile, \"utf8\"))\n } catch (e) {\n // eslint-disable-next-line no-console\n // TODO when #253 is further investigated this might be turned on again\n // console.log(\"no user config provided, using default config\")\n userConfig = defaults\n }\n\n if (!userConfig.ui.title) {\n throw Error(\"A Title has to be provided! Please check your config.yaml\")\n }\n\n /**\n the values for these attributes are necessary\n for SkoHub Vocabs to work correctly. Therefore we use\n default values from config.example.yaml if there are \n no values provided\n */\n\n /** @type Config */\n const config = {\n title: userConfig.ui.title,\n logo: userConfig.ui.logo || \"\",\n tokenizer: userConfig.tokenizer || defaults.tokenizer,\n colors: userConfig.ui.colors || defaults.ui.colors,\n fonts: userConfig.ui.fonts || defaults.ui.fonts,\n searchableAttributes:\n userConfig.searchableAttributes || defaults.searchableAttributes,\n customDomain: userConfig.custom_domain || \"\",\n failOnValidation: userConfig.fail_on_validation,\n }\n\n // check if all relevant colors are contained, otherwise use default colors\n const checkColors = () => {\n const neededColors = [\n \"skoHubWhite\",\n \"skoHubDarkColor\",\n \"skoHubMiddleColor\",\n \"skoHubLightColor\",\n \"skoHubThinColor\",\n \"skoHubBlackColor\",\n \"skoHubAction\",\n \"skoHubNotice\",\n \"skoHubDarkGrey\",\n \"skoHubMiddleGrey\",\n \"skoHubLightGrey\",\n ]\n if (neededColors.every((r) => Object.keys(config.colors).includes(r))) {\n return true\n } else {\n // eslint-disable-next-line no-console\n // console.log(\"some needed colors are not defined, using default colors\")\n return false\n }\n }\n\n const checkFonts = () => {\n const neededProps = [\"font_family\", \"font_style\", \"font_weight\", \"name\"]\n if (\n neededProps.every((r) => Object.keys(config.fonts.regular).includes(r)) &&\n neededProps.every((r) => Object.keys(config.fonts.bold).includes(r))\n ) {\n return true\n } else {\n // eslint-disable-next-line no-console\n // console.log(\n // \"Some necessary font props were not given, using default fonts\"\n // )\n return false\n }\n }\n\n if (!checkColors()) {\n config.colors = defaults.ui.colors\n }\n\n if (!checkFonts()) {\n config.fonts = defaults.ui.fonts\n }\n return config\n}\n\n/**\n * Location object from reach router, see https://www.gatsbyjs.com/docs/location-data-from-props/\n * @typedef {Object} Location\n * @property {string} key\n * @property {string} pathname\n * @property {string} search\n */\n\n/**\n * Parses the location object for an URL parameter \"lang\".\n * If multiple \"lang\" params are given, the first one is taken.\n * @param {Location} location\n * @returns {string|null} parsed language or null if none is given\n */\nconst getLanguageFromUrl = (location) => {\n const params = new URLSearchParams(location.search)\n const language = params.get(\"lang\")\n return language\n}\n\n/**\n * Replaces an oldKey against a new key\n * @param {Object} obj\n * @param {string} oldKey\n * @param {string} newKey\n * @returns {Object}\n */\nconst replaceKeyInObject = (obj, oldKey, newKey) => {\n if (!(oldKey in obj)) return obj\n const newObject = {}\n delete Object.assign(newObject, obj, { [newKey]: obj[oldKey] })[oldKey]\n return newObject\n}\n\n/**\n * Replaces multiple keys of an object.\n * Expects an array of arrays in the form [oldKey, newKey]\n */\nconst replaceMultipleKeysInObject = (obj, keys) => {\n const replaced = keys.reduce(\n (acc, val) => replaceKeyInObject(acc, val[0], val[1]),\n obj\n )\n return replaced\n}\n\nmodule.exports = {\n i18n,\n getFilePath,\n replaceFilePathInUrl,\n getFragment,\n getDomId,\n getLinkPath,\n parseLanguages,\n loadConfig,\n getLanguageFromUrl,\n replaceKeyInObject,\n replaceMultipleKeysInObject,\n}\n","import React, { useEffect, useState } from \"react\"\nimport { css } from \"@emotion/react\"\nimport { Link, withPrefix } from \"gatsby\"\nimport { getFilePath } from \"../common\"\nimport { useSkoHubContext } from \"../context/Context.jsx\"\nimport { getConfigAndConceptSchemes } from \"../hooks/configAndConceptSchemes\"\nimport { getUserLang } from \"../hooks/getUserLanguage\"\n\nconst Header = ({ siteTitle }) => {\n const { config, conceptSchemes: conceptSchemesData } =\n getConfigAndConceptSchemes()\n const { data, updateState } = useSkoHubContext()\n const style = css`\n background: ${config.colors.skoHubWhite};\n\n .headerContent {\n padding: 20px 20px 0 20px;\n display: flex;\n }\n\n .skohubLogo {\n margin: 0;\n display: inline-block;\n width: calc(100% - 80px);\n\n a {\n text-decoration: none;\n color: ${config.colors.skoHubDarkColor};\n }\n\n .skohubImg {\n display: inline-block;\n vertical-align: middle;\n width: 30px;\n height: 30px;\n }\n\n .skohubTitle {\n display: inline-block;\n vertical-align: middle;\n padding: 0 0 0 15px;\n font-size: 24px;\n line-height: 24px;\n font-weight: 700;\n\n @media only screen and (max-width: 800px) {\n padding: 0 0 0 8px;\n font-size: 18px;\n }\n }\n .conceptSchemes {\n display: flex;\n }\n\n .conceptScheme {\n padding: 15px 15px 0 0;\n font-size: 24px;\n }\n .conceptScheme:not(:last-child):after {\n content: \", \";\n }\n }\n\n ul.language-menu {\n margin: 0;\n padding: 0;\n list-style: none;\n display: inline-block;\n width: 80px;\n text-align: right;\n\n li {\n margin: 0 0 0 5px;\n display: inline;\n\n button {\n background: none;\n display: inline-block;\n padding: 5px;\n color: ${config.colors.skoHubMiddleGrey};\n border: 1px solid ${config.colors.skoHubMiddleGrey};\n border-radius: 30px;\n\n &:hover {\n color: ${config.colors.skoHubAction};\n border: 1px solid ${config.colors.skoHubAction};\n }\n }\n\n .currentLanguage {\n color: black;\n font-weight: bold;\n display: inline-block;\n padding: 5px;\n border: 1px solid ${config.colors.skoHubLightColor};\n border-radius: 30px;\n }\n }\n }\n `\n const [languages, setLanguages] = useState([])\n const [language, setLanguage] = useState(\"\")\n const [title, setTitle] = useState(\"\")\n\n // set page language\n useEffect(() => {\n if (typeof languages !== \"undefined\" && languages.length) {\n if (!data.selectedLanguage) {\n const userLang = getUserLang({\n availableLanguages: languages,\n })\n setLanguage(userLang)\n // updateState({ ...data, selectedLanguage: userLang })\n } else {\n setLanguage(data.selectedLanguage)\n }\n }\n }, [data])\n\n // Set Languages\n useEffect(() => {\n if (!data?.currentScheme?.id) {\n setLanguages(data.languages)\n } else {\n setLanguages(conceptSchemesData[data.currentScheme.id].languages)\n }\n }, [data])\n\n // set title\n useEffect(() => {\n const title =\n data.currentScheme?.title?.[data.selectedLanguage] ||\n data.currentScheme?.prefLabel?.[data.selectedLanguage] ||\n data.currentScheme?.dc_title?.[data.selectedLanguage] ||\n data.currentScheme?.id\n setTitle(title)\n }, [data])\n\n return (\n
\n
\n
\n updateState({ ...data, currentScheme: {} })}\n >\n {config.logo && (\n \n )}\n {siteTitle}\n \n {data?.currentScheme?.id && (\n
\n {\n updateState({ ...data, currentScheme: data.currentScheme })\n }}\n >\n \n {title}\n \n
\n
\n )}\n
\n {languages && languages.length > 1 && (\n
    \n {languages.map((l) => (\n
  • \n {l === data.selectedLanguage ? (\n \n ) : (\n {\n updateState({ ...data, selectedLanguage: l })\n setLanguage(l)\n }}\n >\n {l}\n \n )}\n
  • \n ))}\n
\n )}\n
\n \n )\n}\n\nexport default Header\n","import { css } from \"@emotion/react\"\nimport PropTypes from \"prop-types\"\nimport React from \"react\"\n\nimport { getConfigAndConceptSchemes } from \"../hooks/configAndConceptSchemes\"\n\nconst Footer = () => {\n const { config } = getConfigAndConceptSchemes()\n\n const style = css`\n background: ${config.colors.skoHubMiddleColor};\n color: ${config.colors.skoHubWhite};\n\n .footerContent {\n padding: 20px;\n text-align: right;\n\n @media only screen and (max-width: 800px) {\n text-align: center;\n }\n\n ul {\n display: flex;\n list-style: none;\n margin: 0;\n padding: 0;\n\n li {\n display: inline-block;\n padding: 0 20px 0 0px;\n margin: 0;\n }\n\n .push-right {\n margin-left: auto;\n }\n }\n\n a {\n color: ${config.colors.skoHubWhite};\n font-weight: 700;\n\n &:hover {\n text-decoration: underline;\n }\n }\n }\n `\n return (\n
\n
\n
    \n {process.env.GATSBY_RESPOSITORY_URL && (\n
  • \n \n Source\n \n
  • \n )}\n
  • \n \n Impressum\n \n
  • \n
  • \n ©{\" \"}\n \n SkoHub\n \n
  • \n
\n
\n
\n )\n}\n\nFooter.propTypes = {\n siteTitle: PropTypes.string,\n}\n\nFooter.defaultProps = {\n siteTitle: ``,\n}\n\nexport default Footer\n","/**\n * Layout component that queries for data\n * with Gatsby's StaticQuery component\n *\n * See: https://www.gatsbyjs.org/docs/static-query/\n */\nimport React from \"react\"\nimport { Global, css } from \"@emotion/react\"\nimport PropTypes from \"prop-types\"\nimport { useStaticQuery, graphql, withPrefix } from \"gatsby\"\n\nimport { getConfigAndConceptSchemes } from \"../hooks/configAndConceptSchemes\"\n\nimport Header from \"./header.jsx\"\nimport Footer from \"./footer.jsx\"\n\nconst Layout = ({ children }) => {\n const { config } = getConfigAndConceptSchemes()\n const style = css`\n height: 100vh;\n display: flex;\n flex-direction: column;\n\n main {\n flex: 1;\n overflow: auto;\n padding: 20px;\n\n @media only screen and (max-width: 1024px) {\n overflow: visible;\n }\n }\n\n .centerPage {\n max-width: 1200px;\n margin: 0 auto;\n }\n\n .forkMe {\n position: fixed;\n background-color: ${config.colors.skoHubDarkColor};\n color: ${config.colors.skoHubWhite};\n padding: 0 60px;\n height: 40px;\n transform: rotate(45deg);\n font-size: 14px;\n line-height: 40px;\n font-weight: 700;\n bottom: 60px;\n left: -60px;\n box-shadow: 0 10px 20px ${config.colors.skoHubBlackColor};\n }\n `\n const qdata = useStaticQuery(graphql`\n query SiteTitleQuery {\n site {\n siteMetadata {\n title\n }\n }\n }\n `)\n return (\n
\n ul {\n margin-left: 1.45rem;\n margin-bottom: calc(1.45rem / 2);\n margin-top: calc(1.45rem / 2);\n }\n\n li {\n margin-bottom: calc(1.45rem / 2);\n }\n\n a {\n text-decoration: none;\n color: ${config.colors.skoHubDarkColor};\n\n &:hover {\n color: ${config.colors.skoHubAction};\n }\n }\n\n .inputStyle {\n background-color: ${config.colors.skoHubWhite};\n cursor: pointer;\n border: 1px solid ${config.colors.skoHubDarkGrey};\n border-radius: 30px;\n color: ${config.colors.skoHubDarkColor};\n\n &:hover,\n &:focus {\n background-color: ${config.colors.skoHubLightGrey};\n }\n\n &[type=\"button\"] {\n background: ${config.colors.skoHubLightGrey};\n border: 1px solid ${config.colors.skoHubLightGrey};\n font-weight: 700;\n\n &:hover {\n background: ${config.colors.skoHubMiddleColor};\n border: 1px solid ${config.colors.skoHubMiddleColor};\n color: ${config.colors.skoHubWhite};\n }\n }\n }\n `}\n />\n
\n
{children}
\n\n
\n
\n )\n}\nLayout.propTypes = {\n children: PropTypes.node.isRequired,\n}\n\nexport default Layout\n","import PropTypes from 'prop-types';\nimport withSideEffect from 'react-side-effect';\nimport isEqual from 'react-fast-compare';\nimport React from 'react';\nimport objectAssign from 'object-assign';\n\nvar ATTRIBUTE_NAMES = {\n BODY: \"bodyAttributes\",\n HTML: \"htmlAttributes\",\n TITLE: \"titleAttributes\"\n};\n\nvar TAG_NAMES = {\n BASE: \"base\",\n BODY: \"body\",\n HEAD: \"head\",\n HTML: \"html\",\n LINK: \"link\",\n META: \"meta\",\n NOSCRIPT: \"noscript\",\n SCRIPT: \"script\",\n STYLE: \"style\",\n TITLE: \"title\"\n};\n\nvar VALID_TAG_NAMES = Object.keys(TAG_NAMES).map(function (name) {\n return TAG_NAMES[name];\n});\n\nvar TAG_PROPERTIES = {\n CHARSET: \"charset\",\n CSS_TEXT: \"cssText\",\n HREF: \"href\",\n HTTPEQUIV: \"http-equiv\",\n INNER_HTML: \"innerHTML\",\n ITEM_PROP: \"itemprop\",\n NAME: \"name\",\n PROPERTY: \"property\",\n REL: \"rel\",\n SRC: \"src\",\n TARGET: \"target\"\n};\n\nvar REACT_TAG_MAP = {\n accesskey: \"accessKey\",\n charset: \"charSet\",\n class: \"className\",\n contenteditable: \"contentEditable\",\n contextmenu: \"contextMenu\",\n \"http-equiv\": \"httpEquiv\",\n itemprop: \"itemProp\",\n tabindex: \"tabIndex\"\n};\n\nvar HELMET_PROPS = {\n DEFAULT_TITLE: \"defaultTitle\",\n DEFER: \"defer\",\n ENCODE_SPECIAL_CHARACTERS: \"encodeSpecialCharacters\",\n ON_CHANGE_CLIENT_STATE: \"onChangeClientState\",\n TITLE_TEMPLATE: \"titleTemplate\"\n};\n\nvar HTML_TAG_MAP = Object.keys(REACT_TAG_MAP).reduce(function (obj, key) {\n obj[REACT_TAG_MAP[key]] = key;\n return obj;\n}, {});\n\nvar SELF_CLOSING_TAGS = [TAG_NAMES.NOSCRIPT, TAG_NAMES.SCRIPT, TAG_NAMES.STYLE];\n\nvar HELMET_ATTRIBUTE = \"data-react-helmet\";\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nvar classCallCheck = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\nvar inherits = function (subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n};\n\nvar objectWithoutProperties = function (obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n};\n\nvar possibleConstructorReturn = function (self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n};\n\nvar encodeSpecialCharacters = function encodeSpecialCharacters(str) {\n var encode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n if (encode === false) {\n return String(str);\n }\n\n return String(str).replace(/&/g, \"&\").replace(//g, \">\").replace(/\"/g, \""\").replace(/'/g, \"'\");\n};\n\nvar getTitleFromPropsList = function getTitleFromPropsList(propsList) {\n var innermostTitle = getInnermostProperty(propsList, TAG_NAMES.TITLE);\n var innermostTemplate = getInnermostProperty(propsList, HELMET_PROPS.TITLE_TEMPLATE);\n\n if (innermostTemplate && innermostTitle) {\n // use function arg to avoid need to escape $ characters\n return innermostTemplate.replace(/%s/g, function () {\n return Array.isArray(innermostTitle) ? innermostTitle.join(\"\") : innermostTitle;\n });\n }\n\n var innermostDefaultTitle = getInnermostProperty(propsList, HELMET_PROPS.DEFAULT_TITLE);\n\n return innermostTitle || innermostDefaultTitle || undefined;\n};\n\nvar getOnChangeClientState = function getOnChangeClientState(propsList) {\n return getInnermostProperty(propsList, HELMET_PROPS.ON_CHANGE_CLIENT_STATE) || function () {};\n};\n\nvar getAttributesFromPropsList = function getAttributesFromPropsList(tagType, propsList) {\n return propsList.filter(function (props) {\n return typeof props[tagType] !== \"undefined\";\n }).map(function (props) {\n return props[tagType];\n }).reduce(function (tagAttrs, current) {\n return _extends({}, tagAttrs, current);\n }, {});\n};\n\nvar getBaseTagFromPropsList = function getBaseTagFromPropsList(primaryAttributes, propsList) {\n return propsList.filter(function (props) {\n return typeof props[TAG_NAMES.BASE] !== \"undefined\";\n }).map(function (props) {\n return props[TAG_NAMES.BASE];\n }).reverse().reduce(function (innermostBaseTag, tag) {\n if (!innermostBaseTag.length) {\n var keys = Object.keys(tag);\n\n for (var i = 0; i < keys.length; i++) {\n var attributeKey = keys[i];\n var lowerCaseAttributeKey = attributeKey.toLowerCase();\n\n if (primaryAttributes.indexOf(lowerCaseAttributeKey) !== -1 && tag[lowerCaseAttributeKey]) {\n return innermostBaseTag.concat(tag);\n }\n }\n }\n\n return innermostBaseTag;\n }, []);\n};\n\nvar getTagsFromPropsList = function getTagsFromPropsList(tagName, primaryAttributes, propsList) {\n // Calculate list of tags, giving priority innermost component (end of the propslist)\n var approvedSeenTags = {};\n\n return propsList.filter(function (props) {\n if (Array.isArray(props[tagName])) {\n return true;\n }\n if (typeof props[tagName] !== \"undefined\") {\n warn(\"Helmet: \" + tagName + \" should be of type \\\"Array\\\". Instead found type \\\"\" + _typeof(props[tagName]) + \"\\\"\");\n }\n return false;\n }).map(function (props) {\n return props[tagName];\n }).reverse().reduce(function (approvedTags, instanceTags) {\n var instanceSeenTags = {};\n\n instanceTags.filter(function (tag) {\n var primaryAttributeKey = void 0;\n var keys = Object.keys(tag);\n for (var i = 0; i < keys.length; i++) {\n var attributeKey = keys[i];\n var lowerCaseAttributeKey = attributeKey.toLowerCase();\n\n // Special rule with link tags, since rel and href are both primary tags, rel takes priority\n if (primaryAttributes.indexOf(lowerCaseAttributeKey) !== -1 && !(primaryAttributeKey === TAG_PROPERTIES.REL && tag[primaryAttributeKey].toLowerCase() === \"canonical\") && !(lowerCaseAttributeKey === TAG_PROPERTIES.REL && tag[lowerCaseAttributeKey].toLowerCase() === \"stylesheet\")) {\n primaryAttributeKey = lowerCaseAttributeKey;\n }\n // Special case for innerHTML which doesn't work lowercased\n if (primaryAttributes.indexOf(attributeKey) !== -1 && (attributeKey === TAG_PROPERTIES.INNER_HTML || attributeKey === TAG_PROPERTIES.CSS_TEXT || attributeKey === TAG_PROPERTIES.ITEM_PROP)) {\n primaryAttributeKey = attributeKey;\n }\n }\n\n if (!primaryAttributeKey || !tag[primaryAttributeKey]) {\n return false;\n }\n\n var value = tag[primaryAttributeKey].toLowerCase();\n\n if (!approvedSeenTags[primaryAttributeKey]) {\n approvedSeenTags[primaryAttributeKey] = {};\n }\n\n if (!instanceSeenTags[primaryAttributeKey]) {\n instanceSeenTags[primaryAttributeKey] = {};\n }\n\n if (!approvedSeenTags[primaryAttributeKey][value]) {\n instanceSeenTags[primaryAttributeKey][value] = true;\n return true;\n }\n\n return false;\n }).reverse().forEach(function (tag) {\n return approvedTags.push(tag);\n });\n\n // Update seen tags with tags from this instance\n var keys = Object.keys(instanceSeenTags);\n for (var i = 0; i < keys.length; i++) {\n var attributeKey = keys[i];\n var tagUnion = objectAssign({}, approvedSeenTags[attributeKey], instanceSeenTags[attributeKey]);\n\n approvedSeenTags[attributeKey] = tagUnion;\n }\n\n return approvedTags;\n }, []).reverse();\n};\n\nvar getInnermostProperty = function getInnermostProperty(propsList, property) {\n for (var i = propsList.length - 1; i >= 0; i--) {\n var props = propsList[i];\n\n if (props.hasOwnProperty(property)) {\n return props[property];\n }\n }\n\n return null;\n};\n\nvar reducePropsToState = function reducePropsToState(propsList) {\n return {\n baseTag: getBaseTagFromPropsList([TAG_PROPERTIES.HREF, TAG_PROPERTIES.TARGET], propsList),\n bodyAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.BODY, propsList),\n defer: getInnermostProperty(propsList, HELMET_PROPS.DEFER),\n encode: getInnermostProperty(propsList, HELMET_PROPS.ENCODE_SPECIAL_CHARACTERS),\n htmlAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.HTML, propsList),\n linkTags: getTagsFromPropsList(TAG_NAMES.LINK, [TAG_PROPERTIES.REL, TAG_PROPERTIES.HREF], propsList),\n metaTags: getTagsFromPropsList(TAG_NAMES.META, [TAG_PROPERTIES.NAME, TAG_PROPERTIES.CHARSET, TAG_PROPERTIES.HTTPEQUIV, TAG_PROPERTIES.PROPERTY, TAG_PROPERTIES.ITEM_PROP], propsList),\n noscriptTags: getTagsFromPropsList(TAG_NAMES.NOSCRIPT, [TAG_PROPERTIES.INNER_HTML], propsList),\n onChangeClientState: getOnChangeClientState(propsList),\n scriptTags: getTagsFromPropsList(TAG_NAMES.SCRIPT, [TAG_PROPERTIES.SRC, TAG_PROPERTIES.INNER_HTML], propsList),\n styleTags: getTagsFromPropsList(TAG_NAMES.STYLE, [TAG_PROPERTIES.CSS_TEXT], propsList),\n title: getTitleFromPropsList(propsList),\n titleAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.TITLE, propsList)\n };\n};\n\nvar rafPolyfill = function () {\n var clock = Date.now();\n\n return function (callback) {\n var currentTime = Date.now();\n\n if (currentTime - clock > 16) {\n clock = currentTime;\n callback(currentTime);\n } else {\n setTimeout(function () {\n rafPolyfill(callback);\n }, 0);\n }\n };\n}();\n\nvar cafPolyfill = function cafPolyfill(id) {\n return clearTimeout(id);\n};\n\nvar requestAnimationFrame = typeof window !== \"undefined\" ? window.requestAnimationFrame && window.requestAnimationFrame.bind(window) || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || rafPolyfill : global.requestAnimationFrame || rafPolyfill;\n\nvar cancelAnimationFrame = typeof window !== \"undefined\" ? window.cancelAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame || cafPolyfill : global.cancelAnimationFrame || cafPolyfill;\n\nvar warn = function warn(msg) {\n return console && typeof console.warn === \"function\" && console.warn(msg);\n};\n\nvar _helmetCallback = null;\n\nvar handleClientStateChange = function handleClientStateChange(newState) {\n if (_helmetCallback) {\n cancelAnimationFrame(_helmetCallback);\n }\n\n if (newState.defer) {\n _helmetCallback = requestAnimationFrame(function () {\n commitTagChanges(newState, function () {\n _helmetCallback = null;\n });\n });\n } else {\n commitTagChanges(newState);\n _helmetCallback = null;\n }\n};\n\nvar commitTagChanges = function commitTagChanges(newState, cb) {\n var baseTag = newState.baseTag,\n bodyAttributes = newState.bodyAttributes,\n htmlAttributes = newState.htmlAttributes,\n linkTags = newState.linkTags,\n metaTags = newState.metaTags,\n noscriptTags = newState.noscriptTags,\n onChangeClientState = newState.onChangeClientState,\n scriptTags = newState.scriptTags,\n styleTags = newState.styleTags,\n title = newState.title,\n titleAttributes = newState.titleAttributes;\n\n updateAttributes(TAG_NAMES.BODY, bodyAttributes);\n updateAttributes(TAG_NAMES.HTML, htmlAttributes);\n\n updateTitle(title, titleAttributes);\n\n var tagUpdates = {\n baseTag: updateTags(TAG_NAMES.BASE, baseTag),\n linkTags: updateTags(TAG_NAMES.LINK, linkTags),\n metaTags: updateTags(TAG_NAMES.META, metaTags),\n noscriptTags: updateTags(TAG_NAMES.NOSCRIPT, noscriptTags),\n scriptTags: updateTags(TAG_NAMES.SCRIPT, scriptTags),\n styleTags: updateTags(TAG_NAMES.STYLE, styleTags)\n };\n\n var addedTags = {};\n var removedTags = {};\n\n Object.keys(tagUpdates).forEach(function (tagType) {\n var _tagUpdates$tagType = tagUpdates[tagType],\n newTags = _tagUpdates$tagType.newTags,\n oldTags = _tagUpdates$tagType.oldTags;\n\n\n if (newTags.length) {\n addedTags[tagType] = newTags;\n }\n if (oldTags.length) {\n removedTags[tagType] = tagUpdates[tagType].oldTags;\n }\n });\n\n cb && cb();\n\n onChangeClientState(newState, addedTags, removedTags);\n};\n\nvar flattenArray = function flattenArray(possibleArray) {\n return Array.isArray(possibleArray) ? possibleArray.join(\"\") : possibleArray;\n};\n\nvar updateTitle = function updateTitle(title, attributes) {\n if (typeof title !== \"undefined\" && document.title !== title) {\n document.title = flattenArray(title);\n }\n\n updateAttributes(TAG_NAMES.TITLE, attributes);\n};\n\nvar updateAttributes = function updateAttributes(tagName, attributes) {\n var elementTag = document.getElementsByTagName(tagName)[0];\n\n if (!elementTag) {\n return;\n }\n\n var helmetAttributeString = elementTag.getAttribute(HELMET_ATTRIBUTE);\n var helmetAttributes = helmetAttributeString ? helmetAttributeString.split(\",\") : [];\n var attributesToRemove = [].concat(helmetAttributes);\n var attributeKeys = Object.keys(attributes);\n\n for (var i = 0; i < attributeKeys.length; i++) {\n var attribute = attributeKeys[i];\n var value = attributes[attribute] || \"\";\n\n if (elementTag.getAttribute(attribute) !== value) {\n elementTag.setAttribute(attribute, value);\n }\n\n if (helmetAttributes.indexOf(attribute) === -1) {\n helmetAttributes.push(attribute);\n }\n\n var indexToSave = attributesToRemove.indexOf(attribute);\n if (indexToSave !== -1) {\n attributesToRemove.splice(indexToSave, 1);\n }\n }\n\n for (var _i = attributesToRemove.length - 1; _i >= 0; _i--) {\n elementTag.removeAttribute(attributesToRemove[_i]);\n }\n\n if (helmetAttributes.length === attributesToRemove.length) {\n elementTag.removeAttribute(HELMET_ATTRIBUTE);\n } else if (elementTag.getAttribute(HELMET_ATTRIBUTE) !== attributeKeys.join(\",\")) {\n elementTag.setAttribute(HELMET_ATTRIBUTE, attributeKeys.join(\",\"));\n }\n};\n\nvar updateTags = function updateTags(type, tags) {\n var headElement = document.head || document.querySelector(TAG_NAMES.HEAD);\n var tagNodes = headElement.querySelectorAll(type + \"[\" + HELMET_ATTRIBUTE + \"]\");\n var oldTags = Array.prototype.slice.call(tagNodes);\n var newTags = [];\n var indexToDelete = void 0;\n\n if (tags && tags.length) {\n tags.forEach(function (tag) {\n var newElement = document.createElement(type);\n\n for (var attribute in tag) {\n if (tag.hasOwnProperty(attribute)) {\n if (attribute === TAG_PROPERTIES.INNER_HTML) {\n newElement.innerHTML = tag.innerHTML;\n } else if (attribute === TAG_PROPERTIES.CSS_TEXT) {\n if (newElement.styleSheet) {\n newElement.styleSheet.cssText = tag.cssText;\n } else {\n newElement.appendChild(document.createTextNode(tag.cssText));\n }\n } else {\n var value = typeof tag[attribute] === \"undefined\" ? \"\" : tag[attribute];\n newElement.setAttribute(attribute, value);\n }\n }\n }\n\n newElement.setAttribute(HELMET_ATTRIBUTE, \"true\");\n\n // Remove a duplicate tag from domTagstoRemove, so it isn't cleared.\n if (oldTags.some(function (existingTag, index) {\n indexToDelete = index;\n return newElement.isEqualNode(existingTag);\n })) {\n oldTags.splice(indexToDelete, 1);\n } else {\n newTags.push(newElement);\n }\n });\n }\n\n oldTags.forEach(function (tag) {\n return tag.parentNode.removeChild(tag);\n });\n newTags.forEach(function (tag) {\n return headElement.appendChild(tag);\n });\n\n return {\n oldTags: oldTags,\n newTags: newTags\n };\n};\n\nvar generateElementAttributesAsString = function generateElementAttributesAsString(attributes) {\n return Object.keys(attributes).reduce(function (str, key) {\n var attr = typeof attributes[key] !== \"undefined\" ? key + \"=\\\"\" + attributes[key] + \"\\\"\" : \"\" + key;\n return str ? str + \" \" + attr : attr;\n }, \"\");\n};\n\nvar generateTitleAsString = function generateTitleAsString(type, title, attributes, encode) {\n var attributeString = generateElementAttributesAsString(attributes);\n var flattenedTitle = flattenArray(title);\n return attributeString ? \"<\" + type + \" \" + HELMET_ATTRIBUTE + \"=\\\"true\\\" \" + attributeString + \">\" + encodeSpecialCharacters(flattenedTitle, encode) + \"\" : \"<\" + type + \" \" + HELMET_ATTRIBUTE + \"=\\\"true\\\">\" + encodeSpecialCharacters(flattenedTitle, encode) + \"\";\n};\n\nvar generateTagsAsString = function generateTagsAsString(type, tags, encode) {\n return tags.reduce(function (str, tag) {\n var attributeHtml = Object.keys(tag).filter(function (attribute) {\n return !(attribute === TAG_PROPERTIES.INNER_HTML || attribute === TAG_PROPERTIES.CSS_TEXT);\n }).reduce(function (string, attribute) {\n var attr = typeof tag[attribute] === \"undefined\" ? attribute : attribute + \"=\\\"\" + encodeSpecialCharacters(tag[attribute], encode) + \"\\\"\";\n return string ? string + \" \" + attr : attr;\n }, \"\");\n\n var tagContent = tag.innerHTML || tag.cssText || \"\";\n\n var isSelfClosing = SELF_CLOSING_TAGS.indexOf(type) === -1;\n\n return str + \"<\" + type + \" \" + HELMET_ATTRIBUTE + \"=\\\"true\\\" \" + attributeHtml + (isSelfClosing ? \"/>\" : \">\" + tagContent + \"\");\n }, \"\");\n};\n\nvar convertElementAttributestoReactProps = function convertElementAttributestoReactProps(attributes) {\n var initProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n return Object.keys(attributes).reduce(function (obj, key) {\n obj[REACT_TAG_MAP[key] || key] = attributes[key];\n return obj;\n }, initProps);\n};\n\nvar convertReactPropstoHtmlAttributes = function convertReactPropstoHtmlAttributes(props) {\n var initAttributes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n return Object.keys(props).reduce(function (obj, key) {\n obj[HTML_TAG_MAP[key] || key] = props[key];\n return obj;\n }, initAttributes);\n};\n\nvar generateTitleAsReactComponent = function generateTitleAsReactComponent(type, title, attributes) {\n var _initProps;\n\n // assigning into an array to define toString function on it\n var initProps = (_initProps = {\n key: title\n }, _initProps[HELMET_ATTRIBUTE] = true, _initProps);\n var props = convertElementAttributestoReactProps(attributes, initProps);\n\n return [React.createElement(TAG_NAMES.TITLE, props, title)];\n};\n\nvar generateTagsAsReactComponent = function generateTagsAsReactComponent(type, tags) {\n return tags.map(function (tag, i) {\n var _mappedTag;\n\n var mappedTag = (_mappedTag = {\n key: i\n }, _mappedTag[HELMET_ATTRIBUTE] = true, _mappedTag);\n\n Object.keys(tag).forEach(function (attribute) {\n var mappedAttribute = REACT_TAG_MAP[attribute] || attribute;\n\n if (mappedAttribute === TAG_PROPERTIES.INNER_HTML || mappedAttribute === TAG_PROPERTIES.CSS_TEXT) {\n var content = tag.innerHTML || tag.cssText;\n mappedTag.dangerouslySetInnerHTML = { __html: content };\n } else {\n mappedTag[mappedAttribute] = tag[attribute];\n }\n });\n\n return React.createElement(type, mappedTag);\n });\n};\n\nvar getMethodsForTag = function getMethodsForTag(type, tags, encode) {\n switch (type) {\n case TAG_NAMES.TITLE:\n return {\n toComponent: function toComponent() {\n return generateTitleAsReactComponent(type, tags.title, tags.titleAttributes, encode);\n },\n toString: function toString() {\n return generateTitleAsString(type, tags.title, tags.titleAttributes, encode);\n }\n };\n case ATTRIBUTE_NAMES.BODY:\n case ATTRIBUTE_NAMES.HTML:\n return {\n toComponent: function toComponent() {\n return convertElementAttributestoReactProps(tags);\n },\n toString: function toString() {\n return generateElementAttributesAsString(tags);\n }\n };\n default:\n return {\n toComponent: function toComponent() {\n return generateTagsAsReactComponent(type, tags);\n },\n toString: function toString() {\n return generateTagsAsString(type, tags, encode);\n }\n };\n }\n};\n\nvar mapStateOnServer = function mapStateOnServer(_ref) {\n var baseTag = _ref.baseTag,\n bodyAttributes = _ref.bodyAttributes,\n encode = _ref.encode,\n htmlAttributes = _ref.htmlAttributes,\n linkTags = _ref.linkTags,\n metaTags = _ref.metaTags,\n noscriptTags = _ref.noscriptTags,\n scriptTags = _ref.scriptTags,\n styleTags = _ref.styleTags,\n _ref$title = _ref.title,\n title = _ref$title === undefined ? \"\" : _ref$title,\n titleAttributes = _ref.titleAttributes;\n return {\n base: getMethodsForTag(TAG_NAMES.BASE, baseTag, encode),\n bodyAttributes: getMethodsForTag(ATTRIBUTE_NAMES.BODY, bodyAttributes, encode),\n htmlAttributes: getMethodsForTag(ATTRIBUTE_NAMES.HTML, htmlAttributes, encode),\n link: getMethodsForTag(TAG_NAMES.LINK, linkTags, encode),\n meta: getMethodsForTag(TAG_NAMES.META, metaTags, encode),\n noscript: getMethodsForTag(TAG_NAMES.NOSCRIPT, noscriptTags, encode),\n script: getMethodsForTag(TAG_NAMES.SCRIPT, scriptTags, encode),\n style: getMethodsForTag(TAG_NAMES.STYLE, styleTags, encode),\n title: getMethodsForTag(TAG_NAMES.TITLE, { title: title, titleAttributes: titleAttributes }, encode)\n };\n};\n\nvar Helmet = function Helmet(Component) {\n var _class, _temp;\n\n return _temp = _class = function (_React$Component) {\n inherits(HelmetWrapper, _React$Component);\n\n function HelmetWrapper() {\n classCallCheck(this, HelmetWrapper);\n return possibleConstructorReturn(this, _React$Component.apply(this, arguments));\n }\n\n HelmetWrapper.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {\n return !isEqual(this.props, nextProps);\n };\n\n HelmetWrapper.prototype.mapNestedChildrenToProps = function mapNestedChildrenToProps(child, nestedChildren) {\n if (!nestedChildren) {\n return null;\n }\n\n switch (child.type) {\n case TAG_NAMES.SCRIPT:\n case TAG_NAMES.NOSCRIPT:\n return {\n innerHTML: nestedChildren\n };\n\n case TAG_NAMES.STYLE:\n return {\n cssText: nestedChildren\n };\n }\n\n throw new Error(\"<\" + child.type + \" /> elements are self-closing and can not contain children. Refer to our API for more information.\");\n };\n\n HelmetWrapper.prototype.flattenArrayTypeChildren = function flattenArrayTypeChildren(_ref) {\n var _babelHelpers$extends;\n\n var child = _ref.child,\n arrayTypeChildren = _ref.arrayTypeChildren,\n newChildProps = _ref.newChildProps,\n nestedChildren = _ref.nestedChildren;\n\n return _extends({}, arrayTypeChildren, (_babelHelpers$extends = {}, _babelHelpers$extends[child.type] = [].concat(arrayTypeChildren[child.type] || [], [_extends({}, newChildProps, this.mapNestedChildrenToProps(child, nestedChildren))]), _babelHelpers$extends));\n };\n\n HelmetWrapper.prototype.mapObjectTypeChildren = function mapObjectTypeChildren(_ref2) {\n var _babelHelpers$extends2, _babelHelpers$extends3;\n\n var child = _ref2.child,\n newProps = _ref2.newProps,\n newChildProps = _ref2.newChildProps,\n nestedChildren = _ref2.nestedChildren;\n\n switch (child.type) {\n case TAG_NAMES.TITLE:\n return _extends({}, newProps, (_babelHelpers$extends2 = {}, _babelHelpers$extends2[child.type] = nestedChildren, _babelHelpers$extends2.titleAttributes = _extends({}, newChildProps), _babelHelpers$extends2));\n\n case TAG_NAMES.BODY:\n return _extends({}, newProps, {\n bodyAttributes: _extends({}, newChildProps)\n });\n\n case TAG_NAMES.HTML:\n return _extends({}, newProps, {\n htmlAttributes: _extends({}, newChildProps)\n });\n }\n\n return _extends({}, newProps, (_babelHelpers$extends3 = {}, _babelHelpers$extends3[child.type] = _extends({}, newChildProps), _babelHelpers$extends3));\n };\n\n HelmetWrapper.prototype.mapArrayTypeChildrenToProps = function mapArrayTypeChildrenToProps(arrayTypeChildren, newProps) {\n var newFlattenedProps = _extends({}, newProps);\n\n Object.keys(arrayTypeChildren).forEach(function (arrayChildName) {\n var _babelHelpers$extends4;\n\n newFlattenedProps = _extends({}, newFlattenedProps, (_babelHelpers$extends4 = {}, _babelHelpers$extends4[arrayChildName] = arrayTypeChildren[arrayChildName], _babelHelpers$extends4));\n });\n\n return newFlattenedProps;\n };\n\n HelmetWrapper.prototype.warnOnInvalidChildren = function warnOnInvalidChildren(child, nestedChildren) {\n if (process.env.NODE_ENV !== \"production\") {\n if (!VALID_TAG_NAMES.some(function (name) {\n return child.type === name;\n })) {\n if (typeof child.type === \"function\") {\n return warn(\"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.\");\n }\n\n return warn(\"Only elements types \" + VALID_TAG_NAMES.join(\", \") + \" are allowed. Helmet does not support rendering <\" + child.type + \"> elements. Refer to our API for more information.\");\n }\n\n if (nestedChildren && typeof nestedChildren !== \"string\" && (!Array.isArray(nestedChildren) || nestedChildren.some(function (nestedChild) {\n return typeof nestedChild !== \"string\";\n }))) {\n throw new Error(\"Helmet expects a string as a child of <\" + child.type + \">. Did you forget to wrap your children in braces? ( <\" + child.type + \">{``} ) Refer to our API for more information.\");\n }\n }\n\n return true;\n };\n\n HelmetWrapper.prototype.mapChildrenToProps = function mapChildrenToProps(children, newProps) {\n var _this2 = this;\n\n var arrayTypeChildren = {};\n\n React.Children.forEach(children, function (child) {\n if (!child || !child.props) {\n return;\n }\n\n var _child$props = child.props,\n nestedChildren = _child$props.children,\n childProps = objectWithoutProperties(_child$props, [\"children\"]);\n\n var newChildProps = convertReactPropstoHtmlAttributes(childProps);\n\n _this2.warnOnInvalidChildren(child, nestedChildren);\n\n switch (child.type) {\n case TAG_NAMES.LINK:\n case TAG_NAMES.META:\n case TAG_NAMES.NOSCRIPT:\n case TAG_NAMES.SCRIPT:\n case TAG_NAMES.STYLE:\n arrayTypeChildren = _this2.flattenArrayTypeChildren({\n child: child,\n arrayTypeChildren: arrayTypeChildren,\n newChildProps: newChildProps,\n nestedChildren: nestedChildren\n });\n break;\n\n default:\n newProps = _this2.mapObjectTypeChildren({\n child: child,\n newProps: newProps,\n newChildProps: newChildProps,\n nestedChildren: nestedChildren\n });\n break;\n }\n });\n\n newProps = this.mapArrayTypeChildrenToProps(arrayTypeChildren, newProps);\n return newProps;\n };\n\n HelmetWrapper.prototype.render = function render() {\n var _props = this.props,\n children = _props.children,\n props = objectWithoutProperties(_props, [\"children\"]);\n\n var newProps = _extends({}, props);\n\n if (children) {\n newProps = this.mapChildrenToProps(children, newProps);\n }\n\n return React.createElement(Component, newProps);\n };\n\n createClass(HelmetWrapper, null, [{\n key: \"canUseDOM\",\n\n\n // Component.peek comes from react-side-effect:\n // For testing, you may use a static peek() method available on the returned component.\n // It lets you get the current state without resetting the mounted instance stack.\n // Don’t use it for anything other than testing.\n\n /**\n * @param {Object} base: {\"target\": \"_blank\", \"href\": \"http://mysite.com/\"}\n * @param {Object} bodyAttributes: {\"className\": \"root\"}\n * @param {String} defaultTitle: \"Default Title\"\n * @param {Boolean} defer: true\n * @param {Boolean} encodeSpecialCharacters: true\n * @param {Object} htmlAttributes: {\"lang\": \"en\", \"amp\": undefined}\n * @param {Array} link: [{\"rel\": \"canonical\", \"href\": \"http://mysite.com/example\"}]\n * @param {Array} meta: [{\"name\": \"description\", \"content\": \"Test description\"}]\n * @param {Array} noscript: [{\"innerHTML\": \" console.log(newState)\"\n * @param {Array} script: [{\"type\": \"text/javascript\", \"src\": \"http://mysite.com/js/test.js\"}]\n * @param {Array} style: [{\"type\": \"text/css\", \"cssText\": \"div { display: block; color: blue; }\"}]\n * @param {String} title: \"Title\"\n * @param {Object} titleAttributes: {\"itemprop\": \"name\"}\n * @param {String} titleTemplate: \"MySite.com - %s\"\n */\n set: function set$$1(canUseDOM) {\n Component.canUseDOM = canUseDOM;\n }\n }]);\n return HelmetWrapper;\n }(React.Component), _class.propTypes = {\n base: PropTypes.object,\n bodyAttributes: PropTypes.object,\n children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]),\n defaultTitle: PropTypes.string,\n defer: PropTypes.bool,\n encodeSpecialCharacters: PropTypes.bool,\n htmlAttributes: PropTypes.object,\n link: PropTypes.arrayOf(PropTypes.object),\n meta: PropTypes.arrayOf(PropTypes.object),\n noscript: PropTypes.arrayOf(PropTypes.object),\n onChangeClientState: PropTypes.func,\n script: PropTypes.arrayOf(PropTypes.object),\n style: PropTypes.arrayOf(PropTypes.object),\n title: PropTypes.string,\n titleAttributes: PropTypes.object,\n titleTemplate: PropTypes.string\n }, _class.defaultProps = {\n defer: true,\n encodeSpecialCharacters: true\n }, _class.peek = Component.peek, _class.rewind = function () {\n var mappedState = Component.rewind();\n if (!mappedState) {\n // provide fallback if mappedState is undefined\n mappedState = mapStateOnServer({\n baseTag: [],\n bodyAttributes: {},\n encodeSpecialCharacters: true,\n htmlAttributes: {},\n linkTags: [],\n metaTags: [],\n noscriptTags: [],\n scriptTags: [],\n styleTags: [],\n title: \"\",\n titleAttributes: {}\n });\n }\n\n return mappedState;\n }, _temp;\n};\n\nvar NullComponent = function NullComponent() {\n return null;\n};\n\nvar HelmetSideEffects = withSideEffect(reducePropsToState, handleClientStateChange, mapStateOnServer)(NullComponent);\n\nvar HelmetExport = Helmet(HelmetSideEffects);\nHelmetExport.renderStatic = HelmetExport.rewind;\n\nexport default HelmetExport;\nexport { HelmetExport as Helmet };\n","/**\n * SEO component that queries for data with\n * Gatsby's useStaticQuery React hook\n *\n * See: https://www.gatsbyjs.org/docs/use-static-query/\n */\n\nimport React from \"react\"\nimport PropTypes from \"prop-types\"\nimport { Helmet } from \"react-helmet\"\nimport { useStaticQuery, graphql } from \"gatsby\"\n\nfunction SEO({ description, lang, meta, keywords, title }) {\n const { site } = useStaticQuery(graphql`\n query {\n site {\n siteMetadata {\n title\n description\n author\n }\n }\n }\n `)\n\n const metaDescription = description || site.siteMetadata.description\n\n return (\n 0\n ? {\n name: `keywords`,\n content: keywords.join(`, `),\n }\n : []\n )\n .concat(meta)}\n />\n )\n}\n\nSEO.defaultProps = {\n lang: `en`,\n meta: [],\n keywords: [],\n description: ``,\n}\n\nSEO.propTypes = {\n description: PropTypes.string,\n lang: PropTypes.string,\n meta: PropTypes.arrayOf(PropTypes.object),\n keywords: PropTypes.arrayOf(PropTypes.string),\n title: PropTypes.string.isRequired,\n}\n\nexport default SEO\n","import React, { createContext, useContext, useState } from \"react\"\n\nconst defaultState = {\n currentScheme: {},\n selectedLanguage: \"\",\n conceptSchemeLanguages: [],\n indexPage: false,\n}\nconst Context = createContext(defaultState)\n\nexport const ContextProvider = ({ children }) => {\n const [data, setData] = useState(defaultState)\n const updateState = (_data) => setData(_data)\n\n const contextValues = {\n data,\n updateState,\n }\n\n return {children}\n}\n\nexport const useSkoHubContext = () => {\n const context = useContext(Context)\n if (context === undefined || context === null) {\n throw new Error(`useSkoHubContext must be called within ContextProvider`)\n }\n return context\n}\n","import { useStaticQuery, graphql } from \"gatsby\"\n\n/**\n * @returns {{\n * config: {\n * colors: {\n * skoHubWhite: string,\n * skoHubDarkColor: string,\n * skoHubMiddleColor: string,\n * skoHubLightColor: string,\n * skoHubThinColor: string,\n * skoHubBlackColor: string,\n * skoHubAction: string,\n * skoHubNotice: string,\n * skoHubDarkGrey: string,\n * skoHubMiddleGrey: string,\n * skoHubLightGrey: string\n * },\n * logo: string,\n * title: string,\n * fonts: {\n * bold: {\n * font_family: string,\n * font_style: string,\n * font_weight: string,\n * name: string\n * },\n * regular: {\n * font_family: string,\n * font_style: string,\n * font_weight: string,\n * name: string\n * }\n * },\n * searchableAttributes: string[],\n * customDomain: string,\n * failOnValidation: boolean\n * },\n * conceptSchemes: Object\n * }} An object containing `config` and `conceptSchemes`\n *\n */\nexport const getConfigAndConceptSchemes = () => {\n const { site, allConceptScheme } = useStaticQuery(graphql`\n query Colors {\n site {\n siteMetadata {\n colors {\n skoHubWhite\n skoHubDarkColor\n skoHubMiddleColor\n skoHubLightColor\n skoHubThinColor\n skoHubBlackColor\n skoHubAction\n skoHubNotice\n skoHubDarkGrey\n skoHubMiddleGrey\n skoHubLightGrey\n }\n logo\n title\n fonts {\n bold {\n font_family\n font_style\n font_weight\n name\n }\n regular {\n font_family\n font_style\n font_weight\n name\n }\n }\n searchableAttributes\n customDomain\n failOnValidation\n }\n }\n allConceptScheme {\n edges {\n node {\n id\n fields {\n languages\n }\n }\n }\n }\n }\n `)\n const conceptSchemes = allConceptScheme.edges\n .map(({ node }) => ({\n [node.id]: { languages: node.fields.languages },\n }))\n .reduce((prev, curr) => ({ ...prev, ...curr }), {})\n return { config: site.siteMetadata, conceptSchemes }\n}\n","/**\n * @param {object} concept\n * @param {object} conceptSchemes\n */\nexport const getUserLang = ({ availableLanguages = [], selectedLanguage }) => {\n if (typeof window !== \"undefined\") {\n /** @prop {string} */\n const userLang = (navigator.language || navigator.userLanguage).slice(0, 2)\n if (selectedLanguage && availableLanguages.includes(selectedLanguage)) {\n return selectedLanguage\n } else if (\n selectedLanguage &&\n !availableLanguages.includes(selectedLanguage) &&\n availableLanguages.includes(userLang)\n ) {\n return userLang\n } else if (availableLanguages.includes(userLang)) return userLang\n else {\n const language = availableLanguages[0]\n return language\n }\n }\n}\n","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n if (process.env.NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error(\n 'Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.'\n );\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(\n format.replace(/%s/g, function() { return args[argIndex++]; })\n );\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n","'use strict';\n\n\nvar loader = require('./lib/loader');\nvar dumper = require('./lib/dumper');\n\n\nfunction renamed(from, to) {\n return function () {\n throw new Error('Function yaml.' + from + ' is removed in js-yaml 4. ' +\n 'Use yaml.' + to + ' instead, which is now safe by default.');\n };\n}\n\n\nmodule.exports.Type = require('./lib/type');\nmodule.exports.Schema = require('./lib/schema');\nmodule.exports.FAILSAFE_SCHEMA = require('./lib/schema/failsafe');\nmodule.exports.JSON_SCHEMA = require('./lib/schema/json');\nmodule.exports.CORE_SCHEMA = require('./lib/schema/core');\nmodule.exports.DEFAULT_SCHEMA = require('./lib/schema/default');\nmodule.exports.load = loader.load;\nmodule.exports.loadAll = loader.loadAll;\nmodule.exports.dump = dumper.dump;\nmodule.exports.YAMLException = require('./lib/exception');\n\n// Re-export all types in case user wants to create custom schema\nmodule.exports.types = {\n binary: require('./lib/type/binary'),\n float: require('./lib/type/float'),\n map: require('./lib/type/map'),\n null: require('./lib/type/null'),\n pairs: require('./lib/type/pairs'),\n set: require('./lib/type/set'),\n timestamp: require('./lib/type/timestamp'),\n bool: require('./lib/type/bool'),\n int: require('./lib/type/int'),\n merge: require('./lib/type/merge'),\n omap: require('./lib/type/omap'),\n seq: require('./lib/type/seq'),\n str: require('./lib/type/str')\n};\n\n// Removed functions from JS-YAML 3.0.x\nmodule.exports.safeLoad = renamed('safeLoad', 'load');\nmodule.exports.safeLoadAll = renamed('safeLoadAll', 'loadAll');\nmodule.exports.safeDump = renamed('safeDump', 'dump');\n","'use strict';\n\n\nfunction isNothing(subject) {\n return (typeof subject === 'undefined') || (subject === null);\n}\n\n\nfunction isObject(subject) {\n return (typeof subject === 'object') && (subject !== null);\n}\n\n\nfunction toArray(sequence) {\n if (Array.isArray(sequence)) return sequence;\n else if (isNothing(sequence)) return [];\n\n return [ sequence ];\n}\n\n\nfunction extend(target, source) {\n var index, length, key, sourceKeys;\n\n if (source) {\n sourceKeys = Object.keys(source);\n\n for (index = 0, length = sourceKeys.length; index < length; index += 1) {\n key = sourceKeys[index];\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\n\nfunction repeat(string, count) {\n var result = '', cycle;\n\n for (cycle = 0; cycle < count; cycle += 1) {\n result += string;\n }\n\n return result;\n}\n\n\nfunction isNegativeZero(number) {\n return (number === 0) && (Number.NEGATIVE_INFINITY === 1 / number);\n}\n\n\nmodule.exports.isNothing = isNothing;\nmodule.exports.isObject = isObject;\nmodule.exports.toArray = toArray;\nmodule.exports.repeat = repeat;\nmodule.exports.isNegativeZero = isNegativeZero;\nmodule.exports.extend = extend;\n","'use strict';\n\n/*eslint-disable no-use-before-define*/\n\nvar common = require('./common');\nvar YAMLException = require('./exception');\nvar DEFAULT_SCHEMA = require('./schema/default');\n\nvar _toString = Object.prototype.toString;\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar CHAR_BOM = 0xFEFF;\nvar CHAR_TAB = 0x09; /* Tab */\nvar CHAR_LINE_FEED = 0x0A; /* LF */\nvar CHAR_CARRIAGE_RETURN = 0x0D; /* CR */\nvar CHAR_SPACE = 0x20; /* Space */\nvar CHAR_EXCLAMATION = 0x21; /* ! */\nvar CHAR_DOUBLE_QUOTE = 0x22; /* \" */\nvar CHAR_SHARP = 0x23; /* # */\nvar CHAR_PERCENT = 0x25; /* % */\nvar CHAR_AMPERSAND = 0x26; /* & */\nvar CHAR_SINGLE_QUOTE = 0x27; /* ' */\nvar CHAR_ASTERISK = 0x2A; /* * */\nvar CHAR_COMMA = 0x2C; /* , */\nvar CHAR_MINUS = 0x2D; /* - */\nvar CHAR_COLON = 0x3A; /* : */\nvar CHAR_EQUALS = 0x3D; /* = */\nvar CHAR_GREATER_THAN = 0x3E; /* > */\nvar CHAR_QUESTION = 0x3F; /* ? */\nvar CHAR_COMMERCIAL_AT = 0x40; /* @ */\nvar CHAR_LEFT_SQUARE_BRACKET = 0x5B; /* [ */\nvar CHAR_RIGHT_SQUARE_BRACKET = 0x5D; /* ] */\nvar CHAR_GRAVE_ACCENT = 0x60; /* ` */\nvar CHAR_LEFT_CURLY_BRACKET = 0x7B; /* { */\nvar CHAR_VERTICAL_LINE = 0x7C; /* | */\nvar CHAR_RIGHT_CURLY_BRACKET = 0x7D; /* } */\n\nvar ESCAPE_SEQUENCES = {};\n\nESCAPE_SEQUENCES[0x00] = '\\\\0';\nESCAPE_SEQUENCES[0x07] = '\\\\a';\nESCAPE_SEQUENCES[0x08] = '\\\\b';\nESCAPE_SEQUENCES[0x09] = '\\\\t';\nESCAPE_SEQUENCES[0x0A] = '\\\\n';\nESCAPE_SEQUENCES[0x0B] = '\\\\v';\nESCAPE_SEQUENCES[0x0C] = '\\\\f';\nESCAPE_SEQUENCES[0x0D] = '\\\\r';\nESCAPE_SEQUENCES[0x1B] = '\\\\e';\nESCAPE_SEQUENCES[0x22] = '\\\\\"';\nESCAPE_SEQUENCES[0x5C] = '\\\\\\\\';\nESCAPE_SEQUENCES[0x85] = '\\\\N';\nESCAPE_SEQUENCES[0xA0] = '\\\\_';\nESCAPE_SEQUENCES[0x2028] = '\\\\L';\nESCAPE_SEQUENCES[0x2029] = '\\\\P';\n\nvar DEPRECATED_BOOLEANS_SYNTAX = [\n 'y', 'Y', 'yes', 'Yes', 'YES', 'on', 'On', 'ON',\n 'n', 'N', 'no', 'No', 'NO', 'off', 'Off', 'OFF'\n];\n\nvar DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\\.[0-9_]*)?$/;\n\nfunction compileStyleMap(schema, map) {\n var result, keys, index, length, tag, style, type;\n\n if (map === null) return {};\n\n result = {};\n keys = Object.keys(map);\n\n for (index = 0, length = keys.length; index < length; index += 1) {\n tag = keys[index];\n style = String(map[tag]);\n\n if (tag.slice(0, 2) === '!!') {\n tag = 'tag:yaml.org,2002:' + tag.slice(2);\n }\n type = schema.compiledTypeMap['fallback'][tag];\n\n if (type && _hasOwnProperty.call(type.styleAliases, style)) {\n style = type.styleAliases[style];\n }\n\n result[tag] = style;\n }\n\n return result;\n}\n\nfunction encodeHex(character) {\n var string, handle, length;\n\n string = character.toString(16).toUpperCase();\n\n if (character <= 0xFF) {\n handle = 'x';\n length = 2;\n } else if (character <= 0xFFFF) {\n handle = 'u';\n length = 4;\n } else if (character <= 0xFFFFFFFF) {\n handle = 'U';\n length = 8;\n } else {\n throw new YAMLException('code point within a string may not be greater than 0xFFFFFFFF');\n }\n\n return '\\\\' + handle + common.repeat('0', length - string.length) + string;\n}\n\n\nvar QUOTING_TYPE_SINGLE = 1,\n QUOTING_TYPE_DOUBLE = 2;\n\nfunction State(options) {\n this.schema = options['schema'] || DEFAULT_SCHEMA;\n this.indent = Math.max(1, (options['indent'] || 2));\n this.noArrayIndent = options['noArrayIndent'] || false;\n this.skipInvalid = options['skipInvalid'] || false;\n this.flowLevel = (common.isNothing(options['flowLevel']) ? -1 : options['flowLevel']);\n this.styleMap = compileStyleMap(this.schema, options['styles'] || null);\n this.sortKeys = options['sortKeys'] || false;\n this.lineWidth = options['lineWidth'] || 80;\n this.noRefs = options['noRefs'] || false;\n this.noCompatMode = options['noCompatMode'] || false;\n this.condenseFlow = options['condenseFlow'] || false;\n this.quotingType = options['quotingType'] === '\"' ? QUOTING_TYPE_DOUBLE : QUOTING_TYPE_SINGLE;\n this.forceQuotes = options['forceQuotes'] || false;\n this.replacer = typeof options['replacer'] === 'function' ? options['replacer'] : null;\n\n this.implicitTypes = this.schema.compiledImplicit;\n this.explicitTypes = this.schema.compiledExplicit;\n\n this.tag = null;\n this.result = '';\n\n this.duplicates = [];\n this.usedDuplicates = null;\n}\n\n// Indents every line in a string. Empty lines (\\n only) are not indented.\nfunction indentString(string, spaces) {\n var ind = common.repeat(' ', spaces),\n position = 0,\n next = -1,\n result = '',\n line,\n length = string.length;\n\n while (position < length) {\n next = string.indexOf('\\n', position);\n if (next === -1) {\n line = string.slice(position);\n position = length;\n } else {\n line = string.slice(position, next + 1);\n position = next + 1;\n }\n\n if (line.length && line !== '\\n') result += ind;\n\n result += line;\n }\n\n return result;\n}\n\nfunction generateNextLine(state, level) {\n return '\\n' + common.repeat(' ', state.indent * level);\n}\n\nfunction testImplicitResolving(state, str) {\n var index, length, type;\n\n for (index = 0, length = state.implicitTypes.length; index < length; index += 1) {\n type = state.implicitTypes[index];\n\n if (type.resolve(str)) {\n return true;\n }\n }\n\n return false;\n}\n\n// [33] s-white ::= s-space | s-tab\nfunction isWhitespace(c) {\n return c === CHAR_SPACE || c === CHAR_TAB;\n}\n\n// Returns true if the character can be printed without escaping.\n// From YAML 1.2: \"any allowed characters known to be non-printable\n// should also be escaped. [However,] This isn’t mandatory\"\n// Derived from nb-char - \\t - #x85 - #xA0 - #x2028 - #x2029.\nfunction isPrintable(c) {\n return (0x00020 <= c && c <= 0x00007E)\n || ((0x000A1 <= c && c <= 0x00D7FF) && c !== 0x2028 && c !== 0x2029)\n || ((0x0E000 <= c && c <= 0x00FFFD) && c !== CHAR_BOM)\n || (0x10000 <= c && c <= 0x10FFFF);\n}\n\n// [34] ns-char ::= nb-char - s-white\n// [27] nb-char ::= c-printable - b-char - c-byte-order-mark\n// [26] b-char ::= b-line-feed | b-carriage-return\n// Including s-white (for some reason, examples doesn't match specs in this aspect)\n// ns-char ::= c-printable - b-line-feed - b-carriage-return - c-byte-order-mark\nfunction isNsCharOrWhitespace(c) {\n return isPrintable(c)\n && c !== CHAR_BOM\n // - b-char\n && c !== CHAR_CARRIAGE_RETURN\n && c !== CHAR_LINE_FEED;\n}\n\n// [127] ns-plain-safe(c) ::= c = flow-out ⇒ ns-plain-safe-out\n// c = flow-in ⇒ ns-plain-safe-in\n// c = block-key ⇒ ns-plain-safe-out\n// c = flow-key ⇒ ns-plain-safe-in\n// [128] ns-plain-safe-out ::= ns-char\n// [129] ns-plain-safe-in ::= ns-char - c-flow-indicator\n// [130] ns-plain-char(c) ::= ( ns-plain-safe(c) - “:” - “#” )\n// | ( /* An ns-char preceding */ “#” )\n// | ( “:” /* Followed by an ns-plain-safe(c) */ )\nfunction isPlainSafe(c, prev, inblock) {\n var cIsNsCharOrWhitespace = isNsCharOrWhitespace(c);\n var cIsNsChar = cIsNsCharOrWhitespace && !isWhitespace(c);\n return (\n // ns-plain-safe\n inblock ? // c = flow-in\n cIsNsCharOrWhitespace\n : cIsNsCharOrWhitespace\n // - c-flow-indicator\n && c !== CHAR_COMMA\n && c !== CHAR_LEFT_SQUARE_BRACKET\n && c !== CHAR_RIGHT_SQUARE_BRACKET\n && c !== CHAR_LEFT_CURLY_BRACKET\n && c !== CHAR_RIGHT_CURLY_BRACKET\n )\n // ns-plain-char\n && c !== CHAR_SHARP // false on '#'\n && !(prev === CHAR_COLON && !cIsNsChar) // false on ': '\n || (isNsCharOrWhitespace(prev) && !isWhitespace(prev) && c === CHAR_SHARP) // change to true on '[^ ]#'\n || (prev === CHAR_COLON && cIsNsChar); // change to true on ':[^ ]'\n}\n\n// Simplified test for values allowed as the first character in plain style.\nfunction isPlainSafeFirst(c) {\n // Uses a subset of ns-char - c-indicator\n // where ns-char = nb-char - s-white.\n // No support of ( ( “?” | “:” | “-” ) /* Followed by an ns-plain-safe(c)) */ ) part\n return isPrintable(c) && c !== CHAR_BOM\n && !isWhitespace(c) // - s-white\n // - (c-indicator ::=\n // “-” | “?” | “:” | “,” | “[” | “]” | “{” | “}”\n && c !== CHAR_MINUS\n && c !== CHAR_QUESTION\n && c !== CHAR_COLON\n && c !== CHAR_COMMA\n && c !== CHAR_LEFT_SQUARE_BRACKET\n && c !== CHAR_RIGHT_SQUARE_BRACKET\n && c !== CHAR_LEFT_CURLY_BRACKET\n && c !== CHAR_RIGHT_CURLY_BRACKET\n // | “#” | “&” | “*” | “!” | “|” | “=” | “>” | “'” | “\"”\n && c !== CHAR_SHARP\n && c !== CHAR_AMPERSAND\n && c !== CHAR_ASTERISK\n && c !== CHAR_EXCLAMATION\n && c !== CHAR_VERTICAL_LINE\n && c !== CHAR_EQUALS\n && c !== CHAR_GREATER_THAN\n && c !== CHAR_SINGLE_QUOTE\n && c !== CHAR_DOUBLE_QUOTE\n // | “%” | “@” | “`”)\n && c !== CHAR_PERCENT\n && c !== CHAR_COMMERCIAL_AT\n && c !== CHAR_GRAVE_ACCENT;\n}\n\n// Simplified test for values allowed as the last character in plain style.\nfunction isPlainSafeLast(c) {\n // just not whitespace or colon, it will be checked to be plain character later\n return !isWhitespace(c) && c !== CHAR_COLON;\n}\n\n// Same as 'string'.codePointAt(pos), but works in older browsers.\nfunction codePointAt(string, pos) {\n var first = string.charCodeAt(pos), second;\n if (first >= 0xD800 && first <= 0xDBFF && pos + 1 < string.length) {\n second = string.charCodeAt(pos + 1);\n if (second >= 0xDC00 && second <= 0xDFFF) {\n // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n return (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000;\n }\n }\n return first;\n}\n\n// Determines whether block indentation indicator is required.\nfunction needIndentIndicator(string) {\n var leadingSpaceRe = /^\\n* /;\n return leadingSpaceRe.test(string);\n}\n\nvar STYLE_PLAIN = 1,\n STYLE_SINGLE = 2,\n STYLE_LITERAL = 3,\n STYLE_FOLDED = 4,\n STYLE_DOUBLE = 5;\n\n// Determines which scalar styles are possible and returns the preferred style.\n// lineWidth = -1 => no limit.\n// Pre-conditions: str.length > 0.\n// Post-conditions:\n// STYLE_PLAIN or STYLE_SINGLE => no \\n are in the string.\n// STYLE_LITERAL => no lines are suitable for folding (or lineWidth is -1).\n// STYLE_FOLDED => a line > lineWidth and can be folded (and lineWidth != -1).\nfunction chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth,\n testAmbiguousType, quotingType, forceQuotes, inblock) {\n\n var i;\n var char = 0;\n var prevChar = null;\n var hasLineBreak = false;\n var hasFoldableLine = false; // only checked if shouldTrackWidth\n var shouldTrackWidth = lineWidth !== -1;\n var previousLineBreak = -1; // count the first line correctly\n var plain = isPlainSafeFirst(codePointAt(string, 0))\n && isPlainSafeLast(codePointAt(string, string.length - 1));\n\n if (singleLineOnly || forceQuotes) {\n // Case: no block styles.\n // Check for disallowed characters to rule out plain and single.\n for (i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) {\n char = codePointAt(string, i);\n if (!isPrintable(char)) {\n return STYLE_DOUBLE;\n }\n plain = plain && isPlainSafe(char, prevChar, inblock);\n prevChar = char;\n }\n } else {\n // Case: block styles permitted.\n for (i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) {\n char = codePointAt(string, i);\n if (char === CHAR_LINE_FEED) {\n hasLineBreak = true;\n // Check if any line can be folded.\n if (shouldTrackWidth) {\n hasFoldableLine = hasFoldableLine ||\n // Foldable line = too long, and not more-indented.\n (i - previousLineBreak - 1 > lineWidth &&\n string[previousLineBreak + 1] !== ' ');\n previousLineBreak = i;\n }\n } else if (!isPrintable(char)) {\n return STYLE_DOUBLE;\n }\n plain = plain && isPlainSafe(char, prevChar, inblock);\n prevChar = char;\n }\n // in case the end is missing a \\n\n hasFoldableLine = hasFoldableLine || (shouldTrackWidth &&\n (i - previousLineBreak - 1 > lineWidth &&\n string[previousLineBreak + 1] !== ' '));\n }\n // Although every style can represent \\n without escaping, prefer block styles\n // for multiline, since they're more readable and they don't add empty lines.\n // Also prefer folding a super-long line.\n if (!hasLineBreak && !hasFoldableLine) {\n // Strings interpretable as another type have to be quoted;\n // e.g. the string 'true' vs. the boolean true.\n if (plain && !forceQuotes && !testAmbiguousType(string)) {\n return STYLE_PLAIN;\n }\n return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;\n }\n // Edge case: block indentation indicator can only have one digit.\n if (indentPerLevel > 9 && needIndentIndicator(string)) {\n return STYLE_DOUBLE;\n }\n // At this point we know block styles are valid.\n // Prefer literal style unless we want to fold.\n if (!forceQuotes) {\n return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL;\n }\n return quotingType === QUOTING_TYPE_DOUBLE ? STYLE_DOUBLE : STYLE_SINGLE;\n}\n\n// Note: line breaking/folding is implemented for only the folded style.\n// NB. We drop the last trailing newline (if any) of a returned block scalar\n// since the dumper adds its own newline. This always works:\n// • No ending newline => unaffected; already using strip \"-\" chomping.\n// • Ending newline => removed then restored.\n// Importantly, this keeps the \"+\" chomp indicator from gaining an extra line.\nfunction writeScalar(state, string, level, iskey, inblock) {\n state.dump = (function () {\n if (string.length === 0) {\n return state.quotingType === QUOTING_TYPE_DOUBLE ? '\"\"' : \"''\";\n }\n if (!state.noCompatMode) {\n if (DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1 || DEPRECATED_BASE60_SYNTAX.test(string)) {\n return state.quotingType === QUOTING_TYPE_DOUBLE ? ('\"' + string + '\"') : (\"'\" + string + \"'\");\n }\n }\n\n var indent = state.indent * Math.max(1, level); // no 0-indent scalars\n // As indentation gets deeper, let the width decrease monotonically\n // to the lower bound min(state.lineWidth, 40).\n // Note that this implies\n // state.lineWidth ≤ 40 + state.indent: width is fixed at the lower bound.\n // state.lineWidth > 40 + state.indent: width decreases until the lower bound.\n // This behaves better than a constant minimum width which disallows narrower options,\n // or an indent threshold which causes the width to suddenly increase.\n var lineWidth = state.lineWidth === -1\n ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent);\n\n // Without knowing if keys are implicit/explicit, assume implicit for safety.\n var singleLineOnly = iskey\n // No block styles in flow mode.\n || (state.flowLevel > -1 && level >= state.flowLevel);\n function testAmbiguity(string) {\n return testImplicitResolving(state, string);\n }\n\n switch (chooseScalarStyle(string, singleLineOnly, state.indent, lineWidth,\n testAmbiguity, state.quotingType, state.forceQuotes && !iskey, inblock)) {\n\n case STYLE_PLAIN:\n return string;\n case STYLE_SINGLE:\n return \"'\" + string.replace(/'/g, \"''\") + \"'\";\n case STYLE_LITERAL:\n return '|' + blockHeader(string, state.indent)\n + dropEndingNewline(indentString(string, indent));\n case STYLE_FOLDED:\n return '>' + blockHeader(string, state.indent)\n + dropEndingNewline(indentString(foldString(string, lineWidth), indent));\n case STYLE_DOUBLE:\n return '\"' + escapeString(string, lineWidth) + '\"';\n default:\n throw new YAMLException('impossible error: invalid scalar style');\n }\n }());\n}\n\n// Pre-conditions: string is valid for a block scalar, 1 <= indentPerLevel <= 9.\nfunction blockHeader(string, indentPerLevel) {\n var indentIndicator = needIndentIndicator(string) ? String(indentPerLevel) : '';\n\n // note the special case: the string '\\n' counts as a \"trailing\" empty line.\n var clip = string[string.length - 1] === '\\n';\n var keep = clip && (string[string.length - 2] === '\\n' || string === '\\n');\n var chomp = keep ? '+' : (clip ? '' : '-');\n\n return indentIndicator + chomp + '\\n';\n}\n\n// (See the note for writeScalar.)\nfunction dropEndingNewline(string) {\n return string[string.length - 1] === '\\n' ? string.slice(0, -1) : string;\n}\n\n// Note: a long line without a suitable break point will exceed the width limit.\n// Pre-conditions: every char in str isPrintable, str.length > 0, width > 0.\nfunction foldString(string, width) {\n // In folded style, $k$ consecutive newlines output as $k+1$ newlines—\n // unless they're before or after a more-indented line, or at the very\n // beginning or end, in which case $k$ maps to $k$.\n // Therefore, parse each chunk as newline(s) followed by a content line.\n var lineRe = /(\\n+)([^\\n]*)/g;\n\n // first line (possibly an empty line)\n var result = (function () {\n var nextLF = string.indexOf('\\n');\n nextLF = nextLF !== -1 ? nextLF : string.length;\n lineRe.lastIndex = nextLF;\n return foldLine(string.slice(0, nextLF), width);\n }());\n // If we haven't reached the first content line yet, don't add an extra \\n.\n var prevMoreIndented = string[0] === '\\n' || string[0] === ' ';\n var moreIndented;\n\n // rest of the lines\n var match;\n while ((match = lineRe.exec(string))) {\n var prefix = match[1], line = match[2];\n moreIndented = (line[0] === ' ');\n result += prefix\n + (!prevMoreIndented && !moreIndented && line !== ''\n ? '\\n' : '')\n + foldLine(line, width);\n prevMoreIndented = moreIndented;\n }\n\n return result;\n}\n\n// Greedy line breaking.\n// Picks the longest line under the limit each time,\n// otherwise settles for the shortest line over the limit.\n// NB. More-indented lines *cannot* be folded, as that would add an extra \\n.\nfunction foldLine(line, width) {\n if (line === '' || line[0] === ' ') return line;\n\n // Since a more-indented line adds a \\n, breaks can't be followed by a space.\n var breakRe = / [^ ]/g; // note: the match index will always be <= length-2.\n var match;\n // start is an inclusive index. end, curr, and next are exclusive.\n var start = 0, end, curr = 0, next = 0;\n var result = '';\n\n // Invariants: 0 <= start <= length-1.\n // 0 <= curr <= next <= max(0, length-2). curr - start <= width.\n // Inside the loop:\n // A match implies length >= 2, so curr and next are <= length-2.\n while ((match = breakRe.exec(line))) {\n next = match.index;\n // maintain invariant: curr - start <= width\n if (next - start > width) {\n end = (curr > start) ? curr : next; // derive end <= length-2\n result += '\\n' + line.slice(start, end);\n // skip the space that was output as \\n\n start = end + 1; // derive start <= length-1\n }\n curr = next;\n }\n\n // By the invariants, start <= length-1, so there is something left over.\n // It is either the whole string or a part starting from non-whitespace.\n result += '\\n';\n // Insert a break if the remainder is too long and there is a break available.\n if (line.length - start > width && curr > start) {\n result += line.slice(start, curr) + '\\n' + line.slice(curr + 1);\n } else {\n result += line.slice(start);\n }\n\n return result.slice(1); // drop extra \\n joiner\n}\n\n// Escapes a double-quoted string.\nfunction escapeString(string) {\n var result = '';\n var char = 0;\n var escapeSeq;\n\n for (var i = 0; i < string.length; char >= 0x10000 ? i += 2 : i++) {\n char = codePointAt(string, i);\n escapeSeq = ESCAPE_SEQUENCES[char];\n\n if (!escapeSeq && isPrintable(char)) {\n result += string[i];\n if (char >= 0x10000) result += string[i + 1];\n } else {\n result += escapeSeq || encodeHex(char);\n }\n }\n\n return result;\n}\n\nfunction writeFlowSequence(state, level, object) {\n var _result = '',\n _tag = state.tag,\n index,\n length,\n value;\n\n for (index = 0, length = object.length; index < length; index += 1) {\n value = object[index];\n\n if (state.replacer) {\n value = state.replacer.call(object, String(index), value);\n }\n\n // Write only valid elements, put null instead of invalid elements.\n if (writeNode(state, level, value, false, false) ||\n (typeof value === 'undefined' &&\n writeNode(state, level, null, false, false))) {\n\n if (_result !== '') _result += ',' + (!state.condenseFlow ? ' ' : '');\n _result += state.dump;\n }\n }\n\n state.tag = _tag;\n state.dump = '[' + _result + ']';\n}\n\nfunction writeBlockSequence(state, level, object, compact) {\n var _result = '',\n _tag = state.tag,\n index,\n length,\n value;\n\n for (index = 0, length = object.length; index < length; index += 1) {\n value = object[index];\n\n if (state.replacer) {\n value = state.replacer.call(object, String(index), value);\n }\n\n // Write only valid elements, put null instead of invalid elements.\n if (writeNode(state, level + 1, value, true, true, false, true) ||\n (typeof value === 'undefined' &&\n writeNode(state, level + 1, null, true, true, false, true))) {\n\n if (!compact || _result !== '') {\n _result += generateNextLine(state, level);\n }\n\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n _result += '-';\n } else {\n _result += '- ';\n }\n\n _result += state.dump;\n }\n }\n\n state.tag = _tag;\n state.dump = _result || '[]'; // Empty sequence if no valid values.\n}\n\nfunction writeFlowMapping(state, level, object) {\n var _result = '',\n _tag = state.tag,\n objectKeyList = Object.keys(object),\n index,\n length,\n objectKey,\n objectValue,\n pairBuffer;\n\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n\n pairBuffer = '';\n if (_result !== '') pairBuffer += ', ';\n\n if (state.condenseFlow) pairBuffer += '\"';\n\n objectKey = objectKeyList[index];\n objectValue = object[objectKey];\n\n if (state.replacer) {\n objectValue = state.replacer.call(object, objectKey, objectValue);\n }\n\n if (!writeNode(state, level, objectKey, false, false)) {\n continue; // Skip this pair because of invalid key;\n }\n\n if (state.dump.length > 1024) pairBuffer += '? ';\n\n pairBuffer += state.dump + (state.condenseFlow ? '\"' : '') + ':' + (state.condenseFlow ? '' : ' ');\n\n if (!writeNode(state, level, objectValue, false, false)) {\n continue; // Skip this pair because of invalid value.\n }\n\n pairBuffer += state.dump;\n\n // Both key and value are valid.\n _result += pairBuffer;\n }\n\n state.tag = _tag;\n state.dump = '{' + _result + '}';\n}\n\nfunction writeBlockMapping(state, level, object, compact) {\n var _result = '',\n _tag = state.tag,\n objectKeyList = Object.keys(object),\n index,\n length,\n objectKey,\n objectValue,\n explicitPair,\n pairBuffer;\n\n // Allow sorting keys so that the output file is deterministic\n if (state.sortKeys === true) {\n // Default sorting\n objectKeyList.sort();\n } else if (typeof state.sortKeys === 'function') {\n // Custom sort function\n objectKeyList.sort(state.sortKeys);\n } else if (state.sortKeys) {\n // Something is wrong\n throw new YAMLException('sortKeys must be a boolean or a function');\n }\n\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n pairBuffer = '';\n\n if (!compact || _result !== '') {\n pairBuffer += generateNextLine(state, level);\n }\n\n objectKey = objectKeyList[index];\n objectValue = object[objectKey];\n\n if (state.replacer) {\n objectValue = state.replacer.call(object, objectKey, objectValue);\n }\n\n if (!writeNode(state, level + 1, objectKey, true, true, true)) {\n continue; // Skip this pair because of invalid key.\n }\n\n explicitPair = (state.tag !== null && state.tag !== '?') ||\n (state.dump && state.dump.length > 1024);\n\n if (explicitPair) {\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n pairBuffer += '?';\n } else {\n pairBuffer += '? ';\n }\n }\n\n pairBuffer += state.dump;\n\n if (explicitPair) {\n pairBuffer += generateNextLine(state, level);\n }\n\n if (!writeNode(state, level + 1, objectValue, true, explicitPair)) {\n continue; // Skip this pair because of invalid value.\n }\n\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n pairBuffer += ':';\n } else {\n pairBuffer += ': ';\n }\n\n pairBuffer += state.dump;\n\n // Both key and value are valid.\n _result += pairBuffer;\n }\n\n state.tag = _tag;\n state.dump = _result || '{}'; // Empty mapping if no valid pairs.\n}\n\nfunction detectType(state, object, explicit) {\n var _result, typeList, index, length, type, style;\n\n typeList = explicit ? state.explicitTypes : state.implicitTypes;\n\n for (index = 0, length = typeList.length; index < length; index += 1) {\n type = typeList[index];\n\n if ((type.instanceOf || type.predicate) &&\n (!type.instanceOf || ((typeof object === 'object') && (object instanceof type.instanceOf))) &&\n (!type.predicate || type.predicate(object))) {\n\n if (explicit) {\n if (type.multi && type.representName) {\n state.tag = type.representName(object);\n } else {\n state.tag = type.tag;\n }\n } else {\n state.tag = '?';\n }\n\n if (type.represent) {\n style = state.styleMap[type.tag] || type.defaultStyle;\n\n if (_toString.call(type.represent) === '[object Function]') {\n _result = type.represent(object, style);\n } else if (_hasOwnProperty.call(type.represent, style)) {\n _result = type.represent[style](object, style);\n } else {\n throw new YAMLException('!<' + type.tag + '> tag resolver accepts not \"' + style + '\" style');\n }\n\n state.dump = _result;\n }\n\n return true;\n }\n }\n\n return false;\n}\n\n// Serializes `object` and writes it to global `result`.\n// Returns true on success, or false on invalid object.\n//\nfunction writeNode(state, level, object, block, compact, iskey, isblockseq) {\n state.tag = null;\n state.dump = object;\n\n if (!detectType(state, object, false)) {\n detectType(state, object, true);\n }\n\n var type = _toString.call(state.dump);\n var inblock = block;\n var tagStr;\n\n if (block) {\n block = (state.flowLevel < 0 || state.flowLevel > level);\n }\n\n var objectOrArray = type === '[object Object]' || type === '[object Array]',\n duplicateIndex,\n duplicate;\n\n if (objectOrArray) {\n duplicateIndex = state.duplicates.indexOf(object);\n duplicate = duplicateIndex !== -1;\n }\n\n if ((state.tag !== null && state.tag !== '?') || duplicate || (state.indent !== 2 && level > 0)) {\n compact = false;\n }\n\n if (duplicate && state.usedDuplicates[duplicateIndex]) {\n state.dump = '*ref_' + duplicateIndex;\n } else {\n if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) {\n state.usedDuplicates[duplicateIndex] = true;\n }\n if (type === '[object Object]') {\n if (block && (Object.keys(state.dump).length !== 0)) {\n writeBlockMapping(state, level, state.dump, compact);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + state.dump;\n }\n } else {\n writeFlowMapping(state, level, state.dump);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;\n }\n }\n } else if (type === '[object Array]') {\n if (block && (state.dump.length !== 0)) {\n if (state.noArrayIndent && !isblockseq && level > 0) {\n writeBlockSequence(state, level - 1, state.dump, compact);\n } else {\n writeBlockSequence(state, level, state.dump, compact);\n }\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + state.dump;\n }\n } else {\n writeFlowSequence(state, level, state.dump);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;\n }\n }\n } else if (type === '[object String]') {\n if (state.tag !== '?') {\n writeScalar(state, state.dump, level, iskey, inblock);\n }\n } else if (type === '[object Undefined]') {\n return false;\n } else {\n if (state.skipInvalid) return false;\n throw new YAMLException('unacceptable kind of an object to dump ' + type);\n }\n\n if (state.tag !== null && state.tag !== '?') {\n // Need to encode all characters except those allowed by the spec:\n //\n // [35] ns-dec-digit ::= [#x30-#x39] /* 0-9 */\n // [36] ns-hex-digit ::= ns-dec-digit\n // | [#x41-#x46] /* A-F */ | [#x61-#x66] /* a-f */\n // [37] ns-ascii-letter ::= [#x41-#x5A] /* A-Z */ | [#x61-#x7A] /* a-z */\n // [38] ns-word-char ::= ns-dec-digit | ns-ascii-letter | “-”\n // [39] ns-uri-char ::= “%” ns-hex-digit ns-hex-digit | ns-word-char | “#”\n // | “;” | “/” | “?” | “:” | “@” | “&” | “=” | “+” | “$” | “,”\n // | “_” | “.” | “!” | “~” | “*” | “'” | “(” | “)” | “[” | “]”\n //\n // Also need to encode '!' because it has special meaning (end of tag prefix).\n //\n tagStr = encodeURI(\n state.tag[0] === '!' ? state.tag.slice(1) : state.tag\n ).replace(/!/g, '%21');\n\n if (state.tag[0] === '!') {\n tagStr = '!' + tagStr;\n } else if (tagStr.slice(0, 18) === 'tag:yaml.org,2002:') {\n tagStr = '!!' + tagStr.slice(18);\n } else {\n tagStr = '!<' + tagStr + '>';\n }\n\n state.dump = tagStr + ' ' + state.dump;\n }\n }\n\n return true;\n}\n\nfunction getDuplicateReferences(object, state) {\n var objects = [],\n duplicatesIndexes = [],\n index,\n length;\n\n inspectNode(object, objects, duplicatesIndexes);\n\n for (index = 0, length = duplicatesIndexes.length; index < length; index += 1) {\n state.duplicates.push(objects[duplicatesIndexes[index]]);\n }\n state.usedDuplicates = new Array(length);\n}\n\nfunction inspectNode(object, objects, duplicatesIndexes) {\n var objectKeyList,\n index,\n length;\n\n if (object !== null && typeof object === 'object') {\n index = objects.indexOf(object);\n if (index !== -1) {\n if (duplicatesIndexes.indexOf(index) === -1) {\n duplicatesIndexes.push(index);\n }\n } else {\n objects.push(object);\n\n if (Array.isArray(object)) {\n for (index = 0, length = object.length; index < length; index += 1) {\n inspectNode(object[index], objects, duplicatesIndexes);\n }\n } else {\n objectKeyList = Object.keys(object);\n\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n inspectNode(object[objectKeyList[index]], objects, duplicatesIndexes);\n }\n }\n }\n }\n}\n\nfunction dump(input, options) {\n options = options || {};\n\n var state = new State(options);\n\n if (!state.noRefs) getDuplicateReferences(input, state);\n\n var value = input;\n\n if (state.replacer) {\n value = state.replacer.call({ '': value }, '', value);\n }\n\n if (writeNode(state, 0, value, true, true)) return state.dump + '\\n';\n\n return '';\n}\n\nmodule.exports.dump = dump;\n","// YAML error class. http://stackoverflow.com/questions/8458984\n//\n'use strict';\n\n\nfunction formatError(exception, compact) {\n var where = '', message = exception.reason || '(unknown reason)';\n\n if (!exception.mark) return message;\n\n if (exception.mark.name) {\n where += 'in \"' + exception.mark.name + '\" ';\n }\n\n where += '(' + (exception.mark.line + 1) + ':' + (exception.mark.column + 1) + ')';\n\n if (!compact && exception.mark.snippet) {\n where += '\\n\\n' + exception.mark.snippet;\n }\n\n return message + ' ' + where;\n}\n\n\nfunction YAMLException(reason, mark) {\n // Super constructor\n Error.call(this);\n\n this.name = 'YAMLException';\n this.reason = reason;\n this.mark = mark;\n this.message = formatError(this, false);\n\n // Include stack trace in error object\n if (Error.captureStackTrace) {\n // Chrome and NodeJS\n Error.captureStackTrace(this, this.constructor);\n } else {\n // FF, IE 10+ and Safari 6+. Fallback for others\n this.stack = (new Error()).stack || '';\n }\n}\n\n\n// Inherit from Error\nYAMLException.prototype = Object.create(Error.prototype);\nYAMLException.prototype.constructor = YAMLException;\n\n\nYAMLException.prototype.toString = function toString(compact) {\n return this.name + ': ' + formatError(this, compact);\n};\n\n\nmodule.exports = YAMLException;\n","'use strict';\n\n/*eslint-disable max-len,no-use-before-define*/\n\nvar common = require('./common');\nvar YAMLException = require('./exception');\nvar makeSnippet = require('./snippet');\nvar DEFAULT_SCHEMA = require('./schema/default');\n\n\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\n\n\nvar CONTEXT_FLOW_IN = 1;\nvar CONTEXT_FLOW_OUT = 2;\nvar CONTEXT_BLOCK_IN = 3;\nvar CONTEXT_BLOCK_OUT = 4;\n\n\nvar CHOMPING_CLIP = 1;\nvar CHOMPING_STRIP = 2;\nvar CHOMPING_KEEP = 3;\n\n\nvar PATTERN_NON_PRINTABLE = /[\\x00-\\x08\\x0B\\x0C\\x0E-\\x1F\\x7F-\\x84\\x86-\\x9F\\uFFFE\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/;\nvar PATTERN_NON_ASCII_LINE_BREAKS = /[\\x85\\u2028\\u2029]/;\nvar PATTERN_FLOW_INDICATORS = /[,\\[\\]\\{\\}]/;\nvar PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\\-]+!)$/i;\nvar PATTERN_TAG_URI = /^(?:!|[^,\\[\\]\\{\\}])(?:%[0-9a-f]{2}|[0-9a-z\\-#;\\/\\?:@&=\\+\\$,_\\.!~\\*'\\(\\)\\[\\]])*$/i;\n\n\nfunction _class(obj) { return Object.prototype.toString.call(obj); }\n\nfunction is_EOL(c) {\n return (c === 0x0A/* LF */) || (c === 0x0D/* CR */);\n}\n\nfunction is_WHITE_SPACE(c) {\n return (c === 0x09/* Tab */) || (c === 0x20/* Space */);\n}\n\nfunction is_WS_OR_EOL(c) {\n return (c === 0x09/* Tab */) ||\n (c === 0x20/* Space */) ||\n (c === 0x0A/* LF */) ||\n (c === 0x0D/* CR */);\n}\n\nfunction is_FLOW_INDICATOR(c) {\n return c === 0x2C/* , */ ||\n c === 0x5B/* [ */ ||\n c === 0x5D/* ] */ ||\n c === 0x7B/* { */ ||\n c === 0x7D/* } */;\n}\n\nfunction fromHexCode(c) {\n var lc;\n\n if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {\n return c - 0x30;\n }\n\n /*eslint-disable no-bitwise*/\n lc = c | 0x20;\n\n if ((0x61/* a */ <= lc) && (lc <= 0x66/* f */)) {\n return lc - 0x61 + 10;\n }\n\n return -1;\n}\n\nfunction escapedHexLen(c) {\n if (c === 0x78/* x */) { return 2; }\n if (c === 0x75/* u */) { return 4; }\n if (c === 0x55/* U */) { return 8; }\n return 0;\n}\n\nfunction fromDecimalCode(c) {\n if ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) {\n return c - 0x30;\n }\n\n return -1;\n}\n\nfunction simpleEscapeSequence(c) {\n /* eslint-disable indent */\n return (c === 0x30/* 0 */) ? '\\x00' :\n (c === 0x61/* a */) ? '\\x07' :\n (c === 0x62/* b */) ? '\\x08' :\n (c === 0x74/* t */) ? '\\x09' :\n (c === 0x09/* Tab */) ? '\\x09' :\n (c === 0x6E/* n */) ? '\\x0A' :\n (c === 0x76/* v */) ? '\\x0B' :\n (c === 0x66/* f */) ? '\\x0C' :\n (c === 0x72/* r */) ? '\\x0D' :\n (c === 0x65/* e */) ? '\\x1B' :\n (c === 0x20/* Space */) ? ' ' :\n (c === 0x22/* \" */) ? '\\x22' :\n (c === 0x2F/* / */) ? '/' :\n (c === 0x5C/* \\ */) ? '\\x5C' :\n (c === 0x4E/* N */) ? '\\x85' :\n (c === 0x5F/* _ */) ? '\\xA0' :\n (c === 0x4C/* L */) ? '\\u2028' :\n (c === 0x50/* P */) ? '\\u2029' : '';\n}\n\nfunction charFromCodepoint(c) {\n if (c <= 0xFFFF) {\n return String.fromCharCode(c);\n }\n // Encode UTF-16 surrogate pair\n // https://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF\n return String.fromCharCode(\n ((c - 0x010000) >> 10) + 0xD800,\n ((c - 0x010000) & 0x03FF) + 0xDC00\n );\n}\n\nvar simpleEscapeCheck = new Array(256); // integer, for fast access\nvar simpleEscapeMap = new Array(256);\nfor (var i = 0; i < 256; i++) {\n simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;\n simpleEscapeMap[i] = simpleEscapeSequence(i);\n}\n\n\nfunction State(input, options) {\n this.input = input;\n\n this.filename = options['filename'] || null;\n this.schema = options['schema'] || DEFAULT_SCHEMA;\n this.onWarning = options['onWarning'] || null;\n // (Hidden) Remove? makes the loader to expect YAML 1.1 documents\n // if such documents have no explicit %YAML directive\n this.legacy = options['legacy'] || false;\n\n this.json = options['json'] || false;\n this.listener = options['listener'] || null;\n\n this.implicitTypes = this.schema.compiledImplicit;\n this.typeMap = this.schema.compiledTypeMap;\n\n this.length = input.length;\n this.position = 0;\n this.line = 0;\n this.lineStart = 0;\n this.lineIndent = 0;\n\n // position of first leading tab in the current line,\n // used to make sure there are no tabs in the indentation\n this.firstTabInLine = -1;\n\n this.documents = [];\n\n /*\n this.version;\n this.checkLineBreaks;\n this.tagMap;\n this.anchorMap;\n this.tag;\n this.anchor;\n this.kind;\n this.result;*/\n\n}\n\n\nfunction generateError(state, message) {\n var mark = {\n name: state.filename,\n buffer: state.input.slice(0, -1), // omit trailing \\0\n position: state.position,\n line: state.line,\n column: state.position - state.lineStart\n };\n\n mark.snippet = makeSnippet(mark);\n\n return new YAMLException(message, mark);\n}\n\nfunction throwError(state, message) {\n throw generateError(state, message);\n}\n\nfunction throwWarning(state, message) {\n if (state.onWarning) {\n state.onWarning.call(null, generateError(state, message));\n }\n}\n\n\nvar directiveHandlers = {\n\n YAML: function handleYamlDirective(state, name, args) {\n\n var match, major, minor;\n\n if (state.version !== null) {\n throwError(state, 'duplication of %YAML directive');\n }\n\n if (args.length !== 1) {\n throwError(state, 'YAML directive accepts exactly one argument');\n }\n\n match = /^([0-9]+)\\.([0-9]+)$/.exec(args[0]);\n\n if (match === null) {\n throwError(state, 'ill-formed argument of the YAML directive');\n }\n\n major = parseInt(match[1], 10);\n minor = parseInt(match[2], 10);\n\n if (major !== 1) {\n throwError(state, 'unacceptable YAML version of the document');\n }\n\n state.version = args[0];\n state.checkLineBreaks = (minor < 2);\n\n if (minor !== 1 && minor !== 2) {\n throwWarning(state, 'unsupported YAML version of the document');\n }\n },\n\n TAG: function handleTagDirective(state, name, args) {\n\n var handle, prefix;\n\n if (args.length !== 2) {\n throwError(state, 'TAG directive accepts exactly two arguments');\n }\n\n handle = args[0];\n prefix = args[1];\n\n if (!PATTERN_TAG_HANDLE.test(handle)) {\n throwError(state, 'ill-formed tag handle (first argument) of the TAG directive');\n }\n\n if (_hasOwnProperty.call(state.tagMap, handle)) {\n throwError(state, 'there is a previously declared suffix for \"' + handle + '\" tag handle');\n }\n\n if (!PATTERN_TAG_URI.test(prefix)) {\n throwError(state, 'ill-formed tag prefix (second argument) of the TAG directive');\n }\n\n try {\n prefix = decodeURIComponent(prefix);\n } catch (err) {\n throwError(state, 'tag prefix is malformed: ' + prefix);\n }\n\n state.tagMap[handle] = prefix;\n }\n};\n\n\nfunction captureSegment(state, start, end, checkJson) {\n var _position, _length, _character, _result;\n\n if (start < end) {\n _result = state.input.slice(start, end);\n\n if (checkJson) {\n for (_position = 0, _length = _result.length; _position < _length; _position += 1) {\n _character = _result.charCodeAt(_position);\n if (!(_character === 0x09 ||\n (0x20 <= _character && _character <= 0x10FFFF))) {\n throwError(state, 'expected valid JSON character');\n }\n }\n } else if (PATTERN_NON_PRINTABLE.test(_result)) {\n throwError(state, 'the stream contains non-printable characters');\n }\n\n state.result += _result;\n }\n}\n\nfunction mergeMappings(state, destination, source, overridableKeys) {\n var sourceKeys, key, index, quantity;\n\n if (!common.isObject(source)) {\n throwError(state, 'cannot merge mappings; the provided source object is unacceptable');\n }\n\n sourceKeys = Object.keys(source);\n\n for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {\n key = sourceKeys[index];\n\n if (!_hasOwnProperty.call(destination, key)) {\n destination[key] = source[key];\n overridableKeys[key] = true;\n }\n }\n}\n\nfunction storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode,\n startLine, startLineStart, startPos) {\n\n var index, quantity;\n\n // The output is a plain object here, so keys can only be strings.\n // We need to convert keyNode to a string, but doing so can hang the process\n // (deeply nested arrays that explode exponentially using aliases).\n if (Array.isArray(keyNode)) {\n keyNode = Array.prototype.slice.call(keyNode);\n\n for (index = 0, quantity = keyNode.length; index < quantity; index += 1) {\n if (Array.isArray(keyNode[index])) {\n throwError(state, 'nested arrays are not supported inside keys');\n }\n\n if (typeof keyNode === 'object' && _class(keyNode[index]) === '[object Object]') {\n keyNode[index] = '[object Object]';\n }\n }\n }\n\n // Avoid code execution in load() via toString property\n // (still use its own toString for arrays, timestamps,\n // and whatever user schema extensions happen to have @@toStringTag)\n if (typeof keyNode === 'object' && _class(keyNode) === '[object Object]') {\n keyNode = '[object Object]';\n }\n\n\n keyNode = String(keyNode);\n\n if (_result === null) {\n _result = {};\n }\n\n if (keyTag === 'tag:yaml.org,2002:merge') {\n if (Array.isArray(valueNode)) {\n for (index = 0, quantity = valueNode.length; index < quantity; index += 1) {\n mergeMappings(state, _result, valueNode[index], overridableKeys);\n }\n } else {\n mergeMappings(state, _result, valueNode, overridableKeys);\n }\n } else {\n if (!state.json &&\n !_hasOwnProperty.call(overridableKeys, keyNode) &&\n _hasOwnProperty.call(_result, keyNode)) {\n state.line = startLine || state.line;\n state.lineStart = startLineStart || state.lineStart;\n state.position = startPos || state.position;\n throwError(state, 'duplicated mapping key');\n }\n\n // used for this specific key only because Object.defineProperty is slow\n if (keyNode === '__proto__') {\n Object.defineProperty(_result, keyNode, {\n configurable: true,\n enumerable: true,\n writable: true,\n value: valueNode\n });\n } else {\n _result[keyNode] = valueNode;\n }\n delete overridableKeys[keyNode];\n }\n\n return _result;\n}\n\nfunction readLineBreak(state) {\n var ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x0A/* LF */) {\n state.position++;\n } else if (ch === 0x0D/* CR */) {\n state.position++;\n if (state.input.charCodeAt(state.position) === 0x0A/* LF */) {\n state.position++;\n }\n } else {\n throwError(state, 'a line break is expected');\n }\n\n state.line += 1;\n state.lineStart = state.position;\n state.firstTabInLine = -1;\n}\n\nfunction skipSeparationSpace(state, allowComments, checkIndent) {\n var lineBreaks = 0,\n ch = state.input.charCodeAt(state.position);\n\n while (ch !== 0) {\n while (is_WHITE_SPACE(ch)) {\n if (ch === 0x09/* Tab */ && state.firstTabInLine === -1) {\n state.firstTabInLine = state.position;\n }\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (allowComments && ch === 0x23/* # */) {\n do {\n ch = state.input.charCodeAt(++state.position);\n } while (ch !== 0x0A/* LF */ && ch !== 0x0D/* CR */ && ch !== 0);\n }\n\n if (is_EOL(ch)) {\n readLineBreak(state);\n\n ch = state.input.charCodeAt(state.position);\n lineBreaks++;\n state.lineIndent = 0;\n\n while (ch === 0x20/* Space */) {\n state.lineIndent++;\n ch = state.input.charCodeAt(++state.position);\n }\n } else {\n break;\n }\n }\n\n if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) {\n throwWarning(state, 'deficient indentation');\n }\n\n return lineBreaks;\n}\n\nfunction testDocumentSeparator(state) {\n var _position = state.position,\n ch;\n\n ch = state.input.charCodeAt(_position);\n\n // Condition state.position === state.lineStart is tested\n // in parent on each call, for efficiency. No needs to test here again.\n if ((ch === 0x2D/* - */ || ch === 0x2E/* . */) &&\n ch === state.input.charCodeAt(_position + 1) &&\n ch === state.input.charCodeAt(_position + 2)) {\n\n _position += 3;\n\n ch = state.input.charCodeAt(_position);\n\n if (ch === 0 || is_WS_OR_EOL(ch)) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction writeFoldedLines(state, count) {\n if (count === 1) {\n state.result += ' ';\n } else if (count > 1) {\n state.result += common.repeat('\\n', count - 1);\n }\n}\n\n\nfunction readPlainScalar(state, nodeIndent, withinFlowCollection) {\n var preceding,\n following,\n captureStart,\n captureEnd,\n hasPendingContent,\n _line,\n _lineStart,\n _lineIndent,\n _kind = state.kind,\n _result = state.result,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (is_WS_OR_EOL(ch) ||\n is_FLOW_INDICATOR(ch) ||\n ch === 0x23/* # */ ||\n ch === 0x26/* & */ ||\n ch === 0x2A/* * */ ||\n ch === 0x21/* ! */ ||\n ch === 0x7C/* | */ ||\n ch === 0x3E/* > */ ||\n ch === 0x27/* ' */ ||\n ch === 0x22/* \" */ ||\n ch === 0x25/* % */ ||\n ch === 0x40/* @ */ ||\n ch === 0x60/* ` */) {\n return false;\n }\n\n if (ch === 0x3F/* ? */ || ch === 0x2D/* - */) {\n following = state.input.charCodeAt(state.position + 1);\n\n if (is_WS_OR_EOL(following) ||\n withinFlowCollection && is_FLOW_INDICATOR(following)) {\n return false;\n }\n }\n\n state.kind = 'scalar';\n state.result = '';\n captureStart = captureEnd = state.position;\n hasPendingContent = false;\n\n while (ch !== 0) {\n if (ch === 0x3A/* : */) {\n following = state.input.charCodeAt(state.position + 1);\n\n if (is_WS_OR_EOL(following) ||\n withinFlowCollection && is_FLOW_INDICATOR(following)) {\n break;\n }\n\n } else if (ch === 0x23/* # */) {\n preceding = state.input.charCodeAt(state.position - 1);\n\n if (is_WS_OR_EOL(preceding)) {\n break;\n }\n\n } else if ((state.position === state.lineStart && testDocumentSeparator(state)) ||\n withinFlowCollection && is_FLOW_INDICATOR(ch)) {\n break;\n\n } else if (is_EOL(ch)) {\n _line = state.line;\n _lineStart = state.lineStart;\n _lineIndent = state.lineIndent;\n skipSeparationSpace(state, false, -1);\n\n if (state.lineIndent >= nodeIndent) {\n hasPendingContent = true;\n ch = state.input.charCodeAt(state.position);\n continue;\n } else {\n state.position = captureEnd;\n state.line = _line;\n state.lineStart = _lineStart;\n state.lineIndent = _lineIndent;\n break;\n }\n }\n\n if (hasPendingContent) {\n captureSegment(state, captureStart, captureEnd, false);\n writeFoldedLines(state, state.line - _line);\n captureStart = captureEnd = state.position;\n hasPendingContent = false;\n }\n\n if (!is_WHITE_SPACE(ch)) {\n captureEnd = state.position + 1;\n }\n\n ch = state.input.charCodeAt(++state.position);\n }\n\n captureSegment(state, captureStart, captureEnd, false);\n\n if (state.result) {\n return true;\n }\n\n state.kind = _kind;\n state.result = _result;\n return false;\n}\n\nfunction readSingleQuotedScalar(state, nodeIndent) {\n var ch,\n captureStart, captureEnd;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x27/* ' */) {\n return false;\n }\n\n state.kind = 'scalar';\n state.result = '';\n state.position++;\n captureStart = captureEnd = state.position;\n\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n if (ch === 0x27/* ' */) {\n captureSegment(state, captureStart, state.position, true);\n ch = state.input.charCodeAt(++state.position);\n\n if (ch === 0x27/* ' */) {\n captureStart = state.position;\n state.position++;\n captureEnd = state.position;\n } else {\n return true;\n }\n\n } else if (is_EOL(ch)) {\n captureSegment(state, captureStart, captureEnd, true);\n writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));\n captureStart = captureEnd = state.position;\n\n } else if (state.position === state.lineStart && testDocumentSeparator(state)) {\n throwError(state, 'unexpected end of the document within a single quoted scalar');\n\n } else {\n state.position++;\n captureEnd = state.position;\n }\n }\n\n throwError(state, 'unexpected end of the stream within a single quoted scalar');\n}\n\nfunction readDoubleQuotedScalar(state, nodeIndent) {\n var captureStart,\n captureEnd,\n hexLength,\n hexResult,\n tmp,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x22/* \" */) {\n return false;\n }\n\n state.kind = 'scalar';\n state.result = '';\n state.position++;\n captureStart = captureEnd = state.position;\n\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n if (ch === 0x22/* \" */) {\n captureSegment(state, captureStart, state.position, true);\n state.position++;\n return true;\n\n } else if (ch === 0x5C/* \\ */) {\n captureSegment(state, captureStart, state.position, true);\n ch = state.input.charCodeAt(++state.position);\n\n if (is_EOL(ch)) {\n skipSeparationSpace(state, false, nodeIndent);\n\n // TODO: rework to inline fn with no type cast?\n } else if (ch < 256 && simpleEscapeCheck[ch]) {\n state.result += simpleEscapeMap[ch];\n state.position++;\n\n } else if ((tmp = escapedHexLen(ch)) > 0) {\n hexLength = tmp;\n hexResult = 0;\n\n for (; hexLength > 0; hexLength--) {\n ch = state.input.charCodeAt(++state.position);\n\n if ((tmp = fromHexCode(ch)) >= 0) {\n hexResult = (hexResult << 4) + tmp;\n\n } else {\n throwError(state, 'expected hexadecimal character');\n }\n }\n\n state.result += charFromCodepoint(hexResult);\n\n state.position++;\n\n } else {\n throwError(state, 'unknown escape sequence');\n }\n\n captureStart = captureEnd = state.position;\n\n } else if (is_EOL(ch)) {\n captureSegment(state, captureStart, captureEnd, true);\n writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));\n captureStart = captureEnd = state.position;\n\n } else if (state.position === state.lineStart && testDocumentSeparator(state)) {\n throwError(state, 'unexpected end of the document within a double quoted scalar');\n\n } else {\n state.position++;\n captureEnd = state.position;\n }\n }\n\n throwError(state, 'unexpected end of the stream within a double quoted scalar');\n}\n\nfunction readFlowCollection(state, nodeIndent) {\n var readNext = true,\n _line,\n _lineStart,\n _pos,\n _tag = state.tag,\n _result,\n _anchor = state.anchor,\n following,\n terminator,\n isPair,\n isExplicitPair,\n isMapping,\n overridableKeys = Object.create(null),\n keyNode,\n keyTag,\n valueNode,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x5B/* [ */) {\n terminator = 0x5D;/* ] */\n isMapping = false;\n _result = [];\n } else if (ch === 0x7B/* { */) {\n terminator = 0x7D;/* } */\n isMapping = true;\n _result = {};\n } else {\n return false;\n }\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n\n ch = state.input.charCodeAt(++state.position);\n\n while (ch !== 0) {\n skipSeparationSpace(state, true, nodeIndent);\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === terminator) {\n state.position++;\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = isMapping ? 'mapping' : 'sequence';\n state.result = _result;\n return true;\n } else if (!readNext) {\n throwError(state, 'missed comma between flow collection entries');\n } else if (ch === 0x2C/* , */) {\n // \"flow collection entries can never be completely empty\", as per YAML 1.2, section 7.4\n throwError(state, \"expected the node content, but found ','\");\n }\n\n keyTag = keyNode = valueNode = null;\n isPair = isExplicitPair = false;\n\n if (ch === 0x3F/* ? */) {\n following = state.input.charCodeAt(state.position + 1);\n\n if (is_WS_OR_EOL(following)) {\n isPair = isExplicitPair = true;\n state.position++;\n skipSeparationSpace(state, true, nodeIndent);\n }\n }\n\n _line = state.line; // Save the current line.\n _lineStart = state.lineStart;\n _pos = state.position;\n composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);\n keyTag = state.tag;\n keyNode = state.result;\n skipSeparationSpace(state, true, nodeIndent);\n\n ch = state.input.charCodeAt(state.position);\n\n if ((isExplicitPair || state.line === _line) && ch === 0x3A/* : */) {\n isPair = true;\n ch = state.input.charCodeAt(++state.position);\n skipSeparationSpace(state, true, nodeIndent);\n composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);\n valueNode = state.result;\n }\n\n if (isMapping) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos);\n } else if (isPair) {\n _result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode, _line, _lineStart, _pos));\n } else {\n _result.push(keyNode);\n }\n\n skipSeparationSpace(state, true, nodeIndent);\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x2C/* , */) {\n readNext = true;\n ch = state.input.charCodeAt(++state.position);\n } else {\n readNext = false;\n }\n }\n\n throwError(state, 'unexpected end of the stream within a flow collection');\n}\n\nfunction readBlockScalar(state, nodeIndent) {\n var captureStart,\n folding,\n chomping = CHOMPING_CLIP,\n didReadContent = false,\n detectedIndent = false,\n textIndent = nodeIndent,\n emptyLines = 0,\n atMoreIndented = false,\n tmp,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch === 0x7C/* | */) {\n folding = false;\n } else if (ch === 0x3E/* > */) {\n folding = true;\n } else {\n return false;\n }\n\n state.kind = 'scalar';\n state.result = '';\n\n while (ch !== 0) {\n ch = state.input.charCodeAt(++state.position);\n\n if (ch === 0x2B/* + */ || ch === 0x2D/* - */) {\n if (CHOMPING_CLIP === chomping) {\n chomping = (ch === 0x2B/* + */) ? CHOMPING_KEEP : CHOMPING_STRIP;\n } else {\n throwError(state, 'repeat of a chomping mode identifier');\n }\n\n } else if ((tmp = fromDecimalCode(ch)) >= 0) {\n if (tmp === 0) {\n throwError(state, 'bad explicit indentation width of a block scalar; it cannot be less than one');\n } else if (!detectedIndent) {\n textIndent = nodeIndent + tmp - 1;\n detectedIndent = true;\n } else {\n throwError(state, 'repeat of an indentation width identifier');\n }\n\n } else {\n break;\n }\n }\n\n if (is_WHITE_SPACE(ch)) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (is_WHITE_SPACE(ch));\n\n if (ch === 0x23/* # */) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (!is_EOL(ch) && (ch !== 0));\n }\n }\n\n while (ch !== 0) {\n readLineBreak(state);\n state.lineIndent = 0;\n\n ch = state.input.charCodeAt(state.position);\n\n while ((!detectedIndent || state.lineIndent < textIndent) &&\n (ch === 0x20/* Space */)) {\n state.lineIndent++;\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (!detectedIndent && state.lineIndent > textIndent) {\n textIndent = state.lineIndent;\n }\n\n if (is_EOL(ch)) {\n emptyLines++;\n continue;\n }\n\n // End of the scalar.\n if (state.lineIndent < textIndent) {\n\n // Perform the chomping.\n if (chomping === CHOMPING_KEEP) {\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n } else if (chomping === CHOMPING_CLIP) {\n if (didReadContent) { // i.e. only if the scalar is not empty.\n state.result += '\\n';\n }\n }\n\n // Break this `while` cycle and go to the funciton's epilogue.\n break;\n }\n\n // Folded style: use fancy rules to handle line breaks.\n if (folding) {\n\n // Lines starting with white space characters (more-indented lines) are not folded.\n if (is_WHITE_SPACE(ch)) {\n atMoreIndented = true;\n // except for the first content line (cf. Example 8.1)\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n\n // End of more-indented block.\n } else if (atMoreIndented) {\n atMoreIndented = false;\n state.result += common.repeat('\\n', emptyLines + 1);\n\n // Just one line break - perceive as the same line.\n } else if (emptyLines === 0) {\n if (didReadContent) { // i.e. only if we have already read some scalar content.\n state.result += ' ';\n }\n\n // Several line breaks - perceive as different lines.\n } else {\n state.result += common.repeat('\\n', emptyLines);\n }\n\n // Literal style: just add exact number of line breaks between content lines.\n } else {\n // Keep all line breaks except the header line break.\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n }\n\n didReadContent = true;\n detectedIndent = true;\n emptyLines = 0;\n captureStart = state.position;\n\n while (!is_EOL(ch) && (ch !== 0)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n captureSegment(state, captureStart, state.position, false);\n }\n\n return true;\n}\n\nfunction readBlockSequence(state, nodeIndent) {\n var _line,\n _tag = state.tag,\n _anchor = state.anchor,\n _result = [],\n following,\n detected = false,\n ch;\n\n // there is a leading tab before this token, so it can't be a block sequence/mapping;\n // it can still be flow sequence/mapping or a scalar\n if (state.firstTabInLine !== -1) return false;\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n\n ch = state.input.charCodeAt(state.position);\n\n while (ch !== 0) {\n if (state.firstTabInLine !== -1) {\n state.position = state.firstTabInLine;\n throwError(state, 'tab characters must not be used in indentation');\n }\n\n if (ch !== 0x2D/* - */) {\n break;\n }\n\n following = state.input.charCodeAt(state.position + 1);\n\n if (!is_WS_OR_EOL(following)) {\n break;\n }\n\n detected = true;\n state.position++;\n\n if (skipSeparationSpace(state, true, -1)) {\n if (state.lineIndent <= nodeIndent) {\n _result.push(null);\n ch = state.input.charCodeAt(state.position);\n continue;\n }\n }\n\n _line = state.line;\n composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);\n _result.push(state.result);\n skipSeparationSpace(state, true, -1);\n\n ch = state.input.charCodeAt(state.position);\n\n if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) {\n throwError(state, 'bad indentation of a sequence entry');\n } else if (state.lineIndent < nodeIndent) {\n break;\n }\n }\n\n if (detected) {\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = 'sequence';\n state.result = _result;\n return true;\n }\n return false;\n}\n\nfunction readBlockMapping(state, nodeIndent, flowIndent) {\n var following,\n allowCompact,\n _line,\n _keyLine,\n _keyLineStart,\n _keyPos,\n _tag = state.tag,\n _anchor = state.anchor,\n _result = {},\n overridableKeys = Object.create(null),\n keyTag = null,\n keyNode = null,\n valueNode = null,\n atExplicitKey = false,\n detected = false,\n ch;\n\n // there is a leading tab before this token, so it can't be a block sequence/mapping;\n // it can still be flow sequence/mapping or a scalar\n if (state.firstTabInLine !== -1) return false;\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n\n ch = state.input.charCodeAt(state.position);\n\n while (ch !== 0) {\n if (!atExplicitKey && state.firstTabInLine !== -1) {\n state.position = state.firstTabInLine;\n throwError(state, 'tab characters must not be used in indentation');\n }\n\n following = state.input.charCodeAt(state.position + 1);\n _line = state.line; // Save the current line.\n\n //\n // Explicit notation case. There are two separate blocks:\n // first for the key (denoted by \"?\") and second for the value (denoted by \":\")\n //\n if ((ch === 0x3F/* ? */ || ch === 0x3A/* : */) && is_WS_OR_EOL(following)) {\n\n if (ch === 0x3F/* ? */) {\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);\n keyTag = keyNode = valueNode = null;\n }\n\n detected = true;\n atExplicitKey = true;\n allowCompact = true;\n\n } else if (atExplicitKey) {\n // i.e. 0x3A/* : */ === character after the explicit key.\n atExplicitKey = false;\n allowCompact = true;\n\n } else {\n throwError(state, 'incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line');\n }\n\n state.position += 1;\n ch = following;\n\n //\n // Implicit notation case. Flow-style node as the key first, then \":\", and the value.\n //\n } else {\n _keyLine = state.line;\n _keyLineStart = state.lineStart;\n _keyPos = state.position;\n\n if (!composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {\n // Neither implicit nor explicit notation.\n // Reading is done. Go to the epilogue.\n break;\n }\n\n if (state.line === _line) {\n ch = state.input.charCodeAt(state.position);\n\n while (is_WHITE_SPACE(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (ch === 0x3A/* : */) {\n ch = state.input.charCodeAt(++state.position);\n\n if (!is_WS_OR_EOL(ch)) {\n throwError(state, 'a whitespace character is expected after the key-value separator within a block mapping');\n }\n\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);\n keyTag = keyNode = valueNode = null;\n }\n\n detected = true;\n atExplicitKey = false;\n allowCompact = false;\n keyTag = state.tag;\n keyNode = state.result;\n\n } else if (detected) {\n throwError(state, 'can not read an implicit mapping pair; a colon is missed');\n\n } else {\n state.tag = _tag;\n state.anchor = _anchor;\n return true; // Keep the result of `composeNode`.\n }\n\n } else if (detected) {\n throwError(state, 'can not read a block mapping entry; a multiline key may not be an implicit key');\n\n } else {\n state.tag = _tag;\n state.anchor = _anchor;\n return true; // Keep the result of `composeNode`.\n }\n }\n\n //\n // Common reading code for both explicit and implicit notations.\n //\n if (state.line === _line || state.lineIndent > nodeIndent) {\n if (atExplicitKey) {\n _keyLine = state.line;\n _keyLineStart = state.lineStart;\n _keyPos = state.position;\n }\n\n if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {\n if (atExplicitKey) {\n keyNode = state.result;\n } else {\n valueNode = state.result;\n }\n }\n\n if (!atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode, _keyLine, _keyLineStart, _keyPos);\n keyTag = keyNode = valueNode = null;\n }\n\n skipSeparationSpace(state, true, -1);\n ch = state.input.charCodeAt(state.position);\n }\n\n if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) {\n throwError(state, 'bad indentation of a mapping entry');\n } else if (state.lineIndent < nodeIndent) {\n break;\n }\n }\n\n //\n // Epilogue.\n //\n\n // Special case: last mapping's node contains only the key in explicit notation.\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null, _keyLine, _keyLineStart, _keyPos);\n }\n\n // Expose the resulting mapping.\n if (detected) {\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = 'mapping';\n state.result = _result;\n }\n\n return detected;\n}\n\nfunction readTagProperty(state) {\n var _position,\n isVerbatim = false,\n isNamed = false,\n tagHandle,\n tagName,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x21/* ! */) return false;\n\n if (state.tag !== null) {\n throwError(state, 'duplication of a tag property');\n }\n\n ch = state.input.charCodeAt(++state.position);\n\n if (ch === 0x3C/* < */) {\n isVerbatim = true;\n ch = state.input.charCodeAt(++state.position);\n\n } else if (ch === 0x21/* ! */) {\n isNamed = true;\n tagHandle = '!!';\n ch = state.input.charCodeAt(++state.position);\n\n } else {\n tagHandle = '!';\n }\n\n _position = state.position;\n\n if (isVerbatim) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (ch !== 0 && ch !== 0x3E/* > */);\n\n if (state.position < state.length) {\n tagName = state.input.slice(_position, state.position);\n ch = state.input.charCodeAt(++state.position);\n } else {\n throwError(state, 'unexpected end of the stream within a verbatim tag');\n }\n } else {\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n\n if (ch === 0x21/* ! */) {\n if (!isNamed) {\n tagHandle = state.input.slice(_position - 1, state.position + 1);\n\n if (!PATTERN_TAG_HANDLE.test(tagHandle)) {\n throwError(state, 'named tag handle cannot contain such characters');\n }\n\n isNamed = true;\n _position = state.position + 1;\n } else {\n throwError(state, 'tag suffix cannot contain exclamation marks');\n }\n }\n\n ch = state.input.charCodeAt(++state.position);\n }\n\n tagName = state.input.slice(_position, state.position);\n\n if (PATTERN_FLOW_INDICATORS.test(tagName)) {\n throwError(state, 'tag suffix cannot contain flow indicator characters');\n }\n }\n\n if (tagName && !PATTERN_TAG_URI.test(tagName)) {\n throwError(state, 'tag name cannot contain such characters: ' + tagName);\n }\n\n try {\n tagName = decodeURIComponent(tagName);\n } catch (err) {\n throwError(state, 'tag name is malformed: ' + tagName);\n }\n\n if (isVerbatim) {\n state.tag = tagName;\n\n } else if (_hasOwnProperty.call(state.tagMap, tagHandle)) {\n state.tag = state.tagMap[tagHandle] + tagName;\n\n } else if (tagHandle === '!') {\n state.tag = '!' + tagName;\n\n } else if (tagHandle === '!!') {\n state.tag = 'tag:yaml.org,2002:' + tagName;\n\n } else {\n throwError(state, 'undeclared tag handle \"' + tagHandle + '\"');\n }\n\n return true;\n}\n\nfunction readAnchorProperty(state) {\n var _position,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x26/* & */) return false;\n\n if (state.anchor !== null) {\n throwError(state, 'duplication of an anchor property');\n }\n\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (state.position === _position) {\n throwError(state, 'name of an anchor node must contain at least one character');\n }\n\n state.anchor = state.input.slice(_position, state.position);\n return true;\n}\n\nfunction readAlias(state) {\n var _position, alias,\n ch;\n\n ch = state.input.charCodeAt(state.position);\n\n if (ch !== 0x2A/* * */) return false;\n\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (state.position === _position) {\n throwError(state, 'name of an alias node must contain at least one character');\n }\n\n alias = state.input.slice(_position, state.position);\n\n if (!_hasOwnProperty.call(state.anchorMap, alias)) {\n throwError(state, 'unidentified alias \"' + alias + '\"');\n }\n\n state.result = state.anchorMap[alias];\n skipSeparationSpace(state, true, -1);\n return true;\n}\n\nfunction composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {\n var allowBlockStyles,\n allowBlockScalars,\n allowBlockCollections,\n indentStatus = 1, // 1: this>parent, 0: this=parent, -1: this parentIndent) {\n indentStatus = 1;\n } else if (state.lineIndent === parentIndent) {\n indentStatus = 0;\n } else if (state.lineIndent < parentIndent) {\n indentStatus = -1;\n }\n }\n }\n\n if (indentStatus === 1) {\n while (readTagProperty(state) || readAnchorProperty(state)) {\n if (skipSeparationSpace(state, true, -1)) {\n atNewLine = true;\n allowBlockCollections = allowBlockStyles;\n\n if (state.lineIndent > parentIndent) {\n indentStatus = 1;\n } else if (state.lineIndent === parentIndent) {\n indentStatus = 0;\n } else if (state.lineIndent < parentIndent) {\n indentStatus = -1;\n }\n } else {\n allowBlockCollections = false;\n }\n }\n }\n\n if (allowBlockCollections) {\n allowBlockCollections = atNewLine || allowCompact;\n }\n\n if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {\n if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {\n flowIndent = parentIndent;\n } else {\n flowIndent = parentIndent + 1;\n }\n\n blockIndent = state.position - state.lineStart;\n\n if (indentStatus === 1) {\n if (allowBlockCollections &&\n (readBlockSequence(state, blockIndent) ||\n readBlockMapping(state, blockIndent, flowIndent)) ||\n readFlowCollection(state, flowIndent)) {\n hasContent = true;\n } else {\n if ((allowBlockScalars && readBlockScalar(state, flowIndent)) ||\n readSingleQuotedScalar(state, flowIndent) ||\n readDoubleQuotedScalar(state, flowIndent)) {\n hasContent = true;\n\n } else if (readAlias(state)) {\n hasContent = true;\n\n if (state.tag !== null || state.anchor !== null) {\n throwError(state, 'alias node should not have any properties');\n }\n\n } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {\n hasContent = true;\n\n if (state.tag === null) {\n state.tag = '?';\n }\n }\n\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n }\n } else if (indentStatus === 0) {\n // Special case: block sequences are allowed to have same indentation level as the parent.\n // http://www.yaml.org/spec/1.2/spec.html#id2799784\n hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);\n }\n }\n\n if (state.tag === null) {\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n\n } else if (state.tag === '?') {\n // Implicit resolving is not allowed for non-scalar types, and '?'\n // non-specific tag is only automatically assigned to plain scalars.\n //\n // We only need to check kind conformity in case user explicitly assigns '?'\n // tag, for example like this: \"! [0]\"\n //\n if (state.result !== null && state.kind !== 'scalar') {\n throwError(state, 'unacceptable node kind for ! tag; it should be \"scalar\", not \"' + state.kind + '\"');\n }\n\n for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {\n type = state.implicitTypes[typeIndex];\n\n if (type.resolve(state.result)) { // `state.result` updated in resolver if matched\n state.result = type.construct(state.result);\n state.tag = type.tag;\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n break;\n }\n }\n } else if (state.tag !== '!') {\n if (_hasOwnProperty.call(state.typeMap[state.kind || 'fallback'], state.tag)) {\n type = state.typeMap[state.kind || 'fallback'][state.tag];\n } else {\n // looking for multi type\n type = null;\n typeList = state.typeMap.multi[state.kind || 'fallback'];\n\n for (typeIndex = 0, typeQuantity = typeList.length; typeIndex < typeQuantity; typeIndex += 1) {\n if (state.tag.slice(0, typeList[typeIndex].tag.length) === typeList[typeIndex].tag) {\n type = typeList[typeIndex];\n break;\n }\n }\n }\n\n if (!type) {\n throwError(state, 'unknown tag !<' + state.tag + '>');\n }\n\n if (state.result !== null && type.kind !== state.kind) {\n throwError(state, 'unacceptable node kind for !<' + state.tag + '> tag; it should be \"' + type.kind + '\", not \"' + state.kind + '\"');\n }\n\n if (!type.resolve(state.result, state.tag)) { // `state.result` updated in resolver if matched\n throwError(state, 'cannot resolve a node with !<' + state.tag + '> explicit tag');\n } else {\n state.result = type.construct(state.result, state.tag);\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n }\n }\n\n if (state.listener !== null) {\n state.listener('close', state);\n }\n return state.tag !== null || state.anchor !== null || hasContent;\n}\n\nfunction readDocument(state) {\n var documentStart = state.position,\n _position,\n directiveName,\n directiveArgs,\n hasDirectives = false,\n ch;\n\n state.version = null;\n state.checkLineBreaks = state.legacy;\n state.tagMap = Object.create(null);\n state.anchorMap = Object.create(null);\n\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n skipSeparationSpace(state, true, -1);\n\n ch = state.input.charCodeAt(state.position);\n\n if (state.lineIndent > 0 || ch !== 0x25/* % */) {\n break;\n }\n\n hasDirectives = true;\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n directiveName = state.input.slice(_position, state.position);\n directiveArgs = [];\n\n if (directiveName.length < 1) {\n throwError(state, 'directive name must not be less than one character in length');\n }\n\n while (ch !== 0) {\n while (is_WHITE_SPACE(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n if (ch === 0x23/* # */) {\n do { ch = state.input.charCodeAt(++state.position); }\n while (ch !== 0 && !is_EOL(ch));\n break;\n }\n\n if (is_EOL(ch)) break;\n\n _position = state.position;\n\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n\n directiveArgs.push(state.input.slice(_position, state.position));\n }\n\n if (ch !== 0) readLineBreak(state);\n\n if (_hasOwnProperty.call(directiveHandlers, directiveName)) {\n directiveHandlers[directiveName](state, directiveName, directiveArgs);\n } else {\n throwWarning(state, 'unknown document directive \"' + directiveName + '\"');\n }\n }\n\n skipSeparationSpace(state, true, -1);\n\n if (state.lineIndent === 0 &&\n state.input.charCodeAt(state.position) === 0x2D/* - */ &&\n state.input.charCodeAt(state.position + 1) === 0x2D/* - */ &&\n state.input.charCodeAt(state.position + 2) === 0x2D/* - */) {\n state.position += 3;\n skipSeparationSpace(state, true, -1);\n\n } else if (hasDirectives) {\n throwError(state, 'directives end mark is expected');\n }\n\n composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);\n skipSeparationSpace(state, true, -1);\n\n if (state.checkLineBreaks &&\n PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {\n throwWarning(state, 'non-ASCII line breaks are interpreted as content');\n }\n\n state.documents.push(state.result);\n\n if (state.position === state.lineStart && testDocumentSeparator(state)) {\n\n if (state.input.charCodeAt(state.position) === 0x2E/* . */) {\n state.position += 3;\n skipSeparationSpace(state, true, -1);\n }\n return;\n }\n\n if (state.position < (state.length - 1)) {\n throwError(state, 'end of the stream or a document separator is expected');\n } else {\n return;\n }\n}\n\n\nfunction loadDocuments(input, options) {\n input = String(input);\n options = options || {};\n\n if (input.length !== 0) {\n\n // Add tailing `\\n` if not exists\n if (input.charCodeAt(input.length - 1) !== 0x0A/* LF */ &&\n input.charCodeAt(input.length - 1) !== 0x0D/* CR */) {\n input += '\\n';\n }\n\n // Strip BOM\n if (input.charCodeAt(0) === 0xFEFF) {\n input = input.slice(1);\n }\n }\n\n var state = new State(input, options);\n\n var nullpos = input.indexOf('\\0');\n\n if (nullpos !== -1) {\n state.position = nullpos;\n throwError(state, 'null byte is not allowed in input');\n }\n\n // Use 0 as string terminator. That significantly simplifies bounds check.\n state.input += '\\0';\n\n while (state.input.charCodeAt(state.position) === 0x20/* Space */) {\n state.lineIndent += 1;\n state.position += 1;\n }\n\n while (state.position < (state.length - 1)) {\n readDocument(state);\n }\n\n return state.documents;\n}\n\n\nfunction loadAll(input, iterator, options) {\n if (iterator !== null && typeof iterator === 'object' && typeof options === 'undefined') {\n options = iterator;\n iterator = null;\n }\n\n var documents = loadDocuments(input, options);\n\n if (typeof iterator !== 'function') {\n return documents;\n }\n\n for (var index = 0, length = documents.length; index < length; index += 1) {\n iterator(documents[index]);\n }\n}\n\n\nfunction load(input, options) {\n var documents = loadDocuments(input, options);\n\n if (documents.length === 0) {\n /*eslint-disable no-undefined*/\n return undefined;\n } else if (documents.length === 1) {\n return documents[0];\n }\n throw new YAMLException('expected a single document in the stream, but found more');\n}\n\n\nmodule.exports.loadAll = loadAll;\nmodule.exports.load = load;\n","'use strict';\n\n/*eslint-disable max-len*/\n\nvar YAMLException = require('./exception');\nvar Type = require('./type');\n\n\nfunction compileList(schema, name) {\n var result = [];\n\n schema[name].forEach(function (currentType) {\n var newIndex = result.length;\n\n result.forEach(function (previousType, previousIndex) {\n if (previousType.tag === currentType.tag &&\n previousType.kind === currentType.kind &&\n previousType.multi === currentType.multi) {\n\n newIndex = previousIndex;\n }\n });\n\n result[newIndex] = currentType;\n });\n\n return result;\n}\n\n\nfunction compileMap(/* lists... */) {\n var result = {\n scalar: {},\n sequence: {},\n mapping: {},\n fallback: {},\n multi: {\n scalar: [],\n sequence: [],\n mapping: [],\n fallback: []\n }\n }, index, length;\n\n function collectType(type) {\n if (type.multi) {\n result.multi[type.kind].push(type);\n result.multi['fallback'].push(type);\n } else {\n result[type.kind][type.tag] = result['fallback'][type.tag] = type;\n }\n }\n\n for (index = 0, length = arguments.length; index < length; index += 1) {\n arguments[index].forEach(collectType);\n }\n return result;\n}\n\n\nfunction Schema(definition) {\n return this.extend(definition);\n}\n\n\nSchema.prototype.extend = function extend(definition) {\n var implicit = [];\n var explicit = [];\n\n if (definition instanceof Type) {\n // Schema.extend(type)\n explicit.push(definition);\n\n } else if (Array.isArray(definition)) {\n // Schema.extend([ type1, type2, ... ])\n explicit = explicit.concat(definition);\n\n } else if (definition && (Array.isArray(definition.implicit) || Array.isArray(definition.explicit))) {\n // Schema.extend({ explicit: [ type1, type2, ... ], implicit: [ type1, type2, ... ] })\n if (definition.implicit) implicit = implicit.concat(definition.implicit);\n if (definition.explicit) explicit = explicit.concat(definition.explicit);\n\n } else {\n throw new YAMLException('Schema.extend argument should be a Type, [ Type ], ' +\n 'or a schema definition ({ implicit: [...], explicit: [...] })');\n }\n\n implicit.forEach(function (type) {\n if (!(type instanceof Type)) {\n throw new YAMLException('Specified list of YAML types (or a single Type object) contains a non-Type object.');\n }\n\n if (type.loadKind && type.loadKind !== 'scalar') {\n throw new YAMLException('There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.');\n }\n\n if (type.multi) {\n throw new YAMLException('There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.');\n }\n });\n\n explicit.forEach(function (type) {\n if (!(type instanceof Type)) {\n throw new YAMLException('Specified list of YAML types (or a single Type object) contains a non-Type object.');\n }\n });\n\n var result = Object.create(Schema.prototype);\n\n result.implicit = (this.implicit || []).concat(implicit);\n result.explicit = (this.explicit || []).concat(explicit);\n\n result.compiledImplicit = compileList(result, 'implicit');\n result.compiledExplicit = compileList(result, 'explicit');\n result.compiledTypeMap = compileMap(result.compiledImplicit, result.compiledExplicit);\n\n return result;\n};\n\n\nmodule.exports = Schema;\n","// Standard YAML's Core schema.\n// http://www.yaml.org/spec/1.2/spec.html#id2804923\n//\n// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.\n// So, Core schema has no distinctions from JSON schema is JS-YAML.\n\n\n'use strict';\n\n\nmodule.exports = require('./json');\n","// JS-YAML's default schema for `safeLoad` function.\n// It is not described in the YAML specification.\n//\n// This schema is based on standard YAML's Core schema and includes most of\n// extra types described at YAML tag repository. (http://yaml.org/type/)\n\n\n'use strict';\n\n\nmodule.exports = require('./core').extend({\n implicit: [\n require('../type/timestamp'),\n require('../type/merge')\n ],\n explicit: [\n require('../type/binary'),\n require('../type/omap'),\n require('../type/pairs'),\n require('../type/set')\n ]\n});\n","// Standard YAML's Failsafe schema.\n// http://www.yaml.org/spec/1.2/spec.html#id2802346\n\n\n'use strict';\n\n\nvar Schema = require('../schema');\n\n\nmodule.exports = new Schema({\n explicit: [\n require('../type/str'),\n require('../type/seq'),\n require('../type/map')\n ]\n});\n","// Standard YAML's JSON schema.\n// http://www.yaml.org/spec/1.2/spec.html#id2803231\n//\n// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.\n// So, this schema is not such strict as defined in the YAML specification.\n// It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc.\n\n\n'use strict';\n\n\nmodule.exports = require('./failsafe').extend({\n implicit: [\n require('../type/null'),\n require('../type/bool'),\n require('../type/int'),\n require('../type/float')\n ]\n});\n","'use strict';\n\n\nvar common = require('./common');\n\n\n// get snippet for a single line, respecting maxLength\nfunction getLine(buffer, lineStart, lineEnd, position, maxLineLength) {\n var head = '';\n var tail = '';\n var maxHalfLength = Math.floor(maxLineLength / 2) - 1;\n\n if (position - lineStart > maxHalfLength) {\n head = ' ... ';\n lineStart = position - maxHalfLength + head.length;\n }\n\n if (lineEnd - position > maxHalfLength) {\n tail = ' ...';\n lineEnd = position + maxHalfLength - tail.length;\n }\n\n return {\n str: head + buffer.slice(lineStart, lineEnd).replace(/\\t/g, '→') + tail,\n pos: position - lineStart + head.length // relative position\n };\n}\n\n\nfunction padStart(string, max) {\n return common.repeat(' ', max - string.length) + string;\n}\n\n\nfunction makeSnippet(mark, options) {\n options = Object.create(options || null);\n\n if (!mark.buffer) return null;\n\n if (!options.maxLength) options.maxLength = 79;\n if (typeof options.indent !== 'number') options.indent = 1;\n if (typeof options.linesBefore !== 'number') options.linesBefore = 3;\n if (typeof options.linesAfter !== 'number') options.linesAfter = 2;\n\n var re = /\\r?\\n|\\r|\\0/g;\n var lineStarts = [ 0 ];\n var lineEnds = [];\n var match;\n var foundLineNo = -1;\n\n while ((match = re.exec(mark.buffer))) {\n lineEnds.push(match.index);\n lineStarts.push(match.index + match[0].length);\n\n if (mark.position <= match.index && foundLineNo < 0) {\n foundLineNo = lineStarts.length - 2;\n }\n }\n\n if (foundLineNo < 0) foundLineNo = lineStarts.length - 1;\n\n var result = '', i, line;\n var lineNoLength = Math.min(mark.line + options.linesAfter, lineEnds.length).toString().length;\n var maxLineLength = options.maxLength - (options.indent + lineNoLength + 3);\n\n for (i = 1; i <= options.linesBefore; i++) {\n if (foundLineNo - i < 0) break;\n line = getLine(\n mark.buffer,\n lineStarts[foundLineNo - i],\n lineEnds[foundLineNo - i],\n mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i]),\n maxLineLength\n );\n result = common.repeat(' ', options.indent) + padStart((mark.line - i + 1).toString(), lineNoLength) +\n ' | ' + line.str + '\\n' + result;\n }\n\n line = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength);\n result += common.repeat(' ', options.indent) + padStart((mark.line + 1).toString(), lineNoLength) +\n ' | ' + line.str + '\\n';\n result += common.repeat('-', options.indent + lineNoLength + 3 + line.pos) + '^' + '\\n';\n\n for (i = 1; i <= options.linesAfter; i++) {\n if (foundLineNo + i >= lineEnds.length) break;\n line = getLine(\n mark.buffer,\n lineStarts[foundLineNo + i],\n lineEnds[foundLineNo + i],\n mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i]),\n maxLineLength\n );\n result += common.repeat(' ', options.indent) + padStart((mark.line + i + 1).toString(), lineNoLength) +\n ' | ' + line.str + '\\n';\n }\n\n return result.replace(/\\n$/, '');\n}\n\n\nmodule.exports = makeSnippet;\n","'use strict';\n\nvar YAMLException = require('./exception');\n\nvar TYPE_CONSTRUCTOR_OPTIONS = [\n 'kind',\n 'multi',\n 'resolve',\n 'construct',\n 'instanceOf',\n 'predicate',\n 'represent',\n 'representName',\n 'defaultStyle',\n 'styleAliases'\n];\n\nvar YAML_NODE_KINDS = [\n 'scalar',\n 'sequence',\n 'mapping'\n];\n\nfunction compileStyleAliases(map) {\n var result = {};\n\n if (map !== null) {\n Object.keys(map).forEach(function (style) {\n map[style].forEach(function (alias) {\n result[String(alias)] = style;\n });\n });\n }\n\n return result;\n}\n\nfunction Type(tag, options) {\n options = options || {};\n\n Object.keys(options).forEach(function (name) {\n if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) {\n throw new YAMLException('Unknown option \"' + name + '\" is met in definition of \"' + tag + '\" YAML type.');\n }\n });\n\n // TODO: Add tag format check.\n this.options = options; // keep original options in case user wants to extend this type later\n this.tag = tag;\n this.kind = options['kind'] || null;\n this.resolve = options['resolve'] || function () { return true; };\n this.construct = options['construct'] || function (data) { return data; };\n this.instanceOf = options['instanceOf'] || null;\n this.predicate = options['predicate'] || null;\n this.represent = options['represent'] || null;\n this.representName = options['representName'] || null;\n this.defaultStyle = options['defaultStyle'] || null;\n this.multi = options['multi'] || false;\n this.styleAliases = compileStyleAliases(options['styleAliases'] || null);\n\n if (YAML_NODE_KINDS.indexOf(this.kind) === -1) {\n throw new YAMLException('Unknown kind \"' + this.kind + '\" is specified for \"' + tag + '\" YAML type.');\n }\n}\n\nmodule.exports = Type;\n","'use strict';\n\n/*eslint-disable no-bitwise*/\n\n\nvar Type = require('../type');\n\n\n// [ 64, 65, 66 ] -> [ padding, CR, LF ]\nvar BASE64_MAP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\\n\\r';\n\n\nfunction resolveYamlBinary(data) {\n if (data === null) return false;\n\n var code, idx, bitlen = 0, max = data.length, map = BASE64_MAP;\n\n // Convert one by one.\n for (idx = 0; idx < max; idx++) {\n code = map.indexOf(data.charAt(idx));\n\n // Skip CR/LF\n if (code > 64) continue;\n\n // Fail on illegal characters\n if (code < 0) return false;\n\n bitlen += 6;\n }\n\n // If there are any bits left, source was corrupted\n return (bitlen % 8) === 0;\n}\n\nfunction constructYamlBinary(data) {\n var idx, tailbits,\n input = data.replace(/[\\r\\n=]/g, ''), // remove CR/LF & padding to simplify scan\n max = input.length,\n map = BASE64_MAP,\n bits = 0,\n result = [];\n\n // Collect by 6*4 bits (3 bytes)\n\n for (idx = 0; idx < max; idx++) {\n if ((idx % 4 === 0) && idx) {\n result.push((bits >> 16) & 0xFF);\n result.push((bits >> 8) & 0xFF);\n result.push(bits & 0xFF);\n }\n\n bits = (bits << 6) | map.indexOf(input.charAt(idx));\n }\n\n // Dump tail\n\n tailbits = (max % 4) * 6;\n\n if (tailbits === 0) {\n result.push((bits >> 16) & 0xFF);\n result.push((bits >> 8) & 0xFF);\n result.push(bits & 0xFF);\n } else if (tailbits === 18) {\n result.push((bits >> 10) & 0xFF);\n result.push((bits >> 2) & 0xFF);\n } else if (tailbits === 12) {\n result.push((bits >> 4) & 0xFF);\n }\n\n return new Uint8Array(result);\n}\n\nfunction representYamlBinary(object /*, style*/) {\n var result = '', bits = 0, idx, tail,\n max = object.length,\n map = BASE64_MAP;\n\n // Convert every three bytes to 4 ASCII characters.\n\n for (idx = 0; idx < max; idx++) {\n if ((idx % 3 === 0) && idx) {\n result += map[(bits >> 18) & 0x3F];\n result += map[(bits >> 12) & 0x3F];\n result += map[(bits >> 6) & 0x3F];\n result += map[bits & 0x3F];\n }\n\n bits = (bits << 8) + object[idx];\n }\n\n // Dump tail\n\n tail = max % 3;\n\n if (tail === 0) {\n result += map[(bits >> 18) & 0x3F];\n result += map[(bits >> 12) & 0x3F];\n result += map[(bits >> 6) & 0x3F];\n result += map[bits & 0x3F];\n } else if (tail === 2) {\n result += map[(bits >> 10) & 0x3F];\n result += map[(bits >> 4) & 0x3F];\n result += map[(bits << 2) & 0x3F];\n result += map[64];\n } else if (tail === 1) {\n result += map[(bits >> 2) & 0x3F];\n result += map[(bits << 4) & 0x3F];\n result += map[64];\n result += map[64];\n }\n\n return result;\n}\n\nfunction isBinary(obj) {\n return Object.prototype.toString.call(obj) === '[object Uint8Array]';\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:binary', {\n kind: 'scalar',\n resolve: resolveYamlBinary,\n construct: constructYamlBinary,\n predicate: isBinary,\n represent: representYamlBinary\n});\n","'use strict';\n\nvar Type = require('../type');\n\nfunction resolveYamlBoolean(data) {\n if (data === null) return false;\n\n var max = data.length;\n\n return (max === 4 && (data === 'true' || data === 'True' || data === 'TRUE')) ||\n (max === 5 && (data === 'false' || data === 'False' || data === 'FALSE'));\n}\n\nfunction constructYamlBoolean(data) {\n return data === 'true' ||\n data === 'True' ||\n data === 'TRUE';\n}\n\nfunction isBoolean(object) {\n return Object.prototype.toString.call(object) === '[object Boolean]';\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:bool', {\n kind: 'scalar',\n resolve: resolveYamlBoolean,\n construct: constructYamlBoolean,\n predicate: isBoolean,\n represent: {\n lowercase: function (object) { return object ? 'true' : 'false'; },\n uppercase: function (object) { return object ? 'TRUE' : 'FALSE'; },\n camelcase: function (object) { return object ? 'True' : 'False'; }\n },\n defaultStyle: 'lowercase'\n});\n","'use strict';\n\nvar common = require('../common');\nvar Type = require('../type');\n\nvar YAML_FLOAT_PATTERN = new RegExp(\n // 2.5e4, 2.5 and integers\n '^(?:[-+]?(?:[0-9][0-9_]*)(?:\\\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?' +\n // .2e4, .2\n // special case, seems not from spec\n '|\\\\.[0-9_]+(?:[eE][-+]?[0-9]+)?' +\n // .inf\n '|[-+]?\\\\.(?:inf|Inf|INF)' +\n // .nan\n '|\\\\.(?:nan|NaN|NAN))$');\n\nfunction resolveYamlFloat(data) {\n if (data === null) return false;\n\n if (!YAML_FLOAT_PATTERN.test(data) ||\n // Quick hack to not allow integers end with `_`\n // Probably should update regexp & check speed\n data[data.length - 1] === '_') {\n return false;\n }\n\n return true;\n}\n\nfunction constructYamlFloat(data) {\n var value, sign;\n\n value = data.replace(/_/g, '').toLowerCase();\n sign = value[0] === '-' ? -1 : 1;\n\n if ('+-'.indexOf(value[0]) >= 0) {\n value = value.slice(1);\n }\n\n if (value === '.inf') {\n return (sign === 1) ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;\n\n } else if (value === '.nan') {\n return NaN;\n }\n return sign * parseFloat(value, 10);\n}\n\n\nvar SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;\n\nfunction representYamlFloat(object, style) {\n var res;\n\n if (isNaN(object)) {\n switch (style) {\n case 'lowercase': return '.nan';\n case 'uppercase': return '.NAN';\n case 'camelcase': return '.NaN';\n }\n } else if (Number.POSITIVE_INFINITY === object) {\n switch (style) {\n case 'lowercase': return '.inf';\n case 'uppercase': return '.INF';\n case 'camelcase': return '.Inf';\n }\n } else if (Number.NEGATIVE_INFINITY === object) {\n switch (style) {\n case 'lowercase': return '-.inf';\n case 'uppercase': return '-.INF';\n case 'camelcase': return '-.Inf';\n }\n } else if (common.isNegativeZero(object)) {\n return '-0.0';\n }\n\n res = object.toString(10);\n\n // JS stringifier can build scientific format without dots: 5e-100,\n // while YAML requres dot: 5.e-100. Fix it with simple hack\n\n return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace('e', '.e') : res;\n}\n\nfunction isFloat(object) {\n return (Object.prototype.toString.call(object) === '[object Number]') &&\n (object % 1 !== 0 || common.isNegativeZero(object));\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:float', {\n kind: 'scalar',\n resolve: resolveYamlFloat,\n construct: constructYamlFloat,\n predicate: isFloat,\n represent: representYamlFloat,\n defaultStyle: 'lowercase'\n});\n","'use strict';\n\nvar common = require('../common');\nvar Type = require('../type');\n\nfunction isHexCode(c) {\n return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */)) ||\n ((0x41/* A */ <= c) && (c <= 0x46/* F */)) ||\n ((0x61/* a */ <= c) && (c <= 0x66/* f */));\n}\n\nfunction isOctCode(c) {\n return ((0x30/* 0 */ <= c) && (c <= 0x37/* 7 */));\n}\n\nfunction isDecCode(c) {\n return ((0x30/* 0 */ <= c) && (c <= 0x39/* 9 */));\n}\n\nfunction resolveYamlInteger(data) {\n if (data === null) return false;\n\n var max = data.length,\n index = 0,\n hasDigits = false,\n ch;\n\n if (!max) return false;\n\n ch = data[index];\n\n // sign\n if (ch === '-' || ch === '+') {\n ch = data[++index];\n }\n\n if (ch === '0') {\n // 0\n if (index + 1 === max) return true;\n ch = data[++index];\n\n // base 2, base 8, base 16\n\n if (ch === 'b') {\n // base 2\n index++;\n\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (ch !== '0' && ch !== '1') return false;\n hasDigits = true;\n }\n return hasDigits && ch !== '_';\n }\n\n\n if (ch === 'x') {\n // base 16\n index++;\n\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (!isHexCode(data.charCodeAt(index))) return false;\n hasDigits = true;\n }\n return hasDigits && ch !== '_';\n }\n\n\n if (ch === 'o') {\n // base 8\n index++;\n\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (!isOctCode(data.charCodeAt(index))) return false;\n hasDigits = true;\n }\n return hasDigits && ch !== '_';\n }\n }\n\n // base 10 (except 0)\n\n // value should not start with `_`;\n if (ch === '_') return false;\n\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_') continue;\n if (!isDecCode(data.charCodeAt(index))) {\n return false;\n }\n hasDigits = true;\n }\n\n // Should have digits and should not end with `_`\n if (!hasDigits || ch === '_') return false;\n\n return true;\n}\n\nfunction constructYamlInteger(data) {\n var value = data, sign = 1, ch;\n\n if (value.indexOf('_') !== -1) {\n value = value.replace(/_/g, '');\n }\n\n ch = value[0];\n\n if (ch === '-' || ch === '+') {\n if (ch === '-') sign = -1;\n value = value.slice(1);\n ch = value[0];\n }\n\n if (value === '0') return 0;\n\n if (ch === '0') {\n if (value[1] === 'b') return sign * parseInt(value.slice(2), 2);\n if (value[1] === 'x') return sign * parseInt(value.slice(2), 16);\n if (value[1] === 'o') return sign * parseInt(value.slice(2), 8);\n }\n\n return sign * parseInt(value, 10);\n}\n\nfunction isInteger(object) {\n return (Object.prototype.toString.call(object)) === '[object Number]' &&\n (object % 1 === 0 && !common.isNegativeZero(object));\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:int', {\n kind: 'scalar',\n resolve: resolveYamlInteger,\n construct: constructYamlInteger,\n predicate: isInteger,\n represent: {\n binary: function (obj) { return obj >= 0 ? '0b' + obj.toString(2) : '-0b' + obj.toString(2).slice(1); },\n octal: function (obj) { return obj >= 0 ? '0o' + obj.toString(8) : '-0o' + obj.toString(8).slice(1); },\n decimal: function (obj) { return obj.toString(10); },\n /* eslint-disable max-len */\n hexadecimal: function (obj) { return obj >= 0 ? '0x' + obj.toString(16).toUpperCase() : '-0x' + obj.toString(16).toUpperCase().slice(1); }\n },\n defaultStyle: 'decimal',\n styleAliases: {\n binary: [ 2, 'bin' ],\n octal: [ 8, 'oct' ],\n decimal: [ 10, 'dec' ],\n hexadecimal: [ 16, 'hex' ]\n }\n});\n","'use strict';\n\nvar Type = require('../type');\n\nmodule.exports = new Type('tag:yaml.org,2002:map', {\n kind: 'mapping',\n construct: function (data) { return data !== null ? data : {}; }\n});\n","'use strict';\n\nvar Type = require('../type');\n\nfunction resolveYamlMerge(data) {\n return data === '<<' || data === null;\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:merge', {\n kind: 'scalar',\n resolve: resolveYamlMerge\n});\n","'use strict';\n\nvar Type = require('../type');\n\nfunction resolveYamlNull(data) {\n if (data === null) return true;\n\n var max = data.length;\n\n return (max === 1 && data === '~') ||\n (max === 4 && (data === 'null' || data === 'Null' || data === 'NULL'));\n}\n\nfunction constructYamlNull() {\n return null;\n}\n\nfunction isNull(object) {\n return object === null;\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:null', {\n kind: 'scalar',\n resolve: resolveYamlNull,\n construct: constructYamlNull,\n predicate: isNull,\n represent: {\n canonical: function () { return '~'; },\n lowercase: function () { return 'null'; },\n uppercase: function () { return 'NULL'; },\n camelcase: function () { return 'Null'; },\n empty: function () { return ''; }\n },\n defaultStyle: 'lowercase'\n});\n","'use strict';\n\nvar Type = require('../type');\n\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\nvar _toString = Object.prototype.toString;\n\nfunction resolveYamlOmap(data) {\n if (data === null) return true;\n\n var objectKeys = [], index, length, pair, pairKey, pairHasKey,\n object = data;\n\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n pairHasKey = false;\n\n if (_toString.call(pair) !== '[object Object]') return false;\n\n for (pairKey in pair) {\n if (_hasOwnProperty.call(pair, pairKey)) {\n if (!pairHasKey) pairHasKey = true;\n else return false;\n }\n }\n\n if (!pairHasKey) return false;\n\n if (objectKeys.indexOf(pairKey) === -1) objectKeys.push(pairKey);\n else return false;\n }\n\n return true;\n}\n\nfunction constructYamlOmap(data) {\n return data !== null ? data : [];\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:omap', {\n kind: 'sequence',\n resolve: resolveYamlOmap,\n construct: constructYamlOmap\n});\n","'use strict';\n\nvar Type = require('../type');\n\nvar _toString = Object.prototype.toString;\n\nfunction resolveYamlPairs(data) {\n if (data === null) return true;\n\n var index, length, pair, keys, result,\n object = data;\n\n result = new Array(object.length);\n\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n\n if (_toString.call(pair) !== '[object Object]') return false;\n\n keys = Object.keys(pair);\n\n if (keys.length !== 1) return false;\n\n result[index] = [ keys[0], pair[keys[0]] ];\n }\n\n return true;\n}\n\nfunction constructYamlPairs(data) {\n if (data === null) return [];\n\n var index, length, pair, keys, result,\n object = data;\n\n result = new Array(object.length);\n\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n\n keys = Object.keys(pair);\n\n result[index] = [ keys[0], pair[keys[0]] ];\n }\n\n return result;\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:pairs', {\n kind: 'sequence',\n resolve: resolveYamlPairs,\n construct: constructYamlPairs\n});\n","'use strict';\n\nvar Type = require('../type');\n\nmodule.exports = new Type('tag:yaml.org,2002:seq', {\n kind: 'sequence',\n construct: function (data) { return data !== null ? data : []; }\n});\n","'use strict';\n\nvar Type = require('../type');\n\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction resolveYamlSet(data) {\n if (data === null) return true;\n\n var key, object = data;\n\n for (key in object) {\n if (_hasOwnProperty.call(object, key)) {\n if (object[key] !== null) return false;\n }\n }\n\n return true;\n}\n\nfunction constructYamlSet(data) {\n return data !== null ? data : {};\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:set', {\n kind: 'mapping',\n resolve: resolveYamlSet,\n construct: constructYamlSet\n});\n","'use strict';\n\nvar Type = require('../type');\n\nmodule.exports = new Type('tag:yaml.org,2002:str', {\n kind: 'scalar',\n construct: function (data) { return data !== null ? data : ''; }\n});\n","'use strict';\n\nvar Type = require('../type');\n\nvar YAML_DATE_REGEXP = new RegExp(\n '^([0-9][0-9][0-9][0-9])' + // [1] year\n '-([0-9][0-9])' + // [2] month\n '-([0-9][0-9])$'); // [3] day\n\nvar YAML_TIMESTAMP_REGEXP = new RegExp(\n '^([0-9][0-9][0-9][0-9])' + // [1] year\n '-([0-9][0-9]?)' + // [2] month\n '-([0-9][0-9]?)' + // [3] day\n '(?:[Tt]|[ \\\\t]+)' + // ...\n '([0-9][0-9]?)' + // [4] hour\n ':([0-9][0-9])' + // [5] minute\n ':([0-9][0-9])' + // [6] second\n '(?:\\\\.([0-9]*))?' + // [7] fraction\n '(?:[ \\\\t]*(Z|([-+])([0-9][0-9]?)' + // [8] tz [9] tz_sign [10] tz_hour\n '(?::([0-9][0-9]))?))?$'); // [11] tz_minute\n\nfunction resolveYamlTimestamp(data) {\n if (data === null) return false;\n if (YAML_DATE_REGEXP.exec(data) !== null) return true;\n if (YAML_TIMESTAMP_REGEXP.exec(data) !== null) return true;\n return false;\n}\n\nfunction constructYamlTimestamp(data) {\n var match, year, month, day, hour, minute, second, fraction = 0,\n delta = null, tz_hour, tz_minute, date;\n\n match = YAML_DATE_REGEXP.exec(data);\n if (match === null) match = YAML_TIMESTAMP_REGEXP.exec(data);\n\n if (match === null) throw new Error('Date resolve error');\n\n // match: [1] year [2] month [3] day\n\n year = +(match[1]);\n month = +(match[2]) - 1; // JS month starts with 0\n day = +(match[3]);\n\n if (!match[4]) { // no hour\n return new Date(Date.UTC(year, month, day));\n }\n\n // match: [4] hour [5] minute [6] second [7] fraction\n\n hour = +(match[4]);\n minute = +(match[5]);\n second = +(match[6]);\n\n if (match[7]) {\n fraction = match[7].slice(0, 3);\n while (fraction.length < 3) { // milli-seconds\n fraction += '0';\n }\n fraction = +fraction;\n }\n\n // match: [8] tz [9] tz_sign [10] tz_hour [11] tz_minute\n\n if (match[9]) {\n tz_hour = +(match[10]);\n tz_minute = +(match[11] || 0);\n delta = (tz_hour * 60 + tz_minute) * 60000; // delta in mili-seconds\n if (match[9] === '-') delta = -delta;\n }\n\n date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));\n\n if (delta) date.setTime(date.getTime() - delta);\n\n return date;\n}\n\nfunction representYamlTimestamp(object /*, style*/) {\n return object.toISOString();\n}\n\nmodule.exports = new Type('tag:yaml.org,2002:timestamp', {\n kind: 'scalar',\n resolve: resolveYamlTimestamp,\n construct: constructYamlTimestamp,\n instanceOf: Date,\n represent: representYamlTimestamp\n});\n","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/6.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n reHasRegExpChar = RegExp(reRegExpChar.source);\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\n/**\n * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escapeRegExp('[lodash](https://lodash.com/)');\n * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n */\nfunction escapeRegExp(string) {\n string = toString(string);\n return (string && reHasRegExpChar.test(string))\n ? string.replace(reRegExpChar, '\\\\$&')\n : string;\n}\n\nmodule.exports = escapeRegExp;\n","/* global Map:readonly, Set:readonly, ArrayBuffer:readonly */\n\nvar hasElementType = typeof Element !== 'undefined';\nvar hasMap = typeof Map === 'function';\nvar hasSet = typeof Set === 'function';\nvar hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;\n\n// Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js\n\nfunction equal(a, b) {\n // START: fast-deep-equal es6/index.js 3.1.3\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n // START: Modifications:\n // 1. Extra `has &&` helpers in initial condition allow es6 code\n // to co-exist with es5.\n // 2. Replace `for of` with es5 compliant iteration using `for`.\n // Basically, take:\n //\n // ```js\n // for (i of a.entries())\n // if (!b.has(i[0])) return false;\n // ```\n //\n // ... and convert to:\n //\n // ```js\n // it = a.entries();\n // while (!(i = it.next()).done)\n // if (!b.has(i.value[0])) return false;\n // ```\n //\n // **Note**: `i` access switches to `i.value`.\n var it;\n if (hasMap && (a instanceof Map) && (b instanceof Map)) {\n if (a.size !== b.size) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!b.has(i.value[0])) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!equal(i.value[1], b.get(i.value[0]))) return false;\n return true;\n }\n\n if (hasSet && (a instanceof Set) && (b instanceof Set)) {\n if (a.size !== b.size) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!b.has(i.value[0])) return false;\n return true;\n }\n // END: Modifications\n\n if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (a[i] !== b[i]) return false;\n return true;\n }\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n // START: Modifications:\n // Apply guards for `Object.create(null)` handling. See:\n // - https://github.com/FormidableLabs/react-fast-compare/issues/64\n // - https://github.com/epoberezkin/fast-deep-equal/issues/49\n if (a.valueOf !== Object.prototype.valueOf && typeof a.valueOf === 'function' && typeof b.valueOf === 'function') return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString && typeof a.toString === 'function' && typeof b.toString === 'function') return a.toString() === b.toString();\n // END: Modifications\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n // END: fast-deep-equal\n\n // START: react-fast-compare\n // custom handling for DOM elements\n if (hasElementType && a instanceof Element) return false;\n\n // custom handling for React/Preact\n for (i = length; i-- !== 0;) {\n if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {\n // React-specific: avoid traversing React elements' _owner\n // Preact-specific: avoid traversing Preact elements' __v and __o\n // __v = $_original / $_vnode\n // __o = $_owner\n // These properties contain circular references and are not needed when\n // comparing the actual elements (and not their owners)\n // .$$typeof and ._store on just reasonable markers of elements\n\n continue;\n }\n\n // all other properties should be traversed as usual\n if (!equal(a[keys[i]], b[keys[i]])) return false;\n }\n // END: react-fast-compare\n\n // START: fast-deep-equal\n return true;\n }\n\n return a !== a && b !== b;\n}\n// end fast-deep-equal\n\nmodule.exports = function isEqual(a, b) {\n try {\n return equal(a, b);\n } catch (error) {\n if (((error.message || '').match(/stack|recursion/i))) {\n // warn on circular references, don't crash\n // browsers give this different errors name and messages:\n // chrome/safari: \"RangeError\", \"Maximum call stack size exceeded\"\n // firefox: \"InternalError\", too much recursion\"\n // edge: \"Error\", \"Out of stack space\"\n console.warn('react-fast-compare cannot handle circular refs');\n return false;\n }\n // some other error. we should definitely know about these\n throw error;\n }\n};\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/**\n * @license React\n * react-server-dom-webpack.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var k=require(\"react\"),l={stream:!0},n=new Map,p=Symbol.for(\"react.element\"),q=Symbol.for(\"react.lazy\"),r=Symbol.for(\"react.default_value\"),t=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function u(a){t[a]||(t[a]=k.createServerContext(a,r));return t[a]}function v(a,b,c){this._status=a;this._value=b;this._response=c}v.prototype.then=function(a){0===this._status?(null===this._value&&(this._value=[]),this._value.push(a)):a()};\nfunction w(a){switch(a._status){case 3:return a._value;case 1:var b=JSON.parse(a._value,a._response._fromJSON);a._status=3;return a._value=b;case 2:b=a._value;for(var c=b.chunks,d=0;d {\n const { forward = [], ...filteredConfig } = config || {};\n const configStr = JSON.stringify(filteredConfig, (k, v) => {\n if (typeof v === 'function') {\n v = String(v);\n if (v.startsWith(k + '(')) {\n v = 'function ' + v;\n }\n }\n return v;\n });\n return [\n `!(function(w,p,f,c){`,\n Object.keys(filteredConfig).length > 0\n ? `c=w[p]=Object.assign(w[p]||{},${configStr});`\n : `c=w[p]=w[p]||{};`,\n `c[f]=(c[f]||[])`,\n forward.length > 0 ? `.concat(${JSON.stringify(forward)})` : ``,\n `})(window,'partytown','forward');`,\n snippetCode,\n ].join('');\n};\n\n/**\n * The `type` attribute for Partytown scripts, which does two things:\n *\n * 1. Prevents the ` +

https://example.org/colour-with-hierarchy/grassgreen

Copy URI
JSON
- \ No newline at end of file + \ No newline at end of file diff --git a/example.org/colour-with-hierarchy/green.html b/example.org/colour-with-hierarchy/green.html index 0cc42d875b..3421147ce3 100644 --- a/example.org/colour-with-hierarchy/green.html +++ b/example.org/colour-with-hierarchy/green.html @@ -1,7 +1,7 @@ -

https://example.org/colour-with-hierarchy/green

Copy URI
JSON
+

https://example.org/colour-with-hierarchy/green

Copy URI
JSON
- \ No newline at end of file + \ No newline at end of file diff --git a/example.org/colour-with-hierarchy/index.html b/example.org/colour-with-hierarchy/index.html index 39aff4e269..855f4e8ab0 100644 --- a/example.org/colour-with-hierarchy/index.html +++ b/example.org/colour-with-hierarchy/index.html @@ -1,7 +1,7 @@ -

https://example.org/colour-with-hierarchy/

Copy URI
JSON
+

https://example.org/colour-with-hierarchy/

Copy URI
JSON
- \ No newline at end of file + \ No newline at end of file diff --git a/example.org/colour-with-hierarchy/violet.html b/example.org/colour-with-hierarchy/violet.html index cbcce643d6..9f10438418 100644 --- a/example.org/colour-with-hierarchy/violet.html +++ b/example.org/colour-with-hierarchy/violet.html @@ -1,7 +1,7 @@ -

https://example.org/colour-with-hierarchy/violet

Copy URI
JSON
+

https://example.org/colour-with-hierarchy/violet

Copy URI
JSON
- \ No newline at end of file + \ No newline at end of file diff --git a/example.org/colour/blue.html b/example.org/colour/blue.html index e4116634a8..3f61b73ec0 100644 --- a/example.org/colour/blue.html +++ b/example.org/colour/blue.html @@ -1,7 +1,7 @@ -

https://example.org/colour/blue

Copy URI
JSON
+

https://example.org/colour/blue

Copy URI
JSON
- \ No newline at end of file + \ No newline at end of file diff --git a/example.org/colour/blue.json b/example.org/colour/blue.json index ce44cde49a..cb1a2d2ec1 100644 --- a/example.org/colour/blue.json +++ b/example.org/colour/blue.json @@ -9,8 +9,8 @@ { "id": "https://example.org/colour/", "title": { - "en": "Colour Vocabulary", - "de": "Farbvokabular" + "en": "Darnelle Colour Vocabulary", + "de": "Farbvokabular von Darnelle" } } ], @@ -23,8 +23,8 @@ { "id": "https://example.org/colour/", "title": { - "en": "Colour Vocabulary", - "de": "Farbvokabular" + "en": "Darnelle Colour Vocabulary", + "de": "Farbvokabular von Darnelle" } } ], diff --git a/example.org/colour/blue.jsonld b/example.org/colour/blue.jsonld index ce44cde49a..cb1a2d2ec1 100644 --- a/example.org/colour/blue.jsonld +++ b/example.org/colour/blue.jsonld @@ -9,8 +9,8 @@ { "id": "https://example.org/colour/", "title": { - "en": "Colour Vocabulary", - "de": "Farbvokabular" + "en": "Darnelle Colour Vocabulary", + "de": "Farbvokabular von Darnelle" } } ], @@ -23,8 +23,8 @@ { "id": "https://example.org/colour/", "title": { - "en": "Colour Vocabulary", - "de": "Farbvokabular" + "en": "Darnelle Colour Vocabulary", + "de": "Farbvokabular von Darnelle" } } ], diff --git a/example.org/colour/index.html b/example.org/colour/index.html index e6015f6074..fac11d7317 100644 --- a/example.org/colour/index.html +++ b/example.org/colour/index.html @@ -1,7 +1,7 @@ -

https://example.org/colour/

Copy URI
JSON
+

https://example.org/colour/

Copy URI
JSON
- \ No newline at end of file + \ No newline at end of file diff --git a/example.org/colour/index.json b/example.org/colour/index.json index fa40fb104f..2b76576b26 100644 --- a/example.org/colour/index.json +++ b/example.org/colour/index.json @@ -1 +1 @@ -{"id":"https://example.org/colour/","type":"ConceptScheme","title":{"en":"Colour Vocabulary","de":"Farbvokabular"},"hasTopConcept":[{"id":"https://example.org/colour/violet","prefLabel":{"en":"violet","de":"Violett"},"altLabel":{"en":["purple"],"de":["Lila"]}},{"id":"https://example.org/colour/blue","prefLabel":{"en":"blue","de":"Blau"}}],"@context":{"@version":1.1,"id":"@id","type":"@type","@vocab":"http://www.w3.org/2004/02/skos/core#","xsd":"http://www.w3.org/2001/XMLSchema#","dct":"http://purl.org/dc/terms/","dc":"http://purl.org/dc/elements/1.1/","schema":"https://schema.org/","vann":"http://purl.org/vocab/vann/","ldp":"http://www.w3.org/ns/ldp#","owl":"http://www.w3.org/2002/07/owl#","title":{"@id":"dct:title","@container":"@language"},"dc:title":{"@id":"dc:title","@container":"@language"},"dc:description":{"@id":"dc:description","@container":"@language"},"description":{"@id":"dct:description","@container":"@language"},"issued":{"@id":"dct:issued","@type":"xsd:date"},"created":{"@id":"dct:created","@type":"xsd:date"},"modified":{"@id":"dct:modified","@type":"xsd:date"},"creator":"dct:creator","publisher":"dct:publisher","preferredNamespacePrefix":"vann:preferredNamespacePrefix","preferredNamespaceUri":"vann:preferredNamespaceUri","isBasedOn":"schema:isBasedOn","source":"dct:source","prefLabel":{"@container":"@language"},"altLabel":{"@container":["@language","@set"]},"hiddenLabel":{"@container":["@language","@set"]},"definition":{"@container":"@language"},"note":{"@container":["@language","@set"]},"changeNote":{"@container":["@language","@set"]},"editorialNote":{"@container":["@language","@set"]},"historyNote":{"@container":["@language","@set"]},"scopeNote":{"@container":["@language","@set"]},"notation":{"@container":"@set"},"example":{"@container":"@language"},"narrower":{"@container":"@set"},"related":{"@container":"@set"},"relatedMatch":{"@container":"@set"},"narrowerTransitive":{"@container":"@set"},"broaderTransitive":{"@container":"@set"},"broadMatch":{"@container":"@set"},"narrowMatch":{"@container":"@set"},"closeMatch":{"@container":"@set"},"exactMatch":{"@container":"@set"},"hasTopConcept":{"@container":"@set"},"inScheme":{"@container":"@set"},"topConceptOf":{"@container":"@set"},"deprecated":{"@id":"owl:deprecated","@type":"xsd:boolean"},"isReplacedBy":{"@id":"dct:isReplacedBy","@container":"@set"}}} \ No newline at end of file +{"id":"https://example.org/colour/","type":"ConceptScheme","title":{"en":"Darnelle Colour Vocabulary","de":"Farbvokabular von Darnelle"},"hasTopConcept":[{"id":"https://example.org/colour/violet","prefLabel":{"en":"violet","de":"Violett"},"altLabel":{"en":["purple"],"de":["Lila"]}},{"id":"https://example.org/colour/blue","prefLabel":{"en":"blue","de":"Blau"}}],"@context":{"@version":1.1,"id":"@id","type":"@type","@vocab":"http://www.w3.org/2004/02/skos/core#","xsd":"http://www.w3.org/2001/XMLSchema#","dct":"http://purl.org/dc/terms/","dc":"http://purl.org/dc/elements/1.1/","schema":"https://schema.org/","vann":"http://purl.org/vocab/vann/","ldp":"http://www.w3.org/ns/ldp#","owl":"http://www.w3.org/2002/07/owl#","title":{"@id":"dct:title","@container":"@language"},"dc:title":{"@id":"dc:title","@container":"@language"},"dc:description":{"@id":"dc:description","@container":"@language"},"description":{"@id":"dct:description","@container":"@language"},"issued":{"@id":"dct:issued","@type":"xsd:date"},"created":{"@id":"dct:created","@type":"xsd:date"},"modified":{"@id":"dct:modified","@type":"xsd:date"},"creator":"dct:creator","publisher":"dct:publisher","preferredNamespacePrefix":"vann:preferredNamespacePrefix","preferredNamespaceUri":"vann:preferredNamespaceUri","isBasedOn":"schema:isBasedOn","source":"dct:source","prefLabel":{"@container":"@language"},"altLabel":{"@container":["@language","@set"]},"hiddenLabel":{"@container":["@language","@set"]},"definition":{"@container":"@language"},"note":{"@container":["@language","@set"]},"changeNote":{"@container":["@language","@set"]},"editorialNote":{"@container":["@language","@set"]},"historyNote":{"@container":["@language","@set"]},"scopeNote":{"@container":["@language","@set"]},"notation":{"@container":"@set"},"example":{"@container":"@language"},"narrower":{"@container":"@set"},"related":{"@container":"@set"},"relatedMatch":{"@container":"@set"},"narrowerTransitive":{"@container":"@set"},"broaderTransitive":{"@container":"@set"},"broadMatch":{"@container":"@set"},"narrowMatch":{"@container":"@set"},"closeMatch":{"@container":"@set"},"exactMatch":{"@container":"@set"},"hasTopConcept":{"@container":"@set"},"inScheme":{"@container":"@set"},"topConceptOf":{"@container":"@set"},"deprecated":{"@id":"owl:deprecated","@type":"xsd:boolean"},"isReplacedBy":{"@id":"dct:isReplacedBy","@container":"@set"}}} \ No newline at end of file diff --git a/example.org/colour/index.jsonld b/example.org/colour/index.jsonld index fa40fb104f..2b76576b26 100644 --- a/example.org/colour/index.jsonld +++ b/example.org/colour/index.jsonld @@ -1 +1 @@ -{"id":"https://example.org/colour/","type":"ConceptScheme","title":{"en":"Colour Vocabulary","de":"Farbvokabular"},"hasTopConcept":[{"id":"https://example.org/colour/violet","prefLabel":{"en":"violet","de":"Violett"},"altLabel":{"en":["purple"],"de":["Lila"]}},{"id":"https://example.org/colour/blue","prefLabel":{"en":"blue","de":"Blau"}}],"@context":{"@version":1.1,"id":"@id","type":"@type","@vocab":"http://www.w3.org/2004/02/skos/core#","xsd":"http://www.w3.org/2001/XMLSchema#","dct":"http://purl.org/dc/terms/","dc":"http://purl.org/dc/elements/1.1/","schema":"https://schema.org/","vann":"http://purl.org/vocab/vann/","ldp":"http://www.w3.org/ns/ldp#","owl":"http://www.w3.org/2002/07/owl#","title":{"@id":"dct:title","@container":"@language"},"dc:title":{"@id":"dc:title","@container":"@language"},"dc:description":{"@id":"dc:description","@container":"@language"},"description":{"@id":"dct:description","@container":"@language"},"issued":{"@id":"dct:issued","@type":"xsd:date"},"created":{"@id":"dct:created","@type":"xsd:date"},"modified":{"@id":"dct:modified","@type":"xsd:date"},"creator":"dct:creator","publisher":"dct:publisher","preferredNamespacePrefix":"vann:preferredNamespacePrefix","preferredNamespaceUri":"vann:preferredNamespaceUri","isBasedOn":"schema:isBasedOn","source":"dct:source","prefLabel":{"@container":"@language"},"altLabel":{"@container":["@language","@set"]},"hiddenLabel":{"@container":["@language","@set"]},"definition":{"@container":"@language"},"note":{"@container":["@language","@set"]},"changeNote":{"@container":["@language","@set"]},"editorialNote":{"@container":["@language","@set"]},"historyNote":{"@container":["@language","@set"]},"scopeNote":{"@container":["@language","@set"]},"notation":{"@container":"@set"},"example":{"@container":"@language"},"narrower":{"@container":"@set"},"related":{"@container":"@set"},"relatedMatch":{"@container":"@set"},"narrowerTransitive":{"@container":"@set"},"broaderTransitive":{"@container":"@set"},"broadMatch":{"@container":"@set"},"narrowMatch":{"@container":"@set"},"closeMatch":{"@container":"@set"},"exactMatch":{"@container":"@set"},"hasTopConcept":{"@container":"@set"},"inScheme":{"@container":"@set"},"topConceptOf":{"@container":"@set"},"deprecated":{"@id":"owl:deprecated","@type":"xsd:boolean"},"isReplacedBy":{"@id":"dct:isReplacedBy","@container":"@set"}}} \ No newline at end of file +{"id":"https://example.org/colour/","type":"ConceptScheme","title":{"en":"Darnelle Colour Vocabulary","de":"Farbvokabular von Darnelle"},"hasTopConcept":[{"id":"https://example.org/colour/violet","prefLabel":{"en":"violet","de":"Violett"},"altLabel":{"en":["purple"],"de":["Lila"]}},{"id":"https://example.org/colour/blue","prefLabel":{"en":"blue","de":"Blau"}}],"@context":{"@version":1.1,"id":"@id","type":"@type","@vocab":"http://www.w3.org/2004/02/skos/core#","xsd":"http://www.w3.org/2001/XMLSchema#","dct":"http://purl.org/dc/terms/","dc":"http://purl.org/dc/elements/1.1/","schema":"https://schema.org/","vann":"http://purl.org/vocab/vann/","ldp":"http://www.w3.org/ns/ldp#","owl":"http://www.w3.org/2002/07/owl#","title":{"@id":"dct:title","@container":"@language"},"dc:title":{"@id":"dc:title","@container":"@language"},"dc:description":{"@id":"dc:description","@container":"@language"},"description":{"@id":"dct:description","@container":"@language"},"issued":{"@id":"dct:issued","@type":"xsd:date"},"created":{"@id":"dct:created","@type":"xsd:date"},"modified":{"@id":"dct:modified","@type":"xsd:date"},"creator":"dct:creator","publisher":"dct:publisher","preferredNamespacePrefix":"vann:preferredNamespacePrefix","preferredNamespaceUri":"vann:preferredNamespaceUri","isBasedOn":"schema:isBasedOn","source":"dct:source","prefLabel":{"@container":"@language"},"altLabel":{"@container":["@language","@set"]},"hiddenLabel":{"@container":["@language","@set"]},"definition":{"@container":"@language"},"note":{"@container":["@language","@set"]},"changeNote":{"@container":["@language","@set"]},"editorialNote":{"@container":["@language","@set"]},"historyNote":{"@container":["@language","@set"]},"scopeNote":{"@container":["@language","@set"]},"notation":{"@container":"@set"},"example":{"@container":"@language"},"narrower":{"@container":"@set"},"related":{"@container":"@set"},"relatedMatch":{"@container":"@set"},"narrowerTransitive":{"@container":"@set"},"broaderTransitive":{"@container":"@set"},"broadMatch":{"@container":"@set"},"narrowMatch":{"@container":"@set"},"closeMatch":{"@container":"@set"},"exactMatch":{"@container":"@set"},"hasTopConcept":{"@container":"@set"},"inScheme":{"@container":"@set"},"topConceptOf":{"@container":"@set"},"deprecated":{"@id":"owl:deprecated","@type":"xsd:boolean"},"isReplacedBy":{"@id":"dct:isReplacedBy","@container":"@set"}}} \ No newline at end of file diff --git a/example.org/colour/violet.html b/example.org/colour/violet.html index cce2eec86a..75f38e4451 100644 --- a/example.org/colour/violet.html +++ b/example.org/colour/violet.html @@ -1,7 +1,7 @@ -

https://example.org/colour/violet

Copy URI
JSON
+

https://example.org/colour/violet

Copy URI
JSON
- \ No newline at end of file + \ No newline at end of file diff --git a/example.org/colour/violet.json b/example.org/colour/violet.json index 68635be826..f9f1ec5003 100644 --- a/example.org/colour/violet.json +++ b/example.org/colour/violet.json @@ -17,8 +17,8 @@ { "id": "https://example.org/colour/", "title": { - "en": "Colour Vocabulary", - "de": "Farbvokabular" + "en": "Darnelle Colour Vocabulary", + "de": "Farbvokabular von Darnelle" } } ], @@ -31,8 +31,8 @@ { "id": "https://example.org/colour/", "title": { - "en": "Colour Vocabulary", - "de": "Farbvokabular" + "en": "Darnelle Colour Vocabulary", + "de": "Farbvokabular von Darnelle" } } ], diff --git a/example.org/colour/violet.jsonld b/example.org/colour/violet.jsonld index 68635be826..f9f1ec5003 100644 --- a/example.org/colour/violet.jsonld +++ b/example.org/colour/violet.jsonld @@ -17,8 +17,8 @@ { "id": "https://example.org/colour/", "title": { - "en": "Colour Vocabulary", - "de": "Farbvokabular" + "en": "Darnelle Colour Vocabulary", + "de": "Farbvokabular von Darnelle" } } ], @@ -31,8 +31,8 @@ { "id": "https://example.org/colour/", "title": { - "en": "Colour Vocabulary", - "de": "Farbvokabular" + "en": "Darnelle Colour Vocabulary", + "de": "Farbvokabular von Darnelle" } } ], diff --git a/index.html b/index.html index 5e1eb29699..847e3444d6 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ -
    +
      - \ No newline at end of file + \ No newline at end of file diff --git a/index.json b/index.json index f41c9edc08..eeb8f5c420 100644 --- a/index.json +++ b/index.json @@ -1 +1 @@ -[{"id":"https://example.org/colour/","title":{"en":"Colour Vocabulary","de":"Farbvokabular"},"dc_title":null,"prefLabel":null,"description":null,"dc_description":null,"languages":["en","de"]},{"id":"https://example.org/colour-with-hierarchy/","title":{"en":"Colour vocabulary with hierarchy","de":"Farbvokabular mit Hierarchie"},"dc_title":null,"prefLabel":null,"description":null,"dc_description":null,"languages":["en","de"]}] \ No newline at end of file +[{"id":"https://example.org/colour/","title":{"en":"Darnelle Colour Vocabulary","de":"Farbvokabular von Darnelle"},"dc_title":null,"prefLabel":null,"description":null,"dc_description":null,"languages":["en","de"]},{"id":"https://example.org/colour-with-hierarchy/","title":{"en":"Colour vocabulary with hierarchy","de":"Farbvokabular mit Hierarchie"},"dc_title":null,"prefLabel":null,"description":null,"dc_description":null,"languages":["en","de"]}] \ No newline at end of file diff --git a/page-data/app-data.json b/page-data/app-data.json index 99064f0e2e..19c997e895 100644 --- a/page-data/app-data.json +++ b/page-data/app-data.json @@ -1 +1 @@ -{"webpackCompilationHash":"7e38d52952d59c071624"} +{"webpackCompilationHash":"b4bf21e9b687c9f06ff3"} diff --git a/page-data/example.org/colour/blue.html/page-data.json b/page-data/example.org/colour/blue.html/page-data.json index 14e7040ebe..f6c3e8133b 100644 --- a/page-data/example.org/colour/blue.html/page-data.json +++ b/page-data/example.org/colour/blue.html/page-data.json @@ -1 +1 @@ -{"componentChunkName":"component---src-components-concept-jsx","path":"/example.org/colour/blue.html","result":{"pageContext":{"node":{"id":"https://example.org/colour/blue","type":"Concept","prefLabel":{"en":"blue","de":"Blau"},"altLabel":null,"hiddenLabel":null,"definition":null,"note":null,"changeNote":null,"editorialNote":null,"historyNote":null,"scopeNote":null,"notation":null,"example":null,"narrower":[],"narrowerTransitive":[],"broader":null,"broaderTransitive":null,"related":[],"relatedMatch":null,"broadMatch":null,"narrowMatch":null,"closeMatch":null,"exactMatch":null,"inScheme":[{"id":"https://example.org/colour/","title":{"en":"Colour Vocabulary","de":"Farbvokabular"}}],"inSchemeAll":[{"id":"https://example.org/colour/"}],"topConceptOf":[{"id":"https://example.org/colour/","title":{"en":"Colour Vocabulary","de":"Farbvokabular"}}],"deprecated":null,"isReplacedBy":null},"collections":[],"customDomain":""}},"staticQueryHashes":["3649515864","4240049689","63159454"],"slicesMap":{}} \ No newline at end of file +{"componentChunkName":"component---src-components-concept-jsx","path":"/example.org/colour/blue.html","result":{"pageContext":{"node":{"id":"https://example.org/colour/blue","type":"Concept","prefLabel":{"en":"blue","de":"Blau"},"altLabel":null,"hiddenLabel":null,"definition":null,"note":null,"changeNote":null,"editorialNote":null,"historyNote":null,"scopeNote":null,"notation":null,"example":null,"narrower":[],"narrowerTransitive":[],"broader":null,"broaderTransitive":null,"related":[],"relatedMatch":null,"broadMatch":null,"narrowMatch":null,"closeMatch":null,"exactMatch":null,"inScheme":[{"id":"https://example.org/colour/","title":{"en":"Darnelle Colour Vocabulary","de":"Farbvokabular von Darnelle"}}],"inSchemeAll":[{"id":"https://example.org/colour/"}],"topConceptOf":[{"id":"https://example.org/colour/","title":{"en":"Darnelle Colour Vocabulary","de":"Farbvokabular von Darnelle"}}],"deprecated":null,"isReplacedBy":null},"collections":[],"customDomain":""}},"staticQueryHashes":["3649515864","4240049689","63159454"],"slicesMap":{}} \ No newline at end of file diff --git a/page-data/example.org/colour/index.html/page-data.json b/page-data/example.org/colour/index.html/page-data.json index 8f572250ad..791d89ff68 100644 --- a/page-data/example.org/colour/index.html/page-data.json +++ b/page-data/example.org/colour/index.html/page-data.json @@ -1 +1 @@ -{"componentChunkName":"component---src-components-concept-scheme-jsx","path":"/example.org/colour/index.html","result":{"pageContext":{"node":{"id":"https://example.org/colour/","type":"ConceptScheme","title":{"en":"Colour Vocabulary","de":"Farbvokabular"},"prefLabel":null,"dc_title":null,"description":null,"dc_description":null,"hasTopConcept":[{"id":"https://example.org/colour/violet","notation":null,"prefLabel":{"en":"violet","de":"Violett"},"altLabel":{"en":["purple"],"de":["Lila"]},"hiddenLabel":null,"definition":null,"example":null,"scopeNote":null,"deprecated":null,"narrower":[]},{"id":"https://example.org/colour/blue","notation":null,"prefLabel":{"en":"blue","de":"Blau"},"altLabel":null,"hiddenLabel":null,"definition":null,"example":null,"scopeNote":null,"deprecated":null,"narrower":[]}]},"embed":[{"json":{"id":"https://example.org/colour/","type":"ConceptScheme","title":{"en":"Colour Vocabulary","de":"Farbvokabular"},"hasTopConcept":[{"id":"https://example.org/colour/violet","prefLabel":{"en":"violet","de":"Violett"},"altLabel":{"en":["purple"],"de":["Lila"]}},{"id":"https://example.org/colour/blue","prefLabel":{"en":"blue","de":"Blau"}}],"@context":{"@version":1.1,"id":"@id","type":"@type","@vocab":"http://www.w3.org/2004/02/skos/core#","xsd":"http://www.w3.org/2001/XMLSchema#","dct":"http://purl.org/dc/terms/","dc":"http://purl.org/dc/elements/1.1/","schema":"https://schema.org/","vann":"http://purl.org/vocab/vann/","ldp":"http://www.w3.org/ns/ldp#","owl":"http://www.w3.org/2002/07/owl#","title":{"@id":"dct:title","@container":"@language"},"dc:title":{"@id":"dc:title","@container":"@language"},"dc:description":{"@id":"dc:description","@container":"@language"},"description":{"@id":"dct:description","@container":"@language"},"issued":{"@id":"dct:issued","@type":"xsd:date"},"created":{"@id":"dct:created","@type":"xsd:date"},"modified":{"@id":"dct:modified","@type":"xsd:date"},"creator":"dct:creator","publisher":"dct:publisher","preferredNamespacePrefix":"vann:preferredNamespacePrefix","preferredNamespaceUri":"vann:preferredNamespaceUri","isBasedOn":"schema:isBasedOn","source":"dct:source","prefLabel":{"@container":"@language"},"altLabel":{"@container":["@language","@set"]},"hiddenLabel":{"@container":["@language","@set"]},"definition":{"@container":"@language"},"note":{"@container":["@language","@set"]},"changeNote":{"@container":["@language","@set"]},"editorialNote":{"@container":["@language","@set"]},"historyNote":{"@container":["@language","@set"]},"scopeNote":{"@container":["@language","@set"]},"notation":{"@container":"@set"},"example":{"@container":"@language"},"narrower":{"@container":"@set"},"related":{"@container":"@set"},"relatedMatch":{"@container":"@set"},"narrowerTransitive":{"@container":"@set"},"broaderTransitive":{"@container":"@set"},"broadMatch":{"@container":"@set"},"narrowMatch":{"@container":"@set"},"closeMatch":{"@container":"@set"},"exactMatch":{"@container":"@set"},"hasTopConcept":{"@container":"@set"},"inScheme":{"@container":"@set"},"topConceptOf":{"@container":"@set"},"deprecated":{"@id":"owl:deprecated","@type":"xsd:boolean"},"isReplacedBy":{"@id":"dct:isReplacedBy","@container":"@set"}}},"jsonld":{"id":"https://example.org/colour/","type":"ConceptScheme","title":{"en":"Colour Vocabulary","de":"Farbvokabular"},"hasTopConcept":[{"id":"https://example.org/colour/violet","prefLabel":{"en":"violet","de":"Violett"},"altLabel":{"en":["purple"],"de":["Lila"]}},{"id":"https://example.org/colour/blue","prefLabel":{"en":"blue","de":"Blau"}}],"@context":{"@version":1.1,"id":"@id","type":"@type","@vocab":"http://www.w3.org/2004/02/skos/core#","xsd":"http://www.w3.org/2001/XMLSchema#","dct":"http://purl.org/dc/terms/","dc":"http://purl.org/dc/elements/1.1/","schema":"https://schema.org/","vann":"http://purl.org/vocab/vann/","ldp":"http://www.w3.org/ns/ldp#","owl":"http://www.w3.org/2002/07/owl#","title":{"@id":"dct:title","@container":"@language"},"dc:title":{"@id":"dc:title","@container":"@language"},"dc:description":{"@id":"dc:description","@container":"@language"},"description":{"@id":"dct:description","@container":"@language"},"issued":{"@id":"dct:issued","@type":"xsd:date"},"created":{"@id":"dct:created","@type":"xsd:date"},"modified":{"@id":"dct:modified","@type":"xsd:date"},"creator":"dct:creator","publisher":"dct:publisher","preferredNamespacePrefix":"vann:preferredNamespacePrefix","preferredNamespaceUri":"vann:preferredNamespaceUri","isBasedOn":"schema:isBasedOn","source":"dct:source","prefLabel":{"@container":"@language"},"altLabel":{"@container":["@language","@set"]},"hiddenLabel":{"@container":["@language","@set"]},"definition":{"@container":"@language"},"note":{"@container":["@language","@set"]},"changeNote":{"@container":["@language","@set"]},"editorialNote":{"@container":["@language","@set"]},"historyNote":{"@container":["@language","@set"]},"scopeNote":{"@container":["@language","@set"]},"notation":{"@container":"@set"},"example":{"@container":"@language"},"narrower":{"@container":"@set"},"related":{"@container":"@set"},"relatedMatch":{"@container":"@set"},"narrowerTransitive":{"@container":"@set"},"broaderTransitive":{"@container":"@set"},"broadMatch":{"@container":"@set"},"narrowMatch":{"@container":"@set"},"closeMatch":{"@container":"@set"},"exactMatch":{"@container":"@set"},"hasTopConcept":{"@container":"@set"},"inScheme":{"@container":"@set"},"topConceptOf":{"@container":"@set"},"deprecated":{"@id":"owl:deprecated","@type":"xsd:boolean"},"isReplacedBy":{"@id":"dct:isReplacedBy","@container":"@set"}}}}],"customDomain":""}},"staticQueryHashes":["3649515864","4240049689","63159454"],"slicesMap":{}} \ No newline at end of file +{"componentChunkName":"component---src-components-concept-scheme-jsx","path":"/example.org/colour/index.html","result":{"pageContext":{"node":{"id":"https://example.org/colour/","type":"ConceptScheme","title":{"en":"Darnelle Colour Vocabulary","de":"Farbvokabular von Darnelle"},"prefLabel":null,"dc_title":null,"description":null,"dc_description":null,"hasTopConcept":[{"id":"https://example.org/colour/violet","notation":null,"prefLabel":{"en":"violet","de":"Violett"},"altLabel":{"en":["purple"],"de":["Lila"]},"hiddenLabel":null,"definition":null,"example":null,"scopeNote":null,"deprecated":null,"narrower":[]},{"id":"https://example.org/colour/blue","notation":null,"prefLabel":{"en":"blue","de":"Blau"},"altLabel":null,"hiddenLabel":null,"definition":null,"example":null,"scopeNote":null,"deprecated":null,"narrower":[]}]},"embed":[{"json":{"id":"https://example.org/colour/","type":"ConceptScheme","title":{"en":"Darnelle Colour Vocabulary","de":"Farbvokabular von Darnelle"},"hasTopConcept":[{"id":"https://example.org/colour/violet","prefLabel":{"en":"violet","de":"Violett"},"altLabel":{"en":["purple"],"de":["Lila"]}},{"id":"https://example.org/colour/blue","prefLabel":{"en":"blue","de":"Blau"}}],"@context":{"@version":1.1,"id":"@id","type":"@type","@vocab":"http://www.w3.org/2004/02/skos/core#","xsd":"http://www.w3.org/2001/XMLSchema#","dct":"http://purl.org/dc/terms/","dc":"http://purl.org/dc/elements/1.1/","schema":"https://schema.org/","vann":"http://purl.org/vocab/vann/","ldp":"http://www.w3.org/ns/ldp#","owl":"http://www.w3.org/2002/07/owl#","title":{"@id":"dct:title","@container":"@language"},"dc:title":{"@id":"dc:title","@container":"@language"},"dc:description":{"@id":"dc:description","@container":"@language"},"description":{"@id":"dct:description","@container":"@language"},"issued":{"@id":"dct:issued","@type":"xsd:date"},"created":{"@id":"dct:created","@type":"xsd:date"},"modified":{"@id":"dct:modified","@type":"xsd:date"},"creator":"dct:creator","publisher":"dct:publisher","preferredNamespacePrefix":"vann:preferredNamespacePrefix","preferredNamespaceUri":"vann:preferredNamespaceUri","isBasedOn":"schema:isBasedOn","source":"dct:source","prefLabel":{"@container":"@language"},"altLabel":{"@container":["@language","@set"]},"hiddenLabel":{"@container":["@language","@set"]},"definition":{"@container":"@language"},"note":{"@container":["@language","@set"]},"changeNote":{"@container":["@language","@set"]},"editorialNote":{"@container":["@language","@set"]},"historyNote":{"@container":["@language","@set"]},"scopeNote":{"@container":["@language","@set"]},"notation":{"@container":"@set"},"example":{"@container":"@language"},"narrower":{"@container":"@set"},"related":{"@container":"@set"},"relatedMatch":{"@container":"@set"},"narrowerTransitive":{"@container":"@set"},"broaderTransitive":{"@container":"@set"},"broadMatch":{"@container":"@set"},"narrowMatch":{"@container":"@set"},"closeMatch":{"@container":"@set"},"exactMatch":{"@container":"@set"},"hasTopConcept":{"@container":"@set"},"inScheme":{"@container":"@set"},"topConceptOf":{"@container":"@set"},"deprecated":{"@id":"owl:deprecated","@type":"xsd:boolean"},"isReplacedBy":{"@id":"dct:isReplacedBy","@container":"@set"}}},"jsonld":{"id":"https://example.org/colour/","type":"ConceptScheme","title":{"en":"Darnelle Colour Vocabulary","de":"Farbvokabular von Darnelle"},"hasTopConcept":[{"id":"https://example.org/colour/violet","prefLabel":{"en":"violet","de":"Violett"},"altLabel":{"en":["purple"],"de":["Lila"]}},{"id":"https://example.org/colour/blue","prefLabel":{"en":"blue","de":"Blau"}}],"@context":{"@version":1.1,"id":"@id","type":"@type","@vocab":"http://www.w3.org/2004/02/skos/core#","xsd":"http://www.w3.org/2001/XMLSchema#","dct":"http://purl.org/dc/terms/","dc":"http://purl.org/dc/elements/1.1/","schema":"https://schema.org/","vann":"http://purl.org/vocab/vann/","ldp":"http://www.w3.org/ns/ldp#","owl":"http://www.w3.org/2002/07/owl#","title":{"@id":"dct:title","@container":"@language"},"dc:title":{"@id":"dc:title","@container":"@language"},"dc:description":{"@id":"dc:description","@container":"@language"},"description":{"@id":"dct:description","@container":"@language"},"issued":{"@id":"dct:issued","@type":"xsd:date"},"created":{"@id":"dct:created","@type":"xsd:date"},"modified":{"@id":"dct:modified","@type":"xsd:date"},"creator":"dct:creator","publisher":"dct:publisher","preferredNamespacePrefix":"vann:preferredNamespacePrefix","preferredNamespaceUri":"vann:preferredNamespaceUri","isBasedOn":"schema:isBasedOn","source":"dct:source","prefLabel":{"@container":"@language"},"altLabel":{"@container":["@language","@set"]},"hiddenLabel":{"@container":["@language","@set"]},"definition":{"@container":"@language"},"note":{"@container":["@language","@set"]},"changeNote":{"@container":["@language","@set"]},"editorialNote":{"@container":["@language","@set"]},"historyNote":{"@container":["@language","@set"]},"scopeNote":{"@container":["@language","@set"]},"notation":{"@container":"@set"},"example":{"@container":"@language"},"narrower":{"@container":"@set"},"related":{"@container":"@set"},"relatedMatch":{"@container":"@set"},"narrowerTransitive":{"@container":"@set"},"broaderTransitive":{"@container":"@set"},"broadMatch":{"@container":"@set"},"narrowMatch":{"@container":"@set"},"closeMatch":{"@container":"@set"},"exactMatch":{"@container":"@set"},"hasTopConcept":{"@container":"@set"},"inScheme":{"@container":"@set"},"topConceptOf":{"@container":"@set"},"deprecated":{"@id":"owl:deprecated","@type":"xsd:boolean"},"isReplacedBy":{"@id":"dct:isReplacedBy","@container":"@set"}}}}],"customDomain":""}},"staticQueryHashes":["3649515864","4240049689","63159454"],"slicesMap":{}} \ No newline at end of file diff --git a/page-data/example.org/colour/violet.html/page-data.json b/page-data/example.org/colour/violet.html/page-data.json index 7cce8b5958..576e2b0c3f 100644 --- a/page-data/example.org/colour/violet.html/page-data.json +++ b/page-data/example.org/colour/violet.html/page-data.json @@ -1 +1 @@ -{"componentChunkName":"component---src-components-concept-jsx","path":"/example.org/colour/violet.html","result":{"pageContext":{"node":{"id":"https://example.org/colour/violet","type":"Concept","prefLabel":{"en":"violet","de":"Violett"},"altLabel":{"en":["purple"],"de":["Lila"]},"hiddenLabel":null,"definition":null,"note":null,"changeNote":null,"editorialNote":null,"historyNote":null,"scopeNote":null,"notation":null,"example":null,"narrower":[],"narrowerTransitive":[],"broader":null,"broaderTransitive":null,"related":[],"relatedMatch":null,"broadMatch":null,"narrowMatch":null,"closeMatch":null,"exactMatch":null,"inScheme":[{"id":"https://example.org/colour/","title":{"en":"Colour Vocabulary","de":"Farbvokabular"}}],"inSchemeAll":[{"id":"https://example.org/colour/"}],"topConceptOf":[{"id":"https://example.org/colour/","title":{"en":"Colour Vocabulary","de":"Farbvokabular"}}],"deprecated":null,"isReplacedBy":null},"collections":[],"customDomain":""}},"staticQueryHashes":["3649515864","4240049689","63159454"],"slicesMap":{}} \ No newline at end of file +{"componentChunkName":"component---src-components-concept-jsx","path":"/example.org/colour/violet.html","result":{"pageContext":{"node":{"id":"https://example.org/colour/violet","type":"Concept","prefLabel":{"en":"violet","de":"Violett"},"altLabel":{"en":["purple"],"de":["Lila"]},"hiddenLabel":null,"definition":null,"note":null,"changeNote":null,"editorialNote":null,"historyNote":null,"scopeNote":null,"notation":null,"example":null,"narrower":[],"narrowerTransitive":[],"broader":null,"broaderTransitive":null,"related":[],"relatedMatch":null,"broadMatch":null,"narrowMatch":null,"closeMatch":null,"exactMatch":null,"inScheme":[{"id":"https://example.org/colour/","title":{"en":"Darnelle Colour Vocabulary","de":"Farbvokabular von Darnelle"}}],"inSchemeAll":[{"id":"https://example.org/colour/"}],"topConceptOf":[{"id":"https://example.org/colour/","title":{"en":"Darnelle Colour Vocabulary","de":"Farbvokabular von Darnelle"}}],"deprecated":null,"isReplacedBy":null},"collections":[],"customDomain":""}},"staticQueryHashes":["3649515864","4240049689","63159454"],"slicesMap":{}} \ No newline at end of file diff --git a/webpack.stats.json b/webpack.stats.json index 4c2ab580f5..20e1b1a775 100644 --- a/webpack.stats.json +++ b/webpack.stats.json @@ -1 +1 @@ -{"name":"build-javascript","namedChunkGroups":{"app":{"name":"app","assets":[{"name":"webpack-runtime-df6eb07788224cafb133.js","size":3872},{"name":"framework-5510da5d15dbdf5fd927.js","size":140767},{"name":"app-6f57a535d90786ef4861.js","size":190021}],"filteredAssets":0,"assetsSize":334660,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":1145244},"component---src-components-concept-jsx":{"name":"component---src-components-concept-jsx","assets":[{"name":"562381d470ef334880ff2c2600a4e752576214fe-cbc04fee1681e898efa6.js","size":20195}],"filteredAssets":0,"assetsSize":20195,"filteredAuxiliaryAssets":1,"auxiliaryAssetsSize":53381},"component---src-components-concept-scheme-jsx":{"name":"component---src-components-concept-scheme-jsx","assets":[{"name":"562381d470ef334880ff2c2600a4e752576214fe-cbc04fee1681e898efa6.js","size":20195},{"name":"component---src-components-concept-scheme-jsx-108a260b6ea2b2dad729.js","size":1126}],"filteredAssets":0,"assetsSize":21321,"filteredAuxiliaryAssets":2,"auxiliaryAssetsSize":56735},"component---src-pages-404-js":{"name":"component---src-pages-404-js","assets":[{"name":"component---src-pages-404-js-8955fb71ea73c162cfa6.js","size":467}],"filteredAssets":0,"assetsSize":467,"filteredAuxiliaryAssets":1,"auxiliaryAssetsSize":842},"component---src-pages-index-js":{"name":"component---src-pages-index-js","assets":[{"name":"component---src-pages-index-js-809cf5a1027035673d0c.js","size":1684}],"filteredAssets":0,"assetsSize":1684,"filteredAuxiliaryAssets":1,"auxiliaryAssetsSize":5761}},"assetsByChunkName":{"app":["webpack-runtime-df6eb07788224cafb133.js","framework-5510da5d15dbdf5fd927.js","app-6f57a535d90786ef4861.js"],"component---src-components-concept-jsx":["562381d470ef334880ff2c2600a4e752576214fe-cbc04fee1681e898efa6.js"],"component---src-components-concept-scheme-jsx":["562381d470ef334880ff2c2600a4e752576214fe-cbc04fee1681e898efa6.js","component---src-components-concept-scheme-jsx-108a260b6ea2b2dad729.js"],"component---src-pages-404-js":["component---src-pages-404-js-8955fb71ea73c162cfa6.js"],"component---src-pages-index-js":["component---src-pages-index-js-809cf5a1027035673d0c.js"]},"childAssetsByChunkName":{}} \ No newline at end of file +{"name":"build-javascript","namedChunkGroups":{"app":{"name":"app","assets":[{"name":"webpack-runtime-df6eb07788224cafb133.js","size":3872},{"name":"framework-5510da5d15dbdf5fd927.js","size":140767},{"name":"app-b1bcfbde75680e16ae35.js","size":190026}],"filteredAssets":0,"assetsSize":334665,"filteredAuxiliaryAssets":3,"auxiliaryAssetsSize":1145244},"component---src-components-concept-jsx":{"name":"component---src-components-concept-jsx","assets":[{"name":"562381d470ef334880ff2c2600a4e752576214fe-cbc04fee1681e898efa6.js","size":20195}],"filteredAssets":0,"assetsSize":20195,"filteredAuxiliaryAssets":1,"auxiliaryAssetsSize":53381},"component---src-components-concept-scheme-jsx":{"name":"component---src-components-concept-scheme-jsx","assets":[{"name":"562381d470ef334880ff2c2600a4e752576214fe-cbc04fee1681e898efa6.js","size":20195},{"name":"component---src-components-concept-scheme-jsx-108a260b6ea2b2dad729.js","size":1126}],"filteredAssets":0,"assetsSize":21321,"filteredAuxiliaryAssets":2,"auxiliaryAssetsSize":56735},"component---src-pages-404-js":{"name":"component---src-pages-404-js","assets":[{"name":"component---src-pages-404-js-8955fb71ea73c162cfa6.js","size":467}],"filteredAssets":0,"assetsSize":467,"filteredAuxiliaryAssets":1,"auxiliaryAssetsSize":842},"component---src-pages-index-js":{"name":"component---src-pages-index-js","assets":[{"name":"component---src-pages-index-js-809cf5a1027035673d0c.js","size":1684}],"filteredAssets":0,"assetsSize":1684,"filteredAuxiliaryAssets":1,"auxiliaryAssetsSize":5761}},"assetsByChunkName":{"app":["webpack-runtime-df6eb07788224cafb133.js","framework-5510da5d15dbdf5fd927.js","app-b1bcfbde75680e16ae35.js"],"component---src-components-concept-jsx":["562381d470ef334880ff2c2600a4e752576214fe-cbc04fee1681e898efa6.js"],"component---src-components-concept-scheme-jsx":["562381d470ef334880ff2c2600a4e752576214fe-cbc04fee1681e898efa6.js","component---src-components-concept-scheme-jsx-108a260b6ea2b2dad729.js"],"component---src-pages-404-js":["component---src-pages-404-js-8955fb71ea73c162cfa6.js"],"component---src-pages-index-js":["component---src-pages-index-js-809cf5a1027035673d0c.js"]},"childAssetsByChunkName":{}} \ No newline at end of file