1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{6803:function(t){t.exports=function(){function t(){return(t=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var n="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function r(t){return("image-"+t.split("/").slice(-1)[0]).replace(/\.([a-z]+)$/,"-$1")}var o=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"]],i=["clip","crop","fill","fillmax","max","scale","min"],a=["top","bottom","left","right","center","focalpoint","entropy"],u=["format"],c=function(){function c(e,n){this.options=void 0,this.options=e?t({},e.options||{},n||{}):t({},n||{})}var s=c.prototype;return s.withOptions=function(n){var r=n.baseUrl||this.options.baseUrl,i={baseUrl:r};for(var a in n)n.hasOwnProperty(a)&&(i[function(t){for(var n,r=function(t,n){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,n){if(t){if("string"==typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(t,n)}}(t))){r&&(t=r);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(o);!(n=r()).done;){var i=n.value,a=i[0],u=i[1];if(t===a||t===u)return a}return t}(a)]=n[a]);return new c(this,t({baseUrl:r},i))},s.image=function(t){return this.withOptions({source:t})},s.dataset=function(t){return this.withOptions({dataset:t})},s.projectId=function(t){return this.withOptions({projectId:t})},s.bg=function(t){return this.withOptions({bg:t})},s.dpr=function(t){return this.withOptions(t&&1!==t?{dpr:t}:{})},s.width=function(t){return this.withOptions({width:t})},s.height=function(t){return this.withOptions({height:t})},s.focalPoint=function(t,e){return this.withOptions({focalPoint:{x:t,y:e}})},s.maxWidth=function(t){return this.withOptions({maxWidth:t})},s.minWidth=function(t){return this.withOptions({minWidth:t})},s.maxHeight=function(t){return this.withOptions({maxHeight:t})},s.minHeight=function(t){return this.withOptions({minHeight:t})},s.size=function(t,e){return this.withOptions({width:t,height:e})},s.blur=function(t){return this.withOptions({blur:t})},s.sharpen=function(t){return this.withOptions({sharpen:t})},s.rect=function(t,e,n,r){return this.withOptions({rect:{left:t,top:e,width:n,height:r}})},s.format=function(t){return this.withOptions({format:t})},s.invert=function(t){return this.withOptions({invert:t})},s.orientation=function(t){return this.withOptions({orientation:t})},s.quality=function(t){return this.withOptions({quality:t})},s.forceDownload=function(t){return this.withOptions({download:t})},s.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},s.flipVertical=function(){return this.withOptions({flipVertical:!0})},s.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},s.fit=function(t){if(-1===i.indexOf(t))throw Error('Invalid fit mode "'+t+'"');return this.withOptions({fit:t})},s.crop=function(t){if(-1===a.indexOf(t))throw Error('Invalid crop mode "'+t+'"');return this.withOptions({crop:t})},s.saturation=function(t){return this.withOptions({saturation:t})},s.auto=function(t){if(-1===u.indexOf(t))throw Error('Invalid auto mode "'+t+'"');return this.withOptions({auto:t})},s.pad=function(t){return this.withOptions({pad:t})},s.url=function(){return function(e){var i=t({},e||{}),a=i.source;delete i.source;var u=function(e){var n;if(!e)return null;if("string"==typeof e&&/^https?:\/\//.test(""+e))n={asset:{_ref:r(e)}};else if("string"==typeof e)n={asset:{_ref:e}};else if(e&&"string"==typeof e._ref)n={asset:e};else if(e&&"string"==typeof e._id)n={asset:{_ref:e._id||""}};else if(e&&e.asset&&"string"==typeof e.asset.url)n={asset:{_ref:r(e.asset.url)}};else{if("object"!=typeof e.asset)return null;n=t({},e)}return e.crop&&(n.crop=e.crop),e.hotspot&&(n.hotspot=e.hotspot),function(e){if(e.crop&&e.hotspot)return e;var n=t({},e);return n.crop||(n.crop={left:0,top:0,bottom:0,right:0}),n.hotspot||(n.hotspot={x:.5,y:.5,height:1,width:1}),n}(n)}(a);if(!u)throw Error("Unable to resolve image URL from source ("+JSON.stringify(a)+")");var c=function(t){var e=t.split("-"),r=e[1],o=e[2],i=e[3];
1if(!r||!o||!i)throw Error("Malformed asset _ref '"+t+"'. Expected an id like \""+n+'".');var a=o.split("x"),u=a[0],c=a[1],s=+u,l=+c;if(!(isFinite(s)&&isFinite(l)))throw Error("Malformed asset _ref '"+t+"'. Expected an id like \""+n+'".');return{id:r,width:s,height:l,format:i}}(u.asset._ref||u.asset._id||""),s=Math.round(u.crop.left*c.width),l=Math.round(u.crop.top*c.height),f={left:s,top:l,width:Math.round(c.width-u.crop.right*c.width-s),height:Math.round(c.height-u.crop.bottom*c.height-l)},p=u.hotspot.height*c.height/2,d=u.hotspot.width*c.width/2,h=u.hotspot.x*c.width,y=u.hotspot.y*c.height;return i.rect||i.focalPoint||i.ignoreImageParams||i.crop||(i=t({},i,function(t,e){var n,r=e.width,o=e.height;if(!(r&&o))return{width:r,height:o,rect:t.crop};var i=t.crop,a=t.hotspot,u=r/o;if(i.width/i.height>u){var c=Math.round(i.height),s=Math.round(c*u),l=Math.max(0,Math.round(i.top)),f=Math.max(0,Math.round(Math.round((a.right-a.left)/2+a.left)-s/2));f<i.left?f=i.left:f+s>i.left+i.width&&(f=i.left+i.width-s),n={left:f,top:l,width:s,height:c}}else{var p=i.width,d=Math.round(p/u),h=Math.max(0,Math.round(i.left)),y=Math.max(0,Math.round(Math.round((a.bottom-a.top)/2+a.top)-d/2));y<i.top?y=i.top:y+d>i.top+i.height&&(y=i.top+i.height-d),n={left:h,top:y,width:p,height:d}}return{width:r,height:o,rect:n}}({crop:f,hotspot:{left:h-d,top:y-p,right:h+d,bottom:y+p}},i))),function(t){var e=(t.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),n=t.asset.id+"-"+t.asset.width+"x"+t.asset.height+"."+t.asset.format,r=e+"/images/"+t.projectId+"/"+t.dataset+"/"+n,i=[];if(t.rect){var a=t.rect,u=a.left,c=a.top,s=a.width,l=a.height;(0!==u||0!==c||l!==t.asset.height||s!==t.asset.width)&&i.push("rect="+u+","+c+","+s+","+l)}t.bg&&i.push("bg="+t.bg),t.focalPoint&&(i.push("fp-x="+t.focalPoint.x),i.push("fp-y="+t.focalPoint.y));var f=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return(f&&i.push("flip="+f),o.forEach(function(e){var n=e[0],r=e[1];void 0!==t[n]?i.push(r+"="+encodeURIComponent(t[n])):void 0!==t[r]&&i.push(r+"="+encodeURIComponent(t[r]))}),0===i.length)?r:r+"?"+i.join("&")}(t({},i,{asset:c}))}(this.options)},s.toString=function(){return this.url()},c}();return function(t){if(t&&"config"in t&&"function"==typeof t.config){var e=t.config(),n=e.apiHost,r=e.projectId,o=e.dataset;return new c(null,{baseUrl:(n||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:r,dataset:o})}if(t&&"clientConfig"in t&&"object"==typeof t.clientConfig){var i=t.clientConfig,a=i.apiHost,u=i.projectId,s=i.dataset;return new c(null,{baseUrl:(a||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:u,dataset:s})}return new c(null,t)}}()},7252:function(t,e,n){"use strict";function r(){var t=Object.create(null),e=0;return{publish:function(e){for(var n in t)t[n](e)},subscribe:function(n){var r=e++;return t[r]=n,function(){delete t[r]}}}}n.r(e),n.d(e,{default:function(){return r}})},1202:function(t,e,n){"use strict";var r=n(5784),o=n(6803),i=o&&"object"==typeof o&&"default"in o?o:{default:o};let a=(t,e)=>{let n=t.quality(e.quality||75).fit("clip");return null!==e.width?n.width(e.width):n};e.J=function(t,e,n){let o=n?.imageBuilder||a;return r.useMemo(()=>{if(!e)return null;let n=e?"string"==typeof e?e:"string"==typeof e?e:e.asset?e.asset._ref||e.asset._id:e._ref||e._id||"":null;if(!n)return null;let r=function(t){let e=t.split("-")[2],[n,r]=e.split("x").map(t=>parseInt(t,10));return{width:n,height:r,aspectRatio:n/r}}(n),a=function(t,e){let n=t.crop;if(!n)return e;let{width:r,height:o}=e,i=r*(1-(n.left+n.right)),a=o*(1-(n.top+n.bottom));return{width:i,height:a,aspectRatio:i/a}}(e,r),u=({width:n,quality:u})=>o(i.default(t).image(e).auto("format"),{width:n,originalImageDimensions:r,croppedImageDimensions:a,quality:u||null}).url()||"",c=o(i.default(t).image(e).auto("format"),{width:null,originalImageDimensions:r,croppedImageDimensions:a,quality:null}),s=c.options.width||(c.options.maxWidth?Math.min(c.options.maxWidth,a.width):a.width),l=c.options.height||(c.options.maxHeight?Math.min(c.options.maxHeight,a.height):Math.round(s/a.aspectRatio));return{loader:u,src:c.url(),width:s,height:l}},[o,e,t])}},8845:function(t,e,n){t.exports=n(6543)},6840:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(3178)}])},6437:function(){}
1,4695:function(t){t.exports={carousel:"Carousel_carousel__rvbpB",fullbleed:"Carousel_fullbleed__7LYD9",entry:"Carousel_entry__608SY",image:"Carousel_image__0sCjh"}},1253:function(t){t.exports={link:"ExternalLink_link__W0u5t"}},490:function(t){t.exports={container:"Footer_container__5d2_x",status:"Footer_status__THR62",openingHours:"Footer_openingHours__tyvzK",contact:"Footer_contact__kzgzV",disclaimer:"Footer_disclaimer__NMHL_"}},9549:function(t){t.exports={navbar:"Header_navbar__5mHNj",root:"Header_root__UHkD0"}},1280:function(t){t.exports={imgWrapper:"Img_imgWrapper__765v4"}},9672:function(t){t.exports={container:"Layout_container__7UE5U",content:"Layout_content__Tk8uS"}},1880:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(1844),o=n(4695),i=n.n(o),a=n(9247);let u=t=>(0,r.jsxs)("div",{className:i().entry,children:[(0,r.jsx)(a.Z,{className:i().image,image:t.image,alt:""}),t.caption&&(0,r.jsxs)("div",{className:i().caption,children:["â³ ",t.caption]})]}),c=t=>{let e=[i().carousel,t.fullbleed&&i().fullbleed].join(" ");return(0,r.jsx)("div",{className:e,children:t.images.map(t=>(0,r.jsx)(u,{image:t,caption:t.caption},t._key))})};var s=c},9247:function(t,e,n){"use strict";var r=n(1844),o=n(1202),i=n(5675),a=n.n(i),u=n(7803),c=n(1280),s=n.n(c);let l=t=>{let{image:e,alt:n,className:i,aspectRatio:c,resWidth:l=1920,quality:f=75,sizes:p="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 40vw"}=t,d=(0,o.J)(u.L,e,{imageBuilder:(t,e)=>{let{width:n,croppedImageDimensions:r}=e,o=Math.round(n||Math.min(l,r.width)),i=c?Math.round(o*c):Math.round(o*(r.height/r.width));return t.width(o).height(i).quality(f)}});if(!d)return null;let h=[s().imgWrapper,i].join(" ");return(0,r.jsx)("figure",{className:h,children:(0,r.jsx)(a(),{...d,style:{width:"100%",height:"auto"},sizes:p,loader:d.loader,alt:n,placeholder:"blur",blurDataURL:e.asset.metadata.lqip,unoptimized:!0})})};e.Z=l},7803:function(t,e,n){"use strict";n.d(e,{L:function(){return em}});let r="8rpc56pl";var o,i,a,u,c=n(1222),s=Object.create,l=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,d=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,y=(t,e)=>function(){return e||(0,t[p(t)[0]])((e={exports:{}}).exports,e),e.exports},b=(t,e,n,r)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let o of p(e))h.call(t,o)||o===n||l(t,o,{get:()=>e[o],enumerable:!(r=f(e,o))||r.enumerable});return t},m=(t,e,n)=>(n=null!=t?s(d(t)):{},b(!e&&t&&t.__esModule?n:l(n,"default",{value:t,enumerable:!0}),t)),v=m(y({"node_modules/form-urlencoded/dist/form-urlencoded.js"(t,e){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.exports=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Boolean(e.sorted),o=Boolean(e.skipIndex),i=Boolean(e.ignorenull),a=function(t){return String(t).replace(/(?:[\0-\x1F"-&\+-\}\x7F-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,encodeURIComponent).replace(/ /g,"+").replace(/[!'()~\*]/g,function(t){return"%"+t.charCodeAt().toString(16).slice(-2).toUpperCase()})},u=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object.keys(t);return r?e.sort():e},c=function(t){return t.filter(function(t){return t}).join("&")},s=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0===e?"undefined":n(e),l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return e===l?l=i?l:a(t)+"="+l:/string|number|boolean/.test(r)?l=a(t)+"="+a(e):Array.isArray(e)?l=e.length?c(e.map(function(e,n){return o?s(t+"[]",e):s(t+"["+n+"]",e)})):a(t+"[]"):"object"===r&&(l=c(u(e).map(function(n){return s(t+"["+n+"]",e[n])}))),l};return t&&c(u(t).map(function(e){return s(e,t[e])}))}}})());function g(t){return"[object Object]"===Object.prototype.toString.call(t)}v.default.default||v.default;var w=["boolean","string","number"],O=t=>!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t),_="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},j={};function x(t){this.message=t}((t,e)=>{for(var n in e)l(t,n,{get:e[n],enumerable:!0})})(j,{default:()=>u});var C=(o={"src/middleware/cancel/Cancel.js"(){x.prototype.toString=function(){return`Cancel${this.message?`: ${this.message}`:""}`}
1,x.prototype.__CANCEL__=!0,u=x}},function(){return o&&(i=(0,o[p(o)[0]])(o=0)),i});C();var S=(C(),b(l({},"__esModule",{value:!0}),j));function T(t){if("function"!=typeof t)throw TypeError("executor must be a function.");let e=null;this.promise=new Promise(t=>{e=t}),t(t=>{this.reason||(this.reason=new S(t),e(this.reason))})}T.source=function(){let t;let e=new T(e=>{t=e});return{token:e,cancel:t}};var P="function"==typeof Promise&&Promise,k=(t={})=>{let e=t.implementation||P;if(!e)throw Error("`Promise` is not available in global scope, and no implementation was passed");return{onReturn:(n,r)=>new e((e,o)=>{let i=r.options.cancelToken;i&&i.promise.then(t=>{n.abort.publish(t),o(t)}),n.error.subscribe(o),n.response.subscribe(n=>{e(t.onlyBody?n.body:n)}),setTimeout(()=>{try{n.request.publish(r)}catch(t){o(t)}},0)})}};k.Cancel=u,k.CancelToken=T,k.isCancel=t=>!!(t&&t.__CANCEL__);var E=y({"node_modules/ms/index.js"(t,e){function n(t,e,n,r){return Math.round(t/n)+" "+r+(e>=1.5*n?"s":"")}e.exports=function(t,e){e=e||{};var r,o,i=typeof t;if("string"===i&&t.length>0)return function(t){if(!((t=String(t)).length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return 864e5*n;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*n;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*n;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(t);if("number"===i&&isFinite(t))return e.long?(r=Math.abs(t))>=864e5?n(t,r,864e5,"day"):r>=36e5?n(t,r,36e5,"hour"):r>=6e4?n(t,r,6e4,"minute"):r>=1e3?n(t,r,1e3,"second"):t+" ms":(o=Math.abs(t))>=864e5?Math.round(t/864e5)+"d":o>=36e5?Math.round(t/36e5)+"h":o>=6e4?Math.round(t/6e4)+"m":o>=1e3?Math.round(t/1e3)+"s":t+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}}}),R=y({"node_modules/debug/src/common.js"(t,e){e.exports=function(t){function e(t){let r,o,i;let a=null;function u(...t){if(!u.enabled)return;let n=u,o=Number(new Date),i=o-(r||o);n.diff=i,n.prev=r,n.curr=o,r=o,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let a=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(r,o)=>{if("%%"===r)return"%";a++;let i=e.formatters[o];if("function"==typeof i){let e=t[a];r=i.call(n,e),t.splice(a,1),a--}return r}),e.formatArgs.call(n,t);let c=n.log||e.log;c.apply(n,t)}return u.namespace=t,u.useColors=e.useColors(),u.color=e.selectColor(t),u.extend=n,u.destroy=e.destroy,Object.defineProperty(u,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(o!==e.namespaces&&(o=e.namespaces,i=e.enabled(t)),i),set:t=>{a=t}}),"function"==typeof e.init&&e.init(u),u}function n(t,n){let r=e(this.namespace+(void 0===n?":":n)+t);return r.log=this.log,r}function r(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){let t=[...e.names.map(r),...e.skips.map(r).map(t=>"-"+t)].join(",");return e.enable(""),t},e.enable=function(t){let n;e.save(t),e.namespaces=t,e.names=[],e.skips=[];let r=("string"==typeof t?t:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(t=r[n].replace(/\*/g,".*?"))[0]?e.skips.push(RegExp("^"+t.slice(1)+"$")):e.names.push(RegExp("^"+t+"$")))},e.enabled=function(t){let n,r;if("*"===t[t.length-1])return!0;for(n=0,r=e.skips.length;n<r;n++)if(e.skips[n].test(t))return!1;for(n=0,r=e.names.length;n<r;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=E(),e.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach(n=>{e[n]=t[n]}),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let n=0;for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e)|0;return e.colors[Math.abs(n)%e.colors.length]},e.enable(e.load()),e}}});m(y({"node_modules/debug/src/browser.js"(t,e){let n;t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,t=>{"%%"!==t&&(r++,"%c"===t&&(o=r))}),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(t){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(t){}return e},t.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&
1("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(t){}}(),t.destroy=(n=!1,()=>{n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=R()(t);var{formatters:r}=e.exports;r.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}})()),Object.prototype.hasOwnProperty;var D=y({"node_modules/capture-stack-trace/index.js"(t,e){e.exports=Error.captureStackTrace||function(t){var e=Error();Object.defineProperty(t,"stack",{configurable:!0,get:function(){var t=e.stack;return Object.defineProperty(this,"stack",{value:t}),t}})}}});(0,m(y({"node_modules/create-error-class/index.js"(t,e){var n=D();e.exports=function(t,e){if("string"!=typeof t)throw TypeError("Expected className to be a string");if(/[^0-9a-zA-Z_$]/.test(t))throw Error("className contains invalid characters");e=e||function(t){this.message=t};var r,o,i=function(){Object.defineProperty(this,"name",{configurable:!0,value:t,writable:!0}
1),n(this,this.constructor),e.apply(this,arguments)};return r=i,o=Error,r.super_=o,r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),i}}})()).default)("HttpError",function(t,e){let n=t.url.length>400?`${t.url.slice(0,399)}\u2026`:t.url,r=`${t.method}-request to ${n} resulted in `;r+=`HTTP ${t.statusCode} ${t.statusMessage}`,this.message=r.trim(),this.response=t,this.request=e.options});var M=Object.create,I=Object.defineProperty,U=Object.getOwnPropertyDescriptor,A=Object.getOwnPropertyNames,q=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty,F=(t,e)=>function(){return e||(0,t[A(t)[0]])((e={exports:{}}).exports,e),e.exports},H=(t,e,n,r)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let o of A(e))N.call(t,o)||o===n||I(t,o,{get:()=>e[o],enumerable:!(r=U(e,o))||r.enumerable});return t},B=(t,e,n)=>(n=null!=t?M(q(t)):{},H(!e&&t&&t.__esModule?n:I(n,"default",{value:t,enumerable:!0}),t)),L=F({"node_modules/event-source-polyfill/src/eventsource.js"(t,e){!function(n){var r=n.setTimeout,o=n.clearTimeout,i=n.XMLHttpRequest,a=n.XDomainRequest,u=n.ActiveXObject,c=n.EventSource,s=n.document,l=n.Promise,f=n.fetch,p=n.Response,d=n.TextDecoder,h=n.TextEncoder,y=n.AbortController;if("undefined"==typeof window||void 0===s||"readyState"in s||null!=s.body||(s.readyState="loading",window.addEventListener("load",function(t){s.readyState="complete"},!1)),null==i&&null!=u&&(i=function(){return new u("Microsoft.XMLHTTP")}),void 0==Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),Date.now||(Date.now=function(){return new Date().getTime()}),void 0==y){var b=f;f=function(t,e){var n=e.signal;return b(t,{headers:e.headers,credentials:e.credentials,cache:e.cache}).then(function(t){var e=t.body.getReader();return n._reader=e,n._aborted&&n._reader.cancel(),{status:t.status,statusText:t.statusText,headers:t.headers,body:{getReader:function(){return e}}}})},y=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function m(){this.bitsNeeded=0,this.codePoint=0}m.prototype.decode=function(t){function e(t,e,n){if(1===n)return t>=128>>e&&t<<e<=2047;if(2===n)return t>=2048>>e&&t<<e<=55295||t>=57344>>e&&t<<e<=65535;if(3===n)return t>=65536>>e&&t<<e<=1114111;throw Error()}function n(t,e){if(6===t)return e>>6>15?3:e>31?2:1;if(12===t)return e>15?3:2;if(18===t)return 3;throw Error()}for(var r="",o=this.bitsNeeded,i=this.codePoint,a=0;a<t.length;a+=1){var u=t[a];0!==o&&(u<128||u>
1191||!e(i<<6|63&u,o-6,n(o,i)))&&(o=0,r+=String.fromCharCode(i=65533)),0===o?(u>=0&&u<=127?(o=0,i=u):u>=192&&u<=223?(o=6,i=31&u):u>=224&&u<=239?(o=12,i=15&u):u>=240&&u<=247?(o=18,i=7&u):(o=0,i=65533),0===o||e(i,o,n(o,i))||(o=0,i=65533)):(o-=6,i=i<<6|63&u),0===o&&(i<=65535?r+=String.fromCharCode(i):r+=String.fromCharCode(55296+(i-65535-1>>10))+String.fromCharCode(56320+(i-65535-1&1023)))}return this.bitsNeeded=o,this.codePoint=i,r},(void 0==d||void 0==h||!function(){try{return"test"===new d().decode(new h().encode("test"),{stream:!0})}catch(t){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+t)}return!1}())&&(d=m);var v=function(){};function g(t){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=v,this.onload=v,this.onerror=v,this.onreadystatechange=v,this._contentType="",this._xhr=t,this._sendTimeout=0,this._abort=v}function w(t){return t.replace(/[A-Z]/g,function(t){return String.fromCharCode(t.charCodeAt(0)+32)})}function O(t){for(var e=Object.create(null),n=t.split("\r\n"),r=0;r<n.length;r+=1){var o=n[r].split(": "),i=o.shift(),a=o.join(": ");e[w(i)]=a}this._map=e}function _(){}function j(t){this._headers=t}function x(){}function C(){this._listeners=Object.create(null)}function S(t){r(function(){throw t},0)}function T(t){this.type=t,this.target=void 0}function P(t,e){T.call(this,t),this.data=e.data,this.lastEventId=e.lastEventId}function k(t,e){T.call(this,t),this.status=e.status,this.statusText=e.statusText,this.headers=e.headers}function E(t,e){T.call(this,t),this.error=e.error}g.prototype.open=function(t,e){this._abort(!0);var n=this,a=this._xhr,u=1,c=0;this._abort=function(t){0!==n._sendTimeout&&(o(n._sendTimeout),n._sendTimeout=0),1!==u&&2!==u&&3!==u||(u=4,a.onload=v,a.onerror=v,a.onabort=v,a.onprogress=v,a.onreadystatechange=v,a.abort(),0!==c&&(o(c),c=0),t||(n.readyState=4,n.onabort(null),n.onreadystatechange())),u=0};var s=function(){if(1===u){var t=0,e="",r=void 0;if("contentType"in a)t=200,e="OK",r=a.contentType;else try{t=a.status,e=a.statusText,r=a.getResponseHeader("Content-Type")}catch(n){t=0,e="",r=void 0}0!==t&&(u=2,n.readyState=2,n.status=t,n.statusText=e,n._contentType=r,n.onreadystatechange())}},l=function(){if(s(),2===u||3===u){u=3;var t="";try{t=a.responseText}catch(t){}n.readyState=3,n.responseText=t,n.onprogress()}},f=function(t,e){if((null==e||null==e.preventDefault)&&(e={preventDefault:v}),l(),1===u||2===u||3===u){if(u=4,0!==c&&(o(c),c=0),n.readyState=4,"load"===t)n.onload(e);else if("error"===t)n.onerror(e);else if("abort"===t)n.onabort(e);else throw TypeError();n.onreadystatechange()}},p=function(t){void 0==a||(4===a.readyState?"onload"in a&&"onerror"in a&&"onabort"in a||f(""===a.responseText?"error":"load",t):3
1===a.readyState?"onprogress"in a||l():2===a.readyState&&s())},d=function(){c=r(function(){d()},500),3===a.readyState&&l()};"onload"in a&&(a.onload=function(t){f("load",t)}),"onerror"in a&&(a.onerror=function(t){f("error",t)}),"onabort"in a&&(a.onabort=function(t){f("abort",t)}),"onprogress"in a&&(a.onprogress=l),"onreadystatechange"in a&&(a.onreadystatechange=function(t){p(t)}),("contentType"in a||!("ontimeout"in i.prototype))&&(e+=(-1===e.indexOf("?")?"?":"&")+"padding=true"),a.open(t,e,!0),"readyState"in a&&(c=r(function(){d()},0))},g.prototype.abort=function(){this._abort(!1)},g.prototype.getResponseHeader=function(t){return this._contentType},g.prototype.setRequestHeader=function(t,e){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(t,e)},g.prototype.getAllResponseHeaders=function(){return void 0!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},g.prototype.send=function(){if((!("ontimeout"in i.prototype)||!("sendAsBinary"in i.prototype)&&!("mozAnon"in i.prototype))&&void 0!=s&&void 0!=s.readyState&&"complete"!==s.readyState){var t=this;t._sendTimeout=r(function(){t._sendTimeout=0,t.send()},4);return}var e=this._xhr;"withCredentials"in e&&(e.withCredentials=this.withCredentials);try{e.send(void 0)}catch(t){throw t}},O.prototype.get=function(t){return this._map[w(t)]},null!=i&&null==i.HEADERS_RECEIVED&&(i.HEADERS_RECEIVED=2),_.prototype.open=function(t,e,n,r,o,a,u){t.open("GET",o);var c=0;for(var s in t.onprogress=function(){var e=t.responseText.slice(c);c+=e.length,n(e)},t.onerror=function(t){t.preventDefault(),r(Error("NetworkError"))},t.onload=function(){r(null)},t.onabort=function(){r(null)},t.onreadystatechange=function(){if(t.readyState===i.HEADERS_RECEIVED){var n=t.status,r=t.statusText,o=t.getResponseHeader("Content-Type"),a=t.getAllResponseHeaders();e(n,r,o,new O(a))}},t.withCredentials=a,u)Object.prototype.hasOwnProperty.call(u,s)&&t.setRequestHeader(s,u[s]);return t.send(),t},j.prototype.get=function(t){return this._headers.get(t)},x.prototype.open=function(t,e,n,r,o,i,a){var u=null,c=new y,s=c.signal,p=new d;return f(o,{headers:a,credentials:i?"include":"same-origin",signal:s,cache:"no-store"}).then(function(t){return u=t.body.getReader(),e(t.status,t.statusText,t.headers.get("Content-Type"),new j(t.headers)),new l(function(t,e){var r=function(){u.read().then(function(e){e.done?t(void 0):(n(p.decode(e.value,{stream:!0})),r())}).catch(function(t){e(t)})};r()})}).catch(function(t){if("AbortError"!==t.name)return t}).then(function(t){r(t)}),{abort:function(){null!=u&&u.cancel(),c.abort()}}},C.prototype.dispatchEvent=function(t){t.target=this;var e=this._listeners[t.type];if(void 0!=e)for(var n=e.length,r=0;r<n;r+=1){var o=e[r];try{"function"==typeof o.handleEvent?o.handleEvent(t):o.call(this,t)}catch(t){S(t)}}},C.prototype.addEventListener=function(t,e){t=String(t);var n=this._listeners,r=n[t];void 0==r&&(r=[],n[t]=r);for(var o=!1,i=0;i<r.length;i+=1)r[i]===e&&(o=!0);o||r.push(e)},C.prototype.removeEventListener=function(t,e){t=String(t);var n=this._listeners,r=n[t];if(void 0!=r){for(var o=[],i=0;i<r.length;i+=1)r[i]!==e&&o.push(r[i]);0===o.length?delete n[t]:n[t]=o}},P.prototype=Object.create(T.prototype),k.prototype=Object.create(T.prototype),E.prototype=Object.create(T.prototype);var R=/^text\/event\-stream(;.*)?$/i,D=function(t,e){var n=null==t?e:parseInt(t,10);return n!=n&&(n=e),M(n)},M=function(t){return Math.min(Math.max(t,1e3),18e6)},I=function(t,e,n){try{"function"==typeof e&&e.call(t,n)}catch(t){S(t)}};function U(t,e){var n,u,c,s,l,f,p,d,h,y,b,m,v,w,O,j,S,T,U,q,N,F,H,B,L,$,z,Y,W,X;C.call(this),e=e||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,n=this,u=t,c=e,u=String(u),s=Boolean(c.withCredentials),l=c.lastEventIdQueryParameterName||"lastEventId",f=M(1e3),p=D(c.heartbeatTimeout,45e3),d="",h=f,y=!1,b=0,m=c.headers||{},v=c.Transport,w=A&&void 0==v?void 0:new g(void 0!=v?new v:void 0!=i&&"withCredentials"in i.prototype||void 0==a?new i:new a),O=null!=v&&"string"!=typeof v?new v:void 0==w?new x:new _,j=void 0,S=0,T=-1,U="",q="",N="",F="",H=0,B=0,L=0,$=function(t,e,r,o){if(0===T){if(200===t&&void 0!=r&&R.test(r)){T=1,y=Date.now(),h=f,n.readyState=1;var i=new k("open",{status:t,statusText:e,headers:o});n.dispatchEvent(i),I(n,n.onopen,i)}else{var a="";200!==t?(e&&(e=e.replace(/\s+/g," ")),a="EventSource's response has a status "+t+" "+e+" that is not 200. Aborting the connection."):a="EventSource's response has a Content-Type specifying an unsupported type: "+(void 0==r?"-":r.replace(/\s+/g," "))+". Aborting the connection.",W();var i=new k("error",{status:t,statusText:e,headers:o});n.dispatchEvent(i),I(n,n.onerror,i),console.error(a)}}},z=function(t){if(1===T){for(var e=-1,i=0;i<t.length;i+=1){var a=t.charCodeAt(i);(10===a||13===a)&&(e=i)}var u=(-1!==e?F:"")+t.slice(0,e+1);F=(-1===e?F:"")+t.slice(e+1),""!==t&&(y=Date.now(),b+=t.length);for(var c=0;c<u.length;c+=1){var a=u.charCodeAt(c);if(-1===H&&10===a)H=0;else if(-1===H&&(H=0),13===a||10===a){if(0!==H){1===H&&(L=c+1);var s=u.slice(B,L-1),l=u.slice(L+(L<c&&32===u.charCodeAt(L)?1:0),c);"data"===s?U+="\n"+l:"id"===s?q=l:"event"===s?N=l:"retry"===s?h=f=D(l,f):"heartbeatTimeout"===s&&(p=D(l,p),0!==S&&(o(S),S=r(function(){X()},p)))}if(0===H){if(""!==U){d=q,""===N&&(N="message");var m=new P(N,{data:U.slice(1),lastEventId:q});if(n.dispatchEvent(m),"open"===N?I(n,n.onopen,m):"message"===N?I(n,n.onmessage,m):"error"===N&&I(n,n.onerror,m),2===T)return}U="",N=""}H=13===a?-1:0}else 0===H&&(B=c,H=1),1===H?58===a&&(L=c+1,H=2):2===H&&(H=3)}}}
1,Y=function(t){if(1===T||0===T){T=-1,0!==S&&(o(S),S=0),S=r(function(){X()},h),h=M(Math.min(16*f,2*h)),n.readyState=0;var e=new E("error",{error:t});n.dispatchEvent(e),I(n,n.onerror,e),void 0!=t&&console.error(t)}},W=function(){T=2,void 0!=j&&(j.abort(),j=void 0),0!==S&&(o(S),S=0),n.readyState=2},X=function(){if(S=0,-1!==T){if(y||void 0==j){var t=Math.max((y||Date.now())+p-Date.now(),1);y=!1,S=r(function(){X()},t)}else Y(Error("No activity within "+p+" milliseconds. "+(0===T?"No response received.":b+" chars received.")+" Reconnecting.")),void 0!=j&&(j.abort(),j=void 0);return}y=!1,b=0,S=r(function(){X()},p),T=0,U="",N="",q=d,F="",B=0,L=0,H=0;var e=u;if("data:"!==u.slice(0,5)&&"blob:"!==u.slice(0,5)&&""!==d){var o=u.indexOf("?");e=(-1===o?u:u.slice(0,o+1)+u.slice(o+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(t,e){return e===l?"":t}))+((-1===u.indexOf("?")?"?":"&")+l)+"="+encodeURIComponent(d)}var i=n.withCredentials,a={};a.Accept="text/event-stream";var c=n.headers;if(void 0!=c)for(var s in c)Object.prototype.hasOwnProperty.call(c,s)&&(a[s]=c[s]);try{j=O.open(w,$,z,Y,e,i,a)}catch(t){throw W(),t}},n.url=u,n.readyState=0,n.withCredentials=s,n.headers=m,n._close=W,X()}var A=void 0!=f&&void 0!=p&&"body"in p.prototype;U.prototype=Object.create(C.prototype),U.prototype.CONNECTING=0,U.prototype.OPEN=1,U.prototype.CLOSED=2,U.prototype.close=function(){this._close()},U.CONNECTING=0,U.OPEN=1,U.CLOSED=2,U.prototype.withCredentials=void 0;var q=c;void 0==i||void 0!=c&&"withCredentials"in c.prototype||(q=U),function(r){if("object"==typeof e&&"object"==typeof e.exports){var o=r(t);void 0!==o&&(e.exports=o)}else"function"==typeof define&&define.amd?define(["exports"],r):r(n)}(function(t){t.EventSourcePolyfill=U,t.NativeEventSource=c,t.EventSource=q})}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:t:globalThis)}}),$=F({"node_modules/@sanity/eventsource/browser.js"(t,e){var n=L();e.exports=n.EventSourcePolyfill}}),z=F({"node_modules/make-error/index.js"(t,e){var n="undefined"!=typeof Reflect?Reflect.construct:void 0,r=Object.defineProperty,o=Error.captureStackTrace;function i(t){void 0!==t&&r(this,"message",{configurable:!0,value:t,writable:!0});var e=this.constructor.name;void 0!==e&&e!==this.name&&r(this,"name",{configurable:!0,value:e,writable:!0}),o(this,this.constructor)}void 0===o&&(o=function(t){var e=Error();r(t,"stack",{configurable:!0,get:function(){var t=e.stack;return r(this,"stack",{configurable:!0,value:t,writable:!0}),t},set:function(e){r(t,"stack",{configurable:!0,value:e,writable:!0})}})}),i.prototype=Object.create(Error.prototype,{constructor:{configurable:!0,value:i,writable:!0}});var a=function(){function t(t,e){return r(t,"name",{configurable:!0,value:e})}try{var e=function(){};if(t(e,"foo"),"foo"===e.name)return t}catch(t){}}();(e.exports=function(t,e){if(null==e||e===Error)e=i;else if("function"!=typeof e)throw TypeError("super_ should be a function");if("string"==typeof t)r=t,t=void 0!==n?function(){return n(e,arguments,this.constructor)}:function(){e.apply(this,arguments)},void 0!==a&&(a(t,r),r=void 0);else if("function"!=typeof t)throw TypeError("constructor should be either a string or a function");t.super_=t.super=e;var r,o={constructor:{configurable:!0,value:t,writable:!0}};return void 0!==r&&(o.name={configurable:!0,value:r,writable:!0}),t.prototype=Object.create(e.prototype,o),t}).BaseError=i}});function Y(t){if("string"==typeof t||Array.isArray(t))return{id:t};if(t&&t.query)return"params"in t?{query:t.query,params:t.params}:{query:t.query};throw Error(`Unknown selection - must be one of: 2 3* Document ID (<docId>) 4* Array of document IDs 5* Object containing \`query\``)}var W=["image","file"],X=["before","after","replace"],Q=t=>{if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(t))throw Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},G=t=>{if(!/^[-a-z0-9]+$/i.test(t))throw Error("`projectId` can only contain only a-z, 0-9 and dashes")},Z=t=>{if(-1===W.indexOf(t))throw Error(`Invalid asset type: ${t}. Must be one of ${W.join(", ")}`)},V=(t,e)=>{if(null===e||"object"!=typeof e||Array.isArray(e))throw Error(`${t}() takes an object of properties`)},K=(t,e)=>{if("string"!=typeof e||!/^[a-z0-9_.-]+$/i.test(e))throw Error(`${t}(): "${e}" is not a valid document ID`)},J=(t,e)=>{if(!e._id)throw Error(`${t}() requires that the document contains an ID ("_id" property)`);K(t,e._id)},tt=(t,e,n)=>{let r="insert(at, selector, items)";if(-1===X.indexOf(t)){let t=X.map(t=>`"${t}"`).join(", ");throw Error(`${r} takes an "at"-argument which is one of: ${t}`)}if("string"!=typeof e)throw Error(`${r} takes a "selector"-argument which must be a string`);if(!Array.isArray(n))throw Error(`${r} takes an "items"-argument which must be an array`)},te=t=>{if(!t.dataset)throw Error("`dataset` must be provided to perform queries");return t.dataset||""},tn=t=>{if("string"!=typeof t||!/^[a-z0-9._-]{1,75}$/i.test(t))throw Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return t};function tr(t,e={},n=null){this.selection=t,this.operations=Object.assign({},e),this.client=n}Object.assign(tr.prototype,{clone(){return new tr(this.selection,Object.assign({},this.operations),this.client)},set(t){return this.assign("set",t)},diffMatchPatch(t){return V("diffMatchPatch",t),this.assign("diffMatchPatch",t)},unset(t){if(!Array.isArray(t))throw Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Object.assign({},this.operations,{unset:t}),this},setIfMissing(t){return this.assign("setIfMissing",t)},replace(t){return V("replace",t),this._set("set",{$:t})},inc(t){return this.assign("inc",t)},dec(t){return this.assign("dec",t)},insert(t,e,n){return tt(t,e,n),this.assign("insert",{[t]:e,items:n})},append(t,e){return this.insert("after",`${t}[-1]`,e)},prepend(t,e){return this.insert("before",`${t}[0]`,e)},splice(t,e,n,r){let o=e<0?e-1:e,i=void 0===n||-1===n?-1:Math.max(0,e+n),a=`${t}[${o}:${o<0&&i>=0?"":i}]`;return this.insert("replace",a,r||[])},ifRevisionId(t){return this.operations.ifRevisionID=t,this},serialize(){return Object.assign(Y(this.selection),this.operations)},toJSON(){return this.serialize()},commit(t={}){if(!this.client)throw Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");let e="string"==typeof this.selection,n=Object.assign({returnFirst:e,returnDocuments:!0},t);return this.client.mutate({patch:this.serialize()},n)},reset(){return this.operations={},this},_set(t,e){return this.assign(t,e,!1)},assign(t,e,n=!0){return V(t,e),this.operations=Object.assign({},this.operations,{[t]:Object.assign({},n&&this.operations[t]||{},e)}),this}});var to={returnDocuments:!1};function ti(t=[],e,n){this.trxId=n,this.operations=t,this.client=e}Object.assign(ti.prototype,{clone(){return new ti(this.operations.slice(0),this.client,this.trxId)},create(t){return V("create",t),this._add({create:t})},createIfNotExists(t){let e="createIfNotExists";return V(e,t),J(e,t),this._add({[e]:t})},createOrReplace(t){let e="createOrReplace";return V(e,t),J(e,t),this._add({[e]:t})},delete(t){return K("delete",t),this._add({delete:{id:t}})},patch(t,e){if(t instanceof tr)return this._add({patch:t.serialize()});if("function"==typeof e){let n=e(new tr(t,{},this.client));if(!(n instanceof tr))throw Error("function passed to `patch()` must return the patch");return this._add({patch:n.serialize()})}return this._add({patch:Object.assign({id:t},e)})},transactionId(t){return t?(this.trxId=t,this):this.trxId},serialize(){return this.operations.slice()},toJSON(){return this.serialize()},commit(t){if(!this.client)throw Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.client.mutate(this.serialize(),Object.assign({transactionId:this.trxId},to,t||{}))},reset(){return this.operations=[],this},_add(t){return this.operations.push(t),this}});var ta=encodeURIComponent,tu=({query:t,params:e={},options:n={}})=>{let{tag:r,...o}=n,i=`query=${ta(t)}`,a=r?`?tag=${ta(r)}&${i}`:`?${i}`,u=Object.keys(e).reduce((t,n)=>`${t}&${ta(`$${n}`)}=${ta(JSON.stringify(e[n]))}`,a);return Object.keys(o).reduce((t,e)=>n[e]?`${t}&${ta(e)}=${ta(n[e])}`:t,u)},tc=B($()),ts=(t,e)=>e.reduce((e,n)=>(void 0===t[n]||(e[n]=t[n]),e),{}),tl=(t,e)=>Object.keys(e).concat(Object.keys(t)).reduce((n,r)=>(n[r]=void 0===t[r]?e[r]:t[r],n),{}),tf=function(t,e){return(tf=Object.setPrototypeOf||({__proto__:[]}
5)instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function tp(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}tf(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function td(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function th(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function ty(t,e,n){if(n||2==arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}function tb(t){return"function"==typeof t}function tm(t){var e=t(function(t){Error.call(t),t.stack=Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var tv=tm(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function tg(t,e){if(t){var n=t.indexOf(e);0<=n&&t.splice(n,1)}}var tw=function(){var t;function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t,e,n,r,o,i=this._parentage;if(i){if(this._parentage=null,Array.isArray(i))try{for(var a=td(i),u=a.next();!u.done;u=a.next())u.value.remove(this)}catch(e){t={error:e}}finally{try{u&&!u.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}else i.remove(this)}var c=this.initialTeardown;if(tb(c))try{c()}catch(t){o=t instanceof tv?t.errors:[t]}var s=this._finalizers;if(s){this._finalizers=null;try{for(var l=td(s),f=l.next();!f.done;f=l.next()){var p=f.value;try{t_(p)}catch(t){o=null!=o?o:[],t instanceof tv?o=ty(ty([],th(o)),th(t.errors)):o.push(t)}}}catch(t){n={error:t}}finally{try{f&&!f.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}if(o)throw new tv(o)}},e.prototype.add=function(t){var n;if(t&&t!==this){if(this.closed)t_(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}},e.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},e.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},e.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&tg(e,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&tg(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}();function tO(t){return t instanceof tw||t&&"closed"in t&&tb(t.remove)&&tb(t.add)&&tb(t.unsubscribe)}function t_(t){tb(t)?t():t.unsubscribe()}tw.EMPTY;var tj={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},tx={setTimeout:function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=tx.delegate;return(null==o?void 0:o.setTimeout)?o.setTimeout.apply(o,ty([t,e],th(n))):setTimeout.apply(void 0,ty([t,e],th(n)))},clearTimeout:function(t){var e=tx.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function tC(){}var tS=tT("C",void 0,void 0);function tT(t,e,n){return{kind:t,value:e,error:n}}var tP=null,tk=function(t){function e(e){var n=t.call(this)||this;return n.isStopped=!1,e?(n.destination=e,tO(e)&&e.add(n)):n.destination=tA,n}return tp(e,t),e.create=function(t,e,n){return new tM(t,e,n)},e.prototype.next=function(t){this.isStopped?tU(tT("N",t,void 0),this):this._next(t)},e.prototype.error=function(t){this.isStopped?tU(tT("E",void 0,t),this):(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped?tU(tS,this):(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(tw),tE=Function.prototype.bind;
5function tR(t,e){return tE.call(t,e)}var tD=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){tI(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){tI(t)}else tI(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){tI(t)}},t}(),tM=function(t){function e(e,n,r){var o,i,a=t.call(this)||this;return tb(e)||!e?o={next:null!=e?e:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:a&&tj.useDeprecatedNextContext?((i=Object.create(e)).unsubscribe=function(){return a.unsubscribe()},o={next:e.next&&tR(e.next,i),error:e.error&&tR(e.error,i),complete:e.complete&&tR(e.complete,i)}):o=e,a.destination=new tD(o),a}return tp(e,t),e}(tk);function tI(t){tj.useDeprecatedSynchronousErrorHandling?tj.useDeprecatedSynchronousErrorHandling&&tP&&(tP.errorThrown=!0,tP.error=t):tx.setTimeout(function(){var e=tj.onUnhandledError;if(e)e(t);else throw t})}function tU(t,e){var n=tj.onStoppedNotification;n&&tx.setTimeout(function(){return n(t,e)})}var tA={closed:!0,next:tC,error:function(t){throw t},complete:tC},tq="function"==typeof Symbol&&Symbol.observable||"@@observable";function tN(t){return t}var tF=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r,o=this,i=(r=t)&&r instanceof tk||r&&tb(r.next)&&tb(r.error)&&tb(r.complete)&&tO(r)?t:new tM(t,e,n);return function(t){if(tj.useDeprecatedSynchronousErrorHandling){var e=!tP;if(e&&(tP={errorThrown:!1,error:null}),t(),e){var n=tP,r=n.errorThrown,o=n.error;if(tP=null,r)throw o}}else t()}(function(){var t=o.operator,e=o.source;i.add(t?t.call(i,e):e?o._subscribe(i):o._trySubscribe(i))}),i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=tH(e))(function(e,r){var o=new tM({next:function(e){try{t(e)}catch(t){r(t),o.unsubscribe()}},error:r,complete:e});n.subscribe(o)})},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[tq]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return(0===t.length?tN:1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)})(this)},t.prototype.toPromise=function(t){var e=this;return new(t=tH(t))(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})},t.create=function(e){return new t(e)},t}();function tH(t){var e;return null!==(e=null!=t?t:tj.Promise)&&void 0!==e?e:Promise}function tB(t){return function(e){if(tb(null==e?void 0:e.lift))return e.lift(function(e){try{return t(e,this)}catch(t){this.error(t)}});throw TypeError("Unable to lift unknown Observable type")}}var tL=function(t){function e(e,n,r,o,i,a){var u=t.call(this,e)||this;return u.onFinalize=i,u.shouldUnsubscribe=a,u._next=n?function(t){try{n(t)}catch(t){e.error(t)}}:t.prototype._next,u._error=o?function(t){try{o(t)}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._error,u._complete=r?function(){try{r()}catch(t){e.error(t)}finally{this.unsubscribe()}}:t.prototype._complete,u}return tp(e,t),e.prototype.unsubscribe=function(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;t.prototype.unsubscribe.call(this),n||null===(e=this.onFinalize)||void 0===e||e.call(this)}},e}(tk),t$=tm(function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}});function tz(t,e){var n="object"==typeof e;return new Promise(function(r,o){var i,a=!1;t.subscribe({next:function(t){i=t,a=!0},error:o,complete:function(){a?r(i):n?r(e.defaultValue):o(new t$)}})})}function tY(t,e){return tB(function(n,r){var o=0;n.subscribe(new tL(r,function(n){r.next(t.call(e,n,o++))},void 0,void 0,void 0))})}function tW(t,e){return tB(function(n,r){var o=0;n.subscribe(new tL(r,function(n){return t.call(e,n,o++)&&r.next(n)},void 0,void 0,void 0))})}var tX=tc.default,tQ=["includePreviousRevision","includeResult","visibility","effectFormat","tag"],tG={includeResult:!0};function tZ(t){try{let e=t.data&&JSON.parse(t.data)||{};return Object.assign({type:t.type},e)}catch(t){return t}}var tV=(t,e)=>!1===t?void 0:void 0===t?e:t,tK=(t={})=>({dryRun:t.dryRun,returnIds:!0,returnDocuments:tV(t.returnDocuments,!0),visibility:t.visibility||"sync",autoGenerateArrayKeys:t.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:t.skipCrossDatasetReferenceValidation}),tJ=t=>"response"===t.type,t0=t=>t.body,t1=(t,e)=>t.reduce((t,n)=>(t[e(n)]=n,t),Object.create(null));function t3(t){this.request=t.request.bind(t)}function t2(t){this.client=t}Object.assign(t3.prototype,{create(t,e){return this._modify("PUT",t,e)},edit(t,e){return this._modify("PATCH",t,e)},delete(t){return this._modify("DELETE",t)},list(){return this.request({uri:"/datasets"})},_modify(t,e,n){return Q(e),this.request({method:t,uri:`/datasets/${e}`,body:n})}}),Object.assign(t2.prototype,{list(){return this.client.request({uri:"/projects"})},getById(t){return this.client.request({uri:`/projects/${t}`})}});var t6=t=>{let e=[];for(let n in t)t.hasOwnProperty(n)&&e.push(`${encodeURIComponent(n)}=${encodeURIComponent(t[n])}`);return e.length>0?`?${e.join("&")}`:""};function t4(t){this.client=t}function t5(t){this.client=t}function t7(t){this.client=t}Object.assign(t4.prototype,{upload(t,e,n={}){Z(t);let r=n.extract||void 0;r&&!r.length&&(r=["none"]);let o=te(this.client.clientConfig),i="undefined"!=typeof window&&e instanceof window.File?Object.assign({filename:!1===n.preserveFilename?void 0:e.name,contentType:e.type},n):n,{tag:a,label:u,title:c,description:s,creditLine:l,filename:f,source:p}=i,d={label:u,title:c,description:s,filename:f,meta:r,creditLine:l};p&&(d.sourceId=p.id,d.sourceName=p.name,d.sourceUrl=p.url);let h=this.client._requestObservable({tag:a,method:"POST",timeout:i.timeout||0,uri:`/assets/${"image"===t?"images":"files"}/${o}`,headers:i.contentType?{"Content-Type":i.contentType}:{},query:d,body:e});return this.client.isPromiseAPI()?tz(h.pipe(tW(t=>"response"===t.type),tY(t=>t.body.document))):h},delete(t,e){console.warn("client.assets.delete() is deprecated, please use client.delete(<document-id>)");let n=e||"";return/^(image|file)-/.test(n)?t._id&&(n=t._id):n=`${t}-${n}`,te(this.client.clientConfig),this.client.delete(n)},getImageUrl(t,e){let n=t._ref||t;if("string"!=typeof n)throw Error("getImageUrl() needs either an object with a _ref, or a string with an asset document ID");if(!/^image-[A-Za-z0-9_]+-\d+x\d+-[a-z]{1,5}$/.test(n))throw Error(`Unsupported asset ID "${n}". URL generation only works for auto-generated IDs.`);let[,r,o,i]=n.split("-");te(this.client.clientConfig);let{projectId:a,dataset:u}=this.client.clientConfig,c=e?t6(e):"";return`https://cdn.sanity.io/images/${a}/${u}/${r}-${o}.${i}${c}`}}),Object.assign(t5.prototype,{getById(t){return this.client.request({uri:`/users/${t}`})}}),Object.assign(t7.prototype,{getLoginProviders(){return this.client.request({uri:"/auth/providers"})},logout(){return this.client.request({uri:"/auth/logout",method:"POST"})}});var t9=B(z());function t8(t){let e=ee(t);t8.super.call(this,e.message),Object.assign(this,e)}function et(t){let e=ee(t);et.super.call(this,e.message),Object.assign(this,e)}function ee(t){let e=t.body,n={response:t,statusCode:t.statusCode,responseBody:function(t,e){let n=(e.headers["content-type"]||"").toLowerCase(),r=-1!==n.indexOf("application/json");return r?JSON.stringify(t,null,2):t}(e,t)};return e.error&&e.message?(n.message=`${e.error} - ${e.message}`,n):e.error&&e.error.description?(n.message=e.error.description,n.details=e.error,n):(n.message=e.error||e.message||function(t){let e=t.statusMessage?` ${t.statusMessage}`:"";return`${t.method}-request to ${t.url} resulted in HTTP ${t.statusCode}${e}`}(t),n)}(0,t9.default)(t8),(0,t9.default)(et);var en=c([].concat([{onResponse:t=>{let e=t.headers["x-sanity-warning"],n=Array.isArray(e)?e:[e];
5return n.filter(Boolean).forEach(t=>console.warn(t)),t}},{processOptions:t=>{var e,n;let r=t.body;if(!r)return t;let o="function"==typeof r.pipe,i=!o&&!O(r)&&(-1!==w.indexOf(typeof r)||Array.isArray(r)||!1!==g(r)&&(void 0===(e=r.constructor)||!1!==g(n=e.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")));return i?Object.assign({},t,{body:JSON.stringify(t.body),headers:Object.assign({},t.headers,{"Content-Type":"application/json"})}):t}},{onResponse:t=>{let e=t.headers["content-type"]||"",n=a&&a.force||-1!==e.indexOf("application/json");return t.body&&e&&n?Object.assign({},t,{body:function(t){try{return JSON.parse(t)}catch(t){throw t.message=`Failed to parsed response body as JSON: ${t.message}`,t}}(t.body)}):t},processOptions:t=>Object.assign({},t,{headers:Object.assign({Accept:"application/json"},t.headers)})},{onRequest:t=>{if("xhr"!==t.adapter)return;let e=t.request,n=t.context;function r(t){return e=>{let r=e.lengthComputable?e.loaded/e.total*100:-1;n.channels.progress.publish({stage:t,percent:r,total:e.total,loaded:e.loaded,lengthComputable:e.lengthComputable})}}"upload"in e&&"onprogress"in e.upload&&(e.upload.onprogress=r("upload")),"onprogress"in e&&(e.onprogress=r("download"))}},{onResponse:t=>{if(t.statusCode>=500)throw new et(t);if(t.statusCode>=400)throw new t8(t);return t}},((t={})=>{let e=t.implementation||_.Observable;if(!e)throw Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:(t,n)=>new e(e=>(t.error.subscribe(t=>e.error(t)),t.progress.subscribe(t=>e.next(Object.assign({type:"progress"},t))),t.response.subscribe(t=>{e.next(Object.assign({type:"response"},t)),e.complete()}),t.request.publish(n),()=>t.abort.publish()))}})({implementation:tF})]));function er(t,e=en){return e(Object.assign({maxRedirects:0},t))}er.defaultRequester=en,er.ClientError=t8,er.ServerError=et;var eo=(t,e={})=>{let n={},r=e.token||t.token;r&&(n.Authorization=`Bearer ${r}`),e.useGlobalApi||t.useProjectHostname||!t.projectId||(n["X-Sanity-Project-ID"]=t.projectId);let o=Boolean(void 0===e.withCredentials?t.token||t.withCredentials:e.withCredentials),i=void 0===e.timeout?t.timeout:e.timeout;return Object.assign({},e,{headers:Object.assign({},n,e.headers||{}),timeout:void 0===i?3e5:i,proxy:e.proxy||t.proxy,json:!0,withCredentials:o})};function ei(t){return"https://docs.sanity.io/help/"+t}var ea=t=>{let e,n=!1;return(...r)=>(n||(e=t(...r),n=!0),e)},eu=t=>ea((...e)=>console.warn(t.join(" "),...e)),ec=eu(["You are not using the Sanity CDN. That means your data is always fresh, but the CDN is faster and",`cheaper. Think about it! For more info, see ${ei("js-client-cdn-configuration")}.`,"To hide this warning, please set the `useCdn` option to either `true` or `false` when creating","the client."]),es=eu(["You have configured Sanity client to use a token in the browser. This may cause unintentional security issues.",`See ${ei("js-client-browser-token")} for more information and how to hide this warning.`]),el=eu(["Using the Sanity client without specifying an API version is deprecated.",`See ${ei("js-client-api-version")}`]),ef={apiHost:"https://api.sanity.io",apiVersion:"1",useProjectHostname:!0,isPromiseAPI:!0},ep=["localhost","127.0.0.1","0.0.0.0"],ed=t=>-1!==ep.indexOf(t),eh=function(t){if("1"===t||"X"===t)return;let e=new Date(t),n=/^\d{4}-\d{2}-\d{2}$/.test(t)&&e instanceof Date&&e.getTime()>0;if(!n)throw Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")},ey=(t,e)=>{let n=Object.assign({},e,t);n.apiVersion||el();let r=Object.assign({},ef,n),o=r.useProjectHostname;if("undefined"==typeof Promise){let t=ei("js-client-promise-polyfill");throw Error(`No native Promise-implementation found, polyfill needed - see ${t}`)}if(o&&!r.projectId)throw Error("Configuration must contain `projectId`");let i="undefined"!=typeof window&&window.location&&window.location.hostname,a=i&&ed(window.location.hostname);i&&a&&r.token&&!0!==r.ignoreBrowserTokenWarning?es():void 0===r.useCdn&&ec(),o&&G(r.projectId),r.dataset&&Q(r.dataset),"requestTagPrefix"in r&&(r.requestTagPrefix=r.requestTagPrefix?tn(r.requestTagPrefix).replace(/\.+$/,""):void 0),r.apiVersion=`${r.apiVersion}`.replace(/^v/,""),r.isDefaultApi=r.apiHost===ef.apiHost,r.useCdn=Boolean(r.useCdn)&&!r.withCredentials,eh(r.apiVersion);let u=r.apiHost.split("://",2),c=u[0],s=u[1],l=r.isDefaultApi?"apicdn.sanity.io":s;return r.useProjectHostname?(r.url=`${c}://${r.projectId}.${s}/v${r.apiVersion}`,r.cdnUrl=`${c}://${r.projectId}.${l}/v${r.apiVersion}`):(r.url=`${r.apiHost}/v${r.apiVersion}`,r.cdnUrl=r.url),r};function eb(t=ef){if(!(this instanceof eb))return new eb(t);if(this.config(t),this.assets=new t4(this),this.datasets=new t3(this),this.projects=new t2(this),this.users=new t5(this),this.auth=new t7(this),this.clientConfig.isPromiseAPI){let t=Object.assign({},this.clientConfig,{isPromiseAPI:!1});this.observable=new eb(t)}}Object.assign(eb.prototype,{listen:function(t,e,n={}){let{url:r,token:o,withCredentials:i,requestTagPrefix:a}=this.clientConfig,u=n.tag&&a?[a,n.tag].join("."):n.tag,c={...tl(n,tG),tag:u},s=ts(c,tQ),l=tu({query:t,params:e,options:s,tag:u}),f=`${r}${this.getDataUrl("listen",l)}`;if(f.length>14800)return new tF(t=>t.error(Error("Query too large for listener")));let p=c.events?c.events:["mutation"],d=-1!==p.indexOf("reconnect"),h={};return(o||i)&&(h.withCredentials=!0),o&&(h.headers={Authorization:`Bearer ${o}`}),new tF(t=>{let e,n=s(),r=!1;function o(){!r&&(d&&t.next({type:"reconnect"}),r||n.readyState!==tX.CLOSED||(c(),clearTimeout(e),e=setTimeout(l,100)))}function i(e){t.error(function(t){if(t instanceof Error)return t;let e=tZ(t);return e instanceof Error?e:Error(e.error?e.error.description?e.error.description:"string"==typeof e.error?e.error:JSON.stringify(e.error,null,2):e.message||"Unknown listener error")}(e))}function a(e){let n=tZ(e);return n instanceof Error?t.error(n):t.next(n)}function u(e){r=!0,c(),t.complete()}function c(){n.removeEventListener("error",o,!1),n.removeEventListener("channelError",i,!1),n.removeEventListener("disconnect",u,!1),p.forEach(t=>n.removeEventListener(t,a,!1)),n.close()}function s(){let t=new tX(f,h);return t.addEventListener("error",o,!1),t.addEventListener("channelError",i,!1),t.addEventListener("disconnect",u,!1),p.forEach(e
5=>t.addEventListener(e,a,!1)),t}function l(){n=s()}return function(){r=!0,c()}})},getDataUrl(t,e){let n=this.clientConfig,r=te(n),o=`/${t}/${r}`,i=e?`${o}/${e}`:o;return`/data${i}`.replace(/\/($|\?)/,"$1")},fetch(t,e,n={}){let r=!1===n.filterResponse?t=>t:t=>t.result,o=this._dataRequest("query",{query:t,params:e},n).pipe(tY(r));return this.isPromiseAPI()?tz(o):o},getDocument(t,e={}){let n={uri:this.getDataUrl("doc",t),json:!0,tag:e.tag},r=this._requestObservable(n).pipe(tW(tJ),tY(t=>t.body.documents&&t.body.documents[0]));return this.isPromiseAPI()?tz(r):r},getDocuments(t,e={}){let n={uri:this.getDataUrl("doc",t.join(",")),json:!0,tag:e.tag},r=this._requestObservable(n).pipe(tW(tJ),tY(e=>{let n=t1(e.body.documents||[],t=>t._id);return t.map(t=>n[t]||null)}));return this.isPromiseAPI()?tz(r):r},create(t,e){return this._create(t,"create",e)},createIfNotExists(t,e){return J("createIfNotExists",t),this._create(t,"createIfNotExists",e)},createOrReplace(t,e){return J("createOrReplace",t),this._create(t,"createOrReplace",e)},patch(t,e){return new tr(t,e,this)},delete(t,e){return this.dataRequest("mutate",{mutations:[{delete:Y(t)}]},e)},mutate(t,e){let n=t instanceof tr||t instanceof ti?t.serialize():t,r=Array.isArray(n)?n:[n],o=e&&e.transactionId;return this.dataRequest("mutate",{mutations:r,transactionId:o},e)},transaction(t){return new ti(t,this)},dataRequest(t,e,n={}){let r=this._dataRequest(t,e,n);return this.isPromiseAPI()?tz(r):r},_dataRequest(t,e,n={}){let r="mutate"===t,o=!r&&tu(e),i=!r&&o.length<11264,a=n.returnFirst,{timeout:u,token:c,tag:s,headers:l}=n,f=this.getDataUrl(t,i?o:""),p={method:i?"GET":"POST",uri:f,json:!0,body:i?void 0:e,query:r&&tK(n),timeout:u,headers:l,token:c,tag:s,canUseCdn:"query"===t};return this._requestObservable(p).pipe(tW(tJ),tY(t0),tY(t=>{if(!r)return t;let e=t.results||[];if(n.returnDocuments)return a?e[0]&&e[0].document:e.map(t=>t.document);let o=a?e[0]&&e[0].id:e.map(t=>t.id);return{transactionId:t.transactionId,results:e,[a?"documentId":"documentIds"]:o}}))},_create(t,e,n={}){let r=Object.assign({returnFirst:!0,returnDocuments:!0},n);return this.dataRequest("mutate",{mutations:[{[e]:t}]},r)}}),Object.assign(eb.prototype,{clone(){return new eb(this.config())},config(t){if(void 0===t)return Object.assign({},this.clientConfig);if(this.clientConfig&&!1===this.clientConfig.allowReconfigure)throw Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");if(this.observable){let e=Object.assign({},t,{isPromiseAPI:!1});this.observable.config(e)}return this.clientConfig=ey(t,this.clientConfig||{}),this},withConfig(t){return new eb({...this.config(),...t})},getUrl(t,e=!1){let n=e?this.clientConfig.cdnUrl:this.clientConfig.url;return`${n}/${t.replace(/^\//,"")}`},isPromiseAPI(){return this.clientConfig.isPromiseAPI},_requestObservable(t){let e=t.url||t.uri,n=void 0===t.canUseCdn?["GET","HEAD"].indexOf(t.method||"GET")>=0&&0===e.indexOf("/data/"):t.canUseCdn,r=this.clientConfig.useCdn&&n,o=t.tag&&this.clientConfig.requestTagPrefix?[this.clientConfig.requestTagPrefix,t.tag].join("."):t.tag||this.clientConfig.requestTagPrefix;o&&(t.query={tag:tn(o),...t.query});let i=eo(this.clientConfig,Object.assign({},t,{url:this.getUrl(e,r)}));return new tF(t=>er(i,this.clientConfig.requester).subscribe(t))},request(t){let e=this._requestObservable(t).pipe(tW(t=>"response"===t.type),tY(t=>t.body));return this.isPromiseAPI()?tz(e):e}}),eb.Patch=tr,eb.Transaction=ti,eb.ClientError=er.ClientError,eb.ServerError=er.ServerError,eb.requester=er.defaultRequester;let em=r?eb({projectId:r,dataset:"production",apiVersion:"2022-11-15",useCdn:!0}):null},6092:function(t,e,n){"use strict";n.d(e,{Z:function(){return G}});var r=n(1844);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach(function(e){var r,o,i;r=t,o=e,i=n[e],(o=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
5(t,"string");return"symbol"==typeof e?e:String(e)}(o))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function a(t){return"span"===t._type&&"text"in t&&"string"==typeof t.text&&(void 0===t.marks||Array.isArray(t.marks)&&t.marks.every(t=>"string"==typeof t))}function u(t){return"string"==typeof t._type&&"@"!==t._type[0]&&(!("markDefs"in t)||Array.isArray(t.markDefs)&&t.markDefs.every(t=>"string"==typeof t._key))&&"children"in t&&Array.isArray(t.children)&&t.children.every(t=>"object"==typeof t&&"_type"in t)}function c(t){return u(t)&&"listItem"in t&&"string"==typeof t.listItem&&(void 0===t.level||"number"==typeof t.level)}function s(t){return"@list"===t._type}function l(t){return"@span"===t._type}function f(t){return"@text"===t._type}let p=["strong","em","code","underline","strike-through"];function d(t,e,n){if(!a(t)||!t.marks||!t.marks.length)return[];let r=t.marks.slice(),o={};return r.forEach(t=>{o[t]=1;for(let r=e+1;r<n.length;r++){let e=n[r];if(e&&a(e)&&Array.isArray(e.marks)&&-1!==e.marks.indexOf(t))o[t]++;else break}}),r.sort((t,e)=>(function(t,e,n){let r=t[e],o=t[n];if(r!==o)return o-r;let i=p.indexOf(e),a=p.indexOf(n);return i!==a?i-a:e.localeCompare(n)})(o,t,e))}function h(t,e,n){return{_type:"@list",_key:"".concat(t._key||"".concat(e),"-parent"),mode:n,level:t.level||1,listItem:t.listItem,children:[t]}}function y(t,e){let n=e.level||1,r=e.listItem||"normal",o="string"==typeof e.listItem;if(s(t)&&(t.level||1)===n&&o&&(t.listItem||"normal")===r)return t;if(!("children"in t))return;let i=t.children[t.children.length-1];return i&&!a(i)?y(i,e):void 0}var b=n(5784);function m(t,e,n){let r=e[n],o=t[n];return"function"==typeof r||r&&"function"==typeof o?r:r?{...o,...r}:o}let v=t=>{let{children:e,value:n}=t;return(0,r.jsx)("a",{href:null==n?void 0:n.href,children:e})},g={textDecoration:"underline"},w=t=>{let{children:e}=t;return(0,r.jsx)("li",{children:e})},O=(t,e)=>"[@portabletext/react] Unknown ".concat(t,", specify a component for it in the `components.").concat(e,"` prop"),_=t=>O('block type "'.concat(t,'"'),"types"),j=t=>O('mark type "'.concat(t,'"'),"marks"),x=t=>O('block style "'.concat(t,'"'),"block"),C=t=>O('list style "'.concat(t,'"'),"list"),S=t=>O('list item style "'.concat(t,'"'),"listItem");function T(t){console.warn(t)}let P={display:"none"},k=t=>{let{value:e,isInline:n}=t,o=_(e._type);return n?(0,r.jsx)("span",{style:P,children:o}):(0,r.jsx)("div",{style:P,children:o})},E=t=>{let{markType:e,children:n}=t;return(0,r.jsx)("span",{className:"unknown__pt__mark__".concat(e),children:n})},R=t=>{let{children:e}=t;return(0,r.jsx)("p",{children:e})},D=t=>{let{children:e}=t;return(0,r.jsx)("ul",{children:e})},M=t=>{let{children:e}=t;return(0,r.jsx)("li",{children:e})},I=()=>(0,r.jsx)("br",{}),U={types:{},block:{normal:t=>{let{children:e}=t;return(0,r.jsx)("p",{children:e})},blockquote:t=>{let{children:e}=t;return(0,r.jsx)("blockquote",{children:e})},h1:t=>{let{children:e}=t;return(0,r.jsx)("h1",{children:e})},h2:t=>{let{children:e}=t;return(0,r.jsx)("h2",{children:e})},h3:t=>{let{children:e}=t;return(0,r.jsx)("h3",{children:e})},h4:t=>{let{children:e}=t;return(0,r.jsx)("h4",{children:e})},h5:t=>{let{children:e}=t;return(0,r.jsx)("h5",{children:e})},h6:t=>{let{children:e}=t;return(0,r.jsx)("h6",{children:e})}},marks:{em:t=>{let{children:e}=t;return(0,r.jsx)("em",{children:e})},strong:t=>{let{children:e}=t;return(0,r.jsx)("strong",{children:e})},code:t=>{let{children:e}=t;return(0,r.jsx)("code",{children:e})},underline:t=>{let{children:e}=t;return(0,r.jsx)("span",{style:g,children:e})},"strike-through":t=>{let{children:e}=t;return(0,r.jsx)("del",{children:e})},link:v},list:{number:t=>{let{children:e}=t;return(0,r.jsx)("ol",{children:e})},bullet:t=>{let{children:e}=t;return(0,r.jsx)("ul",{children:e})}},listItem:w,hardBreak:I,unknownType:k,unknownMark:E,unknownList:D,unknownListItem:M,unknownBlockStyle:R};function A(t){let{value:e,components:n,listNestingMode:o,onMissingComponent:a=T}=t,u=a||F,s=Array.isArray(e)?e:[e],l=function(t,e){let n;let r=[];for(let a=0;a<t.length;a++){let u=t[a];if(u){var o;if(!c(u)){r.push(u),n=void 0;continue}if(!n){n=h(u,a,e),r.push(n);continue}if(o=n,(u.level||1)===o.level&&u.listItem===o.listItem){n.children.push(u);continue}if((u.level||1)>n.level){let t=h(u,a,e);if("html"===e){let e=n.children[n.children.length-1],r=i(i({},e),{},{children:[...e.children,t]});n.children[n.children.length-1]=r}else n.children.push(t);n=t;continue}if((u.level||1)<n.level){let t=r[r.length-1],o=t&&y(t,u);if(o){(n=o).children.push(u);continue}n=h(u,a,e),r.push(n);continue}if(u.listItem!==n.listItem){let t=r[r.length-1],o=t&&y(t,{level:u.level||1});if(o&&o.listItem===u.listItem){(n=o).children.push(u);continue}n=h(u,a,e),r.push(n);continue}console.warn("Unknown state encountered for block",u),r.push(u)}}return r}(s,o||"html"),f=(0,b.useMemo)(()=>n?function(t,e){let{block:n,list:r,listItem:o,marks:i,types:a,...u}=e;return{...t,block:m(t,e,"block"),list:m(t,e,"list"),listItem:m(t,e,"listItem"),marks:m(t,e,"marks"),types:m(t,e,"types"),...u}}(U,n):U,[n]),p=(0,b.useMemo)(()=>q(f,u),[f,u]),d=l.map((t,e)=>p({node:t,index:e,isInline:!1,renderNode:p}));return(0,r.jsx)(r.Fragment,{children:d})}let q=(t,e)=>function n(o){let{node:i,index:a,isInline:p}=o,d=i._key||"node-".concat(a);return s(i)?function(o,i,a){let u=o.children.map((t,e)=>n({node:t._key?t:{...t,_key:"li-".concat(i,"-").concat(e)},index:i,isInline:!1,renderNode:n})),c=t.list,s="function"==typeof c?c:c[o.listItem],l=s||t.unknownList;if(l===t.unknownList){let t=o.listItem||"bullet";e(C(t),{nodeType:"listStyle",type:t})}return(0,r.jsx)(l,{value:o,index:i,isInline:!1,renderNode:n,children:u},a)}(i,a,d):c(i)?function(o,i,a){let u=N({node:o,index:i,isInline:!1,renderNode:n}),c=t.listItem,s="function"==typeof c?c:c[o.listItem],l=s||t.unknownListItem;if(l===t.unknownListItem){let t=o.listItem||"bullet";e(S(t),{type:t,nodeType:"listItemStyle"})}let f=u.children;if(o.style&&"normal"!==o.style){let{listItem:t,...e}=o;f=n({node:e,index:i,isInline:!1,renderNode:n})}return(0,r.jsx)(l,{value:o,index:i,isInline:!1,renderNode:n,children:f},a)}(i,a,d):l(i)?function(o,i,a){let{markDef:u,markType:c,markKey:s}=o,p=t.marks[c]||t.unknownMark,d=o.children.map((t,e)=>n({node:t,index:e,isInline:!0,renderNode:n}));return p===t.unknownMark&&e(j(c),{nodeType:"mark",type:c}),(0,r.jsx)(p,{text:function t(e){let n="";
5return e.children.forEach(e=>{f(e)?n+=e.text:l(e)&&(n+=t(e))}),n}(o),value:u,markType:c,markKey:s,renderNode:n,children:d},a)}(i,0,d):u(i)?function(o,i,a,u){let{_key:c,...s}=N({node:o,index:i,isInline:u,renderNode:n}),l=s.node.style||"normal",f="function"==typeof t.block?t.block:t.block[l],p=f||t.unknownBlockStyle;return p===t.unknownBlockStyle&&e(x(l),{nodeType:"blockStyle",type:l}),(0,r.jsx)(p,{...s,value:s.node,renderNode:n},a)}(i,a,d,p):f(i)?function(e,n){if("\n"===e.text){let e=t.hardBreak;return e?(0,r.jsx)(e,{},n):"\n"}return e.text}(i,d):function(o,i,a,u){let c=t.types[o._type],s={value:o,isInline:u,index:i,renderNode:n};if(c)return(0,r.jsx)(c,{...s},a);e(_(o._type),{nodeType:"block",type:o._type});let l=t.unknownType;return(0,r.jsx)(l,{...s},a)}(i,a,d,p)};function N(t){let{node:e,index:n,isInline:r,renderNode:o}=t,i=function(t){var e;let{children:n,markDefs:r=[]}=t;if(!n||!n.length)return[];let o=n.map(d),i={_type:"@span",children:[],markType:"<unknown>"},u=[i];for(let t=0;t<n.length;t++){let i=n[t];if(!i)continue;let c=o[t]||[],s=1;if(u.length>1)for(;s<u.length;s++){let t=(null==(e=u[s])?void 0:e.markKey)||"",n=c.indexOf(t);if(-1===n)break;c.splice(n,1)}let l=(u=u.slice(0,s))[u.length-1];if(l){for(let t of c){let e=r.find(e=>e._key===t),n=e?e._type:t,o={_type:"@span",_key:i._key,children:[],markDef:e,markType:n,markKey:t};l.children.push(o),u.push(o),l=o}if(a(i)){let t=i.text.split("\n");for(let e=t.length;e-- >1;)t.splice(e,0,"\n");l.children=l.children.concat(t.map(t=>({_type:"@text",text:t})))}else l.children=l.children.concat(i)}}return i.children}(e),u=i.map((t,e)=>o({node:t,isInline:!0,index:e,renderNode:o}));return{_key:e._key||"block-".concat(n),children:u,index:n,isInline:r,node:e}}function F(){}var H=n(1880);let B=t=>{let{value:e}=t;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(H.Z,{images:e.images})})};var L=n(1664),$=n.n(L),z=n(1253),Y=n.n(z);let W=t=>{var e;let{children:n,value:o}=t,i=(null==o?void 0:o.blank)?"_blank":void 0;return(0,r.jsx)($(),{href:null!==(e=null==o?void 0:o.href)&&void 0!==e?e:"",target:i,rel:"_blank"===i?"noindex nofollow":void 0,className:Y().link,children:n})},X={types:{works:B},marks:{link:W}},Q=t=>{let{value:e}=t;return(0,r.jsx)(A,{value:e,components:X})};var G=Q},7744:function(t,e,n){"use strict";n.d(e,{F:function(){return r4},j:function(){return r7}});var r,o={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function i(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}var a={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function c(t){return function(e,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,i=null!=n&&n.width?String(n.width):o;r=t.formattingValues[i]||t.formattingValues[o]}else{var a=t.defaultWidth,u=null!=n&&n.width?String(n.width):t.defaultWidth;r=t.values[u]||t.values[a]}return r[t.argumentCallback?t.argumentCallback(e):e]}}function s(t){return function(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.width,i=o&&t.matchPatterns[o]||t.matchPatterns[t.defaultMatchWidth],a=e.match(i);if(!a)return null;var u=a[0],c=o&&t.parsePatterns[o]||t.parsePatterns[t.defaultParseWidth],s=Array.isArray(c)?function(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n}(c,function(t){return t.test(u)}):function(t,e){for(var n in t)if(t.hasOwnProperty(n)&&e(t[n]))return n}(c,function(t){return t.test(u)});return n=t.valueCallback?t.valueCallback(s):s,{value:n=r.valueCallback?r.valueCallback(n):n,rest:e.slice(u.length)}}}var l={code:"en-US",formatDistance:function(t,e,n){var r,i=o[t];return(r="string"==typeof i?i:1===e?i.one:i.other.replace("{{count}}",e.toString()),null!=n&&n.addSuffix)?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:a,formatRelative:function(t,e,n,r){return u[t]},localize:{ordinalNumber:function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:c({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:c({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:c({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:c({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
5ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:c({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(r={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(r.matchPattern);if(!n)return null;var o=n[0],i=t.match(r.parsePattern);if(!i)return null;var a=r.valueCallback?r.valueCallback(i[0]):i[0];return{value:a=e.valueCallback?e.valueCallback(a):a,rest:t.slice(o.length)}}),era:s({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:s({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:s({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:s({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function f(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function p(t,e){if(e.length<t)throw TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t){p(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===d(t)&&"[object Date]"===e?new Date(t.getTime()):"number"==typeof t||"[object Number]"===e?new Date(t):(("string"==typeof t||"[object String]"===e)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}function y(t,e){return p(2,arguments),function(t,e){p(2,arguments);var n=h(t).getTime(),r=f(e);return new Date(n+r)}(t,-f(e))}var b=function(t,e){switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},m=function(t,e){switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},v={p:m,P:function(t,e){var n,r=t.match(/(P+)(p+)?/)||[],o=r[1],i=r[2];if(!i)return b(t,e);switch(o){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",b(o,e)).replace("{{time}}",m(i,e))}};function g(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}var w=["D","DD"],O=["YY","YYYY"];function _(t){return -1!==w.indexOf(t)}function j(t){return -1!==O.indexOf(t)}function x(t,e,n){if("YYYY"===t)throw RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").
5concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&T(t,e)}function T(t,e){return(T=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function P(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var n,r,o=E(t);if(e){var i=E(this).constructor;r=Reflect.construct(o,arguments,i)}else r=o.apply(this,arguments);return(n=r)&&("object"===C(n)||"function"==typeof n)?n:k(this)}}function k(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function R(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function D(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function M(t,e,n){return e&&D(t.prototype,e),n&&D(t,n),t}function I(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var U=function(){function t(){R(this,t),I(this,"subPriority",0)}return M(t,[{key:"validate",value:function(t,e){return!0}}]),t}(),A=function(t){S(n,t);var e=P(n);function n(t,r,o,i,a){var u;return R(this,n),(u=e.call(this)).value=t,u.validateValue=r,u.setValue=o,u.priority=i,a&&(u.subPriority=a),u}return M(n,[{key:"validate",value:function(t,e){return this.validateValue(t,this.value,e)}},{key:"set",value:function(t,e,n){return this.setValue(t,e,this.value,n)}}]),n}(U),q=function(t){S(n,t);var e=P(n);function n(){var t;R(this,n);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return I(k(t=e.call.apply(e,[this].concat(o))),"priority",10),I(k(t),"subPriority",-1),t}return M(n,[{key:"set",value:function(t,e){if(e.timestampIsSet)return t;var n=new Date(0);return n.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),n.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),n}}]),n}(U);function N(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var F=function(){var t;function e(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e)}return N(e.prototype,[{key:"run",value:function(t,e,n,r){var o=this.parse(t,e,n,r);return o?{setter:new A(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}},{key:"validate",value:function(t,e,n){return!0}}]),t&&N(e,t),e}();function H(t){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function B(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
5function L(t,e){return(L=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function $(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z(t){return(z=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var W=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&L(t,e)}(i,t);var e,n,r,o=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=z(i);if(e){var o=z(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===H(t)||"function"==typeof t)?t:$(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return Y($(t=o.call.apply(o,[this].concat(n))),"priority",140),Y($(t),"incompatibleTokens",["R","u","t","T"]),t}return n=[{key:"parse",value:function(t,e,n){switch(e){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}},{key:"set",value:function(t,e,n){return e.era=n,t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t}}],B(i.prototype,n),r&&B(i,r),i}(F),X={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Q={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function G(t,e){return t?{value:e(t.value),rest:t.rest}:t}function Z(t,e){var n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function V(t,e){var n=e.match(t);return n?"Z"===n[0]?{value:0,rest:e.slice(1)}:{value:("+"===n[1]?1:-1)*((n[2]?parseInt(n[2],10):0)*36e5+(n[3]?parseInt(n[3],10):0)*6e4+(n[5]?parseInt(n[5],10):0)*1e3),rest:e.slice(n[0].length)}:null}function K(t){return Z(X.anyDigitsSigned,t)}function J(t,e){switch(t){case 1:return Z(X.singleDigit,e);case 2:return Z(X.twoDigits,e);case 3:return Z(X.threeDigits,e);case 4:return Z(X.fourDigits,e);default:return Z(RegExp("^\\d{1,"+t+"}"),e)}}function tt(t,e){switch(t){case 1:return Z(X.singleDigitSigned,e);case 2:return Z(X.twoDigitsSigned,e);case 3:return Z(X.threeDigitsSigned,e);case 4:return Z(X.fourDigitsSigned,e);default:return Z(RegExp("^-?\\d{1,"+t+"}"),e)}}function te(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function tn(t,e){var n,r=e>0,o=r?e:1-e;if(o<=50)n=t||100;else{var i=o+50;n=t+100*Math.floor(i/100)-(t>=i%100?100:0)}return r?n:1-n}function tr(t){return t%400==0||t%4==0&&t%100!=0}function to(t){return(to="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ti(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
5function ta(t,e){return(ta=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tu(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tc(t){return(tc=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ts(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tl=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ta(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=tc(o);if(e){var i=tc(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===to(t)||"function"==typeof t)?t:tu(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return ts(tu(t=r.call.apply(r,[this].concat(n))),"priority",130),ts(tu(t),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),t}return ti(o.prototype,[{key:"parse",value:function(t,e,n){var r=function(t){return{year:t,isTwoDigitYear:"yy"===e}};switch(e){case"y":return G(J(4,t),r);case"yo":return G(n.ordinalNumber(t,{unit:"year"}),r);default:return G(J(e.length,t),r)}}},{key:"validate",value:function(t,e){return e.isTwoDigitYear||e.year>0}},{key:"set",value:function(t,e,n){var r=t.getUTCFullYear();if(n.isTwoDigitYear){var o=tn(n.year,r);return t.setUTCFullYear(o,0,1),t.setUTCHours(0,0,0,0),t}var i="era"in e&&1!==e.era?1-n.year:n.year;return t.setUTCFullYear(i,0,1),t.setUTCHours(0,0,0,0),t}}]),n&&ti(o,n),o}(F),tf={};function tp(t,e){p(1,arguments);var n,r,o,i,a,u,c,s,l=f(null!==(n=null!==(r=null!==(o=null!==(i=null==e?void 0:e.weekStartsOn)&&void 0!==i?i:null==e?void 0:null===(a=e.locale)||void 0===a?void 0:null===(u=a.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==o?o:tf.weekStartsOn)&&void 0!==r?r:null===(c=tf.locale)||void 0===c?void 0:null===(s=c.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==n?n:0);if(!(l>=0&&l<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=h(t),y=d.getUTCDay();return d.setUTCDate(d.getUTCDate()-((y<l?7:0)+y-l)),d.setUTCHours(0,0,0,0),d}function td(t,e){p(1,arguments);var n,r,o,i,a,u,c,s,l=h(t),d=l.getUTCFullYear(),y=f(null!==(n=null!==(r=null!==(o=null!==(i=null==e?void 0:e.firstWeekContainsDate)&&void 0!==i?i:null==e?void 0:null===(a=e.locale)||void 0===a?void 0:null===(u=a.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==o?o:tf.firstWeekContainsDate)&&void 0!==r?r:null===(c=tf.locale)||void 0===c?void 0:null===(s=c.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==n?n:1);if(!(y>=1&&y<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(d+1,0,y),b.setUTCHours(0,0,0,0);var m=tp(b,e),v=new Date(0);v.setUTCFullYear(d,0,y),v.setUTCHours(0,0,0,0);var g=tp(v,e);return l.getTime()>=m.getTime()?d+1:l.getTime()>=g.getTime()?d:d-1}function th(t){return(th="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ty(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function tb(t,e){return(tb=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tm(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tv(t){return(tv=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tw=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tb(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=tv(o);if(e){var i=tv(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===th(t)||"function"==typeof t)?t:tm(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return tg(tm(t=r.call.apply(r,[this].concat(n))),"priority",130),tg(tm(t),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),t}return ty(o.prototype,[{key:"parse",value:function(t,e,n){var r=function(t){return{year:t,isTwoDigitYear:"YY"===e}};switch(e){case"Y":return G(J(4,t),r);case"Yo":return G(n.ordinalNumber(t,{unit:"year"}),r);default:return G(J(e.length,t),r)}}},{key:"validate",value:function(t,e){return e.isTwoDigitYear||e.year>0}},{key:"set",value:function(t,e,n,r){var o=td(t,r);if(n.isTwoDigitYear){var i=tn(n.year,o);return t.setUTCFullYear(i,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),tp(t,r)}var a="era"in e&&1!==e.era?1-n.year:n.year;return t.setUTCFullYear(a,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),tp(t,r)}}]),n&&ty(o,n),o}(F);function tO(t){p(1,arguments);var e=h(t),n=e.getUTCDay();return e.setUTCDate(e.getUTCDate()-((n<1?7:0)+n-1)),e.setUTCHours(0,0,0,0),e}function t_(t){return(t_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tj(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
5function tx(t,e){return(tx=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tC(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tS(t){return(tS=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tT(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tP=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tx(t,e)}(i,t);var e,n,r,o=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=tS(i);if(e){var o=tS(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===t_(t)||"function"==typeof t)?t:tC(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return tT(tC(t=o.call.apply(o,[this].concat(n))),"priority",130),tT(tC(t),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),t}return n=[{key:"parse",value:function(t,e){return"R"===e?tt(4,t):tt(e.length,t)}},{key:"set",value:function(t,e,n){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),tO(r)}}],tj(i.prototype,n),r&&tj(i,r),i}(F);function tk(t){return(tk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tE(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function tR(t,e){return(tR=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tD(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tM(t){return(tM=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tI(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tU=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tR(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=tM(o);if(e){var i=tM(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===tk(t)||"function"==typeof t)?t:tD(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return tI(tD(t=r.call.apply(r,[this].concat(n))),"priority",130),tI(tD(t),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),t}return tE(o.prototype,[{key:"parse",value:function(t,e){return"u"===e?tt(4,t):tt(e.length,t)}},{key:"set",value:function(t,e,n){return t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t}}]),n&&tE(o,n),o}(F);function tA(t){return(tA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tq(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
5function tN(t,e){return(tN=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tF(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tH(t){return(tH=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tL=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tN(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=tH(o);if(e){var i=tH(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===tA(t)||"function"==typeof t)?t:tF(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return tB(tF(t=r.call.apply(r,[this].concat(n))),"priority",120),tB(tF(t),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),t}return tq(o.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"Q":case"QQ":return J(e.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=1&&e<=4}},{key:"set",value:function(t,e,n){return t.setUTCMonth((n-1)*3,1),t.setUTCHours(0,0,0,0),t}}]),n&&tq(o,n),o}(F);function t$(t){return(t$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tz(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function tY(t,e){return(tY=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tW(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tX(t){return(tX=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function tQ(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tG=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tY(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=tX(o);if(e){var i=tX(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===t$(t)||"function"==typeof t)?t:tW(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return tQ(tW(t=r.call.apply(r,[this].concat(n))),"priority",120),tQ(tW(t),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),t}return tz(o.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"q":case"qq":return J(e.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=1&&e<=4}},{key:"set",value:function(t,e,n){return t.setUTCMonth((n-1)*3,1),t.setUTCHours(0,0,0,0),t}}]),n&&tz(o,n),o}(F);function tZ(t){return(tZ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function tV(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
5function tK(t,e){return(tK=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function tJ(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t0(t){return(t0=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function t1(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var t3=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tK(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=t0(o);if(e){var i=t0(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===tZ(t)||"function"==typeof t)?t:tJ(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return t1(tJ(t=r.call.apply(r,[this].concat(n))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),t1(tJ(t),"priority",110),t}return tV(o.prototype,[{key:"parse",value:function(t,e,n){var r=function(t){return t-1};switch(e){case"M":return G(Z(X.month,t),r);case"MM":return G(J(2,t),r);case"Mo":return G(n.ordinalNumber(t,{unit:"month"}),r);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,n){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t}}]),n&&tV(o,n),o}(F);function t2(t){return(t2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function t6(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function t4(t,e){return(t4=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function t5(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t7(t){return(t7=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function t9(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var t8=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&t4(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=t7(o);if(e){var i=t7(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===t2(t)||"function"==typeof t)?t:t5(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return t9(t5(t=r.call.apply(r,[this].concat(n))),"priority",110),t9(t5(t),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),t}return t6(o.prototype,[{key:"parse",value:function(t,e,n){var r=function(t){return t-1};switch(e){case"L":return G(Z(X.month,t),r);case"LL":return G(J(2,t),r);case"Lo":return G(n.ordinalNumber(t,{unit:"month"}),r);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,n){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t}}]),n&&t6(o,n),o}(F);function et(t,e){p(1,arguments);var n=h(t);return Math.round((tp(n,e).getTime()-(function(t,e){p(1,arguments);var n,r,o,i,a,u,c,s,l=f(null!==(n=null!==(r=null!==(o=null!==(i=null==e?void 0:e.firstWeekContainsDate)&&void 0!==i?i:null==e?void 0:null===(a=e.locale)||void 0===a?void 0:null===(u=a.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==o?o:tf.firstWeekContainsDate)&&void 0!==r?r:null===(c=tf.locale)||void 0===c?void 0:null===(s=c.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==n?n:1),d=td(t,e),h=new Date(0);return h.setUTCFullYear(d,0,l),h.setUTCHours(0,0,0,0),tp(h,e)})(n,e).getTime())/6048e5)+1}function ee(t){return(ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function en(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function er(t,e){return(er=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function eo(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
5function ei(t){return(ei=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ea(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var eu=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&er(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=ei(o);if(e){var i=ei(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===ee(t)||"function"==typeof t)?t:eo(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return ea(eo(t=r.call.apply(r,[this].concat(n))),"priority",100),ea(eo(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),t}return en(o.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"w":return Z(X.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return J(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=53}},{key:"set",value:function(t,e,n,r){return tp(function(t,e,n){p(2,arguments);var r=h(t),o=f(e),i=et(r,n)-o;return r.setUTCDate(r.getUTCDate()-7*i),r}(t,n,r),r)}}]),n&&en(o,n),o}(F);function ec(t){p(1,arguments);var e=h(t),n=e.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var o=tO(r),i=new Date(0);i.setUTCFullYear(n,0,4),i.setUTCHours(0,0,0,0);var a=tO(i);return e.getTime()>=o.getTime()?n+1:e.getTime()>=a.getTime()?n:n-1}function es(t){p(1,arguments);var e=h(t);return Math.round((tO(e).getTime()-(function(t){p(1,arguments);var e=ec(t),n=new Date(0);return n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0),tO(n)})(e).getTime())/6048e5)+1}function el(t){return(el="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ef(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ep(t,e){return(ep=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ed(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eh(t){return(eh=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ey(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var eb=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ep(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=eh(o);if(e){var i=eh(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===el(t)||"function"==typeof t)?t:ed(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return ey(ed(t=r.call.apply(r,[this].concat(n))),"priority",100),ey(ed(t),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),t}return ef(o.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"I":return Z(X.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return J(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=53}},{key:"set",value:function(t,e,n){return tO(function(t,e){p(2,arguments);var n=h(t),r=f(e),o=es(n)-r;return n.setUTCDate(n.getUTCDate()-7*o),n}(t,n))}}]),n&&ef(o,n),o}(F);function em(t){return(em="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ev(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function eg(t,e){return(eg=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ew(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eO(t){return(eO=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function e_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ej=[31,28,31,30,31,30,31,31,30,31,30,31],ex=[31,29,31,30,31,30,31,31,30,31,30,31],eC=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eg(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=eO(o);if(e){var i=eO(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===em(t)||"function"==typeof t)?t:ew(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return e_(ew(t=r.call.apply(r,[this].concat(n))),"priority",90),e_(ew(t),"subPriority",1),e_(ew(t),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),t}return ev(o.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"d":return Z(X.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return J(e.length,t)}}},{key:"validate",value:function(t,e){var n=tr(t.getUTCFullYear()),r=t.getUTCMonth();return n?e>=1&&e<=ex[r]:e>=1&&e<=ej[r]}},{key:"set",value:function(t,e,n){return t.setUTCDate(n),t.setUTCHours(0,0,0,0),t}}]),n&&ev(o,n),o}(F);function eS(t){return(eS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eT(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function eP(t,e){return(eP=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ek(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
5function eE(t){return(eE=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eR(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var eD=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eP(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=eE(o);if(e){var i=eE(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===eS(t)||"function"==typeof t)?t:ek(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return eR(ek(t=r.call.apply(r,[this].concat(n))),"priority",90),eR(ek(t),"subpriority",1),eR(ek(t),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),t}return eT(o.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"D":case"DD":return Z(X.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return J(e.length,t)}}},{key:"validate",value:function(t,e){return tr(t.getUTCFullYear())?e>=1&&e<=366:e>=1&&e<=365}},{key:"set",value:function(t,e,n){return t.setUTCMonth(0,n),t.setUTCHours(0,0,0,0),t}}]),n&&eT(o,n),o}(F);function eM(t,e,n){p(2,arguments);var r,o,i,a,u,c,s,l,d=f(null!==(r=null!==(o=null!==(i=null!==(a=null==n?void 0:n.weekStartsOn)&&void 0!==a?a:null==n?void 0:null===(u=n.locale)||void 0===u?void 0:null===(c=u.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==i?i:tf.weekStartsOn)&&void 0!==o?o:null===(s=tf.locale)||void 0===s?void 0:null===(l=s.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==r?r:0);if(!(d>=0&&d<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=h(t),b=f(e),m=y.getUTCDay();return y.setUTCDate(y.getUTCDate()+(((b%7+7)%7<d?7:0)+b-m)),y}function eI(t){return(eI="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eU(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function eA(t,e){return(eA=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function eq(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eN(t){return(eN=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eF(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var eH=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eA(t,e)}(i,t);var e,n,r,o=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=eN(i);if(e){var o=eN(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===eI(t)||"function"==typeof t)?t:eq(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return eF(eq(t=o.call.apply(o,[this].concat(n))),"priority",90),eF(eq(t),"incompatibleTokens",["D","i","e","c","t","T"]),t}return n=[{key:"parse",value:function(t,e,n){switch(e){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,n,r){return(t=eM(t,n,r)).setUTCHours(0,0,0,0),t}}],eU(i.prototype,n),r&&eU(i,r),i}(F);function eB(t){return(eB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eL(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function e$(t,e){return(e$=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ez(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eY(t){return(eY=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eW(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var eX=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&e$(t,e)}(i,t);var e,n,r,o=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=eY(i);if(e){var o=eY(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===eB(t)||"function"==typeof t)?t:ez(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return eW(ez(t=o.call.apply(o,[this].concat(n))),"priority",90),eW(ez(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),t}return n=[{key:"parse",value:function(t,e,n,r){var o=function(t){return(t+r.weekStartsOn+6)%7+7*Math.floor((t-1)/7)};switch(e){case"e":case"ee":return G(J(e.length,t),o);case"eo":return G(n.ordinalNumber(t,{unit:"day"}),o);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,n,r){return(t=eM(t,n,r)).setUTCHours(0,0,0,0),t}}],eL(i.prototype,n),r&&eL(i,r),i}(F);function eQ(t){return(eQ="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eG(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
5function eZ(t,e){return(eZ=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function eV(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eK(t){return(eK=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function eJ(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var e0=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eZ(t,e)}(i,t);var e,n,r,o=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=eK(i);if(e){var o=eK(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===eQ(t)||"function"==typeof t)?t:eV(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return eJ(eV(t=o.call.apply(o,[this].concat(n))),"priority",90),eJ(eV(t),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),t}return n=[{key:"parse",value:function(t,e,n,r){var o=function(t){return(t+r.weekStartsOn+6)%7+7*Math.floor((t-1)/7)};switch(e){case"c":case"cc":return G(J(e.length,t),o);case"co":return G(n.ordinalNumber(t,{unit:"day"}),o);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,n,r){return(t=eM(t,n,r)).setUTCHours(0,0,0,0),t}}],eG(i.prototype,n),r&&eG(i,r),i}(F);function e1(t){return(e1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function e3(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function e2(t,e){return(e2=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function e6(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e4(t){return(e4=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function e5(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var e7=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&e2(t,e)}(i,t);var e,n,r,o=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=e4(i);if(e){var o=e4(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===e1(t)||"function"==typeof t)?t:e6(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return e5(e6(t=o.call.apply(o,[this].concat(n))),"priority",90),e5(e6(t),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),t}return n=[{key:"parse",value:function(t,e,n){var r=function(t){return 0===t?7:t};switch(e){case"i":case"ii":return J(e.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return G(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return G(n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return G(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);default:return G(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r)}}},{key:"validate",value:function(t,e){return e>=1&&e<=7}},{key:"set",value:function(t,e,n){return(t=function(t,e){p(2,arguments);var n=f(e);n%7==0&&(n-=7);var r=h(t),o=((n%7+7)%7<1?7:0)+n-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+o),r}(t,n)).setUTCHours(0,0,0,0),t}}],e3(i.prototype,n),r&&e3(i,r),i}(F);function e9(t){return(e9="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function e8(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nt(t,e){return(nt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ne(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
5function nn(t){return(nn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var no=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nt(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=nn(o);if(e){var i=nn(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===e9(t)||"function"==typeof t)?t:ne(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return nr(ne(t=r.call.apply(r,[this].concat(n))),"priority",80),nr(ne(t),"incompatibleTokens",["b","B","H","k","t","T"]),t}return e8(o.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,n){return t.setUTCHours(te(n),0,0,0),t}}]),n&&e8(o,n),o}(F);function ni(t){return(ni="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function na(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nu(t,e){return(nu=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function nc(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ns(t){return(ns=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var nf=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nu(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=ns(o);if(e){var i=ns(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===ni(t)||"function"==typeof t)?t:nc(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return nl(nc(t=r.call.apply(r,[this].concat(n))),"priority",80),nl(nc(t),"incompatibleTokens",["a","B","H","k","t","T"]),t}return na(o.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,n){return t.setUTCHours(te(n),0,0,0),t}}]),n&&na(o,n),o}(F);function np(t){return(np="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}
5function nd(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nh(t,e){return(nh=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ny(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nb(t){return(nb=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var nv=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nh(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=nb(o);if(e){var i=nb(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===np(t)||"function"==typeof t)?t:ny(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return nm(ny(t=r.call.apply(r,[this].concat(n))),"priority",80),nm(ny(t),"incompatibleTokens",["a","b","t","T"]),t}return nd(o.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,n){return t.setUTCHours(te(n),0,0,0),t}}]),n&&nd(o,n),o}(F);function ng(t){return(ng="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nw(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nO(t,e){return(nO=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function n_(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nj(t){return(nj=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nx(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var nC=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nO(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=nj(o);if(e){var i=nj(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===ng(t)||"function"==typeof t)?t:n_(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return nx(n_(t=r.call.apply(r,[this].concat(n))),"priority",70),nx(n_(t),"incompatibleTokens",["H","K","k","t","T"]),t}return nw(o.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"h":return Z(X.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return J(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=12}},{key:"set",value:function(t,e,n){var r=t.getUTCHours()>=12;return r&&n<12?t.setUTCHours(n+12,0,0,0):r||12!==n?t.setUTCHours(n,0,0,0):t.setUTCHours(0,0,0,0),t}}]),n&&nw(o,n),o}(F);function nS(t){return(nS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nT(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nP(t,e){return(nP=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function nk(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
5function nE(t){return(nE=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nR(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var nD=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nP(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=nE(o);if(e){var i=nE(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===nS(t)||"function"==typeof t)?t:nk(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return nR(nk(t=r.call.apply(r,[this].concat(n))),"priority",70),nR(nk(t),"incompatibleTokens",["a","b","h","K","k","t","T"]),t}return nT(o.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"H":return Z(X.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return J(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=23}},{key:"set",value:function(t,e,n){return t.setUTCHours(n,0,0,0),t}}]),n&&nT(o,n),o}(F);function nM(t){return(nM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nI(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nU(t,e){return(nU=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function nA(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nq(t){return(nq=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nN(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var nF=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nU(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=nq(o);if(e){var i=nq(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===nM(t)||"function"==typeof t)?t:nA(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return nN(nA(t=r.call.apply(r,[this].concat(n))),"priority",70),nN(nA(t),"incompatibleTokens",["h","H","k","t","T"]),t}return nI(o.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"K":return Z(X.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return J(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,n){return t.getUTCHours()>=12&&n<12?t.setUTCHours(n+12,0,0,0):t.setUTCHours(n,0,0,0),t}}]),n&&nI(o,n),o}(F);function nH(t){return(nH="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nB(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
5function nL(t,e){return(nL=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function n$(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nz(t){return(nz=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nY(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var nW=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nL(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=nz(o);if(e){var i=nz(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===nH(t)||"function"==typeof t)?t:n$(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return nY(n$(t=r.call.apply(r,[this].concat(n))),"priority",70),nY(n$(t),"incompatibleTokens",["a","b","h","H","K","t","T"]),t}return nB(o.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"k":return Z(X.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return J(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=24}},{key:"set",value:function(t,e,n){return t.setUTCHours(n<=24?n%24:n,0,0,0),t}}]),n&&nB(o,n),o}(F);function nX(t){return(nX="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function nQ(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function nG(t,e){return(nG=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function nZ(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nV(t){return(nV=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function nK(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var nJ=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nG(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=nV(o);if(e){var i=nV(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===nX(t)||"function"==typeof t)?t:nZ(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return nK(nZ(t=r.call.apply(r,[this].concat(n))),"priority",60),nK(nZ(t),"incompatibleTokens",["t","T"]),t}return nQ(o.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"m":return Z(X.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return J(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=59}},{key:"set",value:function(t,e,n){return t.setUTCMinutes(n,0,0),t}}]),n&&nQ(o,n),o}(F);function n0(t){return(n0="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n1(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function n3(t,e){return(n3=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function n2(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
5function n6(t){return(n6=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function n4(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var n5=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n3(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=n6(o);if(e){var i=n6(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===n0(t)||"function"==typeof t)?t:n2(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return n4(n2(t=r.call.apply(r,[this].concat(n))),"priority",50),n4(n2(t),"incompatibleTokens",["t","T"]),t}return n1(o.prototype,[{key:"parse",value:function(t,e,n){switch(e){case"s":return Z(X.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return J(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=59}},{key:"set",value:function(t,e,n){return t.setUTCSeconds(n,0),t}}]),n&&n1(o,n),o}(F);function n7(t){return(n7="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n9(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function n8(t,e){return(n8=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function rt(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function re(t){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function rn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var rr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n8(t,e)}(o,t);var e,n,r=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=re(o);if(e){var i=re(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(t=n)&&("object"===n7(t)||"function"==typeof t)?t:rt(this)});function o(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,o);for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return rn(rt(t=r.call.apply(r,[this].concat(n))),"priority",30),rn(rt(t),"incompatibleTokens",["t","T"]),t}return n9(o.prototype,[{key:"parse",value:function(t,e){return G(J(e.length,t),function(t){return Math.floor(t*Math.pow(10,-e.length+3))})}},{key:"set",value:function(t,e,n){return t.setUTCMilliseconds(n),t}}]),n&&n9(o,n),o}(F);function ro(t){return(ro="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ri(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ra(t,e){return(ra=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ru(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
5function rc(t){return(rc=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function rs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var rl=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}(i,t);var e,n,r,o=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=rc(i);if(e){var o=rc(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===ro(t)||"function"==typeof t)?t:ru(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return rs(ru(t=o.call.apply(o,[this].concat(n))),"priority",10),rs(ru(t),"incompatibleTokens",["t","T","x"]),t}return n=[{key:"parse",value:function(t,e){switch(e){case"X":return V(Q.basicOptionalMinutes,t);case"XX":return V(Q.basic,t);case"XXXX":return V(Q.basicOptionalSeconds,t);case"XXXXX":return V(Q.extendedOptionalSeconds,t);default:return V(Q.extended,t)}}},{key:"set",value:function(t,e,n){return e.timestampIsSet?t:new Date(t.getTime()-n)}}],ri(i.prototype,n),r&&ri(i,r),i}(F);function rf(t){return(rf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rp(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function rd(t,e){return(rd=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function rh(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ry(t){return(ry=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function rb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var rm=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rd(t,e)}(i,t);var e,n,r,o=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=ry(i);if(e){var o=ry(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===rf(t)||"function"==typeof t)?t:rh(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return rb(rh(t=o.call.apply(o,[this].concat(n))),"priority",10),rb(rh(t),"incompatibleTokens",["t","T","X"]),t}return n=[{key:"parse",value:function(t,e){switch(e){case"x":return V(Q.basicOptionalMinutes,t);case"xx":return V(Q.basic,t);case"xxxx":return V(Q.basicOptionalSeconds,t);case"xxxxx":return V(Q.extendedOptionalSeconds,t);default:return V(Q.extended,t)}}},{key:"set",value:function(t,e,n){return e.timestampIsSet?t:new Date(t.getTime()-n)}}],rp(i.prototype,n),r&&rp(i,r),i}(F);function rv(t){return(rv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rg(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}
5function rw(t,e){return(rw=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function rO(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r_(t){return(r_=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function rj(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var rx=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rw(t,e)}(i,t);var e,n,r,o=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=r_(i);if(e){var o=r_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===rv(t)||"function"==typeof t)?t:rO(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return rj(rO(t=o.call.apply(o,[this].concat(n))),"priority",40),rj(rO(t),"incompatibleTokens","*"),t}return n=[{key:"parse",value:function(t){return K(t)}},{key:"set",value:function(t,e,n){return[new Date(1e3*n),{timestampIsSet:!0}]}}],rg(i.prototype,n),r&&rg(i,r),i}(F);function rC(t){return(rC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rS(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function rT(t,e){return(rT=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function rP(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}
5function rk(t){return(rk=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function rE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var rR=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rT(t,e)}(i,t);var e,n,r,o=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n,r=rk(i);if(e){var o=rk(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(t=n)&&("object"===rC(t)||"function"==typeof t)?t:rP(this)});function i(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,i);for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return rE(rP(t=o.call.apply(o,[this].concat(n))),"priority",20),rE(rP(t),"incompatibleTokens","*"),t}return n=[{key:"parse",value:function(t){return K(t)}},{key:"set",value:function(t,e,n){return[new Date(n),{timestampIsSet:!0}]}}],rS(i.prototype,n),r&&rS(i,r),i}(F),rD={G:new W,y:new tl,Y:new tw,R:new tP,u:new tU,Q:new tL,q:new tG,M:new t3,L:new t8,w:new eu,I:new eb,d:new eC,D:new eD,E:new eH,e:new eX,c:new e0,i:new e7,a:new no,b:new nf,B:new nv,h:new nC,H:new nD,K:new nF,k:new nW,m:new nJ,s:new n5,S:new rr,X:new rl,x:new rm,t:new rx,T:new rR};function rM(t){return(rM="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rI(t,e){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(o=function(t,e){if(t){if("string"==typeof t)return rU(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rU(t,e)}}(t))||e&&t&&"number"==typeof t.length){o&&(t=o);var n=0,r=function(){};return{s:r,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i,a=!0,u=!1;return{s:function(){o=t[Symbol.iterator]()},n:function(){var t=o.next();return a=t.done,t},e:function(t){u=!0,i=t},f:function(){try{a||null==o.return||o.return()}finally{if(u)throw i}}}}function rU(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var rA=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,rq=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,rN=/^'([^]*?)'?$/,rF=/''/g,rH=/\S/,rB=/[a-zA-Z]/;function rL(t,e,n,r){p(3,arguments);var o=String(t),i=String(e),a=null!==(s=null!==(d=null==r?void 0:r.locale)&&void 0!==d?d:tf.locale)&&void 0!==s?s:l;if(!a.match)throw RangeError("locale must contain match property");var u=f(null!==(b=null!==(m=null!==(w=null!==(O=null==r?void 0:r.firstWeekContainsDate)&&void 0!==O?O:null==r?void 0:null===(C=r.locale)||void 0===C?void 0:null===(S=C.options)||void 0===S?void 0:S.firstWeekContainsDate)&&void 0!==w?w:tf.firstWeekContainsDate)&&void 0!==m?m:null===(T=tf.locale)||void 0===T?void 0:null===(P=T.options)||void 0===P?void 0:P.firstWeekContainsDate)&&void 0!==b?b:1);if(!(u>=1&&u<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var c=f(null!==(k=null!==(E=null!==(R=null!==(D=null==r?void 0:r.weekStartsOn)&&void 0!==D?D:null==r?void 0:null===(M=r.locale)||void 0===M?void 0:null===(I=M.options)||void 0===I?void 0:I.weekStartsOn)&&void 0!==R?R:tf.weekStartsOn)&&void 0!==E?E:null===(U=tf.locale)||void 0===U?void 0:null===(A=U.options)||void 0===A?void 0:A.weekStartsOn)&&void 0!==k?k:0);if(!(c>=0&&c<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===i)return""===o?h(n):new Date(NaN);
5var s,d,b,m,w,O,C,S,T,P,k,E,R,D,M,I,U,A,N,F={firstWeekContainsDate:u,weekStartsOn:c,locale:a},H=[new q],B=i.match(rq).map(function(t){var e=t[0];return e in v?(0,v[e])(t,a.formatLong):t}).join("").match(rA),L=[],$=rI(B);try{for($.s();!(N=$.n()).done;){var z=function(){var e=N.value;!(null!=r&&r.useAdditionalWeekYearTokens)&&j(e)&&x(e,i,t),!(null!=r&&r.useAdditionalDayOfYearTokens)&&_(e)&&x(e,i,t);var n=e[0],u=rD[n];if(u){var c=u.incompatibleTokens;if(Array.isArray(c)){var s=L.find(function(t){return c.includes(t.token)||t.token===n});if(s)throw RangeError("The format string mustn't contain `".concat(s.fullToken,"` and `").concat(e,"` at the same time"))}else if("*"===u.incompatibleTokens&&L.length>0)throw RangeError("The format string mustn't contain `".concat(e,"` and any other token at the same time"));L.push({token:n,fullToken:e});var l=u.run(o,e,a.match,F);if(!l)return{v:new Date(NaN)};H.push(l.setter),o=l.rest}else{if(n.match(rB))throw RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===e?e="'":"'"===n&&(e=e.match(rN)[1].replace(rF,"'")),0!==o.indexOf(e))return{v:new Date(NaN)};o=o.slice(e.length)}}();if("object"===rM(z))return z.v}}catch(t){$.e(t)}finally{$.f()}if(o.length>0&&rH.test(o))return new Date(NaN);var Y=H.map(function(t){return t.priority}).sort(function(t,e){return e-t}).filter(function(t,e,n){return n.indexOf(t)===e}).map(function(t){return H.filter(function(e){return e.priority===t}).sort(function(t,e){return e.subPriority-t.subPriority})}).map(function(t){return t[0]}),W=h(n);if(isNaN(W.getTime()))return new Date(NaN);var X,Q=y(W,g(W)),G={},Z=rI(Y);try{for(Z.s();!(X=Z.n()).done;){var V=X.value;if(!V.validate(Q,F))return new Date(NaN);var K=V.set(Q,G,F);Array.isArray(K)?(Q=K[0],function(t,e){if(null==t)throw TypeError("assign requires that input parameter not be null or undefined");for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}(G,K[1])):Q=K}}catch(t){Z.e(t)}finally{Z.f()}return Q}function r$(t){return(r$="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rz(t,e){for(var n=Math.abs(t).toString();n.length<e;)n="0"+n;return(t<0?"-":"")+n}var rY={y:function(t,e){var n=t.getUTCFullYear(),r=n>0?n:1-n;return rz("yy"===e?r%100:r,e.length)},M:function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):rz(n+1,2)},d:function(t,e){return rz(t.getUTCDate(),e.length)},a:function(t,e){var n=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(t,e){return rz(t.getUTCHours()%12||12,e.length)},H:function(t,e){return rz(t.getUTCHours(),e.length)},m:function(t,e){return rz(t.getUTCMinutes(),e.length)},s:function(t,e){return rz(t.getUTCSeconds(),e.length)},S:function(t,e){var n=e.length;return rz(Math.floor(t.getUTCMilliseconds()*Math.pow(10,n-3)),e.length)}},rW={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};function rX(t,e){var n=t>0?"-":"+",r=Math.abs(t),o=Math.floor(r/60),i=r%60;return 0===i?n+String(o):n+String(o)+(e||"")+rz(i,2)}function rQ(t,e){return t%60==0?(t>0?"-":"+")+rz(Math.abs(t)/60,2):rG(t,e)}function rG(t,e){var n=Math.abs(t);return(t>0?"-":"+")+rz(Math.floor(n/60),2)+(e||"")+rz(n%60,2)}var rZ={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var r=t.getUTCFullYear();return n.ordinalNumber(r>0?r:1-r,{unit:"year"})}return rY.y(t,e)},Y:function(t,e,n,r){var o=td(t,r),i=o>0?o:1-o;return"YY"===e?rz(i%100,2):"Yo"===e?n.ordinalNumber(i,{unit:"year"}):rz(i,e.length)},R:function(t,e){return rz(ec(t),e.length)},u:function(t,e){return rz(t.getUTCFullYear(),e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return rz(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return rz(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case"M":case"MM":return rY.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return rz(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){var o=et(t,r);return"wo"===e?n.ordinalNumber(o,{unit:"week"}):rz(o,e.length)},I:function(t,e,n){var r=es(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):rz(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):rY.d(t,e)},D:function(t,e,n){var r=function(t){p(1,arguments);var e=h(t),n=e.getTime();return e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0),Math.floor((n-e.getTime())/864e5)+1}(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):rz(r,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var o=t.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return rz(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var o=t.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return rz(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),o=0===r?7:r;switch(e){case"i":return String(o);case"ii":return rz(o,e.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,o=t.getUTCHours();switch(r=12===o?rW.noon:0===o?rW.midnight:o/12>
5=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,o=t.getUTCHours();switch(r=o>=17?rW.evening:o>=12?rW.afternoon:o>=4?rW.morning:rW.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return rY.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):rY.H(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):rz(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return(0===r&&(r=24),"ko"===e)?n.ordinalNumber(r,{unit:"hour"}):rz(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):rY.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):rY.s(t,e)},S:function(t,e){return rY.S(t,e)},X:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return rQ(o);case"XXXX":case"XX":return rG(o);default:return rG(o,":")}},x:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();switch(e){case"x":return rQ(o);case"xxxx":case"xx":return rG(o);default:return rG(o,":")}},O:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+rX(o,":");default:return"GMT"+rG(o,":")}},z:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+rX(o,":");default:return"GMT"+rG(o,":")}},t:function(t,e,n,r){return rz(Math.floor((r._originalDate||t).getTime()/1e3),e.length)},T:function(t,e,n,r){return rz((r._originalDate||t).getTime(),e.length)}},rV=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,rK=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,rJ=/^'([^]*?)'?$/,r0=/''/g,r1=/[a-zA-Z]/;function r3(t,e,n){p(2,arguments);var r,o,i,a,u,c,s,d,b,m,w,O,C,S,T,P,k,E,R=String(e),D=null!==(r=null!==(o=null==n?void 0:n.locale)&&void 0!==o?o:tf.locale)&&void 0!==r?r:l,M=f(null!==(i=null!==(a=null!==(u=null!==(c=null==n?void 0:n.firstWeekContainsDate)&&void 0!==c?c:null==n?void 0:null===(s=n.locale)||void 0===s?void 0:null===(d=s.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==u?u:tf.firstWeekContainsDate)&&void 0!==a?a:null===(b=tf.locale)||void 0===b?void 0:null===(m=b.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==i?i:1);if(!(M>=1&&M<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var I=f(null!==(w=null!==(O=null!==(C=null!==(S=null==n?void 0:n.weekStartsOn)&&void 0!==S?S:null==n?void 0:null===(T=n.locale)||void 0===T?void 0:null===(P=T.options)||void 0===P?void 0:P.weekStartsOn)&&void 0!==C?C:tf.weekStartsOn)&&void 0!==O?O:null===(k=tf.locale)||void 0===k?void 0:null===(E=k.options)||void 0===E?void 0:E.weekStartsOn)&&void 0!==w?w:0);if(!(I>=0&&I<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!D.localize)throw RangeError("locale must contain localize property");if(!D.formatLong)throw RangeError("locale must contain formatLong property");var U=h(t);if(!function(t){return p(1,arguments),(!!function(t){return p(1,arguments),t instanceof Date||"object"===r$(t)&&"[object Date]"===Object.prototype.toString.call(t)}(t)||"number"==typeof t)&&!isNaN(Number(h(t)))}(U))throw RangeError("Invalid time value");var A=g(U),q=y(U,A),N={firstWeekContainsDate:M,weekStartsOn:I,locale:D,_originalDate:U};return R.match(rK).map(function(t){var e=t[0];return"p"===e||"P"===e?(0,v[e])(t,D.formatLong):t}).join("").match(rV).map(function(r){if("''"===r)return"'";var o,i=r[0];if("'"===i)return(o=r.match(rJ))?o[1].replace(r0,"'"):r;var a=rZ[i];if(a)return!(null!=n&&n.useAdditionalWeekYearTokens)&&j(r)&&x(r,e,String(t)),!(null!=n&&n.useAdditionalDayOfYearTokens)&&_(r)&&x(r,e,String(t)),a(q,r,D.localize,N);
5if(i.match(r1))throw RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return r}).join("")}let r2="dd.MM.yyyy",r6="yyyy-MM-dd",r4=(t,e)=>{let n=rL(t,r6,new Date),r=rL(e,r6,new Date),o=r3(n,!function(t,e){p(2,arguments);var n=h(t),r=h(e);return n.getFullYear()===r.getFullYear()}(n,r)?r2:"dd.MM"),i=r3(r,r2);return"".concat(o,"â").concat(i)},r5="h:mm a",r7=t=>{let e=new Date,n=(function(t){return p(1,arguments),h(t).getDay()}(e)+6)%7,r=t[n],o=r.availableTimes.map(t=>({from:rL(t.from,r5,e),to:rL(t.to,r5,e)}));return o.some(t=>(function(t,e){p(2,arguments);var n=h(t),r=h(e);return n.getTime()>r.getTime()})(e,t.from)&&function(t,e){p(2,arguments);var n=h(t),r=h(e);return n.getTime()<r.getTime()}(e,t.to))}},9959:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDomainLocale=function(t,e,n,r){return!1},("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},30:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(6495).Z,o=n(2648).Z,i=n(1598).Z,a=n(7273).Z,u=i(n(5784)),c=o(n(5322)),s=n(9642),l=n(931),f=n(601);n(2437);var p=o(n(7112));let d={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function h(t){return void 0!==t.default}function y(t){return"number"==typeof t||void 0===t?t:"string"==typeof t&&/^[0-9]+$/.test(t)?parseInt(t,10):NaN}function b(t,e,n,o,i,a,u){if(!t||t["data-loaded-src"]===e)return;t["data-loaded-src"]=e;let c="decode"in t?t.decode():Promise.resolve();c.catch(()=>{}).then(()=>{if(t.parentNode){if("blur"===n&&a(!0),null==o?void 0:o.current){let e=new Event("load");Object.defineProperty(e,"target",{writable:!1,value:t});let n=!1,i=!1;o.current(r({},e,{nativeEvent:e,currentTarget:t,target:t,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,e.preventDefault()},stopPropagation:()=>{i=!0,e.stopPropagation()}}))}(null==i?void 0:i.current)&&i.current(t)}})}let m=u.forwardRef((t,e)=>{var{imgAttributes:n,heightInt:o,widthInt:i,qualityInt:c,className:s,imgStyle:l,blurStyle:f,isLazy:p,fill:d,placeholder:h,loading:y,srcString:m,config:v,unoptimized:g,loader:w,onLoadRef:O,onLoadingCompleteRef:_,setBlurComplete:j,setShowAltText:x,onLoad:C,onError:S}=t,T=a(t,["imgAttributes","heightInt","widthInt","qualityInt","className","imgStyle","blurStyle","isLazy","fill","placeholder","loading","srcString","config","unoptimized","loader","onLoadRef","onLoadingCompleteRef","setBlurComplete","setShowAltText","onLoad","onError"]);return y=p?"lazy":y,u.default.createElement(u.default.Fragment,null,u.default.createElement("img",Object.assign({},T,n,{width:i,height:o,decoding:"async","data-nimg":d?"fill":"1",className:s,loading:y,style:r({},l,f),ref:u.useCallback(t=>{e&&("function"==typeof e?e(t):"object"==typeof e&&(e.current=t)),t&&(S&&(t.src=t.src),t.complete&&b(t,m,h,O,_,j,g))},[m,h,O,_,j,S,g,e]),onLoad:t=>{let e=t.currentTarget;b(e,m,h,O,_,j,g)},onError:t=>{x(!0),"blur"===h&&j(!0),S&&S(t)}})))}),v=u.forwardRef((t,e)=>{let n,o;var i,{src:b,sizes:v,unoptimized:g=!1,priority:w=!1,loading:O,className:_,quality:j,width:x,height:C,fill:S,style:T,onLoad:P,onLoadingComplete:k,placeholder:E="empty",blurDataURL:R,layout:D,objectFit:M,objectPosition:I,lazyBoundary:U,lazyRoot:A}=t,q=a(t,["src","sizes","unoptimized","priority","loading","className","quality","width","height","fill","style","onLoad","onLoadingComplete","placeholder","blurDataURL","layout","objectFit","objectPosition","lazyBoundary","lazyRoot"]);let N=u.useContext(f.ImageConfigContext),F=u.useMemo(()=>{let t=d||N||l.imageConfigDefault,e=[...t.deviceSizes,...t.imageSizes].sort((t,e)=>t-e),n=t.deviceSizes.sort((t,e)=>t-e);return r({},t,{allSizes:e,deviceSizes:n})},[N]),H=q,B=H.loader||p.default;delete H.loader;let L="__next_img_default"in B;if(L){if("custom"===F.loader)throw Error('Image with src "'.concat(b,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}else{let t=B;B=e=>{let{config:n}=e,r=a(e,["config"]);return t(r)}}if(D){"fill"===D&&(S=!0);let t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[D];t&&(T=r({},T,t));let e={responsive:"100vw",fill:"100vw"}[D];e&&!v&&(v=e)}let $="",z=y(x),Y=y(C);
5if("object"==typeof(i=b)&&(h(i)||void 0!==i.src)){let t=h(b)?b.default:b;if(!t.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(t)));if(!t.height||!t.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(t)));if(n=t.blurWidth,o=t.blurHeight,R=R||t.blurDataURL,$=t.src,!S){if(z||Y){if(z&&!Y){let e=z/t.width;Y=Math.round(t.height*e)}else if(!z&&Y){let e=Y/t.height;z=Math.round(t.width*e)}}else z=t.width,Y=t.height}}let W=!w&&("lazy"===O||void 0===O);((b="string"==typeof b?b:$).startsWith("data:")||b.startsWith("blob:"))&&(g=!0,W=!1),F.unoptimized&&(g=!0),L&&b.endsWith(".svg")&&!F.dangerouslyAllowSVG&&(g=!0);let[X,Q]=u.useState(!1),[G,Z]=u.useState(!1),V=y(j),K=Object.assign(S?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:M,objectPosition:I}:{},G?{}:{color:"transparent"},T),J="blur"===E&&R&&!X?{backgroundSize:K.objectFit||"cover",backgroundPosition:K.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:'url("data:image/svg+xml;charset=utf-8,'.concat(s.getImageBlurSvg({widthInt:z,heightInt:Y,blurWidth:n,blurHeight:o,blurDataURL:R}),'")')}:{},tt=function(t){let{config:e,src:n,unoptimized:r,width:o,quality:i,sizes:a,loader:u}=t;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:c,kind:s}=function(t,e,n){let{deviceSizes:r,allSizes:o}=t;if(n){let t=/(^|\s)(1?\d?\d)vw/g,e=[];for(let r;r=t.exec(n);r)e.push(parseInt(r[2]));if(e.length){let t=.01*Math.min(...e);return{widths:o.filter(e=>e>=r[0]*t),kind:"w"}}return{widths:o,kind:"w"}}if("number"!=typeof e)return{widths:r,kind:"w"};let i=[...new Set([e,2*e].map(t=>o.find(e=>e>=t)||o[o.length-1]))];return{widths:i,kind:"x"}}(e,o,a),l=c.length-1;return{sizes:a||"w"!==s?a:"100vw",srcSet:c.map((t,r)=>"".concat(u({config:e,src:n,quality:i,width:t})," ").concat("w"===s?t:r+1).concat(s)).join(", "),src:u({config:e,src:n,quality:i,width:c[l]})}}({config:F,src:b,unoptimized:g,width:z,quality:V,sizes:v,loader:B}),te=b,tn={imageSrcSet:tt.srcSet,imageSizes:tt.sizes,crossOrigin:H.crossOrigin},tr=u.useRef(P);u.useEffect(()=>{tr.current=P},[P]);let to=u.useRef(k);u.useEffect(()=>{to.current=k},[k]);let ti=r({isLazy:W,imgAttributes:tt,heightInt:Y,widthInt:z,qualityInt:V,className:_,imgStyle:K,blurStyle:J,loading:O,config:F,fill:S,unoptimized:g,placeholder:E,loader:B,srcString:te,onLoadRef:tr,onLoadingCompleteRef:to,setBlurComplete:Q,setShowAltText:Z},H);return u.default.createElement(u.default.Fragment,null,u.default.createElement(m,Object.assign({},ti,{ref:e})),w?u.default.createElement(c.default,null,u.default.createElement("link",Object.assign({key:"__nimg-"+tt.src+tt.srcSet+tt.sizes,rel:"preload",as:"image",href:tt.srcSet?void 0:tt.src},tn))):null)});e.default=v,("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},4090:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(2648).Z,o=n(7273).Z,i=r(n(5784)),a=n(3777),u=n(2962),c=n(5463),s=n(4825),l=n(2568),f=n(2127),p=n(9959),d=n(3795);let h=new Set;function y(t,e,n,r){if(a.isLocalURL(e)){if(!r.bypassPrefetchedCheck){let o=void 0!==r.locale?r.locale:"locale"in t?t.locale:void 0,i=e+"%"+n+"%"+o;if(h.has(i))return;h.add(i)}Promise.resolve(t.prefetch(e,n,r)).catch(t=>{})}}function b(t){return"string"==typeof t?t:u.formatUrl(t)}let m=i.default.forwardRef(function(t,e){let n,r;let{href:u,as:h,children:m,prefetch:v,passHref:g,replace:w,shallow:O,scroll:_,locale:j,onClick:x,onMouseEnter:C,onTouchStart:S,legacyBehavior:T=!1}=t,P=o(t,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=m,T&&("string"==typeof n||"number"==typeof n)&&(n=i.default.createElement("a",null,n));let k=!1!==v,E=i.default.useContext(s.RouterContext),R=i.default.useContext(l.AppRouterContext),D=null!=E?E:R,M=!E,{href:I,as:U}=i.default.useMemo(()=>
5{if(!E){let t=b(u);return{href:t,as:h?b(h):t}}let[t,e]=a.resolveHref(E,u,!0);return{href:t,as:h?a.resolveHref(E,h):e||t}},[E,u,h]),A=i.default.useRef(I),q=i.default.useRef(U);T&&(r=i.default.Children.only(n));let N=T?r&&"object"==typeof r&&r.ref:e,[F,H,B]=f.useIntersection({rootMargin:"200px"}),L=i.default.useCallback(t=>{(q.current!==U||A.current!==I)&&(B(),q.current=U,A.current=I),F(t),N&&("function"==typeof N?N(t):"object"==typeof N&&(N.current=t))},[U,N,I,B,F]);i.default.useEffect(()=>{D&&H&&k&&y(D,I,U,{locale:j})},[U,I,H,j,k,null==E?void 0:E.locale,D]);let $={ref:L,onClick(t){T||"function"!=typeof x||x(t),T&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(t),D&&!t.defaultPrevented&&function(t,e,n,r,o,u,c,s,l,f){let{nodeName:p}=t.currentTarget,d="A"===p.toUpperCase();if(d&&(function(t){let{target:e}=t.currentTarget;return e&&"_self"!==e||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which}(t)||!a.isLocalURL(n)))return;t.preventDefault();let h=()=>{"beforePopState"in e?e[o?"replace":"push"](n,r,{shallow:u,locale:s,scroll:c}):e[o?"replace":"push"](r||n,{forceOptimisticNavigation:!f})};l?i.default.startTransition(h):h()}(t,D,I,U,w,O,_,j,M,k)},onMouseEnter(t){T||"function"!=typeof C||C(t),T&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(t),D&&(k||!M)&&y(D,I,U,{locale:j,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart(t){T||"function"!=typeof S||S(t),T&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(t),D&&(k||!M)&&y(D,I,U,{locale:j,priority:!0,bypassPrefetchedCheck:!0})}};if(!T||g||"a"===r.type&&!("href"in r.props)){let t=void 0!==j?j:null==E?void 0:E.locale,e=(null==E?void 0:E.isLocaleDomain)&&p.getDomainLocale(U,t,null==E?void 0:E.locales,null==E?void 0:E.domainLocales);$.href=e||d.addBasePath(c.addLocale(U,t,null==E?void 0:E.defaultLocale))}return T?i.default.cloneElement(r,$):i.default.createElement("a",Object.assign({},P,$),n)});e.default=m,("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},2127:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useIntersection=function(t){let{rootRef:e,rootMargin:n,disabled:c}=t,s=c||!i,[l,f]=r.useState(!1),p=r.useRef(null),d=r.useCallback(t=>{p.current=t},[]);r.useEffect(()=>{if(i){if(s||l)return;let t=p.current;if(t&&t.tagName){let r=function(t,e,n){let{id:r,observer:o,elements:i}=function(t){let e;let n={root:t.root||null,margin:t.rootMargin||""},r=u.find(t=>t.root===n.root&&t.margin===n.margin);if(r&&(e=a.get(r)))return e;let o=new Map,i=new IntersectionObserver(t=>{t.forEach(t=>{let e=o.get(t.target),n=t.isIntersecting||t.intersectionRatio>0;e&&n&&e(n)})},t);return e={id:n,observer:i,elements:o},u.push(n),a.set(n,e),e}(n);return i.set(t,e),o.observe(t),function(){if(i.delete(t),o.unobserve(t),0===i.size){o.disconnect(),a.delete(r);let t=u.findIndex(t=>t.root===r.root&&t.margin===r.margin);t>-1&&u.splice(t,1)}}}(t,t=>t&&f(t),{root:null==e?void 0:e.current,rootMargin:n});return r}}else if(!l){let t=o.requestIdleCallback(()=>f(!0));return()=>o.cancelIdleCallback(t)}},[s,n,e,l,p.current]);let h=r.useCallback(()=>{f(!1)},[]);return[d,l,h]};var r=n(5784),o=n(672);let i="function"==typeof IntersectionObserver,a=new Map,u=[];("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},9642:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getImageBlurSvg=function(t){let{widthInt:e,heightInt:n,blurWidth:r,blurHeight:o,blurDataURL:i}=t,a=r||e,u=o||n,c=i.startsWith("data:image/jpeg")?"%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%":"";return a&&u?"%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 ".concat(a," ").concat(u,"'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='").concat(r&&o?"1":"20","'/%3E").concat(c,"%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='").concat(i,"'/%3E%3C/svg%3E"):"%3Csvg xmlns='http%3A//www.w3.org/2000/svg'%3E%3Cimage style='filter:blur(20px)' x='0' y='0' height='100%25' width='100%25' href='".concat(i,"'/%3E%3C/svg%3E")}},7112:function(t,e){"use strict";function n(t){let{config:e,src:n,width:r,quality:o}=t;return"".concat(e.path,"?url=").concat(encodeURIComponent(n),"&w=").concat(r,"&q=").concat(o||75)}
5Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n.__next_img_default=!0,e.default=n},3178:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return T}});var r=n(1844),o=n(8845),i=n.n(o),a=n(9008),u=n.n(a),c=n(4888),s=n.n(c),l=n(3467),f=n.n(l),p=n(6092),d=n(7744),h=n(490),y=n.n(h);let b=t=>{let{footer:e}=t;return(0,r.jsxs)("footer",{className:y().container,children:[(0,r.jsx)("div",{className:y().status,children:(0,d.j)(e.openingHours)?"Open":"Closed"}),(0,r.jsx)("div",{className:y().openingHours,children:(0,r.jsx)(p.Z,{value:e.openingHoursText})}),(0,r.jsx)("div",{className:y().contact,children:(0,r.jsx)(p.Z,{value:e.contact})}),(0,r.jsx)("div",{className:y().disclaimer,children:(0,r.jsx)(p.Z,{value:e.disclaimer})})]})};var m=n(1664),v=n.n(m),g=n(9549),w=n.n(g);let O=()=>(0,r.jsxs)("nav",{className:w().navbar,children:[(0,r.jsx)(v(),{href:"/",className:w().root,children:"MELK"}),(0,r.jsx)(v(),{href:"/exhibitions",children:"Exhibitions"}),(0,r.jsx)(v(),{href:"/artists",children:"Artists"})]});var _=n(9672),j=n.n(_);let x=t=>{let{children:e,footer:n}=t;return(0,r.jsxs)("div",{className:[j().container,s().variable,f().variable].join(" "),children:[(0,r.jsx)(O,{}),(0,r.jsx)("main",{className:j().content,children:e}),(0,r.jsx)(b,{footer:n})]})};var C=n(7803);function S(t){let{Component:e,pageProps:n,footer:o}=t,{drawLayout:i=!0}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(u(),{children:[(0,r.jsx)("script",{defer:!0,"data-domain":"melkgalleri.no",src:"https://plausible.io/js/script.js"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"}),(0,r.jsx)("link",{rel:"manifest",href:"/site.webmanifest"}),(0,r.jsx)("link",{rel:"mask-icon",href:"/safari-pinned-tab.svg",color:"#5bbad5"}),(0,r.jsx)("meta",{name:"msapplication-TileColor",content:"#da532c"}),(0,r.jsx)("meta",{name:"theme-color",content:"#ffffff"})]}),i?(0,r.jsx)(x,{footer:o,children:(0,r.jsx)(e,{...n})}):(0,r.jsx)(e,{...n})]})}n(6437),S.getInitialProps=async t=>{let e=await i().getInitialProps(t),n=await C.L.fetch('*[_type == "settings" && _id == "settings"][0] {\n "contact": footerContact,\n "disclaimer": footerDisclaimer,\n "openingHoursText": footerOpeningHours,\n "openingHours": openingHours\n }');return{...e,footer:n}};var T=S},3467:function(t){t.exports={style:{fontFamily:"'__STKBureau_5f54fc', '__STKBureau_Fallback_5f54fc'"},className:"__className_5f54fc",variable:"__variable_5f54fc"}},4888:function(t){t.exports={style:{fontFamily:"'__STKRuby_cfb3e6', '__STKRuby_Fallback_cfb3e6'"},className:"__className_cfb3e6",variable:"__variable_cfb3e6"}},1987:function(t,e,n){!function(){var e={477:function(t){"use strict";t.exports=n(7334)}},r={};function o(t){var n=r[t];if(void 0!==n)return n.exports;var i=r[t]={exports:{}},a=!0;try{e[t](i,i.exports,o),a=!1}finally{a&&delete r[t]}return i.exports}o.ab="//";var i={};!function(){var t,e=i,n=(t=o(477))&&"object"==typeof t&&"default"in t?t.default:t,r=/https?|ftp|gopher|file/;function a(t){"string"==typeof t&&(t=v(t));var e,o,i,a,u,c,s,l,f,p=(o=(e=t).auth,i=e.hostname,a=e.protocol||"",u=e.pathname||"",c=e.hash||"",s=e.query||"",l=!1,o=o?encodeURIComponent(o).replace(/%3A/i,":")+"@":"",e.host?l=o+e.host:i&&(l=o+(~i.indexOf(":")?"["+i+"]":i),e.port&&(l+=":"+e.port)),s&&"object"==typeof s&&(s=n.encode(s)),f=e.search||s&&"?"+s||"",a&&":"!==a.substr(-1)&&(a+=":"),e.slashes||(!a||r.test(a))&&!1!==l?(l="//"+(l||""),u&&"/"!==u[0]&&(u="/"+u)):l||(l=""),c&&"#"!==c[0]&&(c="#"+c),f&&"?"!==f[0]&&(f="?"+f),{protocol:a,host:l,pathname:u=u.replace(/[?#]/g,encodeURIComponent),search:f=f.replace("#","%23"),hash:c});return""+p.protocol+p.host+p.pathname+p.search+p.hash}var u="http://",c=u+"w.w",s=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,l=/https?|ftp|gopher|file/;function f(t,e){var n="string"==typeof t?v(t):t;t="object"==typeof t?a(t):t;var r=v(e),o="";n.protocol&&!n.slashes&&(o=n.protocol,t=t.replace(n.protocol,""),o+="/"===e[0]||"/"===t[0]?"/":""),o&&r.protocol&&(o="",r.slashes||(o=r.protocol,e=e.replace(r.protocol,"")));var i=t.match(s);i&&!r.protocol&&(t=t.substr((o=i[1]+(i[2]||"")).length),/^\/\/[^/]/.test(e)&&(o=o.slice(0,-1)));var f=new URL(t,c+"/"),p=new URL(e,f).toString().replace(c,""),d=r.protocol||n.protocol;return d+=n.slashes||r.slashes?"//":"",!o&&d?p=p.replace(u,d):o&&(p=p.replace(u,"")),l.test(p)||~e.indexOf(".")||"/"===t.slice(-1)||"/"===e.slice(-1)||"/"!==p.slice(-1)||(p=p.slice(0,-1)),o&&(p=o+("/"===p[0]?p.substr(1):p)),p}function p(){}p.prototype.parse=v,p.prototype.format=a,p.prototype.resolve=f,p.prototype.resolveObject=f;var d=/^https?|ftp|gopher|file/,h=/^(.*?)([#?].*)/,y=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,b=/^([a-z0-9.+-]*:)?\/\/\/*/i,m=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function v(t,e,r){if(void 0===e&&(e=!1),void 0===r&&(r=!1),t&&"object"==typeof t&&t instanceof p)return t;var o=(t=t.trim()).match(h);t=o?o[1].replace(/\\/g,"/")+o[2]:t.replace(/\\/g,"/"),m.test(t)&&"/"!==t.slice(-1)&&(t+="/");var i=!/(^javascript)/.test(t)&&t.match(y),u=b.test(t),s="";i&&(d.test(i[1])||(s=i[1].toLowerCase(),t=""+i[2]+i[3]),i[2]||(u=!1,d.test(i[1])?(s=i[1],t=""+i[3]):t="//"+i[3]),3!==i[2].length&&1!==i[2].length||(s=i[1],t="/"+i[3]));var l,f=(o?o[1]:t).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),v=f&&f[1],g=new p,w="",O="";try{l=new URL(t)}catch(e){w=e,s||r||!/^\/\//.test(t)||/^\/\/.+[@.]/.test(t)||(O="/",t=t.substr(1));try{l=new URL(t,c)}catch(t){return g.protocol=s,g.href=s,g}}g.slashes=u&&!O,g.host="w.w"===l.host?"":l.host,g.hostname="w.w"===l.hostname?"":l.hostname.replace(/(\[|\])/g,""),g.protocol=w?s||null:l.protocol,g.search=l.search.replace(/\\/g,"%5C"),g.hash=l.hash.replace(/\\/g,"%5C");var _=t.split("#");!g.search&&~_[0].indexOf("?")&&(g.search="?"),g.hash||""!==_[1]||(g.hash="#"),g.query=e?n.decode(l.search.substr(1)):g.search.substr(1),g.pathname=O+(i?l.pathname.replace(/['^|`]/g,function(t){return"%"+t.charCodeAt().toString(16).toUpperCase()}).replace(/((?:%[0-9A-F]{2})+)/g,function(t,e){try{return decodeURIComponent(e).split("").map(function(t){var e=t.charCodeAt();return e>256||/^[a-z0-9]$/i.test(t)?t:"%"+e.toString(16).toUpperCase()}).join("")}catch(t){return e}}):l.pathname),"about:"===g.protocol&&"blank"===g.pathname&&(g.protocol="",g.pathname=""),w&&"/"!==t[0]&&(g.pathname=g.pathname.substr(1)),s&&!d.test(s)&&"/"!==t.slice(-1)&&"/"===g.pathname&&(g.pathname=""),g.path=g.pathname+g.search,g.auth=[l.username,l.password].map(decodeURIComponent).filter(
5Boolean).join(":"),g.port=l.port,v&&!g.host.endsWith(v)&&(g.host+=v,g.port=v.slice(1)),g.href=O?""+g.pathname+g.search+g.hash:a(g);var j=/^(file)/.test(g.href)?["host","hostname"]:[];return Object.keys(g).forEach(function(t){~j.indexOf(t)||(g[t]=g[t]||null)}),g}e.parse=v,e.format=a,e.resolve=f,e.resolveObject=function(t,e){return v(f(t,e))},e.Url=p}(),t.exports=i}()},7334:function(t){!function(){"use strict";var e,n={815:function(t){t.exports=function(t,n,r,o){n=n||"&",r=r||"=";var i={};if("string"!=typeof t||0===t.length)return i;var a=/\+/g;t=t.split(n);var u=1e3;o&&"number"==typeof o.maxKeys&&(u=o.maxKeys);var c=t.length;u>0&&c>u&&(c=u);for(var s=0;s<c;++s){var l,f,p,d,h=t[s].replace(a,"%20"),y=h.indexOf(r);(y>=0?(l=h.substr(0,y),f=h.substr(y+1)):(l=h,f=""),p=decodeURIComponent(l),d=decodeURIComponent(f),Object.prototype.hasOwnProperty.call(i,p))?e(i[p])?i[p].push(d):i[p]=[i[p],d]:i[p]=d}return i};var e=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},577:function(t){var e=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,i,a,u){return(i=i||"&",a=a||"=",null===t&&(t=void 0),"object"==typeof t)?r(o(t),function(o){var u=encodeURIComponent(e(o))+a;return n(t[o])?r(t[o],function(t){return u+encodeURIComponent(e(t))}).join(i):u+encodeURIComponent(e(t[o]))}).join(i):u?encodeURIComponent(e(u))+a+encodeURIComponent(e(t)):""};var n=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function r(t,e){if(t.map)return t.map(e);for(var n=[],r=0;r<t.length;r++)n.push(e(t[r],r));return n}var o=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e}}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={exports:{}},a=!0;try{n[t](i,i.exports,o),a=!1}finally{a&&delete r[t]}return i.exports}o.ab="//";var i={};(e=i).decode=e.parse=o(815),e.encode=e.stringify=o(577),t.exports=i}()},9803:function(t,e,n){"use strict";/** 6 * @license React 7 * react-jsx-runtime.production.min.js 8 * 9 * Copyright (c) Meta Platforms, Inc. and affiliates. 10 * 11 * This source code is licensed under the MIT license found in the 12 * LICENSE file in the root directory of this source tree. 13 */var r=n(5784),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,u=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function s(t,e,n){var r,i={},s=null,l=null;
13for(r in void 0!==n&&(s=""+n),void 0!==e.key&&(s=""+e.key),void 0!==e.ref&&(l=e.ref),e)a.call(e,r)&&!c.hasOwnProperty(r)&&(i[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===i[r]&&(i[r]=e[r]);return{$$typeof:o,type:t,key:s,ref:l,props:i,_owner:u.current}}e.Fragment=i,e.jsx=s,e.jsxs=s},1844:function(t,e,n){"use strict";t.exports=n(9803)},9008:function(t,e,n){t.exports=n(5322)},5675:function(t,e,n){t.exports=n(30)},1664:function(t,e,n){t.exports=n(4090)},4947:function(t){var e=function(t){return t.replace(/^\s+|\s+$/g,"")};t.exports=function(t){if(!t)return{};for(var n={},r=e(t).split("\n"),o=0;o<r.length;o++){var i,a=r[o],u=a.indexOf(":"),c=e(a.slice(0,u)).toLowerCase(),s=e(a.slice(u+1));void 0===n[c]?n[c]=s:(i=n[c],"[object Array]"===Object.prototype.toString.call(i))?n[c].push(s):n[c]=[n[c],s]}return n}},7129:function(t,e){"use strict";var n,r=Object.prototype.hasOwnProperty;function o(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(t){return null}}function i(t){try{return encodeURIComponent(t)}catch(t){return null}}e.stringify=function(t,e){var o,a,u=[];for(a in"string"!=typeof(e=e||"")&&(e="?"),t)if(r.call(t,a)){if(!(o=t[a])&&(null===o||o===n||isNaN(o))&&(o=""),a=i(a),o=i(o),null===a||null===o)continue;u.push(a+"="+o)}return u.length?e+u.join("&"):""},e.parse=function(t){for(var e,n=/([^=?#&]+)=?([^&]*)/g,r={};e=n.exec(t);){var i=o(e[1]),a=o(e[2]);null===i||null===a||i in r||(r[i]=a)}return r}},7418:function(t){"use strict";t.exports=function(t,e){if(e=e.split(":")[0],!(t=+t))return!1;switch(e){case"http":case"ws":return 80!==t;case"https":case"wss":return 443!==t;case"ftp":return 21!==t;case"gopher":return 70!==t;case"file":return!1}return 0!==t}},7215:function(t,e,n){"use strict";var r=n(1987);t.exports=function(t,e,n){if(t===e)return!0;var o=r.parse(t,!1,!0),i=r.parse(e,!1,!0),a=0|o.port||("https"===o.protocol?443:80),u=0|i.port||("https"===i.protocol?443:80),c={proto:o.protocol===i.protocol,hostname:o.hostname===i.hostname,port:a===u};return c.proto&&c.hostname&&(c.port||n)}},4564:function(t,e,n){"use strict";var r=n(7418),o=n(7129),i=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,a=/[\n\r\t]/g,u=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,c=/:\d+$/,s=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,l=/^[a-zA-Z]:/;function f(t){return(t||"").toString().replace(i,"")}var p=[["#","hash"],["?","query"],function(t,e){return y(e.protocol)?t.replace(/\\/g,"/"):t},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],d={hash:1,query:1};function h(t){var e,r=("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{}).location||{},o={},i=typeof(t=t||r);if("blob:"===t.protocol)o=new m(unescape(t.pathname),{});else if("string"===i)for(e in o=new m(t,{}),d)delete o[e];else if("object"===i){for(e in t)e in d||(o[e]=t[e]);void 0===o.slashes&&(o.slashes=u.test(t.href))}return o}function y(t){return"file:"===t||"ftp:"===t||"http:"===t||"https:"===t||"ws:"===t||"wss:"===t}function b(t,e){t=(t=f(t)).replace(a,""),e=e||{};var n,r=s.exec(t),o=r[1]?r[1].toLowerCase():"",i=!!r[2],u=!!r[3],c=0;return i?u?(n=r[2]+r[3]+r[4],c=r[2].length+r[3].length):(n=r[2]+r[4],c=r[2].length):u?(n=r[3]+r[4],c=r[3].length):n=r[4],"file:"===o?c>=2&&(n=n.slice(2)):y(o)?n=r[4]:o?i&&(n=n.slice(2)):c>=2&&y(e.protocol)&&(n=r[4]),{protocol:o,slashes:i||y(o),slashesCount:c,rest:n}}function m(t,e,n){if(t=(t=f(t)).replace(a,""),!(this instanceof m))return new m(t,e,n);var i,u,c,s,d,v,g=p.slice(),w=typeof e,O=this,_=0;for("object"!==w&&"string"!==w&&(n=e,e=null),n&&"function"!=typeof n&&(n=o.parse),e=h(e),i=!(u=b(t||"",e)).protocol&&!u.slashes,O.slashes=u.slashes||i&&e.slashes,O.protocol=u.protocol||e.protocol||"",t=u.rest,("file:"===u.protocol&&(2!==u.slashesCount||l.test(t))||!u.slashes&&(u.protocol||u.slashesCount<2||!y(O.protocol)))&&(g[3]=[/(.*)/,"pathname"]);_<g.length;_++){if("function"==typeof(s=g[_])){t=s(t,O);continue}c=s[0],v=s[1],c!=c?O[v]=t:"string"==typeof c?~(d="@"===c?t.lastIndexOf(c):t.indexOf(c))&&("number"==typeof s[2]?(O[v]=t.slice(0,d),t=t.slice(d+s[2])):(O[v]=t.slice(d),t=t.slice(0,d))):(d=c.exec(t))&&(O[v]=d[1],t=t.slice(0,d.index)),O[v]=O[v]||i&&s[3]&&e[v]||"",s[4]&&(O[v]=O[v].toLowerCase())}n&&(O.query=n(O.query)),i&&e.slashes&&"/"!==O.pathname.charAt(0)&&(""!==O.pathname||""!==e.pathname)&&(O.pathname=function(t,e){if(""===t)return e;for(var n=(e||"/").split("/").slice(0,-1).concat(t.split("/")),r=n.length,o=n[r-1],i=!1,a=0;r--;)"."===n[r]?n.splice(r,1):".."===n[r]?(n.splice(r,1),a++):a&&(0===r&&(i=!0),n.splice(r,1),a--);return i&&n.unshift(""),("."===o||".."===o)&&n.push(""),n.join("/")}(O.pathname,e.pathname)),"/"!==O.pathname.charAt(0)&&y(O.protocol)&&(O.pathname="/"+O.pathname),r(O.port,O.protocol)||(O.host=O.hostname,O.port=""),O.username=O.password="",O.auth&&(~(d=O.auth.indexOf(":"))?(O.username=O.auth.slice(0,d),O.username=encodeURIComponent(decodeURIComponent(O.username)),O.password=O.auth.slice(d+1),O.password=encodeURIComponent(decodeURIComponent(O.password))):O.username=encodeURIComponent(decodeURIComponent(O.auth)),O.auth=O.password?O.username+":"+O.password:O.username),O.origin="file:"!==O.protocol&&y(O.protocol)&&O.host?O.protocol+"//"+O.host:"null",O.href=O.toString()}m.prototype={set:function(t,e,n){var i=this;switch(t){case"query":"string"==typeof e&&e.length&&(e=(n||o.parse)(e)),i[t]=e;break;case"port":i[t]=e,r(e,i.protocol)?e&&(i.host=i.hostname+":"+e):(i.host=i.hostname,i[t]="");break;case"hostname":i[t]=e,i.port&&(e+=":"+i.port),i.host=e;break;case"host":i[t]=e,c.test(e)?(e=e.split(":"),i.port=e.pop(),i.hostname=e.join(":")):(i.hostname=e,i.port="");break;case"protocol":i.protocol=e.toLowerCase(),i.slashes=!n;break;case"pathname":case"hash":if(e){var a="pathname"===t?"/":"#";i[t]=e.charAt(0)!==a?a+e:e}else i[t]=e;break;case"username":case"password":i[t]=encodeURIComponent(e);break;case"auth":var u=e.indexOf(":");~u?(i.username=e.slice(0,u),i.username=encodeURIComponent(decodeURIComponent(i.username)),i.password=e.slice(u+1),i.password=encodeURIComponent(decodeURIComponent(i.password))):i.username=encodeURIComponent(decodeURIComponent(e))}for(var s=0;s<p.length;s++){var l=p[s];l[4]&&(i[l[1]]=i[l[1]].toLowerCase())}return i.auth=i.password?i.username+":"+i.password:i.username,i.origin="file:"!==i.protocol&&y(i.protocol)&&i.host?i.protocol+"//"+i.host:"null",i.href=i.toString(),i},toString:function(t){t&&"function"==typeof t||(t=o.stringify);var e,n=this.host,r=this.protocol;r&&":"!==r.charAt(r.length-1)&&(r+=":");var i=r+(this.protocol&&this.slashes||y(this.protocol)?"//":"");return this.username?(i+=this.username,this.password&&(i+=":"+this.password),i+="@"):this.password?i+=":"+this.password+"@":"file:"!==this.protocol&&y(this.protocol)&&!n&&"/"!==this.pathname&&(i+="@"),(":"===n[n.length-1]||c.test(this.hostname)&&!this.port)&&(n+=":"),i+=n+this.pathname,(e="object"==typeof this.query?t(this.query):this.query)&&(i+="?"!==e.charAt(0)?"?"+e:e),this.hash&&(i+=this.hash),i}},m.extractProtocol=b,m.location=h,m.trimLeft=f,m.qs=o,t.exports=m},1222:function(t,e,n){"use strict";
13Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.default,r=[],c=f.reduce(function(t,e){return t[e]=t[e]||[],t},{processOptions:[i.default],validateOptions:[a.default]});function p(t){var e=l.reduce(function(t,e){return t[e]=s(),t},{}),r=(0,o.default)(c),i=r("processOptions",t);r("validateOptions",i);var a={options:i,channels:e,applyMiddleware:r},u=null,f=e.request.subscribe(function(t){u=n(t,function(n,o){return function(t,n,o){var i=t,a=n;if(!i)try{a=r("onResponse",n,o)}catch(t){a=null,i=t}(i=i&&r("onError",i,o))?e.error.publish(i):a&&e.response.publish(a)}(n,o,t)})});e.abort.subscribe(function(){f(),u&&u.abort()});var p=r("onReturn",e,a);return p===e&&e.request.publish(a),p}return p.use=function(t){if(!t)throw Error("Tried to add middleware that resolved to falsey value");if("function"==typeof t)throw Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(t.onReturn&&c.onReturn.length>0)throw Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return f.forEach(function(e){t[e]&&c[e].push(t[e])}),r.push(t),p},p.clone=function(){return t(r)},e.forEach(p.use),p};var r=c(n(7252)),o=c(n(8232)),i=c(n(5283)),a=c(n(3151)),u=c(n(5261));function c(t){return t&&t.__esModule?t:{default:t}}var s="default"in r.default?r.default.default:r.default,l=["request","response","progress","error","abort"],f=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"];t.exports=e.default},5283:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o=(r=n(4564))&&r.__esModule?r:{default:r};function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var a="undefined"!=typeof navigator&&"ReactNative"===navigator.product,u=Object.prototype.hasOwnProperty,c={timeout:a?6e4:12e4};function s(t){var e=[];for(var n in t)u.call(t,n)&&function t(n,r){Array.isArray(r)?r.forEach(function(e){return t(n,e)}):e.push([n,r].map(encodeURIComponent).join("="))}(n,t[n]);return e.length?e.join("&"):""}e.default=function(t){var e="string"==typeof t?i({url:t},c):i({},c,t),n=(0,o.default)(e.url,{},!0);return e.timeout=function t(e){if(!1===e||0===e)return!1;if(e.connect||e.socket)return e;var n=Number(e);return isNaN(n)?t(c.timeout):{connect:n,socket:n}}(e.timeout),e.query&&(n.query=i({},n.query,function(t){var e={};for(var n in t)void 0!==t[n]&&(e[n]=t[n]);return e}(e.query))),e.method=e.body&&!e.method?"POST":(e.method||"GET").toUpperCase(),e.url=n.toString(s),e},t.exports=e.default},3151:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=/^https?:\/\//i;e.default=function(t){if(!n.test(t.url))throw Error('"'.concat(t.url,'" is not a valid URL'))},t.exports=e.default},8243:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(n(7215)),o=a(n(4947)),i=a(n(8366));function a(t){return t&&t.__esModule?t:{default:t}}var u="undefined"==typeof document||"undefined"==typeof window?void 0:window,c=u?"xhr":"fetch",s="function"==typeof XMLHttpRequest?XMLHttpRequest:function(){},l="withCredentials"in new s,f="undefined"==typeof XDomainRequest?void 0:XDomainRequest,p=l?s:f;u||(s=i.default,p=i.default),e.default=function(t,e){var n=t.options,i=t.applyMiddleware("finalizeOptions",n),a={},l=u&&u.location&&!(0,r.default)(u.location.href,i.url),f=t.applyMiddleware("interceptRequest",void 0,{adapter:c,context:t});if(f){var d=setTimeout(e,0,null,f);return{abort:function(){return clearTimeout(d)}}}var h=l?new p:new s,y=u&&u.XDomainRequest&&h instanceof u.XDomainRequest,b=i.headers,m=i.timeout,v=!1,g=!1,w=!1;if(h.onerror=x,h.ontimeout=x,h.onabort=function(){j(!0),v=!0},h.onprogress=function(){},h[y?"onload":"onreadystatechange"]=function(){m&&(j(),a.socket=setTimeout(function(){return _("ESOCKETTIMEDOUT")},m.socket)),!v&&(4===h.readyState||y)&&0!==h.status&&function(){if(!v&&!g&&!w){if(0===h.status){x(Error("Unknown XHR error"));return}j(),g=!0,e(null,function(){var t=h.status,e=h.statusText;if(y&&void 0===t)t=200;else{if(t>12e3&&t<12156)return x();t=1223===h.status?204:h.status,e=1223===h.status?"No Content":e}return{body:h.response||h.responseText,url:i.url,method:i.method,headers:y?{}:(0,o.default)(h.getAllResponseHeaders()),statusCode:t,statusMessage:e}}())}}()},h.open(i.method,i.url,!0),h.withCredentials=!!i.withCredentials,b&&h.setRequestHeader)for(var O in b)b.hasOwnProperty(O)&&h.setRequestHeader(O,b[O]);else if(b&&y)throw Error("Headers cannot be set on an XDomainRequest object");return i.rawBody&&(h.responseType="arraybuffer"),t.applyMiddleware("onRequest",{options:i,adapter:c,request:h,context:t}),h.send(i.body||null),m&&(a.connect=setTimeout(function(){return _("ETIMEDOUT")},m.connect)),{abort:function(){v=!0,h&&h.abort()}};function _(e){w=!0,h.abort();var n=Error("ESOCKETTIMEDOUT"===e?"Socket timed out on request to ".concat(i.url):"Connection timed out on request to ".concat(i.url));n.code=e,t.channels.error.publish(n)}function j(t){(t||v||h.readyState>=2&&a.connect)&&clearTimeout(a.connect),a.socket&&clearTimeout(a.socket)}function x(t){if(!g){j(!0),g=!0,h=null;var n=t||Error("Network error while attempting to reach ".concat(i.url));n.isNetworkError=!0,n.request=i,e(n)}}},t.exports=e.default},8366:function(t,e){"use strict";function n(){this.readyState=0}
13Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n.prototype.open=function(t,e){this._method=t,this._url=e,this._resHeaders="",this.readyState=1,this.onreadystatechange()},n.prototype.abort=function(){this._controller&&this._controller.abort()},n.prototype.getAllResponseHeaders=function(){return this._resHeaders},n.prototype.setRequestHeader=function(t,e){this._headers=this._headers||{},this._headers[t]=e},n.prototype.send=function(t){var e=this,n=this._controller="function"==typeof AbortController&&new AbortController,r="arraybuffer"!==this.responseType,o={method:this._method,headers:this._headers,signal:n&&n.signal||void 0,body:t};"undefined"!=typeof document&&(o.credentials=this.withCredentials?"include":"omit"),fetch(this._url,o).then(function(t){return t.headers.forEach(function(t,n){e._resHeaders+="".concat(n,": ").concat(t,"\r\n")}),e.status=t.status,e.statusText=t.statusText,e.readyState=3,r?t.text():t.arrayBuffer()}).then(function(t){r?e.responseText=t:e.response=t,e.readyState=4,e.onreadystatechange()}).catch(function(t){if("AbortError"===t.name){e.onabort();return}e.onerror(t)})},e.default=n,t.exports=e.default},5261:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o=((r=n(8243))&&r.__esModule?r:{default:r}).default;e.default=o,t.exports=e.default},8232:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=function(t){return function(e,n){for(var r="onError"===e,o=n,i=arguments.length,a=Array(i>2?i-2:0),u=2;u<i;u++)a[u-2]=arguments[u];for(var c=0;c<t[e].length&&(o=t[e][c].apply(void 0,[o].concat(a)),!r||o);c++);return o}},t.exports=e.default}},function(t){var e=function(e){return t(t.s=e)};t.O(0,[179],function(){return e(6840),e(5337)}),_N_E=t.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.