PageSourceSearch

https://barmat.pt/_next/static/chunks/pages/_app-10fcbe9fde71ff67.js

js barmat.pt collected 2026-10-06 03:40:55 UTC 131,914 bytes, 39 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{9477:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({html:e,height:t=null,width:r=null,children:o,dataNtpc:s=""}){return(0,i.useEffect)(()=>{s&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${s}`}})},[s]),(0,n.jsxs)(n.Fragment,{children:[o,e?(0,n.jsx)("div",{style:{height:null!=t?`${t}px`:"auto",width:null!=r?`${r}px`:"auto"},"data-ntpc":s,dangerouslySetInnerHTML:{__html:e}}):null]})};let n=r(5893),i=r(7294)},7834:function(e,t,r){"use strict";let n;var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=function(e){let{gaId:t,debugMode:r,dataLayerName:i="dataLayer",nonce:l}=e;return void 0===n&&(n=i),(0,s.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:`
2          window['${i}'] = window['${i}'] || [];
3          function gtag(){window['${i}'].push(arguments);}
4          gtag('js', new Date());
5
6          gtag('config', '${t}' ${r?",{ 'debug_mode': true }":""});`},nonce:l}),(0,o.jsx)(a.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${t}`,nonce:l})]})},t.sendGAEvent=function(...e){if(void 0===n){console.warn("@next/third-parties: GA has not been initialized");return}window[n]?window[n].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${n} does not exist`)};let o=r(5893),s=r(7294),a=i(r(4298))},3632:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{apiKey:t,...r}=e,n={...r,key:t},{html:a}=(0,o.GoogleMapsEmbed)(n);return(0,i.jsx)(s.default,{height:n.height||null,width:n.width||null,html:a,dataNtpc:"GoogleMapsEmbed"})};let i=r(5893),o=r(6257),s=n(r(9477))},674:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGTMEvent=void 0,t.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:r="https://www.googletagmanager.com/gtm.js",dataLayerName:n="dataLayer",auth:l,preview:u,dataLayer:c,nonce:f}=e;a=n;let h="dataLayer"!==n?`&l=${n}`:"",d=l?`&gtm_auth=${l}`:"",p=u?`&gtm_preview=${u}&gtm_cookies_win=x`:"";return(0,o.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:`
7      (function(w,l){
8        w[l]=w[l]||[];
9        w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});
10        ${c?`w[l].push(${JSON.stringify(c)})`:""}
11      })(window,'${n}');`},nonce:f}),(0,i.jsx)(s.default,{id:"_next-gtm","data-ntpc":"GTM",src:`${r}?id=${t}${h}${d}${p}`,nonce:f})]})};let i=r(5893),o=r(7294),s=n(r(4298)),a="dataLayer";t.sendGTMEvent=(e,t)=>{let r=t||a;window[r]=window[r]||[],window[r].push(e)}},9692:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGAEvent=t.GoogleAnalytics=t.sendGTMEvent=t.GoogleTagManager=t.YouTubeEmbed=t.GoogleMapsEmbed=void 0;var i=r(3632);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return n(i).default}});var o=r(1494);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return n(o).default}});var s=r(674);Object.defineProperty(t,"GoogleTagManager",{enumerable:!0,get:function(){return s.GoogleTagManager}}),Object.defineProperty(t,"sendGTMEvent",{enumerable:!0,get:function(){return s.sendGTMEvent}});var a=r(7834);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return a.GoogleAnalytics}}),Object.defineProperty(t,"sendGAEvent",{enumerable:!0,get:function(){return a.sendGAEvent}})},1494:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esMo
11dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{html:t,scripts:r,stylesheets:n}=(0,s.YouTubeEmbed)(e);return(0,i.jsx)(a.default,{height:e.height||null,width:e.width||null,html:t,dataNtpc:"YouTubeEmbed",children:null==r?void 0:r.map(e=>(0,i.jsx)(o.default,{src:e.url,strategy:l[e.strategy],stylesheets:n},e.url))})};let i=r(5893),o=n(r(4298)),s=r(6257),a=n(r(9477)),l={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"}},9742:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=l(e),s=o[0],a=o[1],u=new i((s+a)*3/4-a),c=0,f=a>0?s-4:s;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===a&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===a&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],s=0,a=n-i;s<a;s+=16383)o.push(function(e,t,n){for(var i,o=[],s=t;s<n;s+=3)o.push(r[(i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]))>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,s,s+16383>a?a:s+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s<a;++s)r[s]=o[s],n[o.charCodeAt(s)]=s;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},8764:function(e,t,r){"use strict";/*!
12 * The buffer module from node.js, for the browser.
13 *
14 * @author   Feross Aboukhadijeh <https://feross.org>
15 * @license  MIT
16 */var n=r(9742),i=r(645),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!a.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|p(e,t),n=s(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(A(e,Uint8Array)){var t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(A(e,ArrayBuffer)||e&&A(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(A(e,SharedArrayBuffer)||e&&A(e.buffer,SharedArrayBuffer)))return h(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return a.from(n,t,r);var i=function(e){if(a.isBuffer(e)){var t,r=0|d(e.length),n=s(r);return 0===n.length||e.copy(n,0,0,r),n}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?s(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),s(e<0?0:0|d(e))}function f(e){for(var t=e.length<0?0:0|d(e.length),r=s(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function h(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),a.prototype),n}function d(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||A(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return C(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return T(e).length;default:if(i)return n?-1:C(e).length;t=(""+t).toLowerCase(),i=!0}}function y(e,t,r){var i,o,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=P[e[o]];return i}(this,t,r);case"utf8":case"utf-8":return w(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=t,o=r,0===i&&o===this.length?n.fromByteArray(this):n.fromByteArray(this.slice(i,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,t,r);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function g(e,t,r,n,i){var o;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(o=r=+r)!=o&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return -1;r=e.length-1}
vendor: 14,466 bytes, line 16
16else if(r<0){if(!i)return -1;r=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,i);throw TypeError("val must be string, number or Buffer")}function b(e,t,r,n,i){var o,s=1,a=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;s=2,a/=2,l/=2,r/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var c=-1;for(o=r;o<a;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*s}else -1!==c&&(o-=o-c),c=-1}else for(r+l>a&&(r=a-l),o=r;o>=0;o--){for(var f=!0,h=0;h<l;h++)if(u(e,o+h)!==u(t,h)){f=!1;break}if(f)return o}return -1}function w(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,s,a,l,u=e[i],c=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=r)switch(f){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],s=e[i+2],(192&o)==128&&(192&s)==128&&(l=(15&u)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(l=(15&u)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(c=l)}null===c?(c=65533,f=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function v(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function E(e,t,r,n,i,o){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function S(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function _(e,t,r,n,o){return t=+t,r>>>=0,o||S(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function O(e,t,r,n,o){return t=+t,r>>>=0,o||S(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.lW=a,t.h2=50,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return(u(e),e<=0)?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return c(e)},a.allocUnsafeSlow=function(e){return c(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(A(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),A(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=a.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(A(o,Uint8Array))i+o.length>n.length?a.from(o).copy(n,i):Uint8Array.prototype.set.call(n,o,i);else if(a.isBuffer(o))o.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=o.length}return n},a.byteLength=p,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?w(this,0,e):y.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",r=t.h2;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,r,n,i){if(A(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,s=r-t,l=Math.min(o,s),u=this.slice(n,i),c=e.slice(t,r),f=0;f<l;++f)if(u[f]!==c[f]){o=u[f],s=c[f];break}return o<s?-1:s<o?1:0},a.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)},a.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,s,a,l,u,c,f,h=this.length-t;if((void 0===r||r>h)&&(r=h),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var d=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a=parseInt(t.substr(2*s,2),16);if(a!=a)break;e[r+s]=a}return s}(this,e,t,r);case"utf8":case"utf-8":return i=t,o=r,x(C(e,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return s=t,a=r,x(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,s,a);case"base64":return l=t,u=r,x(T(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,f=r,x(function(e,t){for(var r,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(e,this.length-c),this,c,f);default:if(d)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),d=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,a.prototype),n},a.prototype.readUintLE=a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},a.prototype.readUintBE=a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||v(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||v(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||v(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||v(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||v(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return(e>>>=0,t||v(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||v(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||v(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||v(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||v(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||v(e,4,this.length),i.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||v(e,4,this.length),i.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||v(e,8,this.length),i.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||v(e,8,this.length),i.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;E(this,e,t,r,i,0)}var o=1,s=0;for(this[t]=255&e;++s<r&&(o*=256);)this[t+s]=e/o&255;return t+r},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;E(this,e,t,r,i,0)}var o=r-1,s=1;for(this[t+o]=255&e;--o>=0&&(s*=256);)this[t+o]=e/s&255;return t+r},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);E(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o<r&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);E(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||E(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,r){return _(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return _(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return O(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return O(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},a.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var s=a.isBuffer(e)?e:a.from(e,n),l=s.length;
16if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=s[i%l]}return this};var R=/[^+/0-9A-Za-z-_]/g;function C(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319||s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function T(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(R,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function x(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function A(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var P=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},645:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */t.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,l=(1<<a)-1,u=l>>1,c=-7,f=r?i-1:0,h=r?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-c)-1,d>>=-c,c+=a;c>0;o=256*o+e[t+f],f+=h,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=n;c>0;s=256*s+e[t+f],f+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,n),o-=u}return(d?-1:1)*s*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var s,a,l,u=8*o-i-1,c=(1<<u)-1,f=c>>1,h=23===i?5960464477539062e-23:0,d=n?0:o-1,p=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+f>=1?t+=h/l:t+=h*Math.pow(2,1-f),t*l>=2&&(s++,l/=2),s+f>=c?(a=0,s=c):s+f>=1?(a=(t*l-1)*Math.pow(2,i),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[r+d]=255&a,d+=p,a/=256,i-=8);for(s=s<<i|a,u+=i;u>0;e[r+d]=255&s,d+=p,s/=256,u-=8);e[r+d-p]|=128*y}},3454:function(e,t,r){"use strict";var n,i;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(i=r.g.process)?void 0:i.env)?r.g.process:r(7663)},1118:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(7962)}])},1864:function(e,t,r){"use strict";var n=r(4328);t.Z=function(e){if(e&&!(0,n.Z)(e)){let t={OR:[]};if(Object.keys(e).forEach(r=>{let n=e[r];(null==n?void 0:n.length)>0&&t.OR.push({type:r,value:{in:n.map(e=>e)}})}),0!==t.OR.length)return t}}},4328:function(e,t){"use strict";t.Z=function(e){return 0===Object.keys(e).length}},1618:function(e,t,r){"use strict";r.d(t,{$W:function(){return o},JW:function(){return n},MR:function(){return s},br:function(){return i},pn:function(){return a}});let n="idle",i="loading",o="no_results",s="success",a="error"},5302:function(e,t,r){"use strict";var n=r(8876);let i=r(3454).env.PROJECT||"barmat",o=async e=>{let{project:t,language:r,posttype:o,take:s,skip:a,where:l,orderBy:u,categories:c,properties:f}=e,h={take:s,skip:a,language:r,posttype:o,...c&&{categories:c},...f&&{properties:f},...l&&{where:l},project:t||i,orderBy:u||{publishedDate:"desc"}};try{var d,p;let e=await n.Z.post("/",JSON.stringify({query:"\n    query getPosts ($project: String!, $language: String!, $posttype: String!, $take: Int!, $skip: Int, $where: ContentFrontendWhere, $orderBy: ContentFrontendOrderBy!, $categories: CategoryFilter, $properties: PropertyFilter) {\n      getPosts(project: $project, language: $language, posttype: $posttype, take: $take, skip: $skip, where: $where, orderBy: $orderBy, categories: $categories, properties: $properties) {\n        data {\n          categories\n          path\n          slug\n          title\n          thumbnail\n          properties\n          excerpt\n        }\n        total\n        error\n        message\n      }\n    }\n  ",variables:h}));if(null==e?void 0:null===(p=e.data)||void 0===p?void 0:null===(d=p.data)||void 0===d?void 0:d.getPosts)return{data:e.data.data.getPosts.data,total:e.data.data.getPosts.total,error:null};return{data:null,error:"[Error: getPosts]: Cannot get page"}}catch(e){return{data:null,error:"[Error Catch: getPosts]: "+e}}};t.Z=o},8876:function(e,t,r){"use strict";let n,i,o,s,a;r.d(t,{Z:function(){return tm}});var l,u,c,f,h,d={};function p(e,t){return function(){return e.apply(t,arguments)}}r.r(d),r.d(d,{hasBrowserEnv:function(){return em},hasStandardBrowserEnv:function(){return eb},hasStandardBrowserWebWorkerEnv:function(){return ew},navigator:function(){return eg},origin:function(){return ev}});var y=r(3454);let{toString:m}=Object.prototype,{getPrototypeOf:g}=Object,b=(n=Object.create(null),e=>{let t=m.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())}),w=e=>(e=e.toLowerCase(),t=>b(t)===e),v=e=>t=>typeof t===e,{isArray:E}=Array,S=v("undefined"),_=w("ArrayBuffer"),O=v("string"),R=v("function"),C=v("number"),T=e=>null!==e&&"object"==typeof e,x=e=>{if("object"!==b(e))return!1;let t=g(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},A=w("Date"),P=w("File"),j=w("Blob"),k=w("FileList"),L=w("URLSearchParams"),[N,M,U,B]=["ReadableStream","Request","Response","Headers"].map(w);function D(e,t,{allOwnKeys:r=!1}={}){let n,i;if(null!=e){if("object"!=typeof e&&(e=[e]),E(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{let i;let o=r?Object.getOwnPropertyNames(e):Object.keys(e),s=o.length;for(n=0;n<s;n++)i=o[n],t.call(null,e[i],i,e)}}}function z(e,t){let r;t=t.toLowerCase();let n=Object.keys(e),i=n.length;for(;i-- >0;)if(t===(r=n[i]).toLowerCase())return r;return null}let F="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,I=e=>!S(e)&&e!==F,$=(i="undefined"!=typeof Uint8Array&&g(Uint8Array),e=>i&&e instanceof i),W=w("HTMLFormElement"),q=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),H=w("RegExp"),G=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};D(r,(r,i)=>{let o;!1!==(o=t(r,i,e))&&(n[i]=o||r)}),Object.defineProperties(e,n)},V=w("AsyncFunction"),J=(l="function"==typeof setImmediate,u=R(F.postMessage),l?setImmediate:u?(c=`axios@${Math.random()}`,f=[],F.addEventListener("message",({source:e,data:t})=>{e===F&&t===c&&f.length&&f.shift()()},!1),e=>{f.push(e),F.postMessage(c,"*")}):e=>setTimeout(e)),Z="undefined"!=typeof queueMicrotask?queueMicrotask.bind(F):void 0!==y&&y.nextTick||J;var X={isArray:E,isArrayBuffer:_,isBuffer:function(e){return null!==e&&!S(e)&&null!==e.constructor&&!S(e.constructor)&&R(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||R(e.append)&&("formdata"===(t=b(e))||"object"===t&&R(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&_(e.buffer)},isString:O,isNumber:C,isBoolean:e=>!0===e||!1===e,isObject:T,isPlainObject:x,isReadableStream:N,isRequest:M,isResponse:U,isHeaders:B,isUndefined:S,isDate:A,isFile:P,isBlob:j,isRegExp:H,isFunction:R,isStream:e=>T(e)&&R(e.pipe),isURLSearchParams:L,isTypedArray:$,isFileList:k,forEach:D,merge:function e(){let{caseless:t}=I(this)&&this||{},r={},n=(n,i)=>{let o=t&&z(r,i)||i;x(r[o])&&x(n)?r[o]=e(r[o],n):x(n)?r[o]=e({},n):E(n)?r[o]=n.slice():r[o]=n};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&D(arguments[e],n);return r},extend:(e,t,r,{allOwnKeys:n}={})=>(D(t,(t,n)=>{r&&R(t)?e[n]=p(t,r):e[n]=t},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let i,o,s;let a={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)s=i[o],(!n||n(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=!1!==r&&g(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:b,kindOfTest:w,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(E(e))return e;let t=e.length;if(!C(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r;let n=(e&&e[Symbol.iterator]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>
16{let r;let n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:W,hasOwnProperty:q,hasOwnProp:q,reduceDescriptors:G,freezeMethods:e=>{G(e,(t,r)=>{if(R(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;if(R(e[r])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(e=>{e.forEach(e=>{r[e]=!0})})(E(e)?e:String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:z,global:F,isContextDefined:I,isSpecCompliantForm:function(e){return!!(e&&R(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=Array(10),r=(e,n)=>{if(T(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[n]=e;let i=E(e)?[]:{};return D(e,(e,t)=>{let o=r(e,n+1);S(o)||(i[t]=o)}),t[n]=void 0,i}}return e};return r(e,0)},isAsyncFn:V,isThenable:e=>e&&(T(e)||R(e))&&R(e.then)&&R(e.catch),setImmediate:J,asap:Z};function K(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status?i.status:null)}X.inherits(K,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.status}}});let Y=K.prototype,Q={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Q[e]={value:e}}),Object.defineProperties(K,Q),Object.defineProperty(Y,"isAxiosError",{value:!0}),K.from=(e,t,r,n,i,o)=>{let s=Object.create(Y);return X.toFlatObject(e,s,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),K.call(s,e.message,t,r,n,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};var ee=r(8764).lW;function et(e){return X.isPlainObject(e)||X.isArray(e)}function er(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function en(e,t,r){return e?e.concat(t).map(function(e,t){return e=er(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let ei=X.toFlatObject(X,{},null,function(e){return/^is[A-Z]/.test(e)});var eo=function(e,t,r){if(!X.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let n=(r=X.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!X.isUndefined(t[e])})).metaTokens,i=r.visitor||u,o=r.dots,s=r.indexes,a=(r.Blob||"undefined"!=typeof Blob&&Blob)&&X.isSpecCompliantForm(t);if(!X.isFunction(i))throw TypeError("visitor must be a function");function l(e){if(null===e)return"";if(X.isDate(e))return e.toISOString();if(!a&&X.isBlob(e))throw new K("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(e)||X.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):ee.from(e):e}function u(e,r,i){let a=e;if(e&&!i&&"object"==typeof e){if(X.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else{var u;if(X.isArray(e)&&(u=e,X.isArray(u)&&!u.some(et))||(X.isFileList(e)||X.endsWith(r,"[]"))&&(a=X.toArray(e)))return r=er(r),a.forEach(function(e,n){X.isUndefined(e)||null===e||t.append(!0===s?en([r],n,o):null===s?r:r+"[]",l(e))}),!1}}return!!et(e)||(t.append(en(i,r,o),l(e)),!1)}let c=[],f=Object.assign(ei,{defaultVisitor:u,convertValue:l,isVisitable:et});if(!X.isObject(e))throw TypeError("data must be an object");return!function e(r,n){if(!X.isUndefined(r)){if(-1!==c.indexOf(r))throw Error("Circular reference detected in "+n.join("."));c.push(r),X.forEach(r,function(r,o){!0===(!(X.isUndefined(r)||null===r)&&i.call(t,r,X.isString(o)?o.trim():o,n,f))&&e(r,n?n.concat(o):[o])}),c.pop()}}(e),t};function es(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function ea(e,t){this._pairs=[],e&&eo(e,this,t)}let el=ea.prototype;function eu(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ec(e,t,r){let n;if(!t)return e;let i=r&&r.encode||eu;X.isFunction(r)&&(r={serialize:r});let o=r&&r.serialize;if(n=o?o(t,r):X.isURLSearchParams(t)?t.toString():new ea(t,r).toString(i)){let t=e.indexOf("#");
16-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}el.append=function(e,t){this._pairs.push([e,t])},el.toString=function(e){let t=e?function(t){return e.call(this,t,es)}:es;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class ef{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){X.forEach(this.handlers,function(t){null!==t&&e(t)})}}var eh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ed="undefined"!=typeof URLSearchParams?URLSearchParams:ea,ep="undefined"!=typeof FormData?FormData:null,ey="undefined"!=typeof Blob?Blob:null;let em="undefined"!=typeof window&&"undefined"!=typeof document,eg="object"==typeof navigator&&navigator||void 0,eb=em&&(!eg||0>["ReactNative","NativeScript","NS"].indexOf(eg.product)),ew="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ev=em&&window.location.href||"http://localhost";var eE={...d,isBrowser:!0,classes:{URLSearchParams:ed,FormData:ep,Blob:ey},protocols:["http","https","file","blob","url","data"]},eS=function(e){if(X.isFormData(e)&&X.isFunction(e.entries)){let t={};return X.forEachEntry(e,(e,r)=>{!function e(t,r,n,i){let o=t[i++];if("__proto__"===o)return!0;let s=Number.isFinite(+o),a=i>=t.length;return(o=!o&&X.isArray(n)?n.length:o,a)?X.hasOwnProp(n,o)?n[o]=[n[o],r]:n[o]=r:(n[o]&&X.isObject(n[o])||(n[o]=[]),e(t,r,n[o],i)&&X.isArray(n[o])&&(n[o]=function(e){let t,r;let n={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)n[r=i[t]]=e[r];return n}(n[o]))),!s}(X.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),r,t,0)}),t}return null};let e_={transitional:eh,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r;let n=t.getContentType()||"",i=n.indexOf("application/json")>-1,o=X.isObject(e);if(o&&X.isHTMLForm(e)&&(e=new FormData(e)),X.isFormData(e))return i?JSON.stringify(eS(e)):e;if(X.isArrayBuffer(e)||X.isBuffer(e)||X.isStream(e)||X.isFile(e)||X.isBlob(e)||X.isReadableStream(e))return e;if(X.isArrayBufferView(e))return e.buffer;if(X.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1){var s,a;return(s=e,a=this.formSerializer,eo(s,new eE.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return eE.isNode&&X.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},a))).toString()}if((r=X.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return eo(r?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||i?(t.setContentType("application/json",!1),function(e,t,r){if(X.isString(e))try{return(0,JSON.parse)(e),X.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||e_.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(X.isResponse(e)||X.isReadableStream(e))return e;if(e&&X.isString(e)&&(r&&!this.responseType||n)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!r&&n){if("SyntaxError"===e.name)throw K.from(e,K.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eE.classes.FormData,Blob:eE.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],e=>{e_.headers[e]={}});let eO=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var eR=e=>{let t,r,n;let i={};return e&&e.split("\n").forEach(function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!t||i[t]&&eO[t]||("set-cookie"===t?i[t]?i[t].push(r):i[t]=[r]:i[t]=i[t]?i[t]+", "+r:r)}),i};let eC=Symbol("internals");function eT(e){return e&&String(e).trim().toLowerCase()}function ex(e){return!1===e||null==e?e:X.isArray(e)?e.map(ex):String(e)}let eA=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function eP(e,t,r,n,i){if(X.isFunction(n))return n.call(this,t,r);if(i&&(t=r),X.isString(t)){if(X.isString(n))return -1!==t.indexOf(n);if(X.isRegExp(n))return n.test(t)}}class ej{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function i(e,t,r){let i=eT(t);if(!i)throw Error("header name must be a non-empty string");let o=X.findKey(n,i);o&&void 0!==n[o]&&!0!==r&&(void 0!==r||!1===n[o])||(n[o||t]=ex(e))}let o=(e,t)=>X.forEach(e,(e,r)=>i(e,r,t));if(X.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(X.isString(e)&&(e=e.trim())&&!eA(e))o(eR(e),t);else if(X.isHeaders(e))for(let[t,n]of e.entries())i(n,t,r);else null!=e&&i(t,e,r);return this}get(e,t){if(e=eT(e)){let r=X.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t)return function(e){let t;let r=Object.create(null),n=/([^\s,;
16=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}(e);if(X.isFunction(t))return t.call(this,e,r);if(X.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=eT(e)){let r=X.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||eP(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function i(e){if(e=eT(e)){let i=X.findKey(r,e);i&&(!t||eP(r,r[i],i,t))&&(delete r[i],n=!0)}}return X.isArray(e)?e.forEach(i):i(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let i=t[r];(!e||eP(this,this[i],i,e,!0))&&(delete this[i],n=!0)}return n}normalize(e){let t=this,r={};return X.forEach(this,(n,i)=>{let o=X.findKey(r,i);if(o){t[o]=ex(n),delete t[i];return}let s=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(i).trim();s!==i&&delete t[i],t[s]=ex(n),r[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return X.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&X.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=(this[eC]=this[eC]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=eT(e);t[n]||(!function(e,t){let r=X.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(e,r,i){return this[n].call(this,t,e,r,i)},configurable:!0})})}(r,e),t[n]=!0)}return X.isArray(e)?e.forEach(n):n(e),this}}function ek(e,t){let r=this||e_,n=t||r,i=ej.from(n.headers),o=n.data;return X.forEach(e,function(e){o=e.call(r,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function eL(e){return!!(e&&e.__CANCEL__)}function eN(e,t,r){K.call(this,null==e?"canceled":e,K.ERR_CANCELED,t,r),this.name="CanceledError"}function eM(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new K("Request failed with status code "+r.status,[K.ERR_BAD_REQUEST,K.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}ej.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),X.reduceDescriptors(ej.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),X.freezeMethods(ej),X.inherits(eN,K,{__CANCEL__:!0});var eU=function(e,t){let r;let n=Array(e=e||10),i=Array(e),o=0,s=0;return t=void 0!==t?t:1e3,function(a){let l=Date.now(),u=i[s];r||(r=l),n[o]=a,i[o]=l;let c=s,f=0;for(;c!==o;)f+=n[c++],c%=e;if((o=(o+1)%e)===s&&(s=(s+1)%e),l-r<t)return;let h=u&&l-u;return h?Math.round(1e3*f/h):void 0}},eB=function(e,t){let r,n,i=0,o=1e3/t,s=(t,o=Date.now())=>{i=o,r=null,n&&(clearTimeout(n),n=null),e.apply(null,t)};return[(...e)=>{let t=Date.now(),a=t-i;a>=o?s(e,t):(r=e,n||(n=setTimeout(()=>{n=null,s(r)},o-a)))},()=>r&&s(r)]};let eD=(e,t,r=3)=>{let n=0,i=eU(50,250);return eB(r=>{let o=r.loaded,s=r.lengthComputable?r.total:void 0,a=o-n,l=i(a);n=o,e({loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&o<=s?(s-o)/l:void 0,event:r,lengthComputable:null!=s,[t?"download":"upload"]:!0})},r)},ez=(e,t)=>{let r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},eF=e=>(...t)=>X.asap(()=>e(...t));var eI=eE.hasStandardBrowserEnv?(o=new URL(eE.origin),s=eE.navigator&&/(msie|trident)/i.test(eE.navigator.userAgent),e=>(e=new URL(e,eE.origin),o.protocol===e.protocol&&o.host===e.host&&(s||o.port===e.port))):()=>!0,e$=eE.hasStandardBrowserEnv?{write(e,t,r,n,i,o){let s=[e+"="+encodeURIComponent(t)];X.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),X.isString(n)&&s.push("path="+n),X.isString(i)&&s.push("domain="+i),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function eW(e,t,r){let n=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&n||!1==r?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let eq=e=>e instanceof ej?{...e}:e;function eH(e,t){t=t||{};let r={};function n(e,t,r,n){return X.isPlainObject(e)&&X.isPlainObject(t)?X.merge.call({caseless:n},e,t):X.isPlainObject(t)?X.merge({},t):X.isArray(t)?t.slice():t}function i(e,t,r,i){return X.isUndefined(t)?X.isUndefined(e)?void 0:n(void 0,e,r,i):n(e,t,r,i)}function o(e,t){if(!X.isUndefined(t))return n(void 0,t)}function s(e,t){return X.isUndefined(t)?X.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function a(r,i,o){return o in t?n(r,i):o in e?n(void 0,r):void 0}let l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t,r)=>i(eq(e),eq(t),r,!0)};
16return X.forEach(Object.keys(Object.assign({},e,t)),function(n){let o=l[n]||i,s=o(e[n],t[n],n);X.isUndefined(s)&&o!==a||(r[n]=s)}),r}var eG=e=>{let t;let r=eH({},e),{data:n,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:s,headers:a,auth:l}=r;if(r.headers=a=ej.from(a),r.url=ec(eW(r.baseURL,r.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),X.isFormData(n)){if(eE.hasStandardBrowserEnv||eE.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(t=a.getContentType())){let[e,...r]=t?t.split(";").map(e=>e.trim()).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...r].join("; "))}}if(eE.hasStandardBrowserEnv&&(i&&X.isFunction(i)&&(i=i(r)),i||!1!==i&&eI(r.url))){let e=o&&s&&e$.read(s);e&&a.set(o,e)}return r},eV="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){let n,i,o,s,a;let l=eG(e),u=l.data,c=ej.from(l.headers).normalize(),{responseType:f,onUploadProgress:h,onDownloadProgress:d}=l;function p(){s&&s(),a&&a(),l.cancelToken&&l.cancelToken.unsubscribe(n),l.signal&&l.signal.removeEventListener("abort",n)}let y=new XMLHttpRequest;function m(){if(!y)return;let n=ej.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());eM(function(e){t(e),p()},function(e){r(e),p()},{data:f&&"text"!==f&&"json"!==f?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y}),y=null}y.open(l.method.toUpperCase(),l.url,!0),y.timeout=l.timeout,"onloadend"in y?y.onloadend=m:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(m)},y.onabort=function(){y&&(r(new K("Request aborted",K.ECONNABORTED,e,y)),y=null)},y.onerror=function(){r(new K("Network Error",K.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let t=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded",n=l.transitional||eh;l.timeoutErrorMessage&&(t=l.timeoutErrorMessage),r(new K(t,n.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,e,y)),y=null},void 0===u&&c.setContentType(null),"setRequestHeader"in y&&X.forEach(c.toJSON(),function(e,t){y.setRequestHeader(t,e)}),X.isUndefined(l.withCredentials)||(y.withCredentials=!!l.withCredentials),f&&"json"!==f&&(y.responseType=l.responseType),d&&([o,a]=eD(d,!0),y.addEventListener("progress",o)),h&&y.upload&&([i,s]=eD(h),y.upload.addEventListener("progress",i),y.upload.addEventListener("loadend",s)),(l.cancelToken||l.signal)&&(n=t=>{y&&(r(!t||t.type?new eN(null,e,y):t),y.abort(),y=null)},l.cancelToken&&l.cancelToken.subscribe(n),l.signal&&(l.signal.aborted?n():l.signal.addEventListener("abort",n)));let g=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(l.url);if(g&&-1===eE.protocols.indexOf(g)){r(new K("Unsupported protocol "+g+":",K.ERR_BAD_REQUEST,e));return}y.send(u||null)})},eJ=(e,t)=>{let{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController,i=function(e){if(!r){r=!0,s();let t=e instanceof Error?e:this.reason;n.abort(t instanceof K?t:new eN(t instanceof Error?t.message:t))}},o=t&&setTimeout(()=>{o=null,i(new K(`timeout ${t} of ms exceeded`,K.ETIMEDOUT))},t),s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>e.addEventListener("abort",i));let{signal:a}=n;return a.unsubscribe=()=>X.asap(s),a}};let eZ=function*(e,t){let r,n=e.byteLength;if(!t||n<t){yield e;return}let i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},eX=async function*(e,t){for await(let r of eK(e))yield*eZ(r,t)},eK=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},eY=(e,t,r,n)=>{let i;let o=eX(e,t),s=0,a=e=>{!i&&(i=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await o.next();if(t){a(),e.close();return}let i=n.byteLength;if(r){let e=s+=i;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw a(e),e}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},eQ="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,e0=eQ&&"function"==typeof ReadableStream,e1=eQ&&("function"==typeof TextEncoder?(a=new TextEncoder,e=>a.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer())),e2=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},e4=e0&&e2(()=>
16{let e=!1,t=new Request(eE.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),e8=e0&&e2(()=>X.isReadableStream(new Response("").body)),e6={stream:e8&&(e=>e.body)};eQ&&(h=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{e6[e]||(e6[e]=X.isFunction(h[e])?t=>t[e]():(t,r)=>{throw new K(`Response type '${e}' is not supported`,K.ERR_NOT_SUPPORT,r)})}));let e5=async e=>{if(null==e)return 0;if(X.isBlob(e))return e.size;if(X.isSpecCompliantForm(e)){let t=new Request(eE.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return X.isArrayBufferView(e)||X.isArrayBuffer(e)?e.byteLength:(X.isURLSearchParams(e)&&(e+=""),X.isString(e))?(await e1(e)).byteLength:void 0},e3=async(e,t)=>{let r=X.toFiniteNumber(e.getContentLength());return null==r?e5(t):r},e7={http:null,xhr:eV,fetch:eQ&&(async e=>{let t,r,{url:n,method:i,data:o,signal:s,cancelToken:a,timeout:l,onDownloadProgress:u,onUploadProgress:c,responseType:f,headers:h,withCredentials:d="same-origin",fetchOptions:p}=eG(e);f=f?(f+"").toLowerCase():"text";let y=eJ([s,a&&a.toAbortSignal()],l),m=y&&y.unsubscribe&&(()=>{y.unsubscribe()});try{if(c&&e4&&"get"!==i&&"head"!==i&&0!==(r=await e3(h,o))){let e,t=new Request(n,{method:"POST",body:o,duplex:"half"});if(X.isFormData(o)&&(e=t.headers.get("content-type"))&&h.setContentType(e),t.body){let[e,n]=ez(r,eD(eF(c)));o=eY(t.body,65536,e,n)}}X.isString(d)||(d=d?"include":"omit");let s="credentials"in Request.prototype;t=new Request(n,{...p,signal:y,method:i.toUpperCase(),headers:h.normalize().toJSON(),body:o,duplex:"half",credentials:s?d:void 0});let a=await fetch(t),l=e8&&("stream"===f||"response"===f);if(e8&&(u||l&&m)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=a[t]});let t=X.toFiniteNumber(a.headers.get("content-length")),[r,n]=u&&ez(t,eD(eF(u),!0))||[];a=new Response(eY(a.body,65536,r,()=>{n&&n(),m&&m()}),e)}f=f||"text";let g=await e6[X.findKey(e6,f)||"text"](a,e);return!l&&m&&m(),await new Promise((r,n)=>{eM(r,n,{data:g,headers:ej.from(a.headers),status:a.status,statusText:a.statusText,config:e,request:t})})}catch(r){if(m&&m(),r&&"TypeError"===r.name&&/fetch/i.test(r.message))throw Object.assign(new K("Network Error",K.ERR_NETWORK,e,t),{cause:r.cause||r});throw K.from(r,r&&r.code,e,t)}})};X.forEach(e7,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let e9=e=>`- ${e}`,te=e=>X.isFunction(e)||null===e||!1===e;var tt=e=>{let t,r;let{length:n}=e=X.isArray(e)?e:[e],i={};for(let o=0;o<n;o++){let n;if(r=t=e[o],!te(t)&&void 0===(r=e7[(n=String(t)).toLowerCase()]))throw new K(`Unknown adapter '${n}'`);if(r)break;i[n||"#"+o]=r}if(!r){let e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new K("There is no suitable adapter to dispatch the request "+(n?e.length>1?"since :\n"+e.map(e9).join("\n"):" "+e9(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function tr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eN(null,e)}function tn(e){return tr(e),e.headers=ej.from(e.headers),e.data=ek.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tt(e.adapter||e_.adapter)(e).then(function(t){return tr(e),t.data=ek.call(e,e.transformResponse,t),t.headers=ej.from(t.headers),t},function(t){return!eL(t)&&(tr(e),t&&t.response&&(t.response.data=ek.call(e,e.transformResponse,t.response),t.response.headers=ej.from(t.response.headers))),Promise.reject(t)})}let ti="1.8.1",to={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{to[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let ts={};to.transitional=function(e,t,r){function n(e,t){return"[Axios v"+ti+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,i,o)=>{if(!1===e)throw new K(n(i," has been removed"+(t?" in "+t:"")),K.ERR_DEPRECATED);return t&&!ts[i]&&(ts[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,i,o)}},to.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}
16`),!0)};var ta={assertOptions:function(e,t,r){if("object"!=typeof e)throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),i=n.length;for(;i-- >0;){let o=n[i],s=t[o];if(s){let t=e[o],r=void 0===t||s(t,o,e);if(!0!==r)throw new K("option "+o+" must be "+r,K.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new K("Unknown option "+o,K.ERR_BAD_OPTION)}},validators:to};let tl=ta.validators;class tu{constructor(e){this.defaults=e,this.interceptors={request:new ef,response:new ef}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let r=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?r&&!String(e.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+r):e.stack=r}catch(e){}}throw e}}_request(e,t){let r,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:i,paramsSerializer:o,headers:s}=t=eH(this.defaults,t);void 0!==i&&ta.assertOptions(i,{silentJSONParsing:tl.transitional(tl.boolean),forcedJSONParsing:tl.transitional(tl.boolean),clarifyTimeoutError:tl.transitional(tl.boolean)},!1),null!=o&&(X.isFunction(o)?t.paramsSerializer={serialize:o}:ta.assertOptions(o,{encode:tl.function,serialize:tl.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),ta.assertOptions(t,{baseUrl:tl.spelling("baseURL"),withXsrfToken:tl.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=s&&X.merge(s.common,s[t.method]);s&&X.forEach(["delete","get","head","post","put","patch","common"],e=>{delete s[e]}),t.headers=ej.concat(a,s);let l=[],u=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(u=u&&e.synchronous,l.unshift(e.fulfilled,e.rejected))});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let f=0;if(!u){let e=[tn.bind(this),void 0];for(e.unshift.apply(e,l),e.push.apply(e,c),n=e.length,r=Promise.resolve(t);f<n;)r=r.then(e[f++],e[f++]);return r}n=l.length;let h=t;for(f=0;f<n;){let e=l[f++],t=l[f++];try{h=e(h)}catch(e){t.call(this,e);break}}try{r=tn.call(this,h)}catch(e){return Promise.reject(e)}for(f=0,n=c.length;f<n;)r=r.then(c[f++],c[f++]);return r}getUri(e){return ec(eW((e=eH(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}X.forEach(["delete","get","head","options"],function(e){tu.prototype[e]=function(t,r){return this.request(eH(r||{},{method:e,url:t,data:(r||{}).data}))}}),X.forEach(["post","put","patch"],function(e){function t(t){return function(r,n,i){return this.request(eH(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}tu.prototype[e]=t(),tu.prototype[e+"Form"]=t(!0)});class tc{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;let n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,i){r.reason||(r.reason=new eN(e,n,i),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new tc(function(t){e=t}),cancel:e}}}let tf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
16alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(tf).forEach(([e,t])=>{tf[t]=e});let th=function e(t){let r=new tu(t),n=p(tu.prototype.request,r);return X.extend(n,tu.prototype,r,{allOwnKeys:!0}),X.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(eH(t,r))},n}(e_);th.Axios=tu,th.CanceledError=eN,th.CancelToken=tc,th.isCancel=eL,th.VERSION=ti,th.toFormData=eo,th.AxiosError=K,th.Cancel=th.CanceledError,th.all=function(e){return Promise.all(e)},th.spread=function(e){return function(t){return e.apply(null,t)}},th.isAxiosError=function(e){return X.isObject(e)&&!0===e.isAxiosError},th.mergeConfig=eH,th.AxiosHeaders=ej,th.formToJSON=e=>eS(X.isHTMLForm(e)?new FormData(e):e),th.getAdapter=tt,th.HttpStatusCode=tf,th.default=th;var td=r(3454);let tp=td.env.BACKEND||"https://backoffice.barmat.pt/api/v1",ty=td.env.PASSWORD||"5BPCialh24tamrab";var tm=th.create({baseURL:tp,timeout:1e4,headers:{"Content-Type":"application/json",Frontend:ty},crossdomain:!0,validateStatus:()=>!0})},8894:function(e,t,r){"use strict";r.d(t,{T6:function(){return u},T_:function(){return f},V_:function(){return p},tM:function(){return h},up:function(){return d}});var n=r(1618),i=r(154),o=r(5302),s=r(4328),a=r(1864);let l={selectedCategories:{},statusPosts:n.JW,posts:[],take:8,skip:0,total:0},u=(0,i.hg)("exploration/fetchPosts",async(e,t)=>{let{getState:r}=t,n=r();return await (0,o.Z)({language:"en",posttype:"exploration",take:n.exploration.take,skip:n.exploration.skip,categories:(0,a.Z)((null==e?void 0:e.selectedCategories)||n.exploration.selectedCategories)})}),c=(0,i.oM)({name:"exploration",initialState:l,reducers:{setSelectedCategory:(e,t)=>{let{payload:r}=t,{categoryKey:i,optionKey:o}=r;if(e.statusPosts!==n.br){let t;if(e.selectedCategories[i]){let r=e.selectedCategories[i].findIndex(e=>e===o);t={...e.selectedCategories,[i]:-1!==r?e.selectedCategories[i].filter(e=>e!==o):[...e.selectedCategories[i],o]}}else t={...e.selectedCategories,[i]:[o]};e.selectedCategories=t,e.skip=0;let r={};Object.keys(t).forEach(e=>{t[e]&&t[e].length>0&&(r[e]=t[e].map(e=>e))});let n=new URLSearchParams(r).toString(),a="/exploration".concat((0,s.Z)(r)?"":"?".concat(n));window.history.replaceState({...window.history.state,as:a,url:a},"",a)}},setSkip:(e,t)=>{let{payload:r}=t;e.skip=r.skip;let n={...0!==e.skip?{skip:e.skip}:{}};Object.keys(e.selectedCategories).forEach(t=>{e.selectedCategories[t]&&e.selectedCategories[t].length>0&&(n[t]=e.selectedCategories[t].map(e=>e.key))});let i=new URLSearchParams(n).toString(),o="/exploration".concat((0,s.Z)(n)?"":"?".concat(i));window.history.replaceState({...window.history.state,as:o,url:o},"",o)},updateInitialSkip:(e,t)=>{let{payload:r}=t;e.skip=r.skip},updateInititalCategories:(e,t)=>{let{payload:r}=t;e.selectedCategories=r.selectedCategories}},extraReducers(e){e.addCase(u.pending,e=>{e.statusPosts=n.br}).addCase(u.fulfilled,(e,t)=>{let{payload:r}=t;r.error?e.statusPosts=n.pn:r.data.length>0?(e.posts=r.data,e.total=r.total,e.statusPosts=n.MR):(e.statusPosts=n.$W,e.posts=[],e.total=0)}).addCase(u.rejected,e=>{e.statusPosts=n.pn})}}),{setSelectedCategory:f,setSkip:h,updateInitialSkip:d,updateInititalCategories:p}=c.actions;t.ZP=c.reducer},388:function(e,t,r){"use strict";r.d(t,{C6:function(){return o},KF:function(){return s},PN:function(){return i},Uc:function(){return a},ju:function(){return u},zu:function(){return l}});let n=(0,r(154).oM)({name:"global",initialState:{alreadyRun:!1,logoAnimation:"entry-initial",sentenceAnimation:"entry-initial",backgroundAnimation:"entry-initial",ready:!1,headerWhite:!1},reducers:{setAlreadyRun:(e,t)=>{let{payload:r}=t;e.alreadyRun=r},setLogoAnimation:(e,t)=>{let{payload:r}=t;e.logoAnimation=r},setSentenceAnimation:(e,t)=>{let{payload:r}=t;e.sentenceAnimation=r}
16,setBackgroundAnimation:(e,t)=>{let{payload:r}=t;e.backgroundAnimation=r},setReady:(e,t)=>{let{payload:r}=t;e.ready=r},setHeaderWhite:(e,t)=>{let{payload:r}=t;e.headerWhite=r}}}),{setLogoAnimation:i,setSentenceAnimation:o,setBackgroundAnimation:s,setReady:a,setAlreadyRun:l,setHeaderWhite:u}=n.actions;t.ZP=n.reducer},1060:function(e,t,r){"use strict";r.d(t,{T6:function(){return u},T_:function(){return f},V_:function(){return p},tM:function(){return h},up:function(){return d}});var n=r(1618),i=r(154),o=r(5302),s=r(4328),a=r(1864);let l={selectedCategories:{},statusPosts:n.JW,posts:[],take:11,skip:0,total:0},u=(0,i.hg)("stones/fetchPosts",async(e,t)=>{let{getState:r}=t,n=r();return await (0,o.Z)({language:"en",posttype:"stones",take:n.stones.take,skip:n.stones.skip,categories:(0,a.Z)((null==e?void 0:e.selectedCategories)||n.stones.selectedCategories)})}),c=(0,i.oM)({name:"stones",initialState:l,reducers:{setSelectedCategory:(e,t)=>{let{payload:r}=t,{categoryKey:i,optionKey:o}=r;if(e.statusPosts!==n.br){var a;let t;if((null===(a=e.selectedCategories[i])||void 0===a?void 0:a[0])===o){let{[i]:r,...n}=e.selectedCategories;t=n}else t={...e.selectedCategories,[i]:[o]};e.selectedCategories=t,e.skip=0;let r={};Object.keys(t).forEach(e=>{t[e]&&t[e].length>0&&(r[e]=t[e])});let n=new URLSearchParams(r).toString(),l="/stones".concat((0,s.Z)(r)?"":"?".concat(n));window.history.replaceState({...window.history.state,as:l,url:l},"",l)}},setSkip:(e,t)=>{let{payload:r}=t;e.skip=r.skip;let n={...0!==e.skip?{skip:e.skip}:{}};Object.keys(e.selectedCategories).forEach(t=>{e.selectedCategories[t]&&e.selectedCategories[t].length>0&&(n[t]=e.selectedCategories[t])});let i=new URLSearchParams(n).toString(),o="/stones".concat((0,s.Z)(n)?"":"?".concat(i));window.history.replaceState({...window.history.state,as:o,url:o},"",o)},updateInitialSkip:(e,t)=>{let{payload:r}=t;e.skip=r.skip},updateInititalCategories:(e,t)=>{let{payload:r}=t;e.selectedCategories=r.selectedCategories}},extraReducers(e){e.addCase(u.pending,e=>{e.statusPosts=n.br}).addCase(u.fulfilled,(e,t)=>{let{payload:r}=t;r.error?e.statusPosts=n.pn:r.data.length>0?(e.posts=r.data,e.total=r.total,e.statusPosts=n.MR):(e.statusPosts=n.$W,e.posts=[],e.total=0)}).addCase(u.rejected,e=>{e.statusPosts=n.pn})}}),{setSelectedCategory:f,setSkip:h,updateInitialSkip:d,updateInititalCategories:p}=c.actions;t.ZP=c.reducer},572:function(e,t,r){"use strict";r.d(t,{T6:function(){return u},T_:function(){return f},V_:function(){return p},tM:function(){return h},up:function(){return d}});var n=r(1618),i=r(154),o=r(5302),s=r(4328),a=r(1864);let l={selectedCategories:{},statusPosts:n.JW,posts:[],take:8,skip:0,total:0},u=(0,i.hg)("transformations/fetchPosts",async(e,t)=>{let{getState:r}=t,n=r();return await (0,o.Z)({language:"en",posttype:"transformations",take:n.transformations.take,skip:n.transformations.skip,categories:(0,a.Z)((null==e?void 0:e.selectedCategories)||n.transformations.selectedCategories)})}),c=(0,i.oM)({name:"transformations",initialState:l,reducers:{setSelectedCategory:(e,t)=>{let{payload:r}=t,{categoryKey:i,optionKey:o}=r;if(e.statusPosts!==n.br){let t;if(e.selectedCategories[i]){let r=e.selectedCategories[i].findIndex(e=>e===o);t={...e.selectedCategories,[i]:-1!==r?e.selectedCategories[i].filter(e=>e!==o):[...e.selectedCategories[i],o]}}else t={...e.selectedCategories,[i]:[o]};e.selectedCategories=t,e.skip=0;let r={};Object.keys(t).forEach(e=>{t[e]&&t[e].length>0&&(r[e]=t[e].map(e=>e))});let n=new URLSearchParams(r).toString(),a="/transformations".concat((0,s.Z)(r)?"":"?".concat(n));window.history.replaceState({...window.history.state,as:a,url:a},"",a)}},setSkip:(e,t)=>{let{payload:r}=t;e.skip=r.skip;let n={...0!==e.skip?{skip:e.skip}:{}};Object.keys(e.selectedCategories).forEach(t=>{e.selectedCategories[t]&&e.selectedCategories[t].length>0&&(n[t]=e.selectedCategories[t].map(e=>e.key))});let i=new URLSearchParams(n).toString(),o="/transformations".concat((0,s.Z)(n)?"":"?".concat(i));window.history.replaceState({...window.history.state,as:o,url:o},"",o)},updateInitialSkip:(e,t)=>{let{payload:r}=t;e.skip=r.skip},updateInititalCategories:(e,t)=>{let{payload:r}=t;e.selectedCategories=r.selectedCategories}},extraReducers(e){e.addCase(u.pending,e=>{e.statusPosts=n.br}).addCase(u.fulfilled,(e,t)=>{let{payload:r}=t;r.error?e.statusPosts=n.pn:r.data.length>0?(e.total=r.total,e.posts=r.data,e.statusPosts=n.MR):(e.statusPosts=n.$W,e.posts=[],e.total=0)}).addCase(u.rejected,e=>{e.statusPosts=n.pn})}}),{setSelectedCategory:f,setSkip:h,updateInitialSkip:d,updateInititalCategories:p}=c.actions;t.ZP=c.reducer},7962:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return R}});var n=r(5893),i=r(7294);r(1784);var o=r(1163),s=r(2807),a=r(775),l=r(259),u=r(9692),c=r(5007),f=r(154),h=r(388),d=r(8894),p=r(1060),y=r(572);let m=(0,f.xC)({reducer:{global:h.ZP,exploration:d.ZP,stones:p.ZP,transformations:y.ZP}});function g(){let e=(0,o.useRouter)(),t=async()=>{let t=await fetch("/api/preview/disable");!0===await t.json()&&e.reload()};if(null==e?void 0:e.isPreview)return(0,n.jsx)("div",{className:"fixed top-6 right-6 z-[100000000001]",children:(0,n.jsx)("button",{onClick:t,className:"rounded-full px-5 py-2 bg-[#f5332c] text-[#FFFFFF] uppercase text-[14px] hover:bg-[#c9241e]",children:"Disable Preview"})})}var b=r(9008),w=r.n(b),v=r(4298),E=r.n(v);let S="https://umami.lavva.pt",_="b5582bb9-567e-43d6-853e-b0b8551f48fc";function O(){return _?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(w(),{children:(0,n.jsx)("link",{rel:"dns-prefetch",href:S})}),(0,n.jsx)(E(),{defer:!0,src:"".concat(S,"/script.js"),"data-website-id":_,"data-domains":"barmat.pt,www.barmat.pt",strategy:"afterInteractive"})]}):null}function R(e){let{Component:t,pageProps:r}=e,{asPath:f}=(0,o.useRouter)(),h=(0,s.LZ)();return(0,n.jsx)(l.pm,{language:"en",reCaptchaKey:"6Le4iE0qAAAAAFtCeCq8UlXUO8-L7hltBYK9BX4b",scriptProps:{async:!0,defer:!0,appendTo:"body",nonce:void 0,id:"recaptcha-script",loading:"lazy"}
16,container:{parameters:{badge:"inline",size:"invisible"}},children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(O,{}),(0,n.jsx)(c.zt,{store:m,children:(0,n.jsx)(a.M,{mode:"wait",initial:!0,onExitComplete:()=>{null==h||h.scrollTo(0,{immediate:!0})},children:(0,i.createElement)(t,{...r,key:f})})}),(0,n.jsx)(g,{}),(0,n.jsx)(u.GoogleTagManager,{gtmId:"GTM-5NQDC7ZJ"})]})})}},1784:function(){},7663:function(e){!function(){var t={229:function(e){var t,r,n,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var l=[],u=!1,c=-1;function f(){u&&n&&(u=!1,n.length?l=n.concat(l):c=-1,l.length&&h())}function h(){if(!u){var e=a(f);u=!0;for(var t=l.length;t;){for(n=l,l=[];++c<t;)n&&n[c].run();c=-1,t=l.length}n=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function p(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new d(e,t)),1!==l.length||u||a(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=p,i.addListener=p,i.once=p,i.off=p,i.removeListener=p,i.removeAllListeners=p,i.emit=p,i.prependListener=p,i.prependOnceListener=p,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},s=!0;try{t[e](o,o.exports,n),s=!1}finally{s&&delete r[e]}return o.exports}n.ab="//";var i=n(229);e.exports=i}()},9008:function(e,t,r){e.exports=r(7828)},1163:function(e,t,r){e.exports=r(9090)},4298:function(e,t,r){e.exports=r(2892)},259:function(e,t,r){"use strict";r.d(t,{pm:function(){return h},xX:function(){return d}});var n,i=r(7294),o=r(3454),s=function(){return(s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},a=function(e){var t;e?function(e){if(e)for(;e.lastChild;)e.lastChild.remove()}("string"==typeof e?document.getElementById(e):e):(t=document.querySelector(".grecaptcha-badge"))&&t.parentNode&&document.body.removeChild(t.parentNode)},l=function(e,t){a(t),window.___grecaptcha_cfg=void 0;var r,n=document.querySelector("#"+e);n&&n.remove(),(r=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))&&r.remove()},u=function(e){var t=e.render,r=e.onLoadCallbackName,n=e.language,i=e.onLoad,o=e.useRecaptchaNet,s=e.useEnterprise,a=e.scriptProps,l=void 0===a?{}:a,u=l.nonce,c=void 0===u?"":u,f=l.defer,h=l.async,d=l.id,p=l.appendTo,y=(void 0===d?"":d)||"google-recaptcha-v3";if(document.querySelector("#"+y))i();else{var m,g="https://www."+((m={useEnterprise:s,useRecaptchaNet:o}).useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(m.useEnterprise?"enterprise.js":"api.js"),b=document.createElement("script");b.id=y,b.src=g+"?render="+t+("explicit"===t?"&onload="+r:"")+(n?"&hl="+n:""),c&&(b.nonce=c),b.defer=!!(void 0!==f&&f),b.async=!!(void 0!==h&&h),b.onload=i,("body"===p?document.body:document.getElementsByTagName("head")[0]).appendChild(b)}},c=function(e){void 0===o||o.env,console.warn(e)};(n||(n={})).SCRIPT_NOT_AVAILABLE="Recaptcha script is not available";var f=(0,i.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called 
16inside component wrapped by GoogleRecaptchaProvider")}});function h(e){var t=e.reCaptchaKey,r=e.useEnterprise,o=void 0!==r&&r,a=e.useRecaptchaNet,h=void 0!==a&&a,d=e.scriptProps,p=e.language,y=e.container,m=e.children,g=(0,i.useState)(null),b=g[0],w=g[1],v=(0,i.useRef)(t),E=JSON.stringify(d),S=JSON.stringify(null==y?void 0:y.parameters);(0,i.useEffect)(function(){if(t){var e=(null==d?void 0:d.id)||"google-recaptcha-v3",r=(null==d?void 0:d.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[r]=function(){var e=o?window.grecaptcha.enterprise:window.grecaptcha,r=s({badge:"inline",size:"invisible",sitekey:t},(null==y?void 0:y.parameters)||{});v.current=e.render(null==y?void 0:y.element,r)},u({render:(null==y?void 0:y.element)?"explicit":t,onLoadCallbackName:r,useEnterprise:o,useRecaptchaNet:h,scriptProps:d,language:p,onLoad:function(){if(window&&window.grecaptcha){var e=o?window.grecaptcha.enterprise:window.grecaptcha;e.ready(function(){w(e)})}else c("<GoogleRecaptchaProvider /> "+n.SCRIPT_NOT_AVAILABLE)},onError:function(){c("Error loading google recaptcha script")}}),function(){l(e,null==y?void 0:y.element)}}c("<GoogleReCaptchaProvider /> recaptcha key not provided")},[o,h,E,S,p,t,null==y?void 0:y.element]);var _=(0,i.useCallback)(function(e){if(!b||!b.execute)throw Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return b.execute(v.current,{action:e})},[b,v]),O=(0,i.useMemo)(function(){return{executeRecaptcha:b?_:void 0,container:null==y?void 0:y.element}},[_,b,null==y?void 0:y.element]);return i.createElement(f.Provider,{value:O},m)}f.Consumer;var d=function(){return(0,i.useContext)(f)};function p(e,t){return e(t={exports:{}},t.exports),t.exports;/** @license React v16.13.1
17 * react-is.production.min.js
18 *
19 * Copyright (c) Facebook, Inc. and its affiliates.
20 *
21 * This source code is licensed under the MIT license found in the
22 * LICENSE file in the root directory of this source tree.
23 */}var y="function"==typeof Symbol&&Symbol.for,m=y?Symbol.for("react.element"):60103,g=y?Symbol.for("react.portal"):60106,b=y?Symbol.for("react.fragment"):60107,w=y?Symbol.for("react.strict_mode"):60108,v=y?Symbol.for("react.profiler"):60114,E=y?Symbol.for("react.provider"):60109,S=y?Symbol.for("react.context"):60110,_=y?Symbol.for("react.async_mode"):60111,O=y?Symbol.for("react.concurrent_mode"):60111,R=y?Symbol.for("react.forward_ref"):60112,C=y?Symbol.for("react.suspense"):60113,T=y?Symbol.for("react.suspense_list"):60120,x=y?Symbol.for("react.memo"):60115,A=y?Symbol.for("react.lazy"):60116,P=y?Symbol.for("react.block"):60121,j=y?Symbol.for("react.fundamental"):60117,k=y?Symbol.for("react.responder"):60118,L=y?Symbol.for("react.scope"):60119;function N(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case m:switch(e=e.type){case _:case O:case b:case v:case w:case C:return e;default:switch(e=e&&e.$$typeof){case S:case R:case A:case x:case E:return e;default:return t}}case g:return t}}}function M(e){return N(e)===O}var U={AsyncMode:_,ConcurrentMode:O,ContextConsumer:S,ContextProvider:E,Element:m,ForwardRef:R,Fragment:b,Lazy:A,Memo:x,Portal:g,Profiler:v,StrictMode:w,Suspense:C,isAsyncMode:function(e){return M(e)||N(e)===_},isConcurrentMode:M,isContextConsumer:function(e){return N(e)===S},isContextProvider:function(e){return N(e)===E},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===m},isForwardRef:function(e){return N(e)===R},isFragment:function(e){return N(e)===b},isLazy:function(e){return N(e)===A},isMemo:function(e){return N(e)===x},isPortal:function(e){return N(e)===g},isProfiler:function(e){return N(e)===v},isStrictMode:function(e){return N(e)===w},isSuspense:function(e){return N(e)===C},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===b||e===O||e===v||e===w||e===C||e===T||"object"==typeof e&&null!==e&&(e.$$typeof===A||e.$$typeof===x||e.$$typeof===E||e.$$typeof===S||e.$$typeof===R||e.$$typeof===j||e.$$typeof===k||e.$$typeof===L||e.$$typeof===P)},typeOf:N},B=p(function(e,t){}),D=(B.AsyncMode,B.ConcurrentMode,B.ContextConsumer,B.ContextProvider,B.Element,B.ForwardRef,B.Fragment,B.Lazy,B.Memo,B.Portal,B.Profiler,B.Str
23ictMode,B.Suspense,B.isAsyncMode,B.isConcurrentMode,B.isContextConsumer,B.isContextProvider,B.isElement,B.isForwardRef,B.isFragment,B.isLazy,B.isMemo,B.isPortal,B.isProfiler,B.isStrictMode,B.isSuspense,B.isValidElementType,B.typeOf,p(function(e){e.exports=U})),z={};z[D.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},z[D.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0}},6257:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=t.GoogleMapsEmbed=t.GoogleAnalytics=void 0;var n=r(3494);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return n.GoogleAnalytics}});var i=r(4248);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return i.GoogleMapsEmbed}});var o=r(2239);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return o.YouTubeEmbed}})},3494:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=void 0;let o=i(r(9426)),s=r(7058);t.GoogleAnalytics=e=>{var t=n(e,[]);return(0,s.formatData)(o.default,t)}},4248:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleMapsEmbed=void 0;let o=i(r(7395)),s=r(7058);t.GoogleMapsEmbed=e=>{var t=n(e,[]);return(0,s.formatData)(o.default,t)}},2239:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=void 0;let o=i(r(8420)),s=r(7058);t.YouTubeEmbed=e=>{var t=n(e,[]);return(0,s.formatData)(o.default,t)}},7058:function(e,t){"use strict";function r(e,t,r=!1){return t?Object.keys(e).filter(e=>r?!t.includes(e):t.includes(e)).reduce((t,r)=>(t[r]=e[r],t),{}):{}}function n(e,t,r,n){let i=n&&Object.keys(n).length>0?new URL(Object.values(n)[0],e):new URL(e);return t&&r&&t.forEach(e=>{r[e]&&i.searchParams.set(e,r[e])}),i.toString()}function i(e,t,r,i,o){var s;if(!t)return`<${e}></${e}>`;let a=(null===(s=t.src)||void 0===s?void 0:s.url)?Object.assign(Object.assign({},t),{src:n(t.src.url,t.src.params,i,o)}):t,l=Object.keys(Object.assign(Object.assign({},a),r)).reduce((e,t)=>{let n=null==r?void 0:r[t],i=a[t],o=null!=n?n:i,s=!0===o?t:`${t}="${o}"`;return o?e+` ${s}`:e},"");return`<${e}${l}></${e}>`}Object.defineProperty(t,"__esModule",{value:!0}),t.formatData=t.createHtml=t.formatUrl=void 0,t.formatUrl=n,t.createHtml=i,t.formatData=function(e,t){var o,s,a,l,u;let c=r(t,null===(o=e.scripts)||void 0===o?void 0:o.reduce((e,t)=>[...e,...Array.isArray(t.params)?t.params:[]],[])),f=r(t,null===(a=null===(s=e.html)||void 0===s?void 0:s.attributes.src)||void 0===a?void 0:a.params),h=r(t,[null===(u=null===(l=e.html)||void 0===l?void 0:l.attributes.src)||void 0===u?void 0:u.slugParam]),d=r(t,[...Object.keys(c),...Object.keys(f),...Object.keys(h)],!0);return Object.assign(Object.assign({},e),{html:e.html?i(e.html.element,e.html.attributes,d,f,h):null,scripts:e.scripts?e.scripts.map(e=>Object.assign(Object.assign({},e),{url:n(e.url,e.params,c)})):null})}},7666:function(e,t,r){"use strict";/**
24 * @license React
25 * use-sync-external-store-with-selector.production.js
26 *
27 * Copyright (c) Meta Platforms, Inc. and affiliates.
28 *
29 * This source code is licensed under the MIT license found in the
30 * LICENSE file in the root directory of this source tree.
31 */var n=r(7294),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useSyncExternalStore,s=n.useRef,a=n.useEffect,l=n.useMemo,u=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,c){var f=s(null);if(null===f.current){var h={hasValue:!1,value:null};f.current=h}else h=f.current;var d=o(e,(f=l(function(){function e(e){if(!a){if(a=!0,o=e,e=n(e),void 0!==c&&h.hasValue){var t=h.value;if(c(t,e))return s=t}return s=e}if(t=s,i(o,e))return t;var r=n(e);return void 0!==c&&c(t,r)?(o=e,t):(o=e,s=r)}var o,s,a=!1,l=void 0===r?null:r;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,r,n,c]))[0],f[1]);return a(function(){h.hasValue=!0,h.value=d},[d]),u(d),d}},1103:function(e,t,r){"use strict";e.exports=r(7666)},154:function(e,t,r){"use strict";function n(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}r.d(t,{xC:function(){return eu},hg:function(){return eg},oM:function(){return eE}});var i,o,s="function"==typeof Symbol&&Symbol.observable||"@@observable",a=()=>Math.random().toString(36).substring(7).split("").join("."),l={INIT:`@@redux/INIT${a()}`,REPLACE:`@@redux/REPLACE${a()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${a()}`};function u(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function c(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((e,t)=>
31(...r)=>e(t(...r)))}function f(e){return({dispatch:t,getState:r})=>n=>i=>"function"==typeof i?i(t,r,e):n(i)}var h=f(),d=Symbol.for("immer-nothing"),p=Symbol.for("immer-draftable"),y=Symbol.for("immer-state");function m(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var g=Object.getPrototypeOf;function b(e){return!!e&&!!e[y]}function w(e){return!!e&&(E(e)||Array.isArray(e)||!!e[p]||!!e.constructor?.[p]||C(e)||T(e))}var v=Object.prototype.constructor.toString();function E(e){if(!e||"object"!=typeof e)return!1;let t=g(e);if(null===t)return!0;let r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===v}function S(e,t){0===_(e)?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function _(e){let t=e[y];return t?t.type_:Array.isArray(e)?1:C(e)?2:T(e)?3:0}function O(e,t){return 2===_(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function R(e,t,r){let n=_(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function C(e){return e instanceof Map}function T(e){return e instanceof Set}function x(e){return e.copy_||e.base_}function A(e,t){if(C(e))return new Map(e);if(T(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let r=E(e);if(!0!==t&&("class_only"!==t||r)){let t=g(e);return null!==t&&r?{...e}:Object.assign(Object.create(t),e)}{let t=Object.getOwnPropertyDescriptors(e);delete t[y];let r=Reflect.ownKeys(t);for(let n=0;n<r.length;n++){let i=r[n],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(g(e),t)}}function P(e,t=!1){return k(e)||b(e)||!w(e)||(_(e)>1&&(e.set=e.add=e.clear=e.delete=j),Object.freeze(e),t&&Object.entries(e).forEach(([e,t])=>P(t,!0))),e}function j(){m(2)}function k(e){return Object.isFrozen(e)}var L={};function N(e){let t=L[e];return t||m(0,e),t}function M(e,t){t&&(N("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function U(e){B(e),e.drafts_.forEach(z),e.drafts_=null}function B(e){e===o&&(o=e.parent_)}function D(e){return o={drafts_:[],parent_:o,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function z(e){let t=e[y];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function F(e,t){t.unfinalizedDrafts_=t.drafts_.length;let r=t.drafts_[0];return void 0!==e&&e!==r?(r[y].modified_&&(U(t),m(4)),w(e)&&(e=I(t,e),t.parent_||W(t,e)),t.patches_&&N("Patches").generateReplacementPatches_(r[y].base_,e,t.patches_,t.inversePatches_)):e=I(t,r,[]),U(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==d?e:void 0}function I(e,t,r){if(k(t))return t;let n=t[y];if(!n)return S(t,(i,o)=>$(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return W(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;let t=n.copy_,i=t,o=!1;3===n.type_&&(i=new Set(t),t.clear(),o=!0),S(i,(i,s)=>$(e,n,t,i,s,r,o)),W(e,t,!1),r&&e.patches_&&N("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function $(e,t,r,n,i,o,s){if(b(i)){let s=I(e,i,o&&t&&3!==t.type_&&!O(t.assigned_,n)?o.concat(n):void 0);if(R(r,n,s),!b(s))return;e.canAutoFreeze_=!1}else s&&r.add(i);if(w(i)&&!k(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;I(e,i),(!t||!t.scope_.parent_)&&"symbol"!=typeof n&&Object.prototype.propertyIsEnumerable.call(r,n)&&W(e,i)}}function W(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&P(t,r)}var q={get(e,t){if(t===y)return e;let r=x(e);if(!O(r,t))return function(e,t,r){let n=V(t,r);return n?"value"in n?n.value:n.get?.call(e.draft_):void 0}(e,r,t);let n=r[t];return e.finalized_||!w(n)?n:n===G(e.base_,t)?(Z(e),e.copy_[t]=X(n,e)):n},has:(e,t)=>t in x(e),ownKeys:e=>Reflect.ownKeys(x(e)),set(e,t,r){let n=V(x(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){let n=G(x(e),t),i=n?.[y];if(i&&i.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if((r===n?0!==r||1/r==1/n:r!=r&&n!=n)&&(void 0!==r||O(e.base_,t)))return!0;Z(e),J(e)}return!!(e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t]))||
31(e.copy_[t]=r,e.assigned_[t]=!0,!0)},deleteProperty:(e,t)=>(void 0!==G(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,Z(e),J(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){let r=x(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty(){m(11)},getPrototypeOf:e=>g(e.base_),setPrototypeOf(){m(12)}},H={};function G(e,t){let r=e[y];return(r?x(r):e)[t]}function V(e,t){if(!(t in e))return;let r=g(e);for(;r;){let e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=g(r)}}function J(e){!e.modified_&&(e.modified_=!0,e.parent_&&J(e.parent_))}function Z(e){e.copy_||(e.copy_=A(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function X(e,t){let r=C(e)?N("MapSet").proxyMap_(e,t):T(e)?N("MapSet").proxySet_(e,t):function(e,t){let r=Array.isArray(e),n={type_:r?1:0,scope_:t?t.scope_:o,modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},i=n,s=q;r&&(i=[n],s=H);let{revoke:a,proxy:l}=Proxy.revocable(i,s);return n.draft_=l,n.revoke_=a,l}(e,t);return(t?t.scope_:o).drafts_.push(r),r}S(q,(e,t)=>{H[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),H.deleteProperty=function(e,t){return H.set.call(this,e,t,void 0)},H.set=function(e,t,r){return q.set.call(this,e[0],t,r,e[0])};var K=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,r)=>{let n;if("function"==typeof e&&"function"!=typeof t){let r=t;t=e;let n=this;return function(e=r,...i){return n.produce(e,e=>t.call(this,e,...i))}}if("function"!=typeof t&&m(6),void 0!==r&&"function"!=typeof r&&m(7),w(e)){let i=D(this),o=X(e,void 0),s=!0;try{n=t(o),s=!1}finally{s?U(i):B(i)}return M(i,r),F(n,i)}if(e&&"object"==typeof e)m(1,e);else{if(void 0===(n=t(e))&&(n=e),n===d&&(n=void 0),this.autoFreeze_&&P(n,!0),r){let t=[],i=[];N("Patches").generateReplacementPatches_(e,n,t,i),r(t,i)}return n}},this.produceWithPatches=(e,t)=>{let r,n;return"function"==typeof e?(t,...r)=>this.produceWithPatches(t,t=>e(t,...r)):[this.produce(e,t,(e,t)=>{r=e,n=t}),r,n]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){var t;w(e)||m(8),b(e)&&(b(t=e)||m(10,t),e=function e(t){let r;if(!w(t)||k(t))return t;let n=t[y];if(n){if(!n.modified_)return n.base_;n.finalized_=!0,r=A(t,n.scope_.immer_.useStrictShallowCopy_)}else r=A(t,!0);return S(r,(t,n)=>{R(r,t,e(n))}),n&&(n.finalized_=!1),r}(t));let r=D(this),n=X(e,void 0);return n[y].isManual_=!0,B(r),n}finishDraft(e,t){let r=e&&e[y];r&&r.isManual_||m(9);let{scope_:n}=r;return M(n,t),F(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){let n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));let n=N("Patches").applyPatches_;return b(e)?n(e,t):this.produce(e,e=>n(e,t))}},Y=K.produce;K.produceWithPatches.bind(K),K.setAutoFreeze.bind(K),K.setUseStrictShallowCopy.bind(K),K.applyPatches.bind(K),K.createDraft.bind(K),K.finishDraft.bind(K),r(3454);var Q="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!=arguments.length)return"object"==typeof arguments[0]?c:c.apply(null,arguments)};"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var ee=e=>e&&"function"==typeof e.match;function et(e,t){function r(...n){if(t){let r=t(...n);if(!r)throw Error(eP(0));return{type:e,payload:r.payload,..."meta"in r&&{meta:r.meta},..."error"in r&&{error:r.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=t=>u(t)&&"type"in t&&"string"==typeof t.type&&t.type===e,r}var er=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return 1===t.length&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function en(e){return w(e)?Y(e,()=>{}):e}function ei(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}var eo=()=>function(e){let{thunk:t=!0,immutableCheck:r=!0,serializableCheck:n=!0,actionCreatorCheck:i=!0}=e??{},o=new er;return t&&("boolean"==typeof t?o.push(h):o.push(f(t.extraArgument))),o},es=e=>t=>{setTimeout(t,e)},ea=(e={type:"raf"})=>t=>(...r)=>{let n=t(...r),i=!0,o=!1,s=!1,a=new Set,l="tick"===e.type?queueMicrotask:"raf"===e.type?"undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:es(10):"callback"===e.type?e.queueNotification:es(e.timeout),u=()=>
31{s=!1,o&&(o=!1,a.forEach(e=>e()))};return Object.assign({},n,{subscribe(e){let t=n.subscribe(()=>i&&e());return a.add(e),()=>{t(),a.delete(e)}},dispatch(e){try{return(o=!(i=!e?.meta?.RTK_autoBatch))&&!s&&(s=!0,l(u)),n.dispatch(e)}finally{i=!0}}})},el=e=>function(t){let{autoBatch:r=!0}=t??{},n=new er(e);return r&&n.push(ea("object"==typeof r?r:void 0)),n};function eu(e){let t,r;let i=eo(),{reducer:o,middleware:a,devTools:f=!0,preloadedState:h,enhancers:d}=e||{};if("function"==typeof o)t=o;else if(u(o))t=function(e){let t;let r=Object.keys(e),i={};for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof e[n]&&(i[n]=e[n])}let o=Object.keys(i);try{!function(e){Object.keys(e).forEach(t=>{let r=e[t];if(void 0===r(void 0,{type:l.INIT}))throw Error(n(12));if(void 0===r(void 0,{type:l.PROBE_UNKNOWN_ACTION()}))throw Error(n(13))})}(i)}catch(e){t=e}return function(e={},r){if(t)throw t;let s=!1,a={};for(let t=0;t<o.length;t++){let l=o[t],u=i[l],c=e[l],f=u(c,r);if(void 0===f)throw r&&r.type,Error(n(14));a[l]=f,s=s||f!==c}return(s=s||o.length!==Object.keys(e).length)?a:e}}(o);else throw Error(eP(1));r="function"==typeof a?a(i):i();let p=c;f&&(p=Q({trace:!1,..."object"==typeof f&&f}));let y=el(function(...e){return t=>(r,i)=>{let o=t(r,i),s=()=>{throw Error(n(15))},a={getState:o.getState,dispatch:(e,...t)=>s(e,...t)};return s=c(...e.map(e=>e(a)))(o.dispatch),{...o,dispatch:s}}}(...r));return function e(t,r,i){if("function"!=typeof t)throw Error(n(2));if("function"==typeof r&&"function"==typeof i||"function"==typeof i&&"function"==typeof arguments[3])throw Error(n(0));if("function"==typeof r&&void 0===i&&(i=r,r=void 0),void 0!==i){if("function"!=typeof i)throw Error(n(1));return i(e)(t,r)}let o=t,a=r,c=new Map,f=c,h=0,d=!1;function p(){f===c&&(f=new Map,c.forEach((e,t)=>{f.set(t,e)}))}function y(){if(d)throw Error(n(3));return a}function m(e){if("function"!=typeof e)throw Error(n(4));if(d)throw Error(n(5));let t=!0;p();let r=h++;return f.set(r,e),function(){if(t){if(d)throw Error(n(6));t=!1,p(),f.delete(r),c=null}}}function g(e){if(!u(e))throw Error(n(7));if(void 0===e.type)throw Error(n(8));if("string"!=typeof e.type)throw Error(n(17));if(d)throw Error(n(9));try{d=!0,a=o(a,e)}finally{d=!1}return(c=f).forEach(e=>{e()}),e}return g({type:l.INIT}),{dispatch:g,subscribe:m,getState:y,replaceReducer:function(e){if("function"!=typeof e)throw Error(n(10));o=e,g({type:l.REPLACE})},[s]:function(){return{subscribe(e){if("object"!=typeof e||null===e)throw Error(n(11));function t(){e.next&&e.next(y())}return t(),{unsubscribe:m(t)}},[s](){return this}}}}}(t,h,p(..."function"==typeof d?d(y):y()))}function ec(e){let t;let r={},n=[],i={addCase(e,t){let n="string"==typeof e?e:e.type;if(!n)throw Error(eP(28));if(n in r)throw Error(eP(29));return r[n]=t,i},addMatcher:(e,t)=>(n.push({matcher:e,reducer:t}),i),addDefaultCase:e=>(t=e,i)};return e(i),[r,n,t]}var ef=(e,t)=>ee(e)?e.match(t):e(t),eh=(e=21)=>{let t="",r=e;for(;r--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},ed=["name","message","stack","code"],ep=class{constructor(e,t){this.payload=e,this.meta=t}_type},ey=class{constructor(e,t){this.payload=e,this.meta=t}_type},em=e=>{if("object"==typeof e&&null!==e){let t={};for(let r of ed)"string"==typeof e[r]&&(t[r]=e[r]);return t}return{message:String(e)}},eg=(()=>{function e(e,t,r){let n=et(e+"/fulfilled",(e,t,r,n)=>({payload:e,meta:{...n||{},arg:r,requestId:t,requestStatus:"fulfilled"}})),i=et(e+"/pending",(e,t,r)=>({payload:void 0,meta:{...r||{},arg:t,requestId:e,requestStatus:"pending"}})),o=et(e+"/rejected",(e,t,n,i,o)=>({payload:i,error:(r&&r.serializeError||em)(e||"Rejected"),meta:{...o||{},arg:n,requestId:t,rejectedWithValue:!!i,requestStatus:"rejected",aborted:e?.name==="AbortError",condition:e?.name==="ConditionError"}}));return Object.assign(function(e){return(s,a,l)=>{let u,c;let f=r?.idGenerator?r.idGenerator(e):eh(),h=new AbortController;function d(e){c=e,h.abort()}let p=async function(){let p;try{var y;let o=r?.condition?.(e,{getState:a,extra:l});if(y=o,null!==y&&"object"==typeof y&&"function"==typeof y.then&&(o=await o),!1===o||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};let m=new Promise((e,t)=>
31{u=()=>{t({name:"AbortError",message:c||"Aborted"})},h.signal.addEventListener("abort",u)});s(i(f,e,r?.getPendingMeta?.({requestId:f,arg:e},{getState:a,extra:l}))),p=await Promise.race([m,Promise.resolve(t(e,{dispatch:s,getState:a,extra:l,requestId:f,signal:h.signal,abort:d,rejectWithValue:(e,t)=>new ep(e,t),fulfillWithValue:(e,t)=>new ey(e,t)})).then(t=>{if(t instanceof ep)throw t;return t instanceof ey?n(t.payload,f,e,t.meta):n(t,f,e)})])}catch(t){p=t instanceof ep?o(null,f,e,t.payload,t.meta):o(t,f,e)}finally{u&&h.signal.removeEventListener("abort",u)}return r&&!r.dispatchConditionRejection&&o.match(p)&&p.meta.condition||s(p),p}();return Object.assign(p,{abort:d,requestId:f,arg:e,unwrap:()=>p.then(eb)})}},{pending:i,rejected:o,fulfilled:n,settled:function(...e){return t=>e.some(e=>ef(e,t))}(o,n),typePrefix:e})}return e.withTypes=()=>e,e})();function eb(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}var ew=Symbol.for("rtk-slice-createasyncthunk"),ev=((i=ev||{}).reducer="reducer",i.reducerWithPrepare="reducerWithPrepare",i.asyncThunk="asyncThunk",i),eE=function({creators:e}={}){let t=e?.asyncThunk?.[ew];return function(e){let r;let{name:n,reducerPath:i=n}=e;if(!n)throw Error(eP(11));let o=("function"==typeof e.reducers?e.reducers(function(){function e(e,t){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer:e=>Object.assign({[e.name]:(...t)=>e(...t)}[e.name],{_reducerDefinitionType:"reducer"}),preparedReducer:(e,t)=>({_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}),asyncThunk:e}}()):e.reducers)||{},s=Object.keys(o),a={},l={},u={},c=[],f={addCase(e,t){let r="string"==typeof e?e:e.type;if(!r)throw Error(eP(12));if(r in l)throw Error(eP(13));return l[r]=t,f},addMatcher:(e,t)=>(c.push({matcher:e,reducer:t}),f),exposeAction:(e,t)=>(u[e]=t,f),exposeCaseReducer:(e,t)=>(a[e]=t,f)};function h(){let[t={},r=[],n]="function"==typeof e.extraReducers?ec(e.extraReducers):[e.extraReducers],i={...t,...l};return function(e,t){let r;let[n,i,o]=ec(t);if("function"==typeof e)r=()=>en(e());else{let t=en(e);r=()=>t}function s(e=r(),t){let s=[n[t.type],...i.filter(({matcher:e})=>e(t)).map(({reducer:e})=>e)];return 0===s.filter(e=>!!e).length&&(s=[o]),s.reduce((e,r)=>{if(r){if(b(e)){let n=r(e,t);return void 0===n?e:n}if(w(e))return Y(e,e=>r(e,t));{let n=r(e,t);if(void 0===n){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}}return e},e)}return s.getInitialState=r,s}(e.initialState,e=>{for(let t in i)e.addCase(t,i[t]);for(let t of c)e.addMatcher(t.matcher,t.reducer);for(let t of r)e.addMatcher(t.matcher,t.reducer);n&&e.addDefaultCase(n)})}s.forEach(r=>{let i=o[r],s={reducerName:r,type:`${n}/${r}`,createNotation:"function"==typeof e.reducers};"asyncThunk"===i._reducerDefinitionType?function({type:e,reducerName:t},r,n,i){if(!i)throw Error(eP(18));let{payloadCreator:o,fulfilled:s,pending:a,rejected:l,settled:u,options:c}=r,f=i(e,o,c);n.exposeAction(t,f),s&&n.addCase(f.fulfilled,s),a&&n.addCase(f.pen
31ding,a),l&&n.addCase(f.rejected,l),u&&n.addMatcher(f.settled,u),n.exposeCaseReducer(t,{fulfilled:s||eS,pending:a||eS,rejected:l||eS,settled:u||eS})}(s,i,f,t):function({type:e,reducerName:t,createNotation:r},n,i){let o,s;if("reducer"in n){if(r&&"reducerWithPrepare"!==n._reducerDefinitionType)throw Error(eP(17));o=n.reducer,s=n.prepare}else o=n;i.addCase(e,o).exposeCaseReducer(t,o).exposeAction(t,s?et(e,s):et(e))}(s,i,f)});let d=e=>e,p=new Map;function y(e,t){return r||(r=h()),r(e,t)}function m(){return r||(r=h()),r.getInitialState()}function g(t,r=!1){function n(e){let n=e[t];return void 0===n&&r&&(n=m()),n}function i(t=d){let n=ei(p,r,()=>new WeakMap);return ei(n,t,()=>{let n={};for(let[i,o]of Object.entries(e.selectors??{}))n[i]=function(e,t,r,n){function i(o,...s){let a=t(o);return void 0===a&&n&&(a=r()),e(a,...s)}return i.unwrapped=e,i}(o,t,m,r);return n})}return{reducerPath:t,getSelectors:i,get selectors(){return i(n)},selectSlice:n}}let v={name:n,reducer:y,actions:u,caseReducers:a,getInitialState:m,...g(i),injectInto(e,{reducerPath:t,...r}={}){let n=t??i;return e.inject({reducerPath:n,reducer:y},r),{...v,...g(n,!0)}}};return v}}();function eS(){}var e_=(e,t)=>{if("function"!=typeof e)throw TypeError(eP(32))},{assign:eO}=Object,eR="listenerMiddleware",eC=e=>{let{type:t,actionCreator:r,matcher:n,predicate:i,effect:o}=e;if(t)i=et(t).match;else if(r)t=r.type,i=r.match;else if(n)i=n;else if(i);else throw Error(eP(21));return e_(o,"options.listener"),{predicate:i,type:t,effect:o}},eT=eO(e=>{let{type:t,predicate:r,effect:n}=eC(e);
31return{id:eh(),effect:n,type:t,predicate:r,pending:new Set,unsubscribe:()=>{throw Error(eP(22))}}},{withTypes:()=>eT}),ex=eO(et(`${eR}/add`),{withTypes:()=>ex}),eA=eO(et(`${eR}/remove`),{withTypes:()=>eA});function eP(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}Symbol.for("rtk-state-proxy-original")},2807:function(e,t,r){"use strict";function n(e,t,r){return Math.max(e,Math.min(t,r))}r.d(t,{pi:function(){return y},LZ:function(){return g}});var i=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(e){if(!this.isRunning)return;let t=!1;if(this.duration&&this.easing){this.currentTime+=e;let r=n(0,this.currentTime/this.duration,1),i=(t=r>=1)?1:this.easing(r);this.value=this.from+(this.to-this.from)*i}else if(this.lerp){var r,i,o;this.value=(r=this.value,i=this.to,(1-(o=1-Math.exp(-(60*this.lerp)*e)))*r+o*i),Math.round(this.value)===this.to&&(this.value=this.to,t=!0)}else this.value=this.to,t=!0;t&&this.stop(),this.onUpdate?.(this.value,t)}stop(){this.isRunning=!1}fromTo(e,t,{lerp:r,duration:n,easing:i,onStart:o,onUpdate:s}){this.from=this.value=e,this.to=t,this.lerp=r,this.duration=n,this.easing=i,this.currentTime=0,this.isRunning=!0,o?.(),this.onUpdate=s}},o=class{constructor(e,t,{autoResize:r=!0,debounce:n=250}={}){if(this.wrapper=e,this.content=t,r){var i;let e;this.debouncedResize=(i=this.resize,function(...t){let r=this;clearTimeout(e),e=setTimeout(()=>{e=void 0,i.apply(r,t)},n)}),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)}this.resize()}width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize,!1)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},s=class{events={};emit(e,...t){let r=this.events[e]||[];for(let e=0,n=r.length;e<n;e++)r[e]?.(...t)}on(e,t){return this.events[e]?.push(t)||(this.events[e]=[t]),()=>{this.events[e]=this.events[e]?.filter(e=>t!==e)}}off(e,t){this.events[e]=this.events[e]?.filter(e=>t!==e)}destroy(){this.events={}}},a=100/6,l={passive:!1},u=class{constructor(e,t={wheelMultiplier:1,touchMultiplier:1}){this.element=e,this.options=t,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,l),this.element.addEventListener("touchstart",this.onTouchStart,l),this.element.addEventListener("touchmove",this.onTouchMove,l),this.element.addEventListener("touchend",this.onTouchEnd,l)}touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new s;on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,l),this.element.removeEventListener("touchstart",this.onTouchStart,l),this.element.removeEventListener("touchmove",this.onTouchMove,l),this.element.removeEventListener("touchend",this.onTouchEnd,l)}onTouchStart=e=>{let{clientX:t,clientY:r}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=r,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{let{clientX:t,clientY:r}=e.targetTouches?e.targetTouches[0]:e,n=-(t-this.touchStart.x)*this.options.touchMultiplier,i=-(r-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=t,this.touchStart.y=r,this.lastDelta={x:n,y:i},this.emitter.emit("scroll",{deltaX:n,deltaY:i,event:e})};onTouchEnd=e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})};onWheel=e=>{let{deltaX:t,deltaY:r,deltaMode:n}=e,i=1===n?a:2===n?this.window.width:1,o=1===n?a:2===n?this.window.height:1;t*=i,r*=o,t*=this.options.wheelMultiplier,r*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:r,event:e})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}},c=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;__rafID=null;isTouching;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new i;emitter=new s;dimensions;virtualScroll;constructor({wrapper:e=window,content:t=document.documentElement,eventsTarget:r=e,smoothWheel:n=!0,syncTouch:i=!1,syncTouchLerp:s=.075,touchInertiaMultiplier:a=35,duration:l,easing:c=e=>Math.min(1,1.001-Math.pow(2,-10*e)),lerp:f=.1,infinite:h=!1,orientation:d="vertical",gestureOrientation:p="vertical",touchMultiplier:y=1,wheelMultiplier:m=1,autoResize:g=!0,prevent:b,virtualScroll:w,overscroll:v=!0,autoRaf:E=!1,anchors:S=!1,autoToggle:_=!1,allowNestedScroll:O=!1,__experimental__naiveDimensions:R=!1}={}){window.lenisVersion="1.3.1",e&&e!==document.documentElement||(e=window),this.options={wrapper:e,content:t,eventsTarget:r,smoothWheel:n,syncTouch:i,syncTouchLerp:s,touchInertiaMultiplier:a,duration:l,easing:c,lerp:f,infinite:h,gestureOrientation:p,orientation:d,touchMultiplier:y,wheelMultiplier:m,autoResize:g,prevent:b,virtualScroll:w,overscroll:v,autoRaf:E,anchors:S,autoToggle:_,allowNestedScroll:O,__experimental__naiveDimensions:R},this.dimensions=new o(e,t,{autoResize:g}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.addEventListener("click",this.onClick,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=ne
31w u(r,{touchMultiplier:y,wheelMultiplier:m}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&this.rootElement.addEventListener("transitionend",this.onTransitionEnd,{passive:!0}),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),this.options.anchors&&this.options.wrapper===window&&this.options.wrapper.removeEventListener("click",this.onClick,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this.__rafID&&cancelAnimationFrame(this.__rafID)}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}onScrollEnd=e=>{e instanceof CustomEvent||"smooth"!==this.isScrolling&&!1!==this.isScrolling||e.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};onTransitionEnd=e=>{if(e.propertyName.includes("overflow")){let e=this.isHorizontal?"overflow-x":"overflow-y";["hidden","clip"].includes(getComputedStyle(this.rootElement)[e])?this.stop():this.start()}};setScroll(e){this.isHorizontal?this.options.wrapper.scrollTo({left:e,behavior:"instant"}):this.options.wrapper.scrollTo({top:e,behavior:"instant"})}onClick=e=>{let t=e.composedPath().find(e=>e instanceof HTMLAnchorElement&&(e.getAttribute("href")?.startsWith("#")||e.getAttribute("href")?.startsWith("/#")||e.getAttribute("href")?.startsWith("./#")));if(t){let e=t.getAttribute("href");if(e){let t="object"==typeof this.options.anchors&&this.options.anchors?this.options.anchors:void 0,r=`#${e.split("#")[1]}`;["#","/#","./#","#top","/#top","./#top"].includes(e)&&(r=0),this.scrollTo(r,t)}}};onPointerDown=e=>{1===e.button&&this.reset()};onVirtualScroll=e=>{if("function"==typeof this.options.virtualScroll&&!1===this.options.virtualScroll(e))return;let{deltaX:t,deltaY:r,event:n}=e;if(this.emitter.emit("virtual-scroll",{deltaX:t,deltaY:r,event:n}),n.ctrlKey||n.lenisStopPropagation)return;let i=n.type.includes("touch"),o=n.type.includes("wheel");this.isTouching="touchstart"===n.type||"touchmove"===n.type;let s=0===t&&0===r;if(this.options.syncTouch&&i&&"touchstart"===n.type&&s&&!this.isStopped&&!this.isLocked){this.reset();return}let a="vertical"===this.options.gestureOrientation&&0===r||"horizontal"===this.options.gestureOrientation&&0===t;if(s||a)return;let l=n.composedPath();l=l.slice(0,l.indexOf(this.rootElement));let u=this.options.prevent;if(l.find(e=>e instanceof HTMLElement&&("function"==typeof u&&u?.(e)||e.hasAttribute?.("data-lenis-prevent")||i&&e.hasAttribute?.("data-lenis-prevent-touch")||o&&e.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.checkNestedScroll(e,{deltaX:t,deltaY:r}))))return;if(this.isStopped||this.isLocked){n.preventDefault();return}if(!(this.options.syncTouch&&i||this.options.smoothWheel&&o)){this.isScrolling="native",this.animate.stop(),n.lenisStopPropagation=!0;return}let c=r;"both"===this.options.gestureOrientation?c=Math.abs(r)>Math.abs(t)?r:t:"horizontal"===this.options.gestureOrientation&&(c=t),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&(this.animatedScroll>0&&this.animatedScroll<this.limit||0===this.animatedScroll&&r>0||this.animatedScroll===this.limit&&r<0))&&(n.lenisStopPropagation=!0),n.preventDefault();let f=i&&this.options.syncTouch,h=i&&"touchend"===n.type&&Math.abs(c)>5;h&&(c=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+c,{programmatic:!1,...f?{lerp:h?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(null!==this._resetVelocityTimeout&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(!1===this.isScrolling||"native"===this.isScrolling){let e=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-e,this.direction=Math.sign(this.animatedScroll-e),this.isStopped||(this.isScrolling="native"),this.emit
31(),0!==this.velocity&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.reset(),this.isStopped=!1)}stop(){this.isStopped||(this.reset(),this.isStopped=!0)}raf=e=>{let t=e-(this.time||e);this.time=e,this.animate.advance(.001*t),this.options.autoRaf&&(this.__rafID=requestAnimationFrame(this.raf))};scrollTo(e,{offset:t=0,immediate:r=!1,lock:i=!1,duration:o=this.options.duration,easing:s=this.options.easing,lerp:a=this.options.lerp,onStart:l,onComplete:u,force:c=!1,programmatic:f=!0,userData:h}={}){if(!this.isStopped&&!this.isLocked||c){if("string"==typeof e&&["top","left","start"].includes(e))e=0;else if("string"==typeof e&&["bottom","right","end"].includes(e))e=this.limit;else{let r;if("string"==typeof e?r=document.querySelector(e):e instanceof HTMLElement&&e?.nodeType&&(r=e),r){if(this.options.wrapper!==window){let e=this.rootElement.getBoundingClientRect();t-=this.isHorizontal?e.left:e.top}let n=r.getBoundingClientRect();e=(this.isHorizontal?n.left:n.top)+this.animatedScroll}}if("number"==typeof e){if(e+=t,e=Math.round(e),this.options.infinite){if(f){this.targetScroll=this.animatedScroll=this.scroll;let t=e-this.animatedScroll;t>this.limit/2?e-=this.limit:t<-this.limit/2&&(e+=this.limit)}}else e=n(0,e,this.limit);if(e===this.targetScroll){l?.(this),u?.(this);return}if(this.userData=h??{},r){this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),u?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}f||(this.targetScroll=e),this.animate.fromTo(this.animatedScroll,e,{duration:o,easing:s,lerp:a,onStart:()=>{i&&(this.isLocked=!0),this.isScrolling="smooth",l?.(this)},onUpdate:(e,t)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=e-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=e,this.setScroll(this.scroll),f&&(this.targetScroll=e),t||this.emit(),t&&(this.reset(),this.emit(),u?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}checkNestedScroll(e,{deltaX:t,deltaY:r}){let n,i,o,s,a,l,u,c,f,h,d,p,y,m;let g=Date.now(),b=e._lenis??={},w=this.options.gestureOrientation;if(g-(b.time??0)>2e3){b.time=Date.now();let t=window.getComputedStyle(e);b.computedStyle=t;let r=t.overflowX,f=t.overflowY;if(n=["auto","overlay","scroll"].includes(r),i=["auto","overlay","scroll"].includes(f),b.hasOverflowX=n,b.hasOverflowY=i,!n&&!i||"vertical"===w&&!i||"horizontal"===w&&!n)return!1;a=e.scrollWidth,l=e.scrollHeight,u=e.clientWidth,c=e.clientHeight,o=a>u,s=l>c,b.isScrollableX=o,b.isScrollableY=s,b.scrollWidth=a,b.scrollHeight=l,b.clientWidth=u,b.clientHeight=c}else o=b.isScrollableX,s=b.isScrollableY,n=b.hasOverflowX,i=b.hasOverflowY,a=b.scrollWidth,l=b.scrollHeight,u=b.clientWidth,c=b.clientHeight;if(!n&&!i||!o&&!s||"vertical"===w&&(!i||!s)||"horizontal"===w&&(!n||!o)||("horizontal"===w?f="x":"vertical"===w?f="y":(0!==t&&n&&o&&(f="x"),0!==r&&i&&s&&(f="y")),!f))return!1;if("x"===f)h=e.scrollLeft,d=a-u,p=t,y=n,m=o;else{if("y"!==f)return!1;h=e.scrollTop,d=l-c,p=r,y=i,m=s}return(p>0?h<d:h>0)&&y&&m}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){let e=this.options.wrapper;return this.isHorizontal?e.scrollX??e.scrollLeft:e.scrollY??e.scrollTop}get scroll(){var e;return this.options.infinite?(this.animatedScroll%(e=this.limit)+e)%e:this.animatedScroll}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(e){this._isScrolling!==e&&(this._isScrolling=e,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(e){this._isStopped!==e&&(this._isStopped=e,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked!==e&&(this._isLocked=e,this.updateClassName())}get isSmooth(){return"smooth"===this.isScrolling}get className(){let e="lenis";return this.options.autoToggle&&(e+=" lenis-autoToggle"),this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),"smooth"===this.isScrolling&&(e+=" lenis-smooth"),e}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}},f=r(7294),h=r(5893),d=(0,f.createContext)(null),p=new class{constructor(e){this.state=e}listeners=[];set(e){for(let t of(this.state=e,this.listeners))t(this.state)}subscribe(e){return this.listeners=[...this.listeners,e],()=>{this.listeners=this.listeners.filter(t=>t!==e)}}get(){return this.state}}(null),y=(0,f.forwardRef)(({children:e,root:t=!1,options:r={},className:n,autoRaf:i=!0,style:o,props:s},a)=>{let l=(0,f.useRef)(null),u=(0,f.useRef)(null),[y,m]=(0,f.useState)(void 0);(0,f.useImperativeHandle)(a,()=>({wrapper:l.current,content:u.current,lenis:y}),[y]),(0,f.useEffect)(()=>{let e=new c({...r,...!t&&{wrapper:l.current,content:u.current},autoRaf:r?.autoRaf??i});return m(e),()=>{e.destroy(),m(void 0)}},[t,JSON.stringify(r)]);let g=(0,f.useRef)([]),b=(0,f.useCallback)((e,t)=>{g.current.push({callback:e,priority:t}),g.current.sort((e,t)=>
31e.priority-t.priority)},[]),w=(0,f.useCallback)(e=>{g.current=g.current.filter(t=>t.callback!==e)},[]);return(0,f.useEffect)(()=>{if(t&&y)return p.set({lenis:y,addCallback:b,removeCallback:w}),()=>p.set(null)},[t,y,b,w]),(0,f.useEffect)(()=>{if(!y)return;let e=e=>{for(let t=0;t<g.current.length;t++)g.current[t]?.callback(e)};return y.on("scroll",e),()=>{y.off("scroll",e)}},[y]),(0,h.jsx)(d.Provider,{value:{lenis:y,addCallback:b,removeCallback:w},children:t?e:(0,h.jsx)("div",{ref:l,className:n,style:o,...s,children:(0,h.jsx)("div",{ref:u,children:e})})})}),m={};function g(e,t=[],r=0){let n=(0,f.useContext)(d),i=function(e){let[t,r]=(0,f.useState)(e.get());return(0,f.useEffect)(()=>e.subscribe(e=>r(e)),[e]),t}(p),{lenis:o,addCallback:s,removeCallback:a}=n??i??m;return(0,f.useEffect)(()=>{if(e&&s&&a&&o)return s(e,r),e(o),()=>{a(e)}},[o,s,a,r,...t]),o}},775:function(e,t,r){"use strict";r.d(t,{M:function(){return g}});var n=r(5893),i=r(7294),o=r(910),s=r(7281),a=r(4048),l=r(7439);class u extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function c({children:e,isPresent:t}){let r=(0,i.useId)(),o=(0,i.useRef)(null),s=(0,i.useRef)({width:0,height:0,top:0,left:0}),{nonce:a}=(0,i.useContext)(l._);return(0,i.useInsertionEffect)(()=>{let{width:e,height:n,top:i,left:l}=s.current;if(t||!o.current||!e||!n)return;o.current.dataset.motionPopId=r;let u=document.createElement("style");return a&&(u.nonce=a),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
32          [data-motion-pop-id="${r}"] {
33            position: absolute !important;
34            width: ${e}px !important;
35            height: ${n}px !important;
36            top: ${i}px !important;
37            left: ${l}px !important;
38          }
39        `),()=>{document.head.removeChild(u)}},[t]),(0,n.jsx)(u,{isPresent:t,childRef:o,sizeRef:s,children:i.cloneElement(e,{ref:o})})}let f=({children:e,initial:t,isPresent:r,onExitComplete:o,custom:l,presenceAffectsLayout:u,mode:f})=>{let d=(0,s.h)(h),p=(0,i.useId)(),y=(0,i.useCallback)(e=>{for(let t of(d.set(e,!0),d.values()))if(!t)return;o&&o()},[d,o]),m=(0,i.useMemo)(()=>({id:p,initial:t,isPresent:r,custom:l,onExitComplete:y,register:e=>(d.set(e,!1),()=>d.delete(e))}),u?[Math.random(),y]:[r,y]);return(0,i.useMemo)(()=>{d.forEach((e,t)=>d.set(t,!1))},[r]),i.useEffect(()=>{r||d.size||!o||o()},[r]),"popLayout"===f&&(e=(0,n.jsx)(c,{isPresent:r,children:e})),(0,n.jsx)(a.O.Provider,{value:m,children:e})};function h(){return new Map}var d=r(9805);let p=e=>e.key||"";function y(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}var m=r(4822);let g=({children:e,custom:t,initial:r=!0,onExitComplete:a,presenceAffectsLayout:l=!0,mode:u="sync",propagate:c=!1})=>{let[h,g]=(0,d.oO)(c),b=(0,i.useMemo)(()=>y(e),[e]),w=c&&!h?[]:b.map(p),v=(0,i.useRef)(!0),E=(0,i.useRef)(b),S=(0,s.h)(()=>new Map),[_,O]=(0,i.useState)(b),[R,C]=(0,i.useState)(b);(0,m.L)(()=>{v.current=!1,E.current=b;for(let e=0;e<R.length;e++){let t=p(R[e]);w.includes(t)?S.delete(t):!0!==S.get(t)&&S.set(t,!1)}},[R,w.length,w.join("-")]);let T=[];if(b!==_){let e=[...b];for(let t=0;t<R.length;t++){let r=R[t],n=p(r);w.includes(n)||(e.splice(t,0,r),T.push(r))}"wait"===u&&T.length&&(e=T),C(y(e)),O(b);return}let{forceRender:x}=(0,i.useContext)(o.p);return(0,n.jsx)(n.Fragment,{children:R.map(e=>{let i=p(e),o=(!c||!!h)&&(b===R||w.includes(i));return(0,n.jsx)(f,{isPresent:o,initial:(!v.current||!!r)&&void 0,custom:o?void 0:t,presenceAffectsLayout:l,mode:u,onExitComplete:o?void 0:()=>{if(!S.has(i))return;S.set(i,!0);let e=!0;S.forEach(t=>{t||(e=!1)}),e&&(null==x||x(),C(E.current),c&&(null==g||g()),a&&a())},children:e},i)})})}},9805:function(e,t,r){"use strict";r.d(t,{oO:function(){return o}});var n=r(7294),i=r(4048);function o(e=!0){let t=(0,n.useContext)(i.O);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:o,register:s}=t,a=(0,n.useId)();(0,n.useEffect)(()=>{e&&s(a)},[e]);let l=(0,n.useCallback)(()=>e&&o&&o(a),[a,o,e]);return!r&&o?[!1,l]:[!0]}},910:function(e,t,r){"use strict";r.d(t,{p:function(){return n}});let n=(0,r(7294).createContext)({})},7439:function(e,t,r){"use strict";r.d(t,{_:function(){return n}});let n=(0,r(7294).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},4048:function(e,t,r){"use strict";r.d(t,{O:function(){return n}});let n=(0,r(7294).createContext)(null)},8269:function(e,t,r){"use strict";r.d(t,{j:function(){return n}});let n="undefined"!=typeof window},7281:function(e,t,r){"use strict";r.d(t,{h:function(){return i}});var n=r(7294);function i(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},4822:function(e,t,r){"use strict";r.d(t,{L:function(){return i}});var n=r(7294);let i=r(8269).j?n.useLayoutEffect:n.useEffect},5007:function(e,t,r){"use strict";r.d(t,{I0:function(){return g},v9:function(){return w},zt:function(){return h}});var n=r(7294),i=r(1103),o={notify(){},get:()=>[]},s=!!("undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement),a="undefined"!=typeof navigator&&"ReactNative"===navigator.product,l=s||a?n.useLayoutEffect:n.useEffect,u=Symbol.for("react-redux-context"),c="undefined"!=typeof globalThis?globalThis:{},f=function(){if(!n.createContext)return{};let e=c[u]??=new Map,t=e.get(n.createContext);return t||(t=n.createContext(null),e.set(n.createContext,t)),t}(),h=function(e){let{children:t,context:r,serverState:i,store:s}=e,a=n.useMemo(()=>{let e=function(e,t){let r;let n=o,i=0,s=!1;function a(){c.onStateChange&&c.onStateChange()}function l(){if(i++,!r){let t,i;r=e.subscribe(a),t=null,i=null,n={clear(){t=null,i=null},notify(){(()=>{let e=t;for(;e;)e.callback(),e=e.next})()},get(){let e=[],r=t;for(;r;)e.push(r),r=r.next;return e},subscribe(e){let r=!0,n=i={callback:e,next:null,prev:i};return n.prev?n.prev.next=n:t=n,function(){r&&null!==t&&(r=!1,n.next?n.next.prev=n.prev:i=n.prev,n.prev?n.prev.next=n.next:t=n.next)}}}}}function u(){i--,r&&0===i&&(r(),r=void 0,n.clear(),n=o)}let c={addNestedSub:function(e){l();let t=n.subscribe(e),r=!1;return()=>{r||(r=!0,t(),u())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:a,isSubscribed:function(){return s},trySubscribe:function(){s||(s=!0,l())},tryUnsubscribe:function(){s&&(s=!1,u())},getListeners:()=>n};return c}(s);return{store:s,subscription:e,getServerState:i?()=>i:void 0}},[s,i]),u=n.useMemo(()=>s.getState(),[s]);return l(()=>{let{subscription:e}=a;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),u!==s.get
39State()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[a,u]),n.createElement((r||f).Provider,{value:a},t)};function d(e=f){return function(){return n.useContext(e)}}var p=d();function y(e=f){let t=e===f?p:d(e),r=()=>{let{store:e}=t();return e};return Object.assign(r,{withTypes:()=>r}),r}var m=y(),g=function(e=f){let t=e===f?m:y(e),r=()=>t().dispatch;return Object.assign(r,{withTypes:()=>r}),r}(),b=(e,t)=>e===t,w=function(e=f){let t=e===f?p:d(e),r=(e,r={})=>{let{equalityFn:o=b}="function"==typeof r?{equalityFn:r}:r,{store:s,subscription:a,getServerState:l}=t();n.useRef(!0);let u=n.useCallback({[e.name]:t=>e(t)}[e.name],[e]),c=(0,i.useSyncExternalStoreWithSelector)(a.addNestedSub,s.getState,l||s.getState,u,o);return n.useDebugValue(c),c};return Object.assign(r,{withTypes:()=>r}),r}()},9426:function(e){"use strict";e.exports=JSON.parse('{"id":"google-analytics","description":"Install a Google Analytics tag on your website","website":"https://analytics.google.com/analytics/web/","scripts":[{"url":"https://www.googletagmanager.com/gtag/js","params":["id"],"strategy":"worker","location":"head","action":"append"},{"code":"window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){window.dataLayer.push(arguments);};gtag(\'js\',new Date());gtag(\'config\',\'${args.id}\')","strategy":"worker","location":"head","action":"append"}]}')},7395:function(e){"use strict";e.exports=JSON.parse('{"id":"google-maps-embed","description":"Embed a Google Maps embed on your webpage","website":"https://developers.google.com/maps/documentation/embed/get-started","html":{"element":"iframe","attributes":{"loading":"lazy","src":{"url":"https://www.google.com/maps/embed/v1/place","slugParam":"mode","params":["key","q","center","zoom","maptype","language","region"]},"referrerpolicy":"no-referrer-when-downgrade","frameborder":"0","style":"border:0","allowfullscreen":true,"width":null,"height":null}}}')},8420:function(e){"use strict";e.exports=JSON.parse('{"id":"youtube-embed","description":"Embed a YouTube embed on your webpage.","website":"https://github.com/paulirish/lite-youtube-embed","html":{"element":"lite-youtube","attributes":{"videoid":null,"playlabel":null}},"stylesheets":["https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.css"],"scripts":[{"url":"https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.js","strategy":"idle","location":"head","action":"append"}]}')}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(1118),t(9090)}),_N_E=e.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.