diff options
Diffstat (limited to 'web/gui/v2/4532.0b0105ffbdd6db6f5d9a.js')
-rw-r--r-- | web/gui/v2/4532.0b0105ffbdd6db6f5d9a.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/web/gui/v2/4532.0b0105ffbdd6db6f5d9a.js b/web/gui/v2/4532.0b0105ffbdd6db6f5d9a.js deleted file mode 100644 index 3153d8a88..000000000 --- a/web/gui/v2/4532.0b0105ffbdd6db6f5d9a.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 4532.0b0105ffbdd6db6f5d9a.js.LICENSE.txt */ -!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1517f50b-9971-4f7b-9aa5-f4238e012a56",e._sentryDebugIdIdentifier="sentry-dbid-1517f50b-9971-4f7b-9aa5-f4238e012a56")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"6845f9ce010d5a446e5d4a40f17204cb8341a07a"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[4532],{27418:function(e){"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(a){return!1}}()?Object.assign:function(e,a){for(var o,i,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),f=1;f<arguments.length;f++){for(var u in o=Object(arguments[f]))r.call(o,u)&&(s[u]=o[u]);if(t){i=t(o);for(var c=0;c<i.length;c++)n.call(o,i[c])&&(s[i[c]]=o[i[c]])}}return s}},24244:function(e){"use strict";var t=function(e){return e!==e};e.exports=function(e,r){return 0===e&&0===r?1/e===1/r:e===r||!(!t(e)||!t(r))}},20609:function(e,t,r){"use strict";var n=r(17446),a=r(55559),o=r(24244),i=r(75624),s=r(52281),f=a(i(),Object);n(f,{getPolyfill:i,implementation:o,shim:s}),e.exports=f},17446:function(e,t,r){"use strict";var n=r(82215),a="function"===typeof Symbol&&"symbol"===typeof Symbol("foo"),o=Object.prototype.toString,i=Array.prototype.concat,s=Object.defineProperty,f=r(31044)(),u=s&&f,c=function(e,t,r,n){if(t in e)if(!0===n){if(e[t]===r)return}else if("function"!==typeof(a=n)||"[object Function]"!==o.call(a)||!n())return;var a;u?s(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r},l=function(e,t){var r=arguments.length>2?arguments[2]:{},o=n(t);a&&(o=i.call(o,Object.getOwnPropertySymbols(t)));for(var s=0;s<o.length;s+=1)c(e,o[s],t[o[s]],r[o[s]])};l.supportsDescriptors=!!u,e.exports=l},75624:function(e,t,r){"use strict";var n=r(24244);e.exports=function(){return"function"===typeof Object.is?Object.is:n}},52281:function(e,t,r){"use strict";var n=r(75624),a=r(17446);e.exports=function(){var e=n();return a(Object,{is:e},{is:function(){return Object.is!==e}}),e}},18987:function(e,t,r){"use strict";var n;if(!Object.keys){var a=Object.prototype.hasOwnProperty,o=Object.prototype.toString,i=r(21414),s=Object.prototype.propertyIsEnumerable,f=!s.call({toString:null},"toString"),u=s.call((function(){}),"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(e){var t=e.constructor;return t&&t.prototype===e},h={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if("undefined"===typeof window)return!1;for(var e in window)try{if(!h["$"+e]&&a.call(window,e)&&null!==window[e]&&"object"===typeof window[e])try{l(window[e])}catch(t){return!0}}catch(t){return!0}return!1}();n=function(e){var t=null!==e&&"object"===typeof e,r="[object Function]"===o.call(e),n=i(e),s=t&&"[object String]"===o.call(e),h=[];if(!t&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var p=u&&r;if(s&&e.length>0&&!a.call(e,0))for(var g=0;g<e.length;++g)h.push(String(g));if(n&&e.length>0)for(var y=0;y<e.length;++y)h.push(String(y));else for(var b in e)p&&"prototype"===b||!a.call(e,b)||h.push(String(b));if(f)for(var m=function(e){if("undefined"===typeof window||!d)return l(e);try{return l(e)}catch(t){return!1}}(e),w=0;w<c.length;++w)m&&"constructor"===c[w]||!a.call(e,c[w])||h.push(c[w]);return h}}e.exports=n},82215:function(e,t,r){"use strict";var n=Array.prototype.slice,a=r(21414),o=Object.keys,i=o?function(e){return o(e)}:r(18987),s=Object.keys;i.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return a(e)?s(n.call(e)):s(e)})}else Object.keys=i;return Object.keys||i},e.exports=i},21414:function(e){"use strict";var t=Object.prototype.toString;e.exports=function(e){var r=t.call(e),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),n}},84967:function(e,t,r){"use strict";r.d(t,{$n:function(){return z},_j:function(){return B}});var n=r(87462),a=r(97326),o=r(94578),i=r(98737);var s=function(e){function t(t){var r;return r=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this,(0,a.Z)(r)}return(0,o.Z)(t,e),t}((0,i.Z)(Error));function f(e){return Math.round(255*e)}function u(e,t,r){return f(e)+","+f(t)+","+f(r)}function c(e,t,r,n){if(void 0===n&&(n=u),0===t)return n(r,r,r);var a=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,i=o*(1-Math.abs(a%2-1)),s=0,f=0,c=0;a>=0&&a<1?(s=o,f=i):a>=1&&a<2?(s=i,f=o):a>=2&&a<3?(f=o,c=i):a>=3&&a<4?(f=i,c=o):a>=4&&a<5?(s=i,c=o):a>=5&&a<6&&(s=o,c=i);var l=r-o/2;return n(s+l,f+l,c+l)}var l={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var h=/^#[a-fA-F0-9]{6}$/,d=/^#[a-fA-F0-9]{8}$/,p=/^#[a-fA-F0-9]{3}$/,g=/^#[a-fA-F0-9]{4}$/,y=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,b=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,m=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,w=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function v(e){if("string"!==typeof e)throw new s(3);var t=function(e){if("string"!==typeof e)return e;var t=e.toLowerCase();return l[t]?"#"+l[t]:e}(e);if(t.match(h))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(d)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(p))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(g)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=y.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=b.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=m.exec(t);if(i){var f="rgb("+c(parseInt(""+i[1],10),parseInt(""+i[2],10)/100,parseInt(""+i[3],10)/100)+")",u=y.exec(f);if(!u)throw new s(4,t,f);return{red:parseInt(""+u[1],10),green:parseInt(""+u[2],10),blue:parseInt(""+u[3],10)}}var v=w.exec(t.substring(0,50));if(v){var R="rgb("+c(parseInt(""+v[1],10),parseInt(""+v[2],10)/100,parseInt(""+v[3],10)/100)+")",k=y.exec(R);if(!k)throw new s(4,t,R);return{red:parseInt(""+k[1],10),green:parseInt(""+k[2],10),blue:parseInt(""+k[3],10),alpha:parseFloat(""+v[4])>1?parseFloat(""+v[4])/100:parseFloat(""+v[4])}}throw new s(5)}function R(e){return function(e){var t,r=e.red/255,n=e.green/255,a=e.blue/255,o=Math.max(r,n,a),i=Math.min(r,n,a),s=(o+i)/2;if(o===i)return void 0!==e.alpha?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var f=o-i,u=s>.5?f/(2-o-i):f/(o+i);switch(o){case r:t=(n-a)/f+(n<a?6:0);break;case n:t=(a-r)/f+2;break;default:t=(r-n)/f+4}return t*=60,void 0!==e.alpha?{hue:t,saturation:u,lightness:s,alpha:e.alpha}:{hue:t,saturation:u,lightness:s}}(v(e))}var k=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function O(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function j(e){return O(Math.round(255*e))}function S(e,t,r){return k("#"+j(e)+j(t)+j(r))}function x(e,t,r){return c(e,t,r,S)}function I(e,t,r){if("number"===typeof e&&"number"===typeof t&&"number"===typeof r)return x(e,t,r);if("object"===typeof e&&void 0===t&&void 0===r)return x(e.hue,e.saturation,e.lightness);throw new s(1)}function T(e,t,r,n){if("number"===typeof e&&"number"===typeof t&&"number"===typeof r&&"number"===typeof n)return n>=1?x(e,t,r):"rgba("+c(e,t,r)+","+n+")";if("object"===typeof e&&void 0===t&&void 0===r&&void 0===n)return e.alpha>=1?x(e.hue,e.saturation,e.lightness):"rgba("+c(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new s(2)}function $(e,t,r){if("number"===typeof e&&"number"===typeof t&&"number"===typeof r)return k("#"+O(e)+O(t)+O(r));if("object"===typeof e&&void 0===t&&void 0===r)return k("#"+O(e.red)+O(e.green)+O(e.blue));throw new s(6)}function P(e,t,r,n){if("string"===typeof e&&"number"===typeof t){var a=v(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}if("number"===typeof e&&"number"===typeof t&&"number"===typeof r&&"number"===typeof n)return n>=1?$(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if("object"===typeof e&&void 0===t&&void 0===r&&void 0===n)return e.alpha>=1?$(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new s(7)}var F=function(e){return"number"===typeof e.red&&"number"===typeof e.green&&"number"===typeof e.blue&&("number"!==typeof e.alpha||"undefined"===typeof e.alpha)},A=function(e){return"number"===typeof e.red&&"number"===typeof e.green&&"number"===typeof e.blue&&"number"===typeof e.alpha},L=function(e){return"number"===typeof e.hue&&"number"===typeof e.saturation&&"number"===typeof e.lightness&&("number"!==typeof e.alpha||"undefined"===typeof e.alpha)},_=function(e){return"number"===typeof e.hue&&"number"===typeof e.saturation&&"number"===typeof e.lightness&&"number"===typeof e.alpha};function q(e){if("object"!==typeof e)throw new s(8);if(A(e))return P(e);if(F(e))return $(e);if(_(e))return T(e);if(L(e))return I(e);throw new s(8)}function M(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):M(e,t,n)}}function D(e){return M(e,e.length,[])}function C(e,t,r){return Math.max(e,Math.min(t,r))}function E(e,t){if("transparent"===t)return t;var r=R(t);return q((0,n.Z)({},r,{lightness:C(0,1,r.lightness-parseFloat(e))}))}var B=D(E);function U(e,t){if("transparent"===t)return t;var r=R(t);return q((0,n.Z)({},r,{lightness:C(0,1,r.lightness+parseFloat(e))}))}var z=D(U)},5598:function(e,t){"use strict";function r(e){var t="function"===typeof Map?new Map:void 0;return r=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return n(e,arguments,o(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),a(i,e)},r(e)}function n(e,t,r){return n=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&a(o,r.prototype),o},n.apply(null,arguments)}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}t.__esModule=!0,t.default=void 0;var i=function(e){var t,r;function n(t){return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this)}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,a(t,r),n}(r(Error));t.default=i,e.exports=t.default},65583:function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e,t){var r=u(e),o=r.match(s);if(o&&!o.every((function(e){return e===o[0]})))throw new a.default(41);return""+function(e,t){var r,o=function(e){var t={};return t.symbols=e?i({},n.default.symbols,e.symbols):i({},n.default.symbols),t}(t),s=[o.symbols["("].prefix],u=[],c=new RegExp("\\d+(?:\\.\\d+)?|"+Object.keys(o.symbols).map((function(e){return o.symbols[e]})).sort((function(e,t){return t.symbol.length-e.symbol.length})).map((function(e){return e.regSymbol})).join("|")+"|(\\S)","g");c.lastIndex=0;var l=!1;do{var h=(r=c.exec(e))||[")",void 0],d=h[0],p=h[1],g=o.symbols[d],y=g&&!g.prefix&&!g.func,b=!g||!g.postfix&&!g.infix;if(p||(l?b:y))throw new a.default(37,r?r.index:e.length,e);if(l){var m=g.postfix||g.infix;do{var w=s[s.length-1];if((m.precedence-w.precedence||w.rightToLeft)>0)break}while(f(s,u));l="postfix"===m.notation,")"!==m.symbol&&(s.push(m),l&&f(s,u))}else if(g){if(s.push(g.prefix||g.func),g.func&&(!(r=c.exec(e))||"("!==r[0]))throw new a.default(38,r?r.index:e.length,e)}else u.push(+d),l=!0}while(r&&s.length);if(s.length)throw new a.default(39,r?r.index:e.length,e);if(r)throw new a.default(40,r?r.index:e.length,e);return u.pop()}(u(r.replace(s,"")),t)+(o?u(o[0]):"")};var n=o(r(43975)),a=o(r(5598));function o(e){return e&&e.__esModule?e:{default:e}}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}var s=/((?!\w)a|na|hc|mc|dg|me[r]?|xe|ni(?![a-zA-Z])|mm|cp|tp|xp|q(?!s)|hv|xamv|nimv|wv|sm|s(?!\D|$)|ged|darg?|nrut)/g;function f(e,t){var r,n=e.pop();return t.push(n.f.apply(n,(r=[]).concat.apply(r,t.splice(-n.argCount)))),n.precedence}function u(e){return e.split("").reverse().join("")}e.exports=t.default},43975:function(e,t){"use strict";function r(){var e;return(e=arguments.length-1)<0||arguments.length<=e?void 0:arguments[e]}t.__esModule=!0,t.default=void 0;var n={symbols:{"*":{infix:{symbol:"*",f:function(e,t){return e*t},notation:"infix",precedence:4,rightToLeft:0,argCount:2},symbol:"*",regSymbol:"\\*"},"/":{infix:{symbol:"/",f:function(e,t){return e/t},notation:"infix",precedence:4,rightToLeft:0,argCount:2},symbol:"/",regSymbol:"/"},"+":{infix:{symbol:"+",f:function(e,t){return e+t},notation:"infix",precedence:2,rightToLeft:0,argCount:2},prefix:{symbol:"+",f:r,notation:"prefix",precedence:3,rightToLeft:0,argCount:1},symbol:"+",regSymbol:"\\+"},"-":{infix:{symbol:"-",f:function(e,t){return e-t},notation:"infix",precedence:2,rightToLeft:0,argCount:2},prefix:{symbol:"-",f:function(e){return-e},notation:"prefix",precedence:3,rightToLeft:0,argCount:1},symbol:"-",regSymbol:"-"},",":{infix:{symbol:",",f:function(){return Array.of.apply(Array,arguments)},notation:"infix",precedence:1,rightToLeft:0,argCount:2},symbol:",",regSymbol:","},"(":{prefix:{symbol:"(",f:r,notation:"prefix",precedence:0,rightToLeft:0,argCount:1},symbol:"(",regSymbol:"\\("},")":{postfix:{symbol:")",f:void 0,notation:"postfix",precedence:0,rightToLeft:0,argCount:1},symbol:")",regSymbol:"\\)"},min:{func:{symbol:"min",f:function(){return Math.min.apply(Math,arguments)},notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"min",regSymbol:"min\\b"},max:{func:{symbol:"max",f:function(){return Math.max.apply(Math,arguments)},notation:"func",precedence:0,rightToLeft:0,argCount:1},symbol:"max",regSymbol:"max\\b"}}},a=n;t.default=a,e.exports=t.default},92703:function(e,t,r){"use strict";var n=r(50414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,r,a,o,i){if(i!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return r.PropTypes=r,r}},45697:function(e,t,r){e.exports=r(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},67243:function(e,t,r){"use strict";r.d(t,{eI:function(){return P}});const n=e=>Array.isArray(e)?e:[e],a=(e={},t)=>({...e,filters:[...e.filters||[],...n(t)]});var o=r(70978);const i=e=>o.h.at("document.tags",n(e));var s=Object.defineProperty,f=(e,t,r)=>(((e,t,r)=>{t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!==typeof t?t+"":t,r),r);class u extends Error{constructor(e="An invalid API response was returned",t,r){super(e),f(this,"url"),f(this,"response"),this.url=t,this.response=r}}const c=(e,t)=>{const r=e.find((e=>t(e)));if(!r)throw new u("Ref could not be found.",void 0,void 0);return r},l=e=>c(e,(e=>e.isMasterRef)),h=(e,t)=>c(e,(e=>e.id===t)),d=(e,t)=>c(e,(e=>e.label===t)),p=e=>e.replace(/%3B/g,";"),g=e=>o.h.any("document.tags",n(e)),y=e=>o.h.at("document.type",e);class b extends u{}class m extends u{}class w extends u{}const v="Document",R="Media",k="Web",O=(e,...t)=>{if(!e)return null;const r="link_type"in e?e:(e=>{var t;return{link_type:v,id:e.id,uid:e.uid||void 0,type:e.type,tags:e.tags,lang:e.lang,url:null==e.url?void 0:e.url,slug:null==(t=e.slugs)?void 0:t[0],...e.data&&Object.keys(e.data).length>0?{data:e.data}:{}}})(e),[n]=t;let a;switch(a="function"===typeof n||null==n?{linkResolver:n}:{...n},r.link_type){case R:case k:return"url"in r?r.url:null;case v:if("id"in r&&a.linkResolver){const e=a.linkResolver(r);if(null!=e)return e}return"url"in r&&r.url?r.url:null;default:return null}},j={accessToken:"access_token"},S=e=>"string"===typeof e?e:"desc"===e.direction?`${e.field} desc`:e.field;var x=Object.defineProperty,I=(e,t,r)=>(((e,t,r)=>{t in e?x(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!==typeof t?t+"":t,r),r);var T,$;($=T||(T={})).Master="Master",$.ReleaseID="ReleaseID",$.ReleaseLabel="ReleaseLabel",$.Manual="Manual";const P=(e,t)=>new F(e,t);class F{constructor(e,t={}){if(I(this,"endpoint"),I(this,"accessToken"),I(this,"routes"),I(this,"brokenRoute"),I(this,"fetchFn"),I(this,"fetchOptions"),I(this,"defaultParams"),I(this,"refState",{mode:T.Master,autoPreviewsEnabled:!0}),I(this,"cachedRepository"),I(this,"cachedRepositoryExpiration",0),I(this,"fetchJobs",{}),(e=>{try{return new URL(e),!0}catch{return!1}})(e)?this.endpoint=e:this.endpoint=(e=>{if(/^[a-zA-Z0-9][-a-zA-Z0-9]{2,}[a-zA-Z0-9]$/.test(e))return`https://${e}.cdn.prismic.io/api/v2`;throw new u(`An invalid Prismic repository name was given: ${e}`,void 0,void 0)})(e),this.accessToken=t.accessToken,this.routes=t.routes,this.brokenRoute=t.brokenRoute,this.fetchOptions=t.fetchOptions,this.defaultParams=t.defaultParams,t.ref&&this.queryContentFromRef(t.ref),"function"===typeof t.fetch)this.fetchFn=t.fetch;else{if("function"!==typeof globalThis.fetch)throw new u("A valid fetch implementation was not provided. In environments where fetch is not available (including Node.js), a fetch implementation must be provided via a polyfill or the `fetch` option.",void 0,void 0);this.fetchFn=globalThis.fetch}this.fetchFn===globalThis.fetch&&(this.fetchFn=this.fetchFn.bind(globalThis)),this.graphQLFetch=this.graphQLFetch.bind(this)}enableAutoPreviews(){this.refState.autoPreviewsEnabled=!0}enableAutoPreviewsFromReq(e){this.refState.httpRequest=e,this.refState.autoPreviewsEnabled=!0}disableAutoPreviews(){this.refState.autoPreviewsEnabled=!1}async get(e){const t=await this.buildQueryURL(e);return await this.fetch(t,e)}async getFirst(e){var t;const r={...e};e&&e.page||(null==e?void 0:e.pageSize)||(r.pageSize=(null==(t=this.defaultParams)?void 0:t.pageSize)??1);const n=await this.buildQueryURL(r),a=(await this.fetch(n,e)).results[0];if(a)return a;throw new u("No documents were returned",n,void 0)}async dangerouslyGetAll(e={}){var t;const{limit:r=1/0,...n}=e,a={...n,pageSize:Math.min(r,n.pageSize||(null==(t=this.defaultParams)?void 0:t.pageSize)||100)},o=[];let i;for(;(!i||i.next_page)&&o.length<r;){const e=i?i.page+1:void 0;i=await this.get({...a,page:e}),o.push(...i.results),i.next_page&&await new Promise((e=>setTimeout(e,500)))}return o.slice(0,r)}async getByID(e,t){return await this.getFirst(a(t,o.h.at("document.id",e)))}async getByIDs(e,t){return await this.get(a(t,o.h.in("document.id",e)))}async getAllByIDs(e,t){return await this.dangerouslyGetAll(a(t,o.h.in("document.id",e)))}async getByUID(e,t,r){return await this.getFirst(a(r,[y(e),o.h.at(`my.${e}.uid`,t)]))}async getByUIDs(e,t,r){return await this.get(a(r,[y(e),o.h.in(`my.${e}.uid`,t)]))}async getAllByUIDs(e,t,r){return await this.dangerouslyGetAll(a(r,[y(e),o.h.in(`my.${e}.uid`,t)]))}async getSingle(e,t){return await this.getFirst(a(t,y(e)))}async getByType(e,t){return await this.get(a(t,y(e)))}async getAllByType(e,t){return await this.dangerouslyGetAll(a(t,y(e)))}async getByTag(e,t){return await this.get(a(t,g(e)))}async getAllByTag(e,t){return await this.dangerouslyGetAll(a(t,g(e)))}async getByEveryTag(e,t){return await this.get(a(t,i(e)))}async getAllByEveryTag(e,t){return await this.dangerouslyGetAll(a(t,i(e)))}async getBySomeTags(e,t){return await this.get(a(t,g(e)))}async getAllBySomeTags(e,t){return await this.dangerouslyGetAll(a(t,g(e)))}async getRepository(e){const t=new URL(this.endpoint);return this.accessToken&&t.searchParams.set("access_token",this.accessToken),await this.fetch(t.toString(),e)}async getRefs(e){return(await this.getRepository(e)).refs}async getRefByID(e,t){const r=await this.getRefs(t);return h(r,e)}async getRefByLabel(e,t){const r=await this.getRefs(t);return d(r,e)}async getMasterRef(e){const t=await this.getRefs(e);return l(t)}async getReleases(e){return(await this.getRefs(e)).filter((e=>!e.isMasterRef))}async getReleaseByID(e,t){const r=await this.getReleases(t);return h(r,e)}async getReleaseByLabel(e,t){const r=await this.getReleases(t);return d(r,e)}async getTags(e){try{const t=await this.getCachedRepositoryForm("tags",e),r=new URL(t.action);return this.accessToken&&r.searchParams.set("access_token",this.accessToken),await this.fetch(r.toString(),e)}catch{return(await this.getRepository(e)).tags}}async buildQueryURL({signal:e,fetchOptions:t,...r}={}){const a=r.ref||await this.getResolvedRefString({signal:e,fetchOptions:t}),o=r.integrationFieldsRef||(await this.getCachedRepository({signal:e,fetchOptions:t})).integrationFieldsRef||void 0;return((e,t)=>{const{filters:r,predicates:a,...o}=t,i=new URL("documents/search",`${e}/`);if(r)for(const s of n(r))i.searchParams.append("q",`[${s}]`);if(a)for(const s of n(a))i.searchParams.append("q",`[${s}]`);for(const s in o){const e=j[s]||s;let t=o[s];if("orderings"===e){const r=o[e];null!=r&&(t=`[${n(r).map((e=>S(e))).join(",")}]`)}else"routes"===e&&"object"===typeof o[e]&&(t=JSON.stringify(n(o[e])));null!=t&&i.searchParams.set(e,n(t).join(","))}return i.toString()})(this.endpoint,{...this.defaultParams,...r,ref:a,integrationFieldsRef:o,routes:r.routes||this.routes,brokenRoute:r.brokenRoute||this.brokenRoute,accessToken:r.accessToken||this.accessToken})}async resolvePreviewURL(e){var t,r;let n=e.documentID,a=e.previewToken;if("undefined"!==typeof globalThis.location){const e=new URLSearchParams(globalThis.location.search);n=n||e.get("documentId"),a=a||e.get("token")}else if(this.refState.httpRequest)if("query"in this.refState.httpRequest)n=n||(null==(t=this.refState.httpRequest.query)?void 0:t.documentId),a=a||(null==(r=this.refState.httpRequest.query)?void 0:r.token);else if("url"in this.refState.httpRequest&&this.refState.httpRequest.url){const e=new URL(this.refState.httpRequest.url,"missing-host://").searchParams;n=n||e.get("documentId"),a=a||e.get("token")}if(null!=n&&null!=a){const t=await this.getByID(n,{ref:a,lang:"*",signal:e.signal,fetchOptions:e.fetchOptions}),r=O(t,{linkResolver:e.linkResolver});if("string"===typeof r)return r}return e.defaultURL}queryLatestContent(){this.refState.mode=T.Master}queryContentFromReleaseByID(e){this.refState={...this.refState,mode:T.ReleaseID,releaseID:e}}queryContentFromReleaseByLabel(e){this.refState={...this.refState,mode:T.ReleaseLabel,releaseLabel:e}}queryContentFromRef(e){this.refState={...this.refState,mode:T.Manual,ref:e}}async graphQLFetch(e,t){const r=await this.getCachedRepository(),n=await this.getResolvedRefString(),a={"Prismic-ref":n,Authorization:this.accessToken?`Token ${this.accessToken}`:"",...t?t.headers:{}};r.integrationFieldsRef&&(a["Prismic-integration-field-ref"]=r.integrationFieldsRef);const o={};for(const f in a)a[f]&&(o[f.toLowerCase()]=a[f]);const i=new URL(e);i.searchParams.set("ref",n);const s=i.searchParams.get("query");return s&&i.searchParams.set("query",(e=>e.replace(/(\n| )*( |{|})(\n| )*/gm,((e,t,r)=>r)))(s)),await this.fetchFn(i.toString(),{...t,headers:o})}async getCachedRepository(e){return(!this.cachedRepository||Date.now()>=this.cachedRepositoryExpiration)&&(this.cachedRepositoryExpiration=Date.now()+5e3,this.cachedRepository=await this.getRepository(e)),this.cachedRepository}async getCachedRepositoryForm(e,t){const r=(await this.getCachedRepository(t)).forms[e];if(!r)throw new u(`Form with name "${e}" could not be found`,void 0,void 0);return r}async getResolvedRefString(e){var t,r;if(this.refState.autoPreviewsEnabled){let e,n;if((null==(t=this.refState.httpRequest)?void 0:t.headers)?"get"in this.refState.httpRequest.headers&&"function"===typeof this.refState.httpRequest.headers.get?n=this.refState.httpRequest.headers.get("cookie"):"cookie"in this.refState.httpRequest.headers&&(n=this.refState.httpRequest.headers.cookie):(null==(r=globalThis.document)?void 0:r.cookie)&&(n=globalThis.document.cookie),n&&(e=(e=>{const t=e.split("; ");let r;for(const n of t){const e=n.split("=");if("io.prismic.preview"===p(e[0]).replace(/%3D/g,"=")){r=p(e.slice(1).join("="));break}}return r})(n)),e)return e}const n=await this.getCachedRepository(e),a=this.refState.mode;if(a===T.ReleaseID)return h(n.refs,this.refState.releaseID).ref;if(a===T.ReleaseLabel)return d(n.refs,this.refState.releaseLabel).ref;if(a===T.Manual){const e=await(o=this.refState.ref,"function"===typeof o?o:()=>o)();if("string"===typeof e)return e}var o;return l(n.refs).ref}async fetch(e,t={}){var r,n,a,o;const i={...this.fetchOptions,...t.fetchOptions,headers:{...null==(r=this.fetchOptions)?void 0:r.headers,...null==(n=t.fetchOptions)?void 0:n.headers},signal:(null==(a=t.fetchOptions)?void 0:a.signal)||t.signal||(null==(o=this.fetchOptions)?void 0:o.signal)};let s;this.fetchJobs[e]&&this.fetchJobs[e].has(i.signal)?s=this.fetchJobs[e].get(i.signal):(this.fetchJobs[e]=this.fetchJobs[e]||new Map,s=this.fetchFn(e,i).then((async e=>{let t;try{t=await e.json()}catch{}return{status:e.status,json:t}})).finally((()=>{this.fetchJobs[e].delete(i.signal),0===this.fetchJobs[e].size&&delete this.fetchJobs[e]})),this.fetchJobs[e].set(i.signal,s));const f=await s;if(404!==f.status&&null==f.json)throw new u(void 0,e,f.json);switch(f.status){case 200:return f.json;case 400:throw new w(f.json.message,e,f.json);case 401:case 403:throw new b("error"in f.json?f.json.error:f.json.message,e,f.json);case 404:throw new m(`Prismic repository not found. Check that "${this.endpoint}" is pointing to the correct repository.`,e,void 0)}throw new u(void 0,e,f.json)}}},70978:function(e,t,r){"use strict";r.d(t,{h:function(){return i}});const n=e=>Array.isArray(e)?`[${e.map(n).join(", ")}]`:"string"===typeof e?`"${e}"`:e instanceof Date?`${e.getTime()}`:`${e}`,a=e=>(t,...r)=>{const a=r.map(n).join(", "),o=t&&r.length?", ":"";return`[${e}(${t}${o}${a})]`},o=e=>{const t=a(e);return e=>t(e)},i={at:a("at"),not:a("not"),any:a("any"),in:a("in"),fulltext:a("fulltext"),has:o("has"),missing:o("missing"),similar:(e=>{const t=a(e);return(...e)=>t("",...e)})("similar"),geopointNear:a("geopoint.near"),numberLessThan:a("number.lt"),numberGreaterThan:a("number.gt"),numberInRange:a("number.inRange"),dateAfter:a("date.after"),dateBefore:a("date.before"),dateBetween:a("date.between"),dateDayOfMonth:a("date.day-of-month"),dateDayOfMonthAfter:a("date.day-of-month-after"),dateDayOfMonthBefore:a("date.day-of-month-before"),dateDayOfWeek:a("date.day-of-week"),dateDayOfWeekAfter:a("date.day-of-week-after"),dateDayOfWeekBefore:a("date.day-of-week-before"),dateMonth:a("date.month"),dateMonthAfter:a("date.month-after"),dateMonthBefore:a("date.month-before"),dateYear:a("date.year"),dateHour:a("date.hour"),dateHourAfter:a("date.hour-after"),dateHourBefore:a("date.hour-before")}}}]);
\ No newline at end of file |