u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},"4eb5":function(e,t,r){var n=r("6981"),o={autoSetContainer:!1,appendToBody:!0},i={install:function(e){var t="3."===e.version.slice(0,2)?e.config.globalProperties:e.prototype;t.$clipboardConfig=o,t.$copyText=function(e,t){return new Promise((function(r,i){var a=document.createElement("button"),s=new n(a,{text:function(){return e},action:function(){return"copy"},container:"object"==typeof t?t:document.body});s.on("success",(function(e){s.destroy(),r(e)})),s.on("error",(function(e){s.destroy(),i(e)})),o.appendToBody&&document.body.appendChild(a),a.click(),o.appendToBody&&document.body.removeChild(a)}))},e.directive("clipboard",{bind:function(e,t,r){if("success"===t.arg)e._vClipboard_success=t.value;else if("error"===t.arg)e._vClipboard_error=t.value;else{var i=new n(e,{text:function(){return t.value},action:function(){return"cut"===t.arg?"cut":"copy"},container:o.autoSetContainer?e:void 0});i.on("success",(function(t){var r=e._vClipboard_success;r&&r(t)})),i.on("error",(function(t){var r=e._vClipboard_error;r&&r(t)})),e._vClipboard=i}},update:function(e,t){"success"===t.arg?e._vClipboard_success=t.value:"error"===t.arg?e._vClipboard_error=t.value:(e._vClipboard.text=function(){return t.value},e._vClipboard.action=function(){return"cut"===t.arg?"cut":"copy"})},unbind:function(e,t){e._vClipboard&&("success"===t.arg?delete e._vClipboard_success:"error"===t.arg?delete e._vClipboard_error:(e._vClipboard.destroy(),delete e._vClipboard))}})},config:o};e.exports=i},"50c4":function(e,t,r){var n=r("5926"),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},"54c2":function(e,t,r){const n=r("c5fb"),o=r("76db"),i=r("eec3"),a=r("0e49"),s=r("2426"),c=r("6ddc");e.exports=(e,t,r,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,l);case"!=":return o(e,r,l);case">":return i(e,r,l);case">=":return a(e,r,l);case"<":return s(e,r,l);case"<=":return c(e,r,l);default:throw new TypeError("Invalid operator: "+t)}}},5692:function(e,t,r){var n=r("c430"),o=r("c6cd");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.27.2",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(e,t,r){var n=r("d066"),o=r("e330"),i=r("241c"),a=r("7418"),s=r("825a"),c=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(s(e)),r=a.f;return r?c(t,r(e)):t}},"577e":function(e,t,r){var n=r("f5df"),o=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},5926:function(e,t,r){var n=r("b42e");e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},"59c8":function(e){e.exports=JSON.parse('{"getStarted":"Get Started","signIn":"Sign In","signUp":"Sign Up","signInUp":"Sign In / Up","signInUnraidNetAccount":"Sign In with Unraid.net Account","signOut":"Sign Out","error":"Error","fixError":"Fix Error","closeLaunchpad":"Close and continue to webGUI","installPlugin":"Install Plugin","noThanks":"No thanks","closePromo":"Close Connect details and continue to webGUI","promoHeading":"Enhance your Unraid experience with these
Connect (BETA) features","learnMore":"Learn more","checkoutTheMyServersDocs":"Checkout the Connect docs","popUp":"Pop-up","backToPopUp":"Back to @:popUp","closePopUp":"Close @:popUp","close":"Close","contactSupport":"Contact Support","lanIp":"LAN IP {0}","continueToUnraid":"Continue to Unraid","year":"year","years":"years","month":"month","months":"months","day":"day","days":"days","hour":"hour","hours":"hours","minute":"minute","minutes":"minutes","second":"second","seconds":"seconds","ago":"ago","basicPlusPro":{"heading":"Thank you for choosing Unraid OS and Connect!","message":{"registered":"Connect to Connect by signing in to Unraid.net","upgradeEligible":"To support more storage devices as your server grows, click Upgrade Key."}},"actions":{"purchase":"Purchase Key","upgrade":"Upgrade Key","recover":"Recover Key","replace":"Replace Key","replaceIneligible":"Replace Key Ineligible","startTrial":"Start Free 30 Day Trial","extend":"Extend Trial","signOutUnraidNet":"Sign Out of Unraid.net Account","redeemActivationCode":"Redeem Activation Code"},"stateData":{"ENOKEYFILE":{"humanReadable":"No Keyfile","heading":"Let\'s unleash your hardware!","message":"Your server will not be usable until you purchase a Registration key or install a free 30-day Trial key. A Trial key provides all the functionality of a Pro Registration key.
Registration keys are bound to your USB Flash boot device serial number (GUID). Please use a high quality name brand device at least 1GB in size.
Note: USB memory card readers are generally not supported because most do not present unique serial numbers.
Important:
- Please make sure your server time is accurate to within 5 minutes
- Please make sure there is a DNS server specified
"},"TRIAL":{"humanReadable":"Trial","heading":"Thank you for choosing Unraid OS!","message":"Your Trial key includes all the functionality and device support of a Pro key.
After your Trial has reached expiration, your server still functions normally until the next time you Stop the array or reboot your server.
At that point you may either purchase a license key or request a Trial extension.
","_extraMsg":"You have {parsedExpireTime} remaining on your Trial key.
"},"EEXPIRED":{"humanReadable":"Trial Expired","heading":"Your Trial has expired","message":{"base":"To continue using Unraid OS you may purchase a license key.","extensionNotEligible":"You have used all your Trial extensions. @:stateData.EEXPIRED.message.base","extensionEligible":"@:stateData.EEXPIRED.message.base Alternately, you may request a Trial extension."}},"BASIC":{"humanReadable":"Basic"},"PLUS":{"humanReadable":"Plus"},"PRO":{"humanReadable":"Pro"},"EGUID":{"humanReadable":"GUID Error","error":{"heading":"Registration key / GUID mismatch","message":{"default":"The license key file does not correspond to the USB Flash boot device. Please copy the correct key file to the /config directory on your USB Flash boot device or choose Purchase Key.","replacementIneligible":"Your Unraid registration key is ineligible for replacement as it has been replaced within the last 12 months.","replacementEligible":"The license key file does not correspond to the USB Flash boot device. Please copy the correct key file to the /config directory on your USB Flash boot device or choose Purchase Key or Replace Key.","blacklisted":"Your Unraid registration key is ineligible for replacement as it is blacklisted."}}},"ENOKEYFILE2":{"humanReadable":"Missing key file","error":{"heading":"@:stateData.ENOKEYFILE2.humanReadable","message":"It appears that your license key file is corrupted or missing. The key file should be located in the /config directory on your USB Flash boot device. If you do not have a backup copy of your license key file you may install the Connect (beta) plugin to attempt to recover your key. If this was an expired Trial installation, you may purchase a license key."}},"ETRIAL":{"humanReadable":"Invalid installation","error":{"heading":"@:stateData.ETRIAL.humanReadable","message":"It is not possible to use a Trial key with an existing Unraid OS installation. You may purchase a license key corresponding to this USB Flash device to continue using this installation."}},"ENOKEYFILE1":{"humanReadable":"No Keyfile","error":{"heading":"No USB flash configuration data","message":"There is a problem with your USB Flash device"}},"ENOFLASH":{"humanReadable":"No Flash","error":{"heading":"Cannot access your USB Flash boot device","message":"There is a physical problem accessing your USB Flash boot device"}},"EGUID1":{"humanReadable":"Multiple License Keys Present","error":{"heading":"@:stateData.EGUID1.humanReadable","message":"There are multiple license key files present on your USB flash device and none of them correspond to the USB Flash boot device. Please remove all key files, except the one you want to replace, from the /config directory on your USB Flash boot device. Alternately you may purchase a license key for this USB flash device. If you want to replace one of your license keys with a new key bound to this USB Flash device, please first remove all other key files first."}},"EBLACKLISTED":{"humanReadable":"BLACKLISTED","error":{"heading":"Blacklisted USB Flash GUID","message":"This USB Flash boot device has been blacklisted. This can occur as a result of transferring your license key to a replacement USB Flash device, and you are currently booted from your old USB Flash device. A USB Flash device may also be blacklisted if we discover the serial number is not unique – this is common with USB card readers."}},"EBLACKLISTED1":{"humanReadable":"@:stateData.EBLACKLISTED.humanReadable","error":{"heading":"USB Flash device error","message":"This USB Flash device has an invalid GUID. Please try a different USB Flash device"}},"EBLACKLISTED2":{"humanReadable":"@:stateData.EBLACKLISTED.humanReadable","error":{"heading":"USB Flash has no serial number","message":"@:stateData.EBLACKLISTED.error.message"}},"ENOCONN":{"humanReadable":"Trial Requires Internet Connection","error":{"heading":"Cannot validate Unraid Trial key","message":"Your Trial key requires an internet connection. Please check Settings > Network"}},"STALE":{"humanReadable":"Stale","error":{"heading":"Stale Server","message":"Please refresh the page to ensure you load your latest configuration"}}},"upc":{"avatarAlt":"{0}\'s Avatar","confirmClosure":"Confirm closure then continue to webGUI","closeDropdown":"Close dropdown","openDropdown":"Open dropdown","pleaseConfirmClosureYouHaveOpenPopUp":"Please confirm closure. You have an open pop-up.","trialHasExpiredSeeOptions":"Trial has expired, see options below","errorCertRequiresSignIn":"Sign In before your Unraid.net SSL certificate expires","removeMyServersPlugin":"Remove Connect plugin","continueUsingMyServers":"Continue using Connect","confirmMyServersPluginRemoval":"Confirm Connect plugin removal","removingMyServersPlugin":"Removing Connect plugin…","enhanceYourExperienceWithMyServers":"Enhance your experience with Connect","connectYourUnraidnetAccountToGetStarted":"Connect your Unraid.net account to get started","thankYouForInstallingMyServers":"Thank you installing Connect!","lanIpCopied":"LAN IP Copied","installingMyServers":"Installing Connect (beta)","updatePlugin":"Update Plugin","updatingMyServers":"Updating Connect (beta)","noRemoteApikeyRegisteredWithPlg":{"heading":"Connect Error","msg":"Unraid.net re-authentication required"},"errorTooManyDisks":{"heading":"Too many devices","msg":{"base":"You must upgrade your key to support more devices.","basic":"Your Basic key supports 6 devices.","plus":"Your Plus key supports 12 devices."}},"extraLinks":{"newTab":"Opens {0} in new tab","myServers":"Go to Connect","forums":"Unraid Forums","settings":{"text":"Settings","title":"Settings > Management Access • Unraid.net"}},"meta":{"trial":{"active":{"date":"Trial key expires at {date}","timeDiff":"Trial expires in {timeDiff}"},"expired":{"date":"Trial key expired at {date}","timeDiff":"Trial expired {timeDiff}"}},"uptime":{"date":"Server up since {date}","readable":"Uptime {timeDiff}"}},"myServers":{"heading":"Connect","beta":"beta","restarting":"Restarting…","errors":{"unraidApi":{"heading":"Unraid API Error","message":"Failed to connect to Unraid API."},"myServers":{"heading":"Connect Error","message":"Please wait a moment and reload the page."}},"closeDetails":"Close Details","loading":"Loading Connect data","displayingLastKnown":"Displaying last known server data","mothership":{"connected":"Connected","notConnected":"Disconnected"},"accessLabels":{"current":"Current server","local":"Local access","offline":"Server Offline","remote":"Remote access","unavailable":"Access unavailable"},"api":{"start":"Restart unraid-api","startTitle":"Executes `unraid-api start`; no terminal needed","stop":"Stop unraid-api"}},"opensNewHttpsWindow":{"base":"Opens new HTTPS window to {0}","signIn":"@:upc.opensNewHttpsWindow.base @:signIn","signOut":"@:upc.opensNewHttpsWindow.base @:signOut","purchase":"@:upc.opensNewHttpsWindow.base @:actions.purchase","upgrade":"@:upc.opensNewHttpsWindow.base @:actions.upgrade"},"signInActions":{"resolve":"@:signIn to resolve","purchaseKey":"@:signIn to @:actions.purchase","purchaseKeyOrExtendTrial":"@:upc.signInActions.purchaseKey or @:actions.extend"}},"wanIpCheck":{"checking":"Checking Wan IPs","avatarAlt":"{0}\'s Avatar","match":"Remark: your WAN IPv4 is {0}","mismatch":"Remark: Unraid\'s WAN IPv4 {0} does not match your client\'s WAN IPv4 {1}. This may indicate a complex network that will not work with this Remote Access solution. Ignore this message if you are currently connected via Remote Access or VPN","resolveError":"DNS issue, unable to resolve wanip4.unraid.net"},"regWizPopUp":{"regWiz":"Registration Wizard","toHome":"To Registration Wizard Home","continueTrial":"Continue Trial","serverInfoToggle":"Toggle server info visibility","youCanSafelyCloseThisWindow":"You can safely close this window","automaticallyClosingIn":"Automatically closing in","byeBye":"bye, bye 👋","browserWillSelfDestructIn":"Browser will self destruct in","closingPopUpMayLeadToErrors":"Closing this pop-up window while actions are being preformed may lead to unintended errors.","goBack":"Go Back","shutDown":"Shut Down","haveAccountSignIn":"Already have an account? Sign In","noAccountSignUp":"Don\'t have an account? Sign Up","willConnectYourServerToMyServers":"This will connect your server to Connect BETA","serverInfo":{"flash":"Flash","product":"Product","GUID":"GUID","name":"Name","ip":"IP"},"forms":{"displayName":"Display Name","emailAddress":"Email Address","displayNameOrEmailAddress":"@:regWizPopUp.forms.displayName or @:regWizPopUp.forms.emailAddress","displayNameRootMessage":"Use your Unraid.net credentials, not your local server credentials.","honeyPotCopy":"If you fill this field out then your email will not be sent","fieldRequired":"This field is required","submit":"Submit","submitting":"submitting…","notValid":"Form not valid","cancel":"Cancel","confirm":"Confirm","createMyAccount":"Create My Account","subject":"Subject","password":"Password","togglePasswordVisibility":"Toggle Password Visibility","message":"Message","confirmPassword":"Confirm Password","passwordMustMatch":"Password confirmation must match","passwordMinimum":"8 or more characters","comments":"comments","newsletterCopy":"Sign me up for the monthly Unraid newsletter: a digest of recent blog posts, community videos, popular forum threads, product announcements, and more.","terms":{"iAgree":"I agree to the","text":"Terms of Use"}},"routes":{"extendTrial":{"heading":{"loading":"Extending Trial","error":"Trial Extension Failed"},"message":"Not ready to purchase?
Receive an additional 15 days for your trial."},"forgotPassword":{"heading":"Forgot Password","subheading":"After resetting your password come back to the Registration Wizard pop-up window to Sign In and complete your server\'s registration.","resetPasswordNow":"Reset Password Now","backToSignIn":"Back to Sign In"},"signIn":{"heading":{"signIn":"Unraid.net Sign In","recover":"Unraid.net Sign In to Recover Key","replace":"Unraid.net Sign In to Replace Key"},"subheading":"Please sign in with your Unraid.net account","form":{"replacementConditions":{"name":"Acknowledge Replacement Conditions","label":"I acknowledge that replacing a license key results in permanently blacklisting the previous USB Flash GUID."},"label":{"password":{"replace":"Unraid.net account password"}}}},"signUp":{"heading":"Create Unraid.net Account","subheading":"This will start your free 30-day Trial"},"signOut":{"heading":"Unraid.net Sign Out"},"success":{"heading":{"username":"Hi {0}!","default":"Success!"},"subheading":{"extention":"Your trial will expire in 15 days.","newTrial":"Your trial will expire in 30 days."},"signIn":{"tileTitle":{"actionFail":"{0} was not signed in to your Unraid.net account","actionSuccess":"{0} is signed in to your Unraid.net account","loading":"Signing in {0} to Unraid.net account"}},"signOut":{"tileTitle":{"actionFail":"{0} was not signed out of your Unraid.net account","actionSuccess":"{0} was signed out of your Unraid.net account","loading":"Signing out {0} from Unraid.net account"}},"keys":{"trial":"Trial","basic":"Basic","plus":"Plus","pro":"Pro"},"extended":"{0} Key Extended","recovered":"{0} Key Recovered","replaced":"{0} Key Replaced","created":"{0} Key Created","install":{"loading":"Installing {0} Key","error":"{0} Key Install Error","success":"Installed {0} Key","manualInstructions":"To manually install the key paste the key file url into the Key file URL field on the webGUI Registration page and then click Install Key","copyFail":"Unable to copy","copySuccess":"Copied key url!","copyButton":"Copy Key URL","copyBeforeClose":"Please copy the Key URL before closing this window"},"timeout":"Communication with {0} has timed out","loading1":"Please keep this window open.","loading2":"Still working our magic","countdown":{"success":{"prefix":"Auto closing in","text":"You can safely close this window"},"error":{"prefix":"Auto redirecting in","text":"Back to Registration Home","complete":"Back in a flash ⚡️"}}},"troubleshoot":{"heading":{"default":"Troubleshoot","success":"Thank you for contacting Unraid."},"subheading":{"default":"Forgot what Unraid.net account you used? Have a USB flash device that already has an account associated with it? Just give us the details about what happened and we\'ll do our best to get you up and running again.","success":"We have received your e-mail and will respond in the order it was received. While we strive to respond to all requests as quickly as possible, please allow for up to 3 business days for a response."},"relevantServerData":"Your USB Flash GUID and other relevant server data will also be sent"},"verifyEmail":{"heading":"Verify Email","form":{"verificationCode":"verification code","verifyCode":"Paste / Enter code"},"noCode":"Didn\'t get code?"},"whatIsMyServers":{"heading":"What is Connect?","subheading":"Expand your server\'s capabilities","copy":"With an Unraid.net account you can start using Connect (beta) which gives you access to the following features:","features":{"dynamicRemoteAccess":{"heading":"Dynamic Remote Access","copy":"Toggle on/off server accessibility with dynamic remote access. Automatically turn on UPnP and open a random WAN port on your router at the click of a button and close off access in seconds."},"manageWithinConnect":{"heading":"Manage Your Server Within Connect","copy":"Servers equipped with a myunraid.net certificate can be managed directly from within the Connect web UI. Manage multiple servers from your phone, tablet, laptop, or PC in the same browser window."},"deepLinking":{"heading":"Deep Linking","copy":"The Connect dashboard links to relevant sections of the webgui, allowing quick access to those settings and server sections."},"onlineFlashBackup":{"heading":"Online Flash Backup","copy":"Never ever be left without a backup of your config. If you need to change flash drives, generate a backup from Connect and be up and running in minutes."},"realTimeMonitoring":{"heading":"Real-time Monitoring","copy":"Get an overview of your server\'s state, storage space, apps and VMs status, and more."},"customizableDashboardTitles":{"heading":"Customizable Dashboard Tiles","copy":"Set custom server tiles how you like and automatically display your server\'s banner image on your Connect Dashboard."},"licenseManagement":{"heading":"License Management","copy":"Manage your license keys at any time via the My Keys section."},"plusMore":{"heading":"Plus more on the way","copy":"All you need is an active internet connection, an Unraid.net account, and the Connect plugin. Get started by installing the plugin."}}},"replaceKey":{"subheading":{"registered":"A record of your replacement will be sent to your Unraid.net account email address","notRegistered":"A record of your replacement will be sent to this email"}},"notFound":{"subheading":"Page Not Found"},"notAllowed":{"subheading":"Page Not Allowed"}}},"upcTrigger":{"upgrade":"To support more storage devices as your server grows click the Open Dropdown button","default":"Key management is done via the dropdown in the top right of the webGUI on every page","open":"Open Dropdown"},"yargYePirate":"Oh no! Are you pirating Unraid OS?
Are you ready to buy a real license?","keyFileNotValid":"Key file not valid","installFailed":{"heading":"Connect plugin install failed","message":"The Connect plugin install is incomplete. Please uninstall and reinstall the Connect plugin. Be sure to let the install complete before you close the window."},"download":"Download","downloadUnraidApiLogsMessage":"The primary method of support for Unraid Connect is through our forums and Discord. If you are asked to supply logs, please open a support request on our Contact Page and reply to the email message you receive with your logs attached. The logs may contain sensitive information so do not post them publicly.","pleaseWait":"Please wait…"}')},"59ed":function(e,t,r){var n=r("1626"),o=r("0d51"),i=TypeError;e.exports=function(e){if(n(e))return e;throw i(o(e)+" is not a function")}},"5a0c":function(e,t,r){e.exports=function(){"use strict";var e=6e4,t=36e5,r="millisecond",n="second",o="minute",i="hour",a="day",s="week",c="month",l="quarter",u="year",p="date",d="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},g=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},v={s:g,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),o=r%60;return(t<=0?"+":"-")+g(n,2,"0")+":"+g(o,2,"0")},m:function e(t,r){if(t.date()1)return e(a[0])}else{var s=t.name;y[s]=t,o=s}return!n&&o&&(b=o),o||!n&&b},_=function(e,t){if(w(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new k(r)},E=v;E.l=x,E.i=w,E.w=function(e,t){return _(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var k=function(){function m(e){this.$L=x(e.locale,null,!0),this.parse(e)}var g=m.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(E.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(f);if(n){var o=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],o,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return E},g.isValid=function(){return!(this.$d.toString()===d)},g.isSame=function(e,t){var r=_(e);return this.startOf(t)<=r&&r<=this.endOf(t)},g.isAfter=function(e,t){return _(e)e.replace(a,(e,t)=>t?t.toUpperCase():""),c=/\B([A-Z])/g,l=e=>e.replace(c,"-$1").toLowerCase();function u(e,t,r){e[t]=[].concat(e[t]||[]),e[t].unshift(r)}function p(e,t){if(e){(e.$options[t]||[]).forEach(t=>{t.call(e)})}}function d(e,t,{type:r}={}){if((e=>/function Boolean/.test(String(e)))(r))return"true"===e||"false"===e?"true"===e:""===e||e===t||null!=e||e;if((e=>/function Number/.test(String(e)))(r)){const t=parseFloat(e,10);return isNaN(t)?e:t}return e}function f(e,t){const r=[];for(let n=0,o=t.length;n(e[t]=c[r[n]],e),{}),u(t,"beforeCreate",(function(){const e=this.$emit;this.$emit=(t,...r)=>(this.$root.$options.customElement.dispatchEvent(function(e,t){return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t})}(t,r)),e.call(this,t,...r))})),u(t,"created",(function(){o.forEach(e=>{this.$root.props[e]=this[e]})})),o.forEach(e=>{Object.defineProperty(m.prototype,e,{get(){return this._wrapper.props[e]},set(t){this._wrapper.props[e]=t},enumerable:!1,configurable:!0})}),a=!0}function h(e,t){const r=s(t),n=e.hasAttribute(t)?e.getAttribute(t):void 0;e._wrapper.props[r]=d(n,t,i[r])}class m extends HTMLElement{constructor(){const r=super();r.attachShadow({mode:"open"});const n=r._wrapper=new e({name:"shadow-root",customElement:r,shadowRoot:r.shadowRoot,data:()=>({props:{},slotChildren:[]}),render(e){return e(t,{ref:"inner",props:this.props},this.slotChildren)}});new MutationObserver(e=>{let t=!1;for(let n=0;n{e.props=function(e){const t={};return e.forEach(e=>{t[e]=void 0}),t}(o),n.forEach(e=>{h(this,e)})};a?r():t().then(e=>{(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),c(e),r()}),e.slotChildren=Object.freeze(f(e.$createElement,this.childNodes)),e.$mount(),this.shadowRoot.appendChild(e.$el)}}disconnectedCallback(){p(this.vueComponent,"deactivated")}}return r||c(t),m};function v(e,t,r,n,o,i,a,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):o&&(c=s?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:l}}r("24fb"),r("35d6");var b=r("2f62"),y=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],w=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function x(e,t){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}var _=Array.isArray;function E(e){return null!==e&&"object"==typeof e}function k(e){return"boolean"==typeof e}function S(e){return"string"==typeof e}var T=Object.prototype.toString;function O(e){return"[object Object]"===T.call(e)}function R(e){return null==e}function I(e){return"function"==typeof e}function A(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=null,n=null;return 1===e.length?E(e[0])||_(e[0])?n=e[0]:"string"==typeof e[0]&&(r=e[0]):2===e.length&&("string"==typeof e[0]&&(r=e[0]),(E(e[1])||_(e[1]))&&(n=e[1])),{locale:r,params:n}}function C(e){return JSON.parse(JSON.stringify(e))}function P(e,t){return!!~e.indexOf(t)}var N=Object.prototype.hasOwnProperty;function U(e,t){return N.call(e,t)}function D(e){for(var t=arguments,r=Object(e),n=1;n/g,">").replace(/"/g,""").replace(/'/g,"'")}(e[t]))})),e}var j={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var r=t.data,n=t.parent,o=t.props,i=t.slots,a=n.$i18n;if(a){var s=o.path,c=o.locale,l=o.places,u=i(),p=a.i(s,c,function(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}(u)||l?function(e,t){var r=t?function(e){return Array.isArray(e)?e.reduce($,{}):Object.assign({},e)}(t):{};if(!e)return r;var n=(e=e.filter((function(e){return e.tag||""!==e.text.trim()}))).every(z);return e.reduce(n?F:$,r)}(u.default,l):u),d=o.tag&&!0!==o.tag||!1===o.tag?o.tag:"span";return d?e(d,r,p):p}}};function F(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function $(e,t,r){return e[r]=t,e}function z(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var V,G={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var r=t.props,n=t.parent,o=t.data,i=n.$i18n;if(!i)return null;var a=null,s=null;S(r.format)?a=r.format:E(r.format)&&(r.format.key&&(a=r.format.key),s=Object.keys(r.format).reduce((function(e,t){var n;return P(y,t)?Object.assign({},e,((n={})[t]=r.format[t],n)):e}),null));var c=r.locale||i.locale,l=i._ntp(r.value,c,a,s),u=l.map((function(e,t){var r,n=o.scopedSlots&&o.scopedSlots[e.type];return n?n(((r={})[e.type]=e.value,r.index=t,r.parts=l,r)):e.value})),p=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return p?e(p,{attrs:o.attrs,class:o.class,staticClass:o.staticClass},u):u}};function B(e,t,r){H(e,r)&&q(e,t,r)}function W(e,t,r,n){if(H(e,r)){var o=r.context.$i18n;(function(e,t){var r=t.context;return e._locale===r.$i18n.locale})(e,r)&&M(t.value,t.oldValue)&&M(e._localeMessage,o.getLocaleMessage(o.locale))||q(e,t,r)}}function Y(e,t,r,n){if(r.context){var o=r.context.$i18n||{};t.modifiers.preserve||o.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e._vt,e._locale=void 0,delete e._locale,e._localeMessage=void 0,delete e._localeMessage}else x("Vue instance does not exists in VNode context")}function H(e,t){var r=t.context;return r?!!r.$i18n||(x("VueI18n instance does not exists in Vue instance"),!1):(x("Vue instance does not exists in VNode context"),!1)}function q(e,t,r){var n,o,i=function(e){var t,r,n,o;return S(e)?t=e:O(e)&&(t=e.path,r=e.locale,n=e.args,o=e.choice),{path:t,locale:r,args:n,choice:o}}(t.value),a=i.path,s=i.locale,c=i.args,l=i.choice;if(a||s||c)if(a){var u=r.context;e._vt=e.textContent=null!=l?(n=u.$i18n).tc.apply(n,[a,l].concat(K(s,c))):(o=u.$i18n).t.apply(o,[a].concat(K(s,c))),e._locale=u.$i18n.locale,e._localeMessage=u.$i18n.getLocaleMessage(u.$i18n.locale)}else x("`path` is required in v-t directive");else x("value type not supported")}function K(e,t){var r=[];return e&&r.push(e),t&&(Array.isArray(t)||O(t))&&r.push(t),r}function Q(e,t){void 0===t&&(t={bridge:!1}),Q.installed=!0,(V=e).version&&Number(V.version.split(".")[0]),function(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];var n=this.$i18n;return n._t.apply(n,[e,n.locale,n._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){for(var r=[],n=arguments.length-2;n-- >0;)r[n]=arguments[n+2];var o=this.$i18n;return o._tc.apply(o,[e,o.locale,o._getMessages(),this,t].concat(r))},e.prototype.$te=function(e,t){var r=this.$i18n;return r._te(e,r.locale,r._getMessages(),t)},e.prototype.$d=function(e){for(var t,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return(t=this.$i18n).d.apply(t,[e].concat(r))},e.prototype.$n=function(e){for(var t,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return(t=this.$i18n).n.apply(t,[e].concat(r))}}(V),V.mixin(function(e){function t(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===e&&(e=!1),e?{mounted:t}:{beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n){if(e.i18n instanceof de){if(e.__i18nBridge||e.__i18n)try{var t=e.i18n&&e.i18n.messages?e.i18n.messages:{};(e.__i18nBridge||e.__i18n).forEach((function(e){t=D(t,JSON.parse(e))})),Object.keys(t).forEach((function(r){e.i18n.mergeLocaleMessage(r,t[r])}))}catch(e){}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(O(e.i18n)){var r=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof de?this.$root.$i18n:null;if(r&&(e.i18n.root=this.$root,e.i18n.formatter=r.formatter,e.i18n.fallbackLocale=r.fallbackLocale,e.i18n.formatFallbackMessages=r.formatFallbackMessages,e.i18n.silentTranslationWarn=r.silentTranslationWarn,e.i18n.silentFallbackWarn=r.silentFallbackWarn,e.i18n.pluralizationRules=r.pluralizationRules,e.i18n.preserveDirectiveContent=r.preserveDirectiveContent),e.__i18nBridge||e.__i18n)try{var n=e.i18n&&e.i18n.messages?e.i18n.messages:{};(e.__i18nBridge||e.__i18n).forEach((function(e){n=D(n,JSON.parse(e))})),e.i18n.messages=n}catch(e){}var o=e.i18n.sharedMessages;o&&O(o)&&(e.i18n.messages=D(e.i18n.messages,o)),this._i18n=new de(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),r&&r.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof de?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof de&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n?(e.i18n instanceof de||O(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof de||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof de)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:t,beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)}))}}}}(t.bridge)),V.directive("t",{bind:B,update:W,unbind:Y}),V.component(j.name,j),V.component(G.name,G),V.config.optionMergeStrategies.i18n=function(e,t){return void 0===t?e:t}}var X=function(){this._caches=Object.create(null)};X.prototype.interpolate=function(e,t){if(!t)return[e];var r=this._caches[e];return r||(r=function(e){var t=[],r=0,n="";for(;r0)p--,u=4,d[0]();else{if(p=0,void 0===r)return!1;if(!1===(r=ne(r)))return!1;d[1]()}};null!==u;)if(l++,"\\"!==(t=e[l])||!f()){if(o=re(t),8===(i=(s=ee[u])[o]||s.else||8))return;if(u=i[0],(a=d[i[1]])&&(n=void 0===(n=i[2])?t:n,!1===a()))return;if(7===u)return c}}(e))&&(this._cache[e]=t),t||[]},oe.prototype.getPathValue=function(e,t){if(!E(e))return null;var r=this.parsePath(t);if(0===r.length)return null;for(var n=r.length,o=e,i=0;i/,se=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,ce=/^@(?:\.([a-zA-Z]+))?:/,le=/[()]/g,ue={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},pe=new X,de=function(e){var t=this;void 0===e&&(e={}),!V&&"undefined"!=typeof window&&window.Vue&&Q(window.Vue);var r=e.locale||"en-US",n=!1!==e.fallbackLocale&&(e.fallbackLocale||"en-US"),o=e.messages||{},i=e.dateTimeFormats||e.datetimeFormats||{},a=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||pe,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._fallbackRootWithEmptyString=void 0===e.fallbackRootWithEmptyString||!!e.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new oe,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in e&&(this.__VUE_I18N_BRIDGE__=e.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(e,r){var n=Object.getPrototypeOf(t);if(n&&n.getChoiceIndex)return n.getChoiceIndex.call(t,e,r);return t.locale in t.pluralizationRules?t.pluralizationRules[t.locale].apply(t,[e,r]):function(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}(e,r)},this._exist=function(e,r){return!(!e||!r||R(t._path.getPathValue(e,r))&&!e[r])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,o[e])})),this._initVM({locale:r,fallbackLocale:n,messages:o,dateTimeFormats:i,numberFormats:a})},fe={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};de.prototype._checkLocaleMessage=function(e,t,r){var n=function(e,t,r,o){if(O(r))Object.keys(r).forEach((function(i){var a=r[i];O(a)?(o.push(i),o.push("."),n(e,t,a,o),o.pop(),o.pop()):(o.push(i),n(e,t,a,o),o.pop())}));else if(_(r))r.forEach((function(r,i){O(r)?(o.push("["+i+"]"),o.push("."),n(e,t,r,o),o.pop(),o.pop()):(o.push("["+i+"]"),n(e,t,r,o),o.pop())}));else if(S(r)){if(ae.test(r)){var i="Detected HTML in message '"+r+"' of keypath '"+o.join("")+"' at '"+t+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?x(i):"error"===e&&function(e,t){"undefined"!=typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}(i)}}};n(t,e,r,[])},de.prototype._initVM=function(e){var t=V.config.silent;V.config.silent=!0,this._vm=new V({data:e,__VUE18N__INSTANCE__:!0}),V.config.silent=t},de.prototype.destroyVM=function(){this._vm.$destroy()},de.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)},de.prototype.unsubscribeDataChanging=function(e){!function(e,t){if(e.delete(t));}(this._dataListeners,e)},de.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",(function(){for(var t=function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}(e._dataListeners),r=t.length;r--;)V.nextTick((function(){t[r]&&t[r].$forceUpdate()}))}),{deep:!0})},de.prototype.watchLocale=function(e){if(e){if(!this.__VUE_I18N_BRIDGE__)return null;var t=this,r=this._vm;return this.vm.$watch("locale",(function(n){r.$set(r,"locale",n),t.__VUE_I18N_BRIDGE__&&e&&(e.locale.value=n),r.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var n=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){n.$set(n,"locale",e),n.$forceUpdate()}),{immediate:!0})},de.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)},fe.vm.get=function(){return this._vm},fe.messages.get=function(){return C(this._getMessages())},fe.dateTimeFormats.get=function(){return C(this._getDateTimeFormats())},fe.numberFormats.get=function(){return C(this._getNumberFormats())},fe.availableLocales.get=function(){return Object.keys(this.messages).sort()},fe.locale.get=function(){return this._vm.locale},fe.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},fe.fallbackLocale.get=function(){return this._vm.fallbackLocale},fe.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)},fe.formatFallbackMessages.get=function(){return this._formatFallbackMessages},fe.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},fe.missing.get=function(){return this._missing},fe.missing.set=function(e){this._missing=e},fe.formatter.get=function(){return this._formatter},fe.formatter.set=function(e){this._formatter=e},fe.silentTranslationWarn.get=function(){return this._silentTranslationWarn},fe.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},fe.silentFallbackWarn.get=function(){return this._silentFallbackWarn},fe.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},fe.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},fe.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},fe.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},fe.warnHtmlInMessage.set=function(e){var t=this,r=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,r!==e&&("warn"===e||"error"===e)){var n=this._getMessages();Object.keys(n).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,n[e])}))}},fe.postTranslation.get=function(){return this._postTranslation},fe.postTranslation.set=function(e){this._postTranslation=e},fe.sync.get=function(){return this._sync},fe.sync.set=function(e){this._sync=e},de.prototype._getMessages=function(){return this._vm.messages},de.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},de.prototype._getNumberFormats=function(){return this._vm.numberFormats},de.prototype._warnDefault=function(e,t,r,n,o,i){if(!R(r))return r;if(this._missing){var a=this._missing.apply(null,[e,t,n,o]);if(S(a))return a}if(this._formatFallbackMessages){var s=A.apply(void 0,o);return this._render(t,i,s.params,t)}return t},de.prototype._isFallbackRoot=function(e){return(this._fallbackRootWithEmptyString?!e:R(e))&&!R(this._root)&&this._fallbackRoot},de.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},de.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},de.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},de.prototype._interpolate=function(e,t,r,n,o,i,a){if(!t)return null;var s,c=this._path.getPathValue(t,r);if(_(c)||O(c))return c;if(R(c)){if(!O(t))return null;if(!S(s=t[r])&&!I(s))return null}else{if(!S(c)&&!I(c))return null;s=c}return S(s)&&(s.indexOf("@:")>=0||s.indexOf("@.")>=0)&&(s=this._link(e,t,s,n,"raw",i,a)),this._render(s,o,i,r)},de.prototype._link=function(e,t,r,n,o,i,a){var s=r,c=s.match(se);for(var l in c)if(c.hasOwnProperty(l)){var u=c[l],p=u.match(ce),d=p[0],f=p[1],h=u.replace(d,"").replace(le,"");if(P(a,h))return s;a.push(h);var m=this._interpolate(e,t,h,n,"raw"===o?"string":o,"raw"===o?void 0:i,a);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;m=g._translate(g._getMessages(),g.locale,g.fallbackLocale,h,n,o,i)}m=this._warnDefault(e,h,m,n,_(i)?i:[i],o),this._modifiers.hasOwnProperty(f)?m=this._modifiers[f](m):ue.hasOwnProperty(f)&&(m=ue[f](m)),a.pop(),s=m?s.replace(u,m):s}return s},de.prototype._createMessageContext=function(e,t,r,n){var o=this,i=_(e)?e:[],a=E(e)?e:{},s=this._getMessages(),c=this.locale;return{list:function(e){return i[e]},named:function(e){return a[e]},values:e,formatter:t,path:r,messages:s,locale:c,linked:function(e){return o._interpolate(c,s[c]||{},e,null,n,void 0,[e])}}},de.prototype._render=function(e,t,r,n){if(I(e))return e(this._createMessageContext(r,this._formatter||pe,n,t));var o=this._formatter.interpolate(e,r,n);return o||(o=pe.interpolate(e,r,n)),"string"!==t||S(o)?o:o.join("")},de.prototype._appendItemToChain=function(e,t,r){var n=!1;return P(e,t)||(n=!0,t&&(n="!"!==t[t.length-1],t=t.replace(/!/g,""),e.push(t),r&&r[t]&&(n=r[t]))),n},de.prototype._appendLocaleToChain=function(e,t,r){var n,o=t.split("-");do{var i=o.join("-");n=this._appendItemToChain(e,i,r),o.splice(-1,1)}while(o.length&&!0===n);return n},de.prototype._appendBlockToChain=function(e,t,r){for(var n=!0,o=0;o0;)i[a]=arguments[a+4];if(!e)return"";var s=A.apply(void 0,i);this._escapeParameterHtml&&(s.params=L(s.params));var c=s.locale||t,l=this._translate(r,c,this.fallbackLocale,e,n,"string",s.params);if(this._isFallbackRoot(l)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[e].concat(i))}return l=this._warnDefault(c,e,l,n,i,"string"),this._postTranslation&&null!=l&&(l=this._postTranslation(l,e)),l},de.prototype.t=function(e){for(var t,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(r))},de.prototype._i=function(e,t,r,n,o){var i=this._translate(r,t,this.fallbackLocale,e,n,"raw",o);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,o)}return this._warnDefault(t,e,i,n,[o],"raw")},de.prototype.i=function(e,t,r){return e?(S(t)||(t=this.locale),this._i(e,t,this._getMessages(),null,r)):""},de.prototype._tc=function(e,t,r,n,o){for(var i,a=[],s=arguments.length-5;s-- >0;)a[s]=arguments[s+5];if(!e)return"";void 0===o&&(o=1);var c={count:o,n:o},l=A.apply(void 0,a);return l.params=Object.assign(c,l.params),a=null===l.locale?[l.params]:[l.locale,l.params],this.fetchChoice((i=this)._t.apply(i,[e,t,r,n].concat(a)),o)},de.prototype.fetchChoice=function(e,t){if(!e||!S(e))return null;var r=e.split("|");return r[t=this.getChoiceIndex(t,r.length)]?r[t].trim():e},de.prototype.tc=function(e,t){for(var r,n=[],o=arguments.length-2;o-- >0;)n[o]=arguments[o+2];return(r=this)._tc.apply(r,[e,this.locale,this._getMessages(),null,t].concat(n))},de.prototype._te=function(e,t,r){for(var n=[],o=arguments.length-3;o-- >0;)n[o]=arguments[o+3];var i=A.apply(void 0,n).locale||t;return this._exist(r[i],e)},de.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},de.prototype.getLocaleMessage=function(e){return C(this._vm.messages[e]||{})},de.prototype.setLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,t)},de.prototype.mergeLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,D(void 0!==this._vm.messages[e]&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},t))},de.prototype.getDateTimeFormat=function(e){return C(this._vm.dateTimeFormats[e]||{})},de.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t),this._clearDateTimeFormat(e,t)},de.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,D(this._vm.dateTimeFormats[e]||{},t)),this._clearDateTimeFormat(e,t)},de.prototype._clearDateTimeFormat=function(e,t){for(var r in t){var n=e+"__"+r;this._dateTimeFormatters.hasOwnProperty(n)&&delete this._dateTimeFormatters[n]}},de.prototype._localizeDateTime=function(e,t,r,n,o,i){for(var a=t,s=n[a],c=this._getLocaleChain(t,r),l=0;l0;)t[r]=arguments[r+1];var n=this.locale,o=null,i=null;return 1===t.length?(S(t[0])?o=t[0]:E(t[0])&&(t[0].locale&&(n=t[0].locale),t[0].key&&(o=t[0].key)),i=Object.keys(t[0]).reduce((function(e,r){var n;return P(w,r)?Object.assign({},e,((n={})[r]=t[0][r],n)):e}),null)):2===t.length&&(S(t[0])&&(o=t[0]),S(t[1])&&(n=t[1])),this._d(e,n,o,i)},de.prototype.getNumberFormat=function(e){return C(this._vm.numberFormats[e]||{})},de.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t),this._clearNumberFormat(e,t)},de.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,D(this._vm.numberFormats[e]||{},t)),this._clearNumberFormat(e,t)},de.prototype._clearNumberFormat=function(e,t){for(var r in t){var n=e+"__"+r;this._numberFormatters.hasOwnProperty(n)&&delete this._numberFormatters[n]}},de.prototype._getNumberFormatter=function(e,t,r,n,o,i){for(var a=t,s=n[a],c=this._getLocaleChain(t,r),l=0;l0;)t[r]=arguments[r+1];var n=this.locale,o=null,i=null;return 1===t.length?S(t[0])?o=t[0]:E(t[0])&&(t[0].locale&&(n=t[0].locale),t[0].key&&(o=t[0].key),i=Object.keys(t[0]).reduce((function(e,r){var n;return P(y,r)?Object.assign({},e,((n={})[r]=t[0][r],n)):e}),null)):2===t.length&&(S(t[0])&&(o=t[0]),S(t[1])&&(n=t[1])),this._n(e,n,o,i)},de.prototype._ntp=function(e,t,r,n){if(!de.availabilities.numberFormat)return[];if(!r)return(n?new Intl.NumberFormat(t,n):new Intl.NumberFormat(t)).formatToParts(e);var o=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),r,n),i=o&&o.formatToParts(e);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,r,n)}return i||[]},Object.defineProperties(de.prototype,fe),Object.defineProperty(de,"availabilities",{get:function(){if(!ie){var e="undefined"!=typeof Intl;ie={dateTimeFormat:e&&void 0!==Intl.DateTimeFormat,numberFormat:e&&void 0!==Intl.NumberFormat}}return ie}}),de.install=Q,de.version="8.28.2";var he=de;i.default.use(he);var me=new he({locale:"en_US",fallbackLocale:"en_US",messages:function(){const e=r("4b3b"),t={};return e.keys().forEach(r=>{const n=r.match(/([A-Za-z0-9-_]+)\./i);if(n&&n.length>1){const o=n[1];t[o]=e(r)}}),t}()});const ge="production",ve="https://registration.unraid.net",be="https://unraid.net/preflight",ye=be.replace("preflight","upc/start-trial"),we=Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",VUE_APP_ACCOUNT_URL:"https://account.unraid.net",VUE_APP_MIN_API_VER:"2.55.1",VUE_APP_REC_API_VER:"3.1.0",VUE_APP_MIN_OS_VER:"6.10.0",VUE_APP_REC_OS_VER:"6.11.0",NODE_ENV:"production",VUE_APP_VERSION:"3.7.5",BASE_URL:"/"}).VUE_APP_DEV_GRAPH_URL||null,xe="https://account.unraid.net",_e=(Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",VUE_APP_ACCOUNT_URL:"https://account.unraid.net",VUE_APP_MIN_API_VER:"2.55.1",VUE_APP_REC_API_VER:"3.1.0",VUE_APP_MIN_OS_VER:"6.10.0",VUE_APP_REC_OS_VER:"6.11.0",NODE_ENV:"production",VUE_APP_VERSION:"3.7.5",BASE_URL:"/"}).VUE_APP_DEV_APIKEY,"2.55.1");var Ee,ke,Se;const Te=null!==(Ee=null===(ke=navigator)||void 0===ke||null===(Se=ke.userAgent)||void 0===Se?void 0:Se.toLowerCase())&&void 0!==Ee?Ee:"NO_USER_AGENT",Oe={url:xe,name:"UnraidAccount",width:1200,height:850},Re={errorMessage:"",errorMessageSubtext:"",loading:!0,submissionFrom:null,darkMode:window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,darkTheme:{alpha:"#1c1b1b",beta:"#f2f2f2",gamma:"#999999"},lightTheme:{alpha:"#f2f2f2",beta:"#1c1b1b",gamma:"#999999"},csrf:null,postMessageError:null,isLaunchpadOpen:!1,isPromoOpen:!1,triggerUPC:!1,ts:null,tsHumanReadable:null,deviceCount:0,flashproduct:null,flashvendor:null,guid:"",regGuid:"",keyfile:null,servername:null,serverdesc:null,wanip:sessionStorage.getItem("upc_wanip")||null,site:null,wanFQDN:null,state:"",reggen:0,registered:null,internalip:null,internalport:null,protocol:null,license:"",expiretime:null,regWizTime:null,rawServerState:null,plgPath:null,guidRegistered:!1,guidValid:null,guidValidationRunning:!1,replaceable:null,guidForValidation:null,guidBlacklisted:null,id:null,isPopUpOpen:!1,regAtOpen:null,forumaccount:null,userEmail:"",username:"",avatar:"",userPassword:"",apikey:"",ipsValidated:!1,accountAction:null,keyServerAction:"",licenseAction:null,receivedSuccessNewServerState:null,purchaseWindow:{url:new URL(be),name:"UnraidPurchaseLicense",width:1198,height:900,sendSessionToPopUp:!0},redeemWindow:{url:new URL(be+"?r=1"),name:"UnraidPurchaseLicense",width:1198,height:900,sendSessionToPopUp:!0},trialWindow:{url:new URL(ye),name:"UnraidStartTrial",width:400,height:400,sendSessionToPopUp:!0},accountPayload:{...Oe},accountServerPayload:{...Oe,url:xe+"/server"},accountRegisterPayload:{...Oe,url:xe+"/server/register"},accountUnregisterPayload:{...Oe,url:xe+"/server/unregister"},accountKeyRecoverPayload:{...Oe,url:xe+"/server/key-recover"},accountKeyReplacePayload:{...Oe,url:xe+"/server/key-replace"},accountTrialExtendPayload:{...Oe,url:xe+"/server/extend-trial"},accountTroubleshootPayload:{...Oe,url:xe+"/troubleshoot"},locale:"en_US",messages:null,graphOnline:!1,graphReconnected:!1,myServers:[],myServersLoading:!1,myServersError:null,myServersErrorShowSupportBtn:!1,myServersEnv:null,apiVersion:"0.0.0",cloud:null,hideMyServers:!1,osVersion:null,plgVersion:null,plgInstalled:null,hasRemoteApikey:null,config:null,hasUnraidNetSSL:!1,flashBackupActivated:!1,extraOrigins:[],myServersOutOfDate:{enabled:!0,error:!1,heading:"Connect Update Available",message:"Please update to the latest version of the Connect plugin",link:"/Plugins",linkSameTab:!0,linkText:"Learn More"},devEnv:!1,signOutTriggered:!1,apiReport:null,osGui:Te.includes("linux")&&Te.includes("firefox"),pirateKey:sessionStorage.getItem("upc_yargMatey")||!1,deprecatedUnraidSSL:window.location.hostname.includes(".unraid.net"),processStarted:!1,showPostMessageStatus:!1,keyInstalling:!1,keyInstallSuccess:!1,keyInstallFail:!1,registerSuccess:!1,registerFail:!1,unregisterSuccess:!1,unregisterFail:!1,accessToken:localStorage.getItem("upc_accessToken")||"",idToken:localStorage.getItem("upc_idToken")||"",refreshToken:localStorage.getItem("upc_refreshToken")||"",iframeUrl:window!==window.parent?window.location.href:null};var Ie=r("2426"),Ae=r.n(Ie),Ce=r("61bb"),Pe=r.n(Ce);r("13d5");const Ne="GUID_NOT_RECEIVED",Ue=!(!window.opener||window.opener===window),De=Ue?window.opener.parent:window.parent,Me=[be,ve,xe,"https://localhost:8008","https://launchpad.unraid.test:8081","https://launchpad.unraid.test:6969","https://registration.unraid.net","https://registration-dev.unraid.net","https://registration-dev-logs.unraid.net","https://unraid.net","https://staging.unraid.net","https://craft.unraid.test"],Le='API error unexpected response for "owner".',je=e=>{try{return[null,JSON.parse(e)]}catch(e){return[e]}},Fe="The CORS policy for this site does not allow access from the specified Origin";var $e=r("329c"),ze=r.n($e);var Ve=(e,t,r)=>{if(ze()(e,`>=${t} <${r}`,{includePrerelease:!1}))return!0;return!!ze()(e,">="+r,{includePrerelease:!0})};const Ge={actions:[],humanReadable:"",heading:"",message:"",messageCenter:!1,error:!1,withKey:!1},Be={...Ge,humanReadable:me.tc("stateData.ENOFLASH.humanReadable"),error:{heading:me.tc("stateData.ENOFLASH.error.heading"),message:me.tc("stateData.ENOFLASH.error.message"),signInToFix:!1}};let We="";const Ye={statePhpPath:e=>`/plugins/${e.plgPath||"dynamix.unraid.net"}/include/state.php`,myServersCfgPath:e=>(e.plgPath||"Unraid.net")+"/myservers.cfg",requireGuidValidation:e=>!Ue||e.guidRegistered,validApiKeyLength:e=>64===e.apikey.length,validApiKeyForUpc:e=>!!e.apikey&&e.apikey.startsWith("unupc_"),hasRemoteApikey:e=>!0===e.hasRemoteApikey||!(!e.validApiKeyLength||!e.validApiKeyForUpc),showExpiretime:e=>("TRIAL"===e.state||"EEXPIRED"===e.state)&&e.expiretime>0,trialExtensionEligible:e=>!(e.reggen&&!(e.reggen<2)),signedOutWithKey:(e,t)=>!(!t.stateData.withKey||e.registered),stateData:(e,t)=>{switch(e.state){case"ENOKEYFILE":return{...Ge,actions:[e.registered?"signOut":"register","startTrial","purchase","redeem"],humanReadable:me.tc("stateData.ENOKEYFILE.humanReadable"),heading:me.tc("stateData.ENOKEYFILE.heading"),message:me.tc("stateData.ENOKEYFILE.message")};case"TRIAL":return{...Ge,actions:["purchase",e.registered?"signOut":"register",e.registered?"continueTrial":null],humanReadable:me.tc("stateData.TRIAL.humanReadable"),heading:me.tc("stateData.TRIAL.heading"),message:me.tc("stateData.TRIAL.message"),withKey:!0};case"EEXPIRED":return{...Ge,actions:[e.registered?"signOut":"register",t.trialExtensionEligible?"extend":null,"purchase"],humanReadable:me.tc("stateData.EEXPIRED.humanReadable"),error:{heading:me.tc("stateData.EEXPIRED.heading"),message:t.trialExtensionEligible?me.tc("stateData.EEXPIRED.message.extensionEligible"):me.tc("stateData.EEXPIRED.message.extensionNotEligible")},withKey:!0};case"BASIC":return{...Ge,actions:[e.registered?"signOut":"register","upgrade"],humanReadable:me.tc("stateData.BASIC.humanReadable"),heading:me.tc("basicPlusPro.heading"),message:e.registered?e.guidRegistered?me.tc("basicPlusPro.message.upgradeEligible"):"":me.tc("basicPlusPro.message.registered"),messageCenter:!e.registered,withKey:!0};case"PLUS":return{...Ge,actions:[e.registered?"signOut":"register","upgrade"],humanReadable:me.tc("stateData.PLUS.humanReadable"),heading:me.tc("basicPlusPro.heading"),message:e.registered?e.guidRegistered?me.tc("basicPlusPro.message.upgradeEligible"):"":me.tc("basicPlusPro.message.registered"),messageCenter:!e.registered,withKey:!0};case"PRO":return{...Ge,actions:[e.registered?"signOut":"register",e.registered?"close":null],humanReadable:me.tc("stateData.PRO.humanReadable"),heading:me.tc("basicPlusPro.heading"),message:e.registered?"":me.tc("basicPlusPro.message.registered"),messageCenter:!e.registered,withKey:!0};case"EGUID":return We=e.replaceable?me.tc("stateData.EGUID.error.message.replacementEligible"):!1===e.replaceable&&e.guidBlacklisted?`${me.tc("stateData.EGUID.error.message.default")}
${me.tc("stateData.EGUID.error.message.blacklisted")}`:!1!==e.replaceable||e.guidBlacklisted?me.tc("stateData.EGUID.error.message.replacementEligible"):`${me.tc("stateData.EGUID.error.message.default")}
${me.tc("stateData.EGUID.error.message.replacementIneligible")}`,{...Ge,actions:["purchase","replace",e.registered?"signOut":"register"],humanReadable:me.tc("stateData.EGUID.humanReadable"),error:{heading:me.tc("stateData.EGUID.error.heading"),message:We,signInToFix:!0}};case"EGUID1":return{...Ge,actions:["purchase",e.registered?"signOut":"register"],humanReadable:me.tc("stateData.EGUID1.humanReadable"),error:{heading:me.tc("stateData.EGUID1.error.heading"),message:me.tc("stateData.EGUID1.error.message"),signInToFix:!0}};case"ENOKEYFILE2":return{...Ge,actions:["purchase",e.registered?"signOut":"register",e.registered?"recover":null],humanReadable:me.tc("stateData.ENOKEYFILE2.humanReadable"),error:{heading:me.tc("stateData.ENOKEYFILE2.error.heading"),message:me.tc("stateData.ENOKEYFILE2.error.message"),signInToFix:!0}};case"ETRIAL":return{...Ge,actions:[e.registered?"signOut":"register","purchase"],humanReadable:me.tc("stateData.ETRIAL.humanReadable"),error:{heading:me.tc("stateData.ETRIAL.error.heading"),message:me.tc("stateData.ETRIAL.error.message"),signInToFix:!0}};case"ENOKEYFILE1":return{...Ge,humanReadable:me.tc("stateData.ENOKEYFILE1.humanReadable"),error:{heading:me.tc("stateData.ENOKEYFILE1.error.heading"),message:me.tc("stateData.ENOKEYFILE1.error.message"),signInToFix:!1}};case"ENOFLASH":case"ENOFLASH1":case"ENOFLASH2":case"ENOFLASH3":case"ENOFLASH4":case"ENOFLASH5":case"ENOFLASH6":case"ENOFLASH7":return Be;case"EBLACKLISTED":return{...Ge,humanReadable:me.tc("stateData.EBLACKLISTED.humanReadable"),error:{heading:me.tc("stateData.EBLACKLISTED.error.heading"),message:me.tc("stateData.EBLACKLISTED.error.message"),signInToFix:!1}};case"EBLACKLISTED1":return{...Ge,humanReadable:me.tc("stateData.EBLACKLISTED1.humanReadable"),error:{heading:me.tc("stateData.EBLACKLISTED1.error.heading"),message:me.tc("stateData.EBLACKLISTED1.error.message"),signInToFix:!1}};case"EBLACKLISTED2":return{...Ge,humanReadable:me.tc("stateData.EBLACKLISTED2.humanReadable"),error:{heading:me.tc("stateData.EBLACKLISTED2.error.heading"),message:me.tc("stateData.EBLACKLISTED2.error.message"),signInToFix:!1}};case"ENOCONN":return{...Ge,humanReadable:me.tc("stateData.ENOCONN.humanReadable"),error:{heading:me.tc("stateData.ENOCONN.error.heading"),message:me.tc("stateData.ENOCONN.error.message"),signInToFix:!1}};case"STALE":return{...Ge,humanReadable:me.tc("stateData.STALE.humanReadable"),error:{heading:me.tc("stateData.STALE.error.heading"),message:me.tc("stateData.STALE.error.message"),signInToFix:!1}};default:return{...Ge}}},stateDataKeyActions:(e,t)=>!!(t.stateData.actions.includes("purchase")||t.stateData.actions.includes("upgrade")||t.stateData.actions.includes("recover")||t.stateData.actions.includes("replace")||t.stateData.actions.includes("extend")),keyTypeForPurchase:e=>{switch(e.state){case"BASIC":return"Basic";case"PLUS":return"Plus";case"PRO":return"Pro";default:return"Trial"}},isRemoteAccess:e=>e.wanFQDN||e.site&&e.site.includes("www.")&&e.site.includes("unraid.net"),noRemoteApikeyRegisteredWithPlg:e=>!(!e.registered||e.hideMyServers||!e.validApiKeyLength||!e.validApiKeyForUpc),errorTooManyDisks:e=>!(!e.config||e.config.valid||"INVALID"!==e.config.error),allowedOrigins:e=>[...Me,...e.extraOrigins],myServersNotMinApiVer:e=>!e.apiVersion||e.apiVersion&&Ae()(e.apiVersion,_e),myServersNotRecApiVer:e=>!e.apiVersion||e.apiVersion&&Ae()(e.apiVersion,"3.1.0"),osPrerelease:e=>{if(e.osVersion){return Pe()(e.osVersion).prerelease.length}return!1},osVersionValid:e=>e.osVersion&&Ve(e.osVersion,"6.10.0","6.11.0"),allowApiOutOfDate:(e,t)=>!t.plgInstallFailed&&e.apiVersion&&(t.myServersNotMinApiVer||t.myServersNotRecApiVer)&&!e.devMode&&!e.hideMyServers,myServersOutOfDate:(e,t)=>t.allowApiOutOfDate&&t.myServersNotMinApiVer?{...e.myServersOutOfDate,error:!0,message:"The Connect plugin (formly known as My Servers) is out-of-date and will not connect to Unraid's cloud services. Please update the plugin.",linkText:"Update now"}:t.osVersionValid||t.osPrerelease?t.allowApiOutOfDate&&!t.myServersNotMinApiVer&&t.myServersNotRecApiVer?e.myServersOutOfDate:!t.osVersionValid&&t.osPrerelease?{enabled:!0,error:!1,heading:"Unraid OS Out-of-date",message:"RC releases are not meant to used long term, please update to a stable release of Unraid."+(e.plgInstalled&&!t.plgInstallFailed?" This version of Unraid will be blocked from Connect (formly known as My Servers) in the future.":""),link:" https://forums.unraid.net/topic/128328-my-servers-dropping-support-for-older-versions-of-unraid/",linkSameTab:!1,linkText:me.tc("learnMore")}:{enabled:!1,error:!1}:{enabled:!0,error:!0,heading:"Unraid OS Out-of-date",message:"You are running an unsupported release of Unraid, please upgrade to the current version."+(e.plgInstalled&&!t.plgInstallFailed?" This version of Unraid will be blocked from Connect (formly known as My Servers) in the future.":""),link:" https://forums.unraid.net/topic/128328-my-servers-dropping-support-for-older-versions-of-unraid/",linkSameTab:!1,linkText:me.tc("learnMore")},errorMessage:(e,t)=>!t.stateData.error&&e.myServersError&&e.myServersErrorShowSupportBtn?e.myServersError:!t.stateData.error&&e.cloud&&e.cloud.error&&e.myServersErrorShowSupportBtn?e.cloud.error:null,tsHumanReadable:e=>{if(!e.ts)return null;const t=1e3*e.ts;return new Date(t).toString()},server:(e,t)=>({guid:e.guid||Ne,regGuid:e.regGuid,guidRegistered:e.guidRegistered||e.regWizTime,guidValid:e.guidValid,hasRemoteApikey:t.hasRemoteApikey,regWizTime:e.regWizTime,keyfile:e.keyfile,keyTypeForPurchase:t.keyTypeForPurchase,flashproduct:e.flashproduct,flashvendor:e.flashvendor,servername:e.servername,serverdesc:e.serverdesc,internalip:e.internalip,site:e.site,wanFQDN:e.wanFQDN,state:e.state,internalport:e.internalport,protocol:e.protocol,registered:e.registered,reggen:e.reggen,userEmail:e.userEmail,expiretime:e.expiretime,ts:e.ts,tsHumanReadable:t.tsHumanReadable,locale:e.locale,deviceCount:e.deviceCount,plgPath:e.plgPath,plgVersion:e.plgVersion,osVersion:e.osVersion,apiVersion:e.apiVersion,upcVersion:"3.7.5",extraOrigins:e.extraOrigins,errorMessage:t.errorMessage,apiReport:e.apiReport,osGui:e.osGui,username:e.username,avatar:e.avatar,hideMyServers:e.hideMyServers,flashBackupActivated:e.flashBackupActivated,accessToken:e.accessToken,idToken:e.idToken,refreshToken:e.refreshToken}),features:e=>[{title:"Dynamic Remote Access",copy:"Toggle on/off server accessibility with dynamic remote access. Automatically turn on UPnP and open a random WAN port on your router at the click of a button and close off access in seconds."},{title:"Manage Your Server Within Connect",copy:"Servers equipped with a myunraid.net certificate can be managed directly from within the Connect web UI. Manage multiple servers from your phone, tablet, laptop, or PC in the same browser window."},{title:"Deep Linking",copy:"The Connect dashboard links to relevant sections of the webgui, allowing quick access to those settings and server sections."},{title:"Online Flash Backup",copy:"Never ever be left without a backup of your config. If you need to change flash drives, generate a backup from Connect and be up and running in minutes."},{title:"Real-time Monitoring",copy:"Get an overview of your server's state, storage space, apps and VMs status, and more."},{title:"Customizable Dashboard Tiles",copy:"Set custom server tiles how you like and automatically display your server's banner image on your Connect Dashboard."},{title:"License Management",copy:"Manage your license keys at any time via the My Keys section."},{title:"Plus more on the way",copy:"All you need is an active internet connection, an Unraid.net account, and the Connect plugin. Get started by installing the plugin."}],plgInstallFailed:e=>e.plgInstalled&&e.plgInstalled.includes("_installFailed")};var He=r("786a"),qe=r.n(He),Ke=r("626e");const Qe=((e,t)=>{void 0===t&&(t={keys:[],values:[]});const r=t.keys,n=void 0===r?[]:r,o=t.values,i=void 0===o?[]:o,a=(e,t)=>{const r=Ke.key(e)||Ke.value(t),o=n.some(t=>t.test(e))||i.some(e=>e.test(t));return r||o};return{map:t=>qe.a.default(t).map(t=>!!a((void 0).key,t)&&(void 0).update(e)),forEach:t=>{qe.a.default(t).forEach(t=>{a((void 0).key,t)&&(void 0).update(e)})}}})("[REDACTED]",{keys:["guid"],values:[]}),Xe={...Object.fromEntries(Object.entries(console).map(([e,t])=>{if("debug"===e)return[e,()=>{}];if("function"==typeof method){const r=t.bind(console);return[e,(e,...t)=>t.length>=1?r(e,...t.map(e=>Qe.map(e))):r(e)]}return[e,t]}))},Je={SET_APP_ERROR_MESSAGE(e,t){Xe.debug("[SET_APP_ERROR_MESSAGE]: initial %o",t);const[r,n]=je(t);n&&!r||!t||(Xe.debug("[SET_APP_ERROR_MESSAGE]: no json use original string %o",t),e.errorMessage=t),n||!1!==t&&""!==t||(Xe.debug("[SET_APP_ERROR_MESSAGE]: allow falsely values to reset the field %o",t),e.errorMessage=""),n&&n.error&&(Xe.debug("[SET_APP_ERROR_MESSAGE]: we got json %o",t),e.errorMessage=n.error),e.errorMessage&&Xe.error("[SET_APP_ERROR_MESSAGE]: %s",e.errorMessage)},SET_APP_ERROR_MESSAGE_SUBTEXT(e,t){Xe.debug("[SET_APP_ERROR_MESSAGE_SUBTEXT]: %o",t),e.errorMessageSubtext=t,e.errorMessageSubtext&&Xe.error("[SET_APP_ERROR_MESSAGE_SUBTEXT]: %s",e.errorMessageSubtext)},SET_LOADING_STATE(e,t){Xe.debug("[SET_LOADING_STATE]: %o",t),e.loading=t},SET_IS_LAUNCHPAD_OPEN(e,t){Xe.debug("[SET_IS_LAUNCHPAD_OPEN]: %o",t),t||sessionStorage.removeItem("clickedInstallMyServers"),e.isLaunchpadOpen=t},SET_IS_PROMO_OPEN(e,t){Xe.debug("[SET_IS_PROMO_OPEN]: %o",t),e.isPromoOpen=t},SET_STATE(e,t){Xe.debug("[SET_STATE]: %o",t),e.state=t},SET_CONFIG(e,t){Xe.debug("[SET_CONFIG]: %o",t),e.config=t},CHANGE_GUID_REGISTERED(e,t){Xe.debug("[CHANGE_GUID_REGISTERED]: %o",t),e.guidRegistered=t},CHANGE_GUID_VALID(e,t){Xe.debug("[CHANGE_GUID_VALID]: %o",t),e.guidValid=t},CHANGE_GUID_VALIDATION_RUNNING(e,t){Xe.debug("[CHANGE_GUID_VALIDATION_RUNNING]: %o",t),e.guidValidationRunning=t},CHANGE_GUID_FOR_VALIDATION(e,t){Xe.debug("[CHANGE_GUID_FOR_VALIDATION]: %o",t),e.guidForValidation=t},CHANGE_GUID_BLACKLISTED(e,t){Xe.debug("[CHANGE_GUID_BLACKLISTED]: %o",t),e.guidBlacklisted=t},CHANGE_REPLACEABLE(e,t){Xe.debug("[CHANGE_REPLACEABLE]: %o",t),e.replaceable=t},CHANGE_POP_UP_WINDOW(e,t){Xe.debug("[CHANGE_POP_UP_WINDOW]: %o",t),e.isPopUpOpen=!!t,e.regAtOpen=null},STATE_AT_OPEN(e,t){e.regAtOpen=t},MUTATE_KEYSERVER_RESPONSE(e,t){Xe.debug("[MUTATE_KEYSERVER_RESPONSE]: %o",t),t.license&&(e.license=t.license),t.newKey&&(e.keyfile=t.newKey),t.trial&&(e.keyfile=t.trial),t.apikey&&(e.apikey=t.apikey),t.validated&&(e.ipsValidated=t.validated),t.email&&(e.userEmail=t.email),t.password&&(e.userPassword=t.password),(t.action||t.keyServerAction)&&(e.keyServerAction=t.action||t.keyServerAction),t.username&&(e.username=t.username),t.avatar&&(e.avatar=t.avatar)},SET_TRIAL(e,t){Xe.debug("[SET_TRIAL]: %o",t),e.license=t.license,e.keyfile=t.trial,e.keyServerAction="extendTrial"},SET_USER_EMAIL(e,t){Xe.debug("[SET_USER_EMAIL]: %s",t),e.userEmail=t},SET_FULL_SERVER_STATE(e,t){if(Xe.debug("[SET_FULL_SERVER_STATE] start %o",t),!t)return Xe.error("[SET_FULL_SERVER_STATE] No state data…🤬");let r=t;return(r.registered||0===r.registered)&&(r.registered=Boolean(Number(r.registered))),(r.hasRemoteApikey||0===r.hasRemoteApikey)&&(r.hasRemoteApikey=Boolean(Number(r.hasRemoteApikey))),r.email&&(r={...r,userEmail:r.email},delete r.email),Xe.debug("[SET_FULL_SERVER_STATE] ✨ mutateData ✨ %o",{state:e,mutateData:r}),e=Object.assign(e,r),!0},SET_RAW_SERVER_STATE:(e,t)=>Ue?(e.rawServerState=t,Xe.debug("[SET_RAW_SERVER_STATE] %o",t)):Xe.debug("[SET_RAW_SERVER_STATE] ❌ skipped not needed in non-pop-up ❌ %o",{CAN_POST_MESSAGE:Ue}),SIGN_OUT(e){Xe.debug("[SIGN_OUT]: %s","✨"),e.registered=!1,e.license="",e.keyfile="",e.apikey="",e.ipsValidated=!1,e.userEmail="",e.userPassword="",e.username="",e.avatar=""},SUBMISSION_FROM(e,t){Xe.debug("[SUBMISSION_FROM]: %s",t),e.submissionFrom=t},SET_WANIP(e,t){Xe.debug("[SET_WANIP]: %s",t),e.wanip=t,sessionStorage.setItem("upc_wanip",t)},SET_SERVERDESC(e,t){Xe.debug("[SET_SERVERDESC]: %s",t),e.serverdesc=t},SET_SITE(e,t){Xe.debug("[SET_SITE]: %s",t),e.site=t},SET_CSRF(e,t){Xe.debug("[SET_CSRF]: %s",t),e.csrf=t},LICENSE_PINGBACK(e,t){Xe.debug("[LICENSE_PINGBACK]: %o",t),e.licenseAction=t},ACCOUNT_PINGBACK(e,t){Xe.debug("[ACCOUNT_PINGBACK]: %o",t),e.accountAction=t},RECEIVED_SUCCESS_NEW_SERVERSTATE(e,t){Xe.debug("[RECEIVED_SUCCESS_NEW_SERVERSTATE]: %o",t),e.receivedSuccessNewServerState=t},SET_UPTIME(e,t){Xe.debug("[SET_UPTIME]: %s",t),e.uptime=t},SET_EXPIRE_TIME(e,t){Xe.debug("[SET_EXPIRE_TIME]: %s",t),e.expiretime=t},SET_REGWIZ_TIME(e,t){Xe.debug("[SET_REGWIZ_TIME]: %s",t),e.regWizTime=t},CHANGE_GUID_FORUMACCOUNT(e,t){Xe.debug("[CHANGE_GUID_FORUMACCOUNT]: %s",t),e.forumaccount=t},SET_LOCALE(e,t){Xe.debug("[SET_LOCALE]: %s",t),e.locale=t},LOCALE_MESSAGES(e,t){const[r,n]=je(decodeURIComponent(t));r?Xe.warn("[LOCALE_MESSAGES]: %o",r):(Xe.debug("[LOCALE_MESSAGES]: %o",n),e.messages=n)},SET_API_KEY(e,t){Xe.debug("[SET_API_KEY]: %s",t),e.apikey=t},SET_GRAPH_ONLINE(e,t){Xe.debug("[SET_GRAPH_ONLINE]: %o",t),e.graphOnline=t},SET_GRAPH_RECONNECTED(e,t){Xe.debug("[SET_GRAPH_RECONNECTED]: %o",t),e.graphReconnected=t},SET_MY_SERVERS(e,t){Xe.debug("[SET_MY_SERVERS]: %o",t),e.myServers=[...t]},SET_MY_SERVERS_LOADING(e,t){Xe.debug("[SET_MY_SERVERS_LOADING]: %o",t),e.myServersLoading=t},SET_MY_SERVERS_ERROR(e,t){t?Xe.error("[SET_MY_SERVERS_ERROR]: %o",t):Xe.debug("[SET_MY_SERVERS_ERROR] unset"),e.myServersError=t?t.replace("Graphql","unraid-api").replace("offline","stopped"):null},SET_MY_SERVERS_ERROR_SHOW_SUPPORT_BTN(e,t){Xe.debug("[SET_MY_SERVERS_ERROR_SHOW_SUPPORT_BTN]",t),e.myServersErrorShowSupportBtn=t},SET_MY_SERVERS_ENV(e,t){Xe.debug("[SET_MY_SERVERS_ENV]: %o",t),e.myServersEnv=t},SET_MY_SERVERS_API_VERSION(e,t){Xe.debug("[SET_MY_SERVERS_API_VERSION]: %o",t),e.apiVersion=t},TRIGGER_UPC(e,t){Xe.debug("[TRIGGER_UPC]: %o",t),e.triggerUPC=t},SET_HIDE_MY_SERVERS(e,t){Xe.debug("[SET_HIDE_MY_SERVERS]: %o",t),e.hideMyServers=!!t},SET_PLG_PATH:(e,t)=>"dynamix.my.servers"!==t?Xe.warn("[SET_PLG_PATH] value not allowed",t):(Xe.debug("[SET_PLG_PATH]: %o",t),e.plgPath=t,!0),SET_POST_MESSAGE_ERROR(e,t){e.postMessageError=t,e.postMessageError&&Xe.error("[SET_POST_MESSAGE_ERROR]: %o",e.postMessageError)},SET_OWNER(e,t){Xe.debug("[SET_OWNER]: %o",t),e.username=t&&t.username?t.username:"",e.avatar=t&&t.avatar?t.avatar:"",e.registered=!(!t||!t.username)},SET_REGISTRATION_SUB(e,t){Xe.debug("[SET_REGISTRATION_SUB]: %o",t),t.keyfile&&(e.keyfile=t.keyFile.contents),t.expiration&&(e.expiretime=t.expiration)},SET_DEV_MODE(e,t){Xe.debug("[SET_DEV_MODE]: %o",t),e.devEnv=t},SET_SIGN_OUT_TRIGGERED(e,t){Xe.debug("[SET_SIGN_OUT_TRIGGERED]: %o",t),e.signOutTriggered=t},SET_API_EXECUTE_RESPONSE(e,t){Xe.debug("[SET_API_EXECUTE_RESPONSE]: %o",t),e.apiReport=t},SET_MY_SERVERS_CLOUD(e,t){Xe.debug("[SET_MY_SERVERS_CLOUD]: %o",t),e.cloud=t},SET_REPLACE_KEY(e,t){Xe.debug("[SET_REPLACE_KEY]: %o",t),e.license=t.license,e.keyfile=t.newkey,e.keyServerAction="replace"},SET_PIRATE_KEY(e,t){Xe.debug("[SET_PIRATE_KEY]: %s",t),e.pirateKey=!!t,e.pirateKey?sessionStorage.setItem("upc_yargMatey",t):sessionStorage.removeItem("upc_yargMatey")},SET_PROCESS_STARTED(e,t){Xe.debug("[SET_PROCESS_STARTED]: %s",t),e.processStarted=t},SET_SHOW_POST_MESSAGE_STATUS(e,t){Xe.debug("[SET_SHOW_POST_MESSAGE_STATUS]: %s",t),e.showPostMessageStatus=t},SET_KEY_INSTALLING(e,t){Xe.debug("[SET_KEY_INSTALLING]: %s",t),e.keyInstalling=t},SET_KEY_INSTALL_SUCCESS(e,t){Xe.debug("[SET_KEY_INSTALL_SUCCESS]: %s",t),e.keyInstallSuccess=t},SET_KEY_INSTALL_FAIL(e,t){Xe.debug("[SET_KEY_INSTALL_FAIL]: %s",t),e.keyInstallFail=t},SET_REGISTER_SUCCESS(e,t){Xe.debug("[SET_REGISTER_SUCCESS]: %s",t),e.registerSuccess=t},SET_REGISTER_FAIL(e,t){Xe.debug("[SET_REGISTER_FAIL]: %s",t),e.registerFail=t},SET_UNREGISTER_SUCCESS(e,t){Xe.debug("[SET_UNREGISTER_SUCCESS]: %s",t),e.unregisterSuccess=t},SET_UNREGISTER_FAIL(e,t){Xe.debug("[SET_UNREGISTER_FAIL]: %s",t),e.unregisterFail=t},SET_JWTS(e,t){if(Xe.debug("[SET_JWTS]: %s",t),!t)return e.accessToken="",e.idToken="",e.refreshToken="",localStorage.removeItem("upc_accessToken"),localStorage.removeItem("upc_idToken"),void localStorage.removeItem("upc_refreshToken");e.accessToken=t.accessToken?t.accessToken:"",e.idToken=t.idToken?t.idToken:"",e.refreshToken=t.refreshToken?t.refreshToken:"",t.accessToken&&localStorage.setItem("upc_accessToken",t.accessToken),t.idToken&&localStorage.setItem("upc_idToken",t.idToken),t.refreshToken&&localStorage.setItem("upc_refreshToken",t.refreshToken)}};r("d9e2");var Ze=r("0e49"),et=r.n(Ze),tt=r("98d0"),rt=r.n(tt),nt=function(){return(nt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r1&&void 0!==arguments[1]?arguments[1]:e.prototype.toString;e.prototype.toJSON=t,e.prototype.inspect=t,at.a&&(e.prototype[at.a]=t)}function ct(e){return(ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function lt(e,t){for(var r,n=/\r\n|[\n\r]/g,o=1,i=t+1;(r=n.exec(e.body))&&r.index120){for(var d=Math.floor(c/80),f=c%80,h=[],m=0;m0||it(0,"line in locationOffset is 1-indexed and must be positive"),this.locationOffset.column>0||it(0,"column in locationOffset is 1-indexed and must be positive")};!function(e){"function"==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e.prototype,Symbol.toStringTag,{get:function(){return this.constructor.name}})}(vt);var bt=r("04b4"),yt=Object.freeze({SOF:"",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function wt(){return this.lastToken=this.token,this.token=this.lookahead()}function xt(){var e=this.token;if(e.kind!==yt.EOF)do{e=e.next||(e.next=kt(this,e))}while(e.kind===yt.COMMENT);return e}function _t(e,t,r,n,o,i,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=o,this.value=a,this.prev=i,this.next=null}function Et(e){return isNaN(e)?yt.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function kt(e,t){var r=e.source,n=r.body,o=n.length,i=function(e,t,r){var n=e.length,o=t;for(;o=o)return new _t(yt.EOF,o,o,a,s,t);var c=n.charCodeAt(i);switch(c){case 33:return new _t(yt.BANG,i,i+1,a,s,t);case 35:return function(e,t,r,n,o){var i,a=e.body,s=t;do{i=a.charCodeAt(++s)}while(!isNaN(i)&&(i>31||9===i));return new _t(yt.COMMENT,t,s,r,n,o,a.slice(t+1,s))}(r,i,a,s,t);case 36:return new _t(yt.DOLLAR,i,i+1,a,s,t);case 38:return new _t(yt.AMP,i,i+1,a,s,t);case 40:return new _t(yt.PAREN_L,i,i+1,a,s,t);case 41:return new _t(yt.PAREN_R,i,i+1,a,s,t);case 46:if(46===n.charCodeAt(i+1)&&46===n.charCodeAt(i+2))return new _t(yt.SPREAD,i,i+3,a,s,t);break;case 58:return new _t(yt.COLON,i,i+1,a,s,t);case 61:return new _t(yt.EQUALS,i,i+1,a,s,t);case 64:return new _t(yt.AT,i,i+1,a,s,t);case 91:return new _t(yt.BRACKET_L,i,i+1,a,s,t);case 93:return new _t(yt.BRACKET_R,i,i+1,a,s,t);case 123:return new _t(yt.BRACE_L,i,i+1,a,s,t);case 124:return new _t(yt.PIPE,i,i+1,a,s,t);case 125:return new _t(yt.BRACE_R,i,i+1,a,s,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,r,n,o){var i=e.body,a=i.length,s=t+1,c=0;for(;s!==a&&!isNaN(c=i.charCodeAt(s))&&(95===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122);)++s;return new _t(yt.NAME,t,s,r,n,o,i.slice(t,s))}(r,i,a,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,r,n,o,i){var a=e.body,s=r,c=t,l=!1;if(45===s&&(s=a.charCodeAt(++c)),48===s){if((s=a.charCodeAt(++c))>=48&&s<=57)throw mt(e,c,"Invalid number, unexpected digit after 0: ".concat(Et(s),"."))}else c=St(e,c,s),s=a.charCodeAt(c);if(46===s&&(l=!0,s=a.charCodeAt(++c),c=St(e,c,s),s=a.charCodeAt(c)),69!==s&&101!==s||(l=!0,43!==(s=a.charCodeAt(++c))&&45!==s||(s=a.charCodeAt(++c)),c=St(e,c,s),s=a.charCodeAt(c)),46===s||69===s||101===s)throw mt(e,c,"Invalid number, expected digit but got: ".concat(Et(s),"."));return new _t(l?yt.FLOAT:yt.INT,t,c,n,o,i,a.slice(t,c))}(r,i,c,a,s,t);case 34:return 34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2)?function(e,t,r,n,o,i){var a=e.body,s=t+3,c=s,l=0,u="";for(;s=48&&i<=57){do{i=n.charCodeAt(++o)}while(i>=48&&i<=57);return o}throw mt(e,o,"Invalid number, expected digit but got: ".concat(Et(i),"."))}function Tt(e,t,r,n){return Ot(e)<<12|Ot(t)<<8|Ot(r)<<4|Ot(n)}function Ot(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}st(_t,(function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}));var Rt=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});var It=function(){function e(e,t){var r="string"==typeof e?new vt(e):e;r instanceof vt||it(0,"Must provide Source. Received: ".concat(Object(ot.a)(r))),this._lexer=function(e,t){var r=new _t(yt.SOF,0,0,0,0,null);return{source:e,options:t,lastToken:r,token:r,line:1,lineStart:0,advance:wt,lookahead:xt}}(r),this._options=t||{}}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(yt.NAME);return{kind:gt.a.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:gt.a.DOCUMENT,definitions:this.many(yt.SOF,this.parseDefinition,yt.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(yt.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(yt.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(yt.BRACE_L))return{kind:gt.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,r=this.parseOperationType();return this.peek(yt.NAME)&&(t=this.parseName()),{kind:gt.a.OPERATION_DEFINITION,operation:r,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(yt.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(yt.PAREN_L,this.parseVariableDefinition,yt.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:gt.a.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(yt.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(yt.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(yt.DOLLAR),{kind:gt.a.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:gt.a.SELECTION_SET,selections:this.many(yt.BRACE_L,this.parseSelection,yt.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(yt.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(yt.COLON)?(e=n,t=this.parseName()):t=n,{kind:gt.a.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(yt.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(r)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(yt.PAREN_L,t,yt.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(yt.COLON),{kind:gt.a.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:gt.a.ARGUMENT,name:this.parseName(),value:(this.expectToken(yt.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(yt.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(yt.NAME)?{kind:gt.a.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:gt.a.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e=this._lexer.token;return this.expectKeyword("fragment"),this._options.experimentalFragmentVariables?{kind:gt.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}:{kind:gt.a.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case yt.BRACKET_L:return this.parseList(e);case yt.BRACE_L:return this.parseObject(e);case yt.INT:return this._lexer.advance(),{kind:gt.a.INT,value:t.value,loc:this.loc(t)};case yt.FLOAT:return this._lexer.advance(),{kind:gt.a.FLOAT,value:t.value,loc:this.loc(t)};case yt.STRING:case yt.BLOCK_STRING:return this.parseStringLiteral();case yt.NAME:return"true"===t.value||"false"===t.value?(this._lexer.advance(),{kind:gt.a.BOOLEAN,value:"true"===t.value,loc:this.loc(t)}):"null"===t.value?(this._lexer.advance(),{kind:gt.a.NULL,loc:this.loc(t)}):(this._lexer.advance(),{kind:gt.a.ENUM,value:t.value,loc:this.loc(t)});case yt.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:gt.a.STRING,value:e.value,block:e.kind===yt.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,r=this._lexer.token;return{kind:gt.a.LIST,values:this.any(yt.BRACKET_L,(function(){return t.parseValueLiteral(e)}),yt.BRACKET_R),loc:this.loc(r)}},t.parseObject=function(e){var t=this,r=this._lexer.token;return{kind:gt.a.OBJECT,fields:this.any(yt.BRACE_L,(function(){return t.parseObjectField(e)}),yt.BRACE_R),loc:this.loc(r)}},t.parseObjectField=function(e){var t=this._lexer.token,r=this.parseName();return this.expectToken(yt.COLON),{kind:gt.a.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(yt.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(yt.AT),{kind:gt.a.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(yt.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(yt.BRACKET_R),e={kind:gt.a.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(yt.BANG)?{kind:gt.a.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:gt.a.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===yt.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(yt.STRING)||this.peek(yt.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token;this.expectKeyword("schema");var t=this.parseDirectives(!0),r=this.many(yt.BRACE_L,this.parseOperationTypeDefinition,yt.BRACE_R);return{kind:gt.a.SCHEMA_DEFINITION,directives:t,operationTypes:r,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(yt.COLON);var r=this.parseNamedType();return{kind:gt.a.OPERATION_TYPE_DEFINITION,operation:t,type:r,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var r=this.parseName(),n=this.parseDirectives(!0);return{kind:gt.a.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var r=this.parseName(),n=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),i=this.parseFieldsDefinition();return{kind:gt.a.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:o,fields:i,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e=[];if(this.expectOptionalKeyword("implements")){this.expectOptionalToken(yt.AMP);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(yt.AMP)||this._options.allowLegacySDLImplementsInterfaces&&this.peek(yt.NAME))}return e},t.parseFieldsDefinition=function(){return this._options.allowLegacySDLEmptyFields&&this.peek(yt.BRACE_L)&&this._lexer.lookahead().kind===yt.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(yt.BRACE_L,this.parseFieldDefinition,yt.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(yt.COLON);var o=this.parseTypeReference(),i=this.parseDirectives(!0);return{kind:gt.a.FIELD_DEFINITION,description:t,name:r,arguments:n,type:o,directives:i,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(yt.PAREN_L,this.parseInputValueDef,yt.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName();this.expectToken(yt.COLON);var n,o=this.parseTypeReference();this.expectOptionalToken(yt.EQUALS)&&(n=this.parseValueLiteral(!0));var i=this.parseDirectives(!0);return{kind:gt.a.INPUT_VALUE_DEFINITION,description:t,name:r,type:o,defaultValue:n,directives:i,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:gt.a.INTERFACE_TYPE_DEFINITION,description:t,name:r,directives:n,fields:o,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseUnionMemberTypes();return{kind:gt.a.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:o,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){var e=[];if(this.expectOptionalToken(yt.EQUALS)){this.expectOptionalToken(yt.PIPE);do{e.push(this.parseNamedType())}while(this.expectOptionalToken(yt.PIPE))}return e},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseEnumValuesDefinition();return{kind:gt.a.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:o,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(yt.BRACE_L,this.parseEnumValueDefinition,yt.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseDirectives(!0);return{kind:gt.a.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseInputFieldsDefinition();return{kind:gt.a.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:o,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(yt.BRACE_L,this.parseInputValueDef,yt.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===yt.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),r=this.optionalMany(yt.BRACE_L,this.parseOperationTypeDefinition,yt.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return{kind:gt.a.SCHEMA_EXTENSION,directives:t,operationTypes:r,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),r=this.parseDirectives(!0);if(0===r.length)throw this.unexpected();return{kind:gt.a.SCALAR_TYPE_EXTENSION,name:t,directives:r,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===o.length)throw this.unexpected();return{kind:gt.a.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:o,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:gt.a.INTERFACE_TYPE_EXTENSION,name:t,directives:r,fields:n,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:gt.a.UNION_TYPE_EXTENSION,name:t,directives:r,types:n,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:gt.a.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:gt.a.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(yt.AT);var r=this.parseName(),n=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var i=this.parseDirectiveLocations();return{kind:gt.a.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:o,locations:i,loc:this.loc(e)}},t.parseDirectiveLocations=function(){this.expectOptionalToken(yt.PIPE);var e=[];do{e.push(this.parseDirectiveLocation())}while(this.expectOptionalToken(yt.PIPE));return e},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==Rt[t.value])return t;throw this.unexpected(e)},t.loc=function(e){if(!this._options.noLocation)return new At(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw mt(this._lexer.source,t.start,"Expected ".concat(e,", found ").concat(Ct(t)))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==yt.NAME||t.value!==e)throw mt(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(Ct(t)));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===yt.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=e||this._lexer.token;return mt(this._lexer.source,t.start,"Unexpected ".concat(Ct(t)))},t.any=function(e,t,r){this.expectToken(e);for(var n=[];!this.expectOptionalToken(r);)n.push(t.call(this));return n},t.optionalMany=function(e,t,r){if(this.expectOptionalToken(e)){var n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n}return[]},t.many=function(e,t,r){this.expectToken(e);var n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n},e}();function At(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}function Ct(e){var t=e.value;return t?"".concat(e.kind,' "').concat(t,'"'):e.kind}st(At,(function(){return{start:this.start,end:this.end}}));var Pt=new Map,Nt=new Map,Ut=!0,Dt=!1;function Mt(e){return e.replace(/[\s,]+/g," ").trim()}function Lt(e){var t=new Set,r=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var n=e.name.value,o=function(e){return Mt(e.source.body.substring(e.start,e.end))}(e.loc),i=Nt.get(n);i&&!i.has(o)?Ut&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):i||Nt.set(n,i=new Set),i.add(o),t.has(o)||(t.add(o),r.push(e))}else r.push(e)})),nt(nt({},e),{definitions:r})}function jt(e){var t=Mt(e);if(!Pt.has(t)){var r=function(e,t){return new It(e,t).parseDocument()}(e,{experimentalFragmentVariables:Dt,allowLegacyFragmentVariables:Dt});if(!r||"Document"!==r.kind)throw new Error("Not a valid GraphQL document.");Pt.set(t,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(r){var n=e[r];n&&"object"==typeof n&&t.add(n)}))}));var r=e.loc;return r&&(delete r.startToken,delete r.endToken),e}(Lt(r)))}return Pt.get(t)}function Ft(e){for(var t=[],r=1;r0}var ur,pr=function(e){function t(r){var n=r.graphQLErrors,o=r.networkError,i=r.errorMessage,a=r.extraInfo,s=e.call(this,i)||this;return s.graphQLErrors=n||[],s.networkError=o||null,s.message=i||function(e){var t="";return lr(e.graphQLErrors)&&e.graphQLErrors.forEach((function(e){var r=e?e.message:"Error message not found.";t+="GraphQL error: "+r+"\n"})),e.networkError&&(t+="Network error: "+e.networkError.message+"\n"),t=t.replace(/\n$/,"")}(s),s.extraInfo=a,s.__proto__=t.prototype,s}return Object(Vt.c)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(ur||(ur={}));var dr=function(e){function t(t){var r=t.queryManager,n=t.options,o=t.shouldSubscribe,i=void 0===o||o,a=e.call(this,(function(e){return a.onSubscribe(e)}))||this;a.observers=new Set,a.subscriptions=new Set,a.isTornDown=!1,a.options=n,a.variables=n.variables||{},a.queryId=r.generateQueryId(),a.shouldSubscribe=i;var s=Object(Gt.m)(n.query);return a.queryName=s&&s.name&&s.name.value,a.queryManager=r,a}return Object(Vt.c)(t,e),t.prototype.result=function(){var e=this;return new Promise((function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){o.unsubscribe()}),0)},error:r},o=e.subscribe(n)}))},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown){var e=this.lastResult;return{data:!this.lastError&&e&&e.data||void 0,error:this.lastError,loading:!1,networkStatus:or.error}}var t,r=this.queryManager.getCurrentQueryResult(this),n=r.data,o=r.partial,i=this.queryManager.queryStore.get(this.queryId),a=this.options.fetchPolicy,s="network-only"===a||"no-cache"===a;if(i){var c=i.networkStatus;if(function(e,t){return void 0===t&&(t="none"),e&&(e.networkError||"none"===t&&lr(e.graphQLErrors))}(i,this.options.errorPolicy))return{data:void 0,loading:!1,networkStatus:c,error:new pr({graphQLErrors:i.graphQLErrors,networkError:i.networkError})};i.variables&&(this.options.variables=Object(Vt.a)(Object(Vt.a)({},this.options.variables),i.variables),this.variables=this.options.variables),t={data:n,loading:sr(c),networkStatus:c},i.graphQLErrors&&"all"===this.options.errorPolicy&&(t.errors=i.graphQLErrors)}else{var l=s||o&&"cache-only"!==a;t={data:n,loading:l,networkStatus:l?or.loading:or.ready}}return o||this.updateLastResult(Object(Vt.a)(Object(Vt.a)({},t),{stale:!1})),Object(Vt.a)(Object(Vt.a)({},t),{partial:o})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(Bt.a)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){var e=this.queryManager.queryStore.get(this.queryId);e&&(e.networkError=null,e.graphQLErrors=[])},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;return"cache-only"===t?Promise.reject(new Ht.a(1)):("no-cache"!==t&&"cache-and-network"!==t&&(t="network-only"),Object(Bt.a)(this.variables,e)||(this.variables=Object(Vt.a)(Object(Vt.a)({},this.variables),e)),Object(Bt.a)(this.options.variables,this.variables)||(this.options.variables=Object(Vt.a)(Object(Vt.a)({},this.options.variables),this.variables)),this.queryManager.fetchQuery(this.queryId,Object(Vt.a)(Object(Vt.a)({},this.options),{fetchPolicy:t}),ur.refetch))},t.prototype.fetchMore=function(e){var t=this;Object(Ht.b)(e.updateQuery,2);var r=Object(Vt.a)(Object(Vt.a)({},e.query?e:Object(Vt.a)(Object(Vt.a)(Object(Vt.a)({},this.options),e),{variables:Object(Vt.a)(Object(Vt.a)({},this.variables),e.variables)})),{fetchPolicy:"network-only"}),n=this.queryManager.generateQueryId();return this.queryManager.fetchQuery(n,r,ur.normal,this.queryId).then((function(o){return t.updateQuery((function(t){return e.updateQuery(t,{fetchMoreResult:o.data,variables:r.variables})})),t.queryManager.stopQuery(n),o}),(function(e){throw t.queryManager.stopQuery(n),e}))},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery((function(e,t){var o=t.variables;return n(e,{subscriptionData:r,variables:o})}))},error:function(t){e.onError&&e.onError(t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){var t=this.options.fetchPolicy;this.options=Object(Vt.a)(Object(Vt.a)({},this.options),e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var r=e.fetchPolicy;return this.setVariables(this.options.variables,t!==r&&("cache-only"===t||"standby"===t||"network-only"===r),e.fetchResults)},t.prototype.setVariables=function(e,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!0),this.isTornDown=!1,e=e||this.variables,!t&&Object(Bt.a)(e,this.variables)?this.observers.size&&r?this.result():Promise.resolve():(this.variables=this.options.variables=e,this.observers.size?this.queryManager.fetchQuery(this.queryId,this.options):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,r=t.getQueryWithPreviousResult(this.queryId),n=r.previousResult,o=r.variables,i=r.document,a=Object(Gt.I)((function(){return e(n,{variables:o})}));a&&(t.dataStore.markUpdateQueryResult(i,o,a),t.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){mr(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.updateLastResult=function(e){var t=this.lastResult;return this.lastResult=e,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?e:Object(Gt.f)(e),t},t.prototype.onSubscribe=function(e){var t=this;try{var r=e._subscription._observer;r&&!r.error&&(r.error=fr)}catch(e){}var n=!this.observers.size;return this.observers.add(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),n&&this.setUpQuery(),function(){t.observers.delete(e)&&!t.observers.size&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this,t=this.queryManager,r=this.queryId;this.shouldSubscribe&&t.addObservableQuery(r,this),this.options.pollInterval&&(mr(this),t.startPollingQuery(this.options,r));var n=function(t){e.updateLastResult(Object(Vt.a)(Object(Vt.a)({},e.lastResult),{errors:t.graphQLErrors,networkStatus:or.error,loading:!1})),hr(e.observers,"error",e.lastError=t)};t.observeQuery(r,this.options,{next:function(r){if(e.lastError||e.isDifferentFromLastResult(r)){var n=e.updateLastResult(r),o=e.options,i=o.query,a=o.variables,s=o.fetchPolicy;t.transform(i).hasClientExports?t.getLocalState().addExportedVariables(i,a).then((function(o){var a=e.variables;e.variables=e.options.variables=o,!r.loading&&n&&"cache-only"!==s&&t.transform(i).serverQuery&&!Object(Bt.a)(a,o)?e.refetch():hr(e.observers,"next",r)})):hr(e.observers,"next",r)}},error:n}).catch(n)},t.prototype.tearDownQuery=function(){var e=this.queryManager;this.isTornDown=!0,e.stopPollingQuery(this.queryId),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),e.removeObservableQuery(this.queryId),e.stopQuery(this.queryId),this.observers.clear()},t}(cr);function fr(e){}function hr(e,t,r){var n=[];e.forEach((function(e){return e[t]&&n.push(e)})),n.forEach((function(e){return e[t](r)}))}function mr(e){var t=e.options.fetchPolicy;Object(Ht.b)("cache-first"!==t&&"cache-only"!==t,3)}var gr=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,r){this.store[e]={mutation:t,variables:r||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var r=this.store[e];r&&(r.loading=!1,r.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),vr=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];Object(Ht.b)(!t||t.document===e.document||Object(Bt.a)(t.document,e.document),19);var r,n=!1,o=null;e.storePreviousVariables&&t&&t.networkStatus!==or.loading&&(Object(Bt.a)(t.variables,e.variables)||(n=!0,o=t.variables)),r=n?or.setVariables:e.isPoll?or.poll:e.isRefetch?or.refetch:or.loading;var i=[];t&&t.graphQLErrors&&(i=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:o,networkError:null,graphQLErrors:i,networkStatus:r,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=or.fetchMore)},e.prototype.markQueryResult=function(e,t,r){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=lr(t.errors)?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=or.ready,"string"==typeof r&&this.store[r]&&(this.store[r].networkStatus=or.ready))},e.prototype.markQueryError=function(e,t,r){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=or.error,"string"==typeof r&&this.markQueryResultClient(r,!0))},e.prototype.markQueryResultClient=function(e,t){var r=this.store&&this.store[e];r&&(r.networkError=null,r.previousVariables=null,t&&(r.networkStatus=or.ready))},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;Object.keys(this.store).forEach((function(r){e.indexOf(r)<0?t.stopQuery(r):t.store[r].networkStatus=or.loading}))},e}();var br=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,o=e.fragmentMatcher;this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),o&&this.setFragmentMatcher(o)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=Object(Gt.A)(t.resolvers,e)})):this.resolvers=Object(Gt.A)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,r=e.remoteResult,n=e.context,o=e.variables,i=e.onlyRunForcedResolvers,a=void 0!==i&&i;return Object(Vt.b)(this,void 0,void 0,(function(){return Object(Vt.d)(this,(function(e){return t?[2,this.resolveDocument(t,r.data,n,o,this.fragmentMatcher,a).then((function(e){return Object(Vt.a)(Object(Vt.a)({},r),{data:e.result})}))]:[2,r]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(Gt.s)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(Gt.C)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(Vt.a)(Object(Vt.a)({},e),{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(Ht.b)(!1,6)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),Object(Vt.b)(this,void 0,void 0,(function(){return Object(Vt.d)(this,(function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then((function(e){return Object(Vt.a)(Object(Vt.a)({},t),e.exportedVariables)}))]:[2,Object(Vt.a)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(ar.b)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return ar.a}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(Gt.d)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,n,o,i){return void 0===r&&(r={}),void 0===n&&(n={}),void 0===o&&(o=function(){return!0}),void 0===i&&(i=!1),Object(Vt.b)(this,void 0,void 0,(function(){var a,s,c,l,u,p,d,f,h;return Object(Vt.d)(this,(function(m){return a=Object(Gt.l)(e),s=Object(Gt.j)(e),c=Object(Gt.g)(s),l=a.operation,u=l?function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(l):"Query",d=(p=this).cache,f=p.client,h={fragmentMap:c,context:Object(Vt.a)(Object(Vt.a)({},r),{cache:d,client:f}),variables:n,fragmentMatcher:o,defaultOperationType:u,exportedVariables:{},onlyRunForcedResolvers:i},[2,this.resolveSelectionSet(a.selectionSet,t,h).then((function(e){return{result:e,exportedVariables:h.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,r){return Object(Vt.b)(this,void 0,void 0,(function(){var n,o,i,a,s,c=this;return Object(Vt.d)(this,(function(l){return n=r.fragmentMap,o=r.context,i=r.variables,a=[t],s=function(e){return Object(Vt.b)(c,void 0,void 0,(function(){var s,c;return Object(Vt.d)(this,(function(l){return Object(Gt.F)(e,i)?Object(Gt.t)(e)?[2,this.resolveField(e,t,r).then((function(t){var r;void 0!==t&&a.push(((r={})[Object(Gt.E)(e)]=t,r))}))]:(Object(Gt.v)(e)?s=e:(s=n[e.name.value],Object(Ht.b)(s,7)),s&&s.typeCondition&&(c=s.typeCondition.name.value,r.fragmentMatcher(t,c,o))?[2,this.resolveSelectionSet(s.selectionSet,t,r).then((function(e){a.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(s)).then((function(){return Object(Gt.B)(a)}))]}))}))},e.prototype.resolveField=function(e,t,r){return Object(Vt.b)(this,void 0,void 0,(function(){var n,o,i,a,s,c,l,u,p,d=this;return Object(Vt.d)(this,(function(f){return n=r.variables,o=e.name.value,i=Object(Gt.E)(e),a=o!==i,s=t[i]||t[o],c=Promise.resolve(s),r.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(l=t.__typename||r.defaultOperationType,(u=this.resolvers&&this.resolvers[l])&&((p=u[a?o:i])&&(c=Promise.resolve(p(t,Object(Gt.b)(e,n),r.context,{field:e,fragmentMap:r.fragmentMap}))))),[2,c.then((function(t){return void 0===t&&(t=s),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(r.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?d.resolveSubSelectedArray(e,t,r):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t,r):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,r){var n=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?n.resolveSubSelectedArray(e,t,r):e.selectionSet?n.resolveSelectionSet(e.selectionSet,t,r):void 0})))},e}();function yr(e){var t=new Set,r=null;return new cr((function(n){return t.add(n),r=r||e.subscribe({next:function(e){t.forEach((function(t){return t.next&&t.next(e)}))},error:function(e){t.forEach((function(t){return t.error&&t.error(e)}))},complete:function(){t.forEach((function(e){return e.complete&&e.complete()}))}}),function(){t.delete(n)&&!t.size&&r&&(r.unsubscribe(),r=null)}}))}var wr=Object.prototype.hasOwnProperty,xr=function(){function e(e){var t=e.link,r=e.queryDeduplication,n=void 0!==r&&r,o=e.store,i=e.onBroadcast,a=void 0===i?function(){}:i,s=e.ssrMode,c=void 0!==s&&s,l=e.clientAwareness,u=void 0===l?{}:l,p=e.localState,d=e.assumeImmutableResults;this.mutationStore=new gr,this.queryStore=new vr,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.transformCache=new(Gt.e?WeakMap:Map),this.inFlightLinkObservables=new Map,this.pollingInfoByQueryId=new Map,this.link=t,this.queryDeduplication=n,this.dataStore=o,this.onBroadcast=a,this.clientAwareness=u,this.localState=p||new br({cache:o.getCache()}),this.ssrMode=c,this.assumeImmutableResults=!!d}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,r){e.stopQueryNoBroadcast(r)})),this.fetchQueryRejectFns.forEach((function(e){e(new Ht.a(8))}))},e.prototype.mutate=function(e){var t=e.mutation,r=e.variables,n=e.optimisticResponse,o=e.updateQueries,i=e.refetchQueries,a=void 0===i?[]:i,s=e.awaitRefetchQueries,c=void 0!==s&&s,l=e.update,u=e.errorPolicy,p=void 0===u?"none":u,d=e.fetchPolicy,f=e.context,h=void 0===f?{}:f;return Object(Vt.b)(this,void 0,void 0,(function(){var e,i,s,u=this;return Object(Vt.d)(this,(function(f){switch(f.label){case 0:return Object(Ht.b)(t,9),Object(Ht.b)(!d||"no-cache"===d,10),e=this.generateQueryId(),t=this.transform(t).document,this.setQuery(e,(function(){return{document:t}})),r=this.getVariables(t,r),this.transform(t).hasClientExports?[4,this.localState.addExportedVariables(t,r,h)]:[3,2];case 1:r=f.sent(),f.label=2;case 2:return i=function(){var e={};return o&&u.queries.forEach((function(t,r){var n=t.observableQuery;if(n){var i=n.queryName;i&&wr.call(o,i)&&(e[r]={updater:o[i],query:u.queryStore.get(r)})}})),e},this.mutationStore.initMutation(e,t,r),this.dataStore.markMutationInit({mutationId:e,document:t,variables:r,updateQueries:i(),update:l,optimisticResponse:n}),this.broadcastQueries(),s=this,[2,new Promise((function(o,u){var f,m;s.getObservableFromLink(t,Object(Vt.a)(Object(Vt.a)({},h),{optimisticResponse:n}),r,!1).subscribe({next:function(n){Object(Gt.q)(n)&&"none"===p?m=new pr({graphQLErrors:n.errors}):(s.mutationStore.markMutationResult(e),"no-cache"!==d&&s.dataStore.markMutationResult({mutationId:e,result:n,document:t,variables:r,updateQueries:i(),update:l}),f=n)},error:function(t){s.mutationStore.markMutationError(e,t),s.dataStore.markMutationComplete({mutationId:e,optimisticResponse:n}),s.broadcastQueries(),s.setQuery(e,(function(){return{document:null}})),u(new pr({networkError:t}))},complete:function(){if(m&&s.mutationStore.markMutationError(e,m),s.dataStore.markMutationComplete({mutationId:e,optimisticResponse:n}),s.broadcastQueries(),m)u(m);else{"function"==typeof a&&(a=a(f));var t=[];lr(a)&&a.forEach((function(e){if("string"==typeof e)s.queries.forEach((function(r){var n=r.observableQuery;n&&n.queryName===e&&t.push(n.refetch())}));else{var r={query:e.query,variables:e.variables,fetchPolicy:"network-only"};e.context&&(r.context=e.context),t.push(s.query(r))}})),Promise.all(c?t:[]).then((function(){s.setQuery(e,(function(){return{document:null}})),"ignore"===p&&f&&Object(Gt.q)(f)&&delete f.errors,o(f)}))}}})}))]}}))}))},e.prototype.fetchQuery=function(e,t,r,n){return Object(Vt.b)(this,void 0,void 0,(function(){var o,i,a,s,c,l,u,p,d,f,h,m,g,v,b,y,w,x,_=this;return Object(Vt.d)(this,(function(E){switch(E.label){case 0:return o=t.metadata,i=void 0===o?null:o,a=t.fetchPolicy,s=void 0===a?"cache-first":a,c=t.context,l=void 0===c?{}:c,u=this.transform(t.query).document,p=this.getVariables(u,t.variables),this.transform(u).hasClientExports?[4,this.localState.addExportedVariables(u,p,l)]:[3,2];case 1:p=E.sent(),E.label=2;case 2:if(t=Object(Vt.a)(Object(Vt.a)({},t),{variables:p}),h=f="network-only"===s||"no-cache"===s,f||(m=this.dataStore.getCache().diff({query:u,variables:p,returnPartialData:!0,optimistic:!1}),g=m.complete,v=m.result,h=!g||"cache-and-network"===s,d=v),b=h&&"cache-only"!==s&&"standby"!==s,Object(Gt.s)(["live"],u)&&(b=!0),y=this.idCounter++,w="no-cache"!==s?this.updateQueryWatch(e,u,t):void 0,this.setQuery(e,(function(){return{document:u,lastRequestId:y,invalidated:!0,cancel:w}})),this.invalidate(n),this.queryStore.initQuery({queryId:e,document:u,storePreviousVariables:b,variables:p,isPoll:r===ur.poll,isRefetch:r===ur.refetch,metadata:i,fetchMoreForQueryId:n}),this.broadcastQueries(),b){if(x=this.fetchRequest({requestId:y,queryId:e,document:u,options:t,fetchMoreForQueryId:n}).catch((function(t){throw function(e){return e.hasOwnProperty("graphQLErrors")}(t)?t:(y>=_.getQuery(e).lastRequestId&&(_.queryStore.markQueryError(e,t,n),_.invalidate(e),_.invalidate(n),_.broadcastQueries()),new pr({networkError:t}))})),"cache-and-network"!==s)return[2,x];x.catch((function(){}))}return this.queryStore.markQueryResultClient(e,!b),this.invalidate(e),this.invalidate(n),this.transform(u).hasForcedResolvers?[2,this.localState.runResolvers({document:u,remoteResult:{data:d},context:l,variables:p,onlyRunForcedResolvers:!0}).then((function(r){return _.markQueryResult(e,r,t,n),_.broadcastQueries(),r}))]:(this.broadcastQueries(),[2,{data:d}])}}))}))},e.prototype.markQueryResult=function(e,t,r,n){var o=r.fetchPolicy,i=r.variables,a=r.errorPolicy;"no-cache"===o?this.setQuery(e,(function(){return{newData:{result:t.data,complete:!0}}})):this.dataStore.markQueryResult(t,this.getQuery(e).document,i,n,"ignore"===a||"all"===a)},e.prototype.queryListenerForObserver=function(e,t,r){var n=this;function o(e,t){if(r[e])try{r[e](t)}catch(e){}}return function(r,i){if(n.invalidate(e,!1),r){var a=n.getQuery(e),s=a.observableQuery,c=a.document,l=s?s.options.fetchPolicy:t.fetchPolicy;if("standby"!==l){var u=sr(r.networkStatus),p=s&&s.getLastResult(),d=!(!p||p.networkStatus===r.networkStatus),f=t.returnPartialData||!i&&r.previousVariables||d&&t.notifyOnNetworkStatusChange||"cache-only"===l||"cache-and-network"===l;if(!u||f){var h=lr(r.graphQLErrors),m=s&&s.options.errorPolicy||t.errorPolicy||"none";if("none"===m&&h||r.networkError)return o("error",new pr({graphQLErrors:r.graphQLErrors,networkError:r.networkError}));try{var g=void 0,v=void 0;if(i)"no-cache"!==l&&"network-only"!==l&&n.setQuery(e,(function(){return{newData:null}})),g=i.result,v=!i.complete;else{var b=s&&s.getLastError(),y="none"!==m&&(b&&b.graphQLErrors)!==r.graphQLErrors;if(p&&p.data&&!y)g=p.data,v=!1;else{var w=n.dataStore.getCache().diff({query:c,variables:r.previousVariables||r.variables,returnPartialData:!0,optimistic:!0});g=w.result,v=!w.complete}}var x=v&&!(t.returnPartialData||"cache-only"===l),_={data:x?p&&p.data:g,loading:u,networkStatus:r.networkStatus,stale:x};"all"===m&&h&&(_.errors=r.graphQLErrors),o("next",_)}catch(e){o("error",new pr({networkError:e}))}}}}}},e.prototype.transform=function(e){var t=this.transformCache;if(!t.has(e)){var r=this.dataStore.getCache(),n=r.transformDocument(e),o=Object(Gt.D)(r.transformForLink(n)),i=this.localState.clientQuery(n),a=this.localState.serverQuery(o),s={document:n,hasClientExports:Object(Gt.r)(n),hasForcedResolvers:this.localState.shouldForceResolvers(n),clientQuery:i,serverQuery:a,defaultVars:Object(Gt.h)(Object(Gt.m)(n))},c=function(e){e&&!t.has(e)&&t.set(e,s)};c(e),c(n),c(i),c(a)}return t.get(e)},e.prototype.getVariables=function(e,t){return Object(Vt.a)(Object(Vt.a)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(Ht.b)("standby"!==e.fetchPolicy,11),e.variables=this.getVariables(e.query,e.variables),void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=Object(Vt.a)({},e);return new dr({queryManager:this,options:r,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(Ht.b)(e.query,12),Object(Ht.b)("Document"===e.query.kind,13),Object(Ht.b)(!e.returnPartialData,14),Object(Ht.b)(!e.pollInterval,15),new Promise((function(r,n){var o=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+o.queryId,n),o.result().then(r,n).then((function(){return t.fetchQueryRejectFns.delete("query:"+o.queryId)}))}))},e.prototype.generateQueryId=function(){return String(this.idCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,(function(e){return e.listeners.add(t),{invalidated:!1}}))},e.prototype.updateQueryWatch=function(e,t,r){var n=this,o=this.getQuery(e).cancel;o&&o();return this.dataStore.getCache().watch({query:t,variables:r.variables,optimistic:!0,previousResult:function(){var t=null,r=n.getQuery(e).observableQuery;if(r){var o=r.getLastResult();o&&(t=o.data)}return t},callback:function(t){n.setQuery(e,(function(){return{invalidated:!0,newData:t}}))}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,(function(){return{observableQuery:t}}))},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e).cancel;this.setQuery(e,(function(){return{observableQuery:null}})),t&&t()},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach((function(e){e(new Ht.a(16))}));var e=[];return this.queries.forEach((function(t,r){t.observableQuery&&e.push(r)})),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then((function(){return e.reFetchObservableQueries()}))},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.queries.forEach((function(n,o){var i=n.observableQuery;if(i){var a=i.options.fetchPolicy;i.resetLastResults(),"cache-only"===a||!e&&"standby"===a||r.push(i.refetch()),t.setQuery(o,(function(){return{newData:null}})),t.invalidate(o)}})),this.broadcastQueries(),Promise.all(r)},e.prototype.observeQuery=function(e,t,r){return this.addQueryListener(e,this.queryListenerForObserver(e,t,r)),this.fetchQuery(e,t)},e.prototype.startQuery=function(e,t,r){return this.addQueryListener(e,r),this.fetchQuery(e,t).catch((function(){})),e},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.fetchPolicy,o=e.variables;r=this.transform(r).document,o=this.getVariables(r,o);var i=function(e){return t.getObservableFromLink(r,{},e,!1).map((function(o){if(n&&"no-cache"===n||(t.dataStore.markSubscriptionResult(o,r,e),t.broadcastQueries()),Object(Gt.q)(o))throw new pr({graphQLErrors:o.errors});return o}))};if(this.transform(r).hasClientExports){var a=this.localState.addExportedVariables(r,o).then(i);return new cr((function(e){var t=null;return a.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return i(o)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),this.getQuery(e).subscriptions.forEach((function(e){return e.unsubscribe()})),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var r=e.options,n=r.variables,o=r.query,i=r.fetchPolicy,a=r.returnPartialData,s=e.getLastResult(),c=this.getQuery(e.queryId).newData;if(c&&c.complete)return{data:c.result,partial:!1};if("no-cache"===i||"network-only"===i)return{data:void 0,partial:!1};var l=this.dataStore.getCache().diff({query:o,variables:n,previousResult:s?s.data:void 0,returnPartialData:!0,optimistic:t}),u=l.result,p=l.complete;return{data:p||a?u:void 0,partial:!p}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var r=this.getQuery(e).observableQuery;Object(Ht.b)(r,17),t=r}else t=e;var n=t.options,o=n.variables,i=n.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:o,document:i}},e.prototype.broadcastQueries=function(){var e=this;this.onBroadcast(),this.queries.forEach((function(t,r){t.invalidated&&t.listeners.forEach((function(n){n&&n(e.queryStore.get(r),t.newData)}))}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,n){var o,i=this;void 0===n&&(n=this.queryDeduplication);var a=this.transform(e).serverQuery;if(a){var s=this.inFlightLinkObservables,c=this.link,l={query:a,variables:r,operationName:Object(Gt.n)(a)||void 0,context:this.prepareContext(Object(Vt.a)(Object(Vt.a)({},t),{forceFetch:!n}))};if(t=l.context,n){var u=s.get(a)||new Map;s.set(a,u);var p=JSON.stringify(r);if(!(o=u.get(p))){u.set(p,o=yr(nr(c,l)));var d=function(){u.delete(p),u.size||s.delete(a),f.unsubscribe()},f=o.subscribe({next:d,error:d,complete:d})}}else o=yr(nr(c,l))}else o=cr.of({data:{}}),t=this.prepareContext(t);var h=this.transform(e).clientQuery;return h&&(o=function(e,t){return new cr((function(r){var n=r.next,o=r.error,i=r.complete,a=0,s=!1,c={next:function(e){++a,new Promise((function(r){r(t(e))})).then((function(e){--a,n&&n.call(r,e),s&&c.complete()}),(function(e){--a,o&&o.call(r,e)}))},error:function(e){o&&o.call(r,e)},complete:function(){s=!0,a||i&&i.call(r)}},l=e.subscribe(c);return function(){return l.unsubscribe()}}))}(o,(function(e){return i.localState.runResolvers({document:h,remoteResult:e,context:t,variables:r})}))),o},e.prototype.fetchRequest=function(e){var t,r,n=this,o=e.requestId,i=e.queryId,a=e.document,s=e.options,c=e.fetchMoreForQueryId,l=s.variables,u=s.errorPolicy,p=void 0===u?"none":u,d=s.fetchPolicy;return new Promise((function(e,u){var f=n.getObservableFromLink(a,s.context,l),h="fetchRequest:"+i;n.fetchQueryRejectFns.set(h,u);var m=function(){n.fetchQueryRejectFns.delete(h),n.setQuery(i,(function(e){e.subscriptions.delete(g)}))},g=f.map((function(e){if(o>=n.getQuery(i).lastRequestId&&(n.markQueryResult(i,e,s,c),n.queryStore.markQueryResult(i,e,c),n.invalidate(i),n.invalidate(c),n.broadcastQueries()),"none"===p&&lr(e.errors))return u(new pr({graphQLErrors:e.errors}));if("all"===p&&(r=e.errors),c||"no-cache"===d)t=e.data;else{var f=n.dataStore.getCache().diff({variables:l,query:a,optimistic:!1,returnPartialData:!0}),h=f.result;(f.complete||s.returnPartialData)&&(t=h)}})).subscribe({error:function(e){m(),u(e)},complete:function(){m(),e({data:t,errors:r,loading:!1,networkStatus:or.ready,stale:!1})}});n.setQuery(i,(function(e){e.subscriptions.add(g)}))}))},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:new Set,invalidated:!1,document:null,newData:null,lastRequestId:1,observableQuery:null,subscriptions:new Set}},e.prototype.setQuery=function(e,t){var r=this.getQuery(e),n=Object(Vt.a)(Object(Vt.a)({},r),t(r));this.queries.set(e,n)},e.prototype.invalidate=function(e,t){void 0===t&&(t=!0),e&&this.setQuery(e,(function(){return{invalidated:t}}))},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(Vt.a)(Object(Vt.a)({},t),{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==or.ready&&t.networkStatus!==or.error},e.prototype.startPollingQuery=function(e,t,r){var n=this,o=e.pollInterval;if(Object(Ht.b)(o,18),!this.ssrMode){var i=this.pollingInfoByQueryId.get(t);i||this.pollingInfoByQueryId.set(t,i={}),i.interval=o,i.options=Object(Vt.a)(Object(Vt.a)({},e),{fetchPolicy:"network-only"});var a=function(){var e=n.pollingInfoByQueryId.get(t);e&&(n.checkInFlight(t)?s():n.fetchQuery(t,e.options,ur.poll).then(s,s))},s=function(){var e=n.pollingInfoByQueryId.get(t);e&&(clearTimeout(e.timeout),e.timeout=setTimeout(a,e.interval))};r&&this.addQueryListener(t,r),s()}return t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e}(),_r=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,r,n,o){void 0===o&&(o=!1);var i=!Object(Gt.q)(e);o&&Object(Gt.q)(e)&&e.data&&(i=!0),!n&&i&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:r})},e.prototype.markSubscriptionResult=function(e,t,r){Object(Gt.q)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:r})},e.prototype.markMutationInit=function(e){var t,r=this;e.optimisticResponse&&(t="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse,this.cache.recordOptimisticTransaction((function(n){var o=r.cache;r.cache=n;try{r.markMutationResult({mutationId:e.mutationId,result:{data:t},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{r.cache=o}}),e.mutationId))},e.prototype.markMutationResult=function(e){var t=this;if(!Object(Gt.q)(e.result)){var r=[{result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}],n=e.updateQueries;n&&Object.keys(n).forEach((function(o){var i=n[o],a=i.query,s=i.updater,c=t.cache.diff({query:a.document,variables:a.variables,returnPartialData:!0,optimistic:!1}),l=c.result;if(c.complete){var u=Object(Gt.I)((function(){return s(l,{mutationResult:e.result,queryName:Object(Gt.n)(a.document)||void 0,queryVariables:a.variables})}));u&&r.push({result:u,dataId:"ROOT_QUERY",query:a.document,variables:a.variables})}})),this.cache.performTransaction((function(t){r.forEach((function(e){return t.write(e)}));var n=e.update;n&&Object(Gt.I)((function(){return n(t,e.result)}))}))}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,r){this.cache.write({result:r,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),Er=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var r=e.cache,n=e.ssrMode,o=void 0!==n&&n,i=e.ssrForceFetchDelay,a=void 0===i?0:i,s=e.connectToDevTools,c=e.queryDeduplication,l=void 0===c||c,u=e.defaultOptions,p=e.assumeImmutableResults,d=void 0!==p&&p,f=e.resolvers,h=e.typeDefs,m=e.fragmentMatcher,g=e.name,v=e.version,b=e.link;if(!b&&f&&(b=rr.empty()),!b||!r)throw new Ht.a(4);this.link=b,this.cache=r,this.store=new _r(r),this.disableNetworkFetches=o||a>0,this.queryDeduplication=l,this.defaultOptions=u||{},this.typeDefs=h,a&&setTimeout((function(){return t.disableNetworkFetches=!1}),a),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==s&&(s&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version="2.6.10",this.localState=new br({cache:r,client:this,resolvers:f,fragmentMatcher:m}),this.queryManager=new xr({link:this.link,store:this.store,queryDeduplication:l,ssrMode:o,clientAwareness:{name:g,version:v},localState:this.localState,assumeImmutableResults:d,onBroadcast:function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.queryStore.getStore(),mutations:t.queryManager.mutationStore.getStore()},dataWithOptimisticResults:t.cache.extract(!0)})}})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(Vt.a)(Object(Vt.a)({},this.defaultOptions.watchQuery),e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(Vt.a)(Object(Vt.a)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(Vt.a)(Object(Vt.a)({},this.defaultOptions.query),e)),Object(Ht.b)("cache-and-network"!==e.fetchPolicy,5),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(Vt.a)(Object(Vt.a)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(Vt.a)(Object(Vt.a)({},this.defaultOptions.mutate),e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return this.queryManager.broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.cache.writeData(e);return this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return nr(this.link,e)},e.prototype.initQueryManager=function(){return this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e}();var kr=r("7506"),Sr={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},Tr=function(e,t,r){var n=new Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},Or=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=new Ht.a(2);throw n.parseError=e,n}return r},Rr=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,n=e.fetch,o=e.includeExtensions,i=e.useGETForQueries,a=Object(Vt.e)(e,["uri","fetch","includeExtensions","useGETForQueries"]);(function(e){if(!e&&"undefined"==typeof fetch)throw new Ht.a(1)})(n),n||(n=fetch);var s={http:{includeExtensions:o},options:a.fetchOptions,credentials:a.credentials,headers:a.headers};return new rr((function(e){var t=function(e,t){return e.getContext().uri||("function"==typeof t?t(e):t||"/graphql")}(e,r),o=e.getContext(),a={};if(o.clientAwareness){var c=o.clientAwareness,l=c.name,u=c.version;l&&(a["apollographql-client-name"]=l),u&&(a["apollographql-client-version"]=u)}var p,d=Object(Vt.a)({},a,o.headers),f={http:o.http,options:o.fetchOptions,credentials:o.credentials,headers:d},h=function(e,t){for(var r=[],n=2;n=300&&Tr(t,r,"Response not successful: Received status code "+t.status),Array.isArray(r)||r.hasOwnProperty("data")||r.hasOwnProperty("errors")||Tr(t,r,"Server response was missing for query '"+(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName)+"'."),r}))}}(e)).then((function(e){return r.next(e),r.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&r.next(e.result),r.error(e))})),function(){p&&p.abort()}}))}))};var Ir=function(e){function t(t){return e.call(this,Rr(t).request)||this}return Object(Vt.c)(t,e),t}(rr);function Ar(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:Pr(e)}]}}function Cr(e,t){return{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:t||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:Pr(e)}]}}function Pr(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return Pr(e[0]);var t=[];return Object.keys(e).forEach((function(r){var n={kind:"Field",name:{kind:"Name",value:r},selectionSet:Pr(e[r])||void 0};t.push(n)})),{kind:"SelectionSet",selections:t}}var Nr,Ur={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},Dr=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:Object(Gt.k)(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:Object(Gt.k)(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t=e.id,r=e.data;if(void 0!==t){var n=null;try{n=this.read({rootId:t,optimistic:!1,query:Ur})}catch(e){}var o=n&&n.__typename||"__ClientData",i=Object.assign({__typename:o},r);this.writeFragment({id:t,fragment:Cr(i,o),data:i})}else this.writeQuery({query:Ar(r),data:r})},e}();Nr||(Nr={});var Mr=null,Lr={},jr=1,Fr="@wry/context:Slot",$r=Array,zr=$r[Fr]||function(){var e=function(){function e(){this.id=["slot",jr++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=Mr;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===Lr)break;return e!==Mr&&(Mr.slots[this.id]=t),!0}return Mr&&(Mr.slots[this.id]=Lr),!1},e.prototype.getValue=function(){if(this.hasValue())return Mr.slots[this.id]},e.prototype.withValue=function(e,t,r,n){var o,i=((o={__proto__:null})[this.id]=e,o),a=Mr;Mr={parent:a,slots:i};try{return t.apply(n,r)}finally{Mr=a}},e.bind=function(e){var t=Mr;return function(){var r=Mr;try{return Mr=t,e.apply(this,arguments)}finally{Mr=r}}},e.noContext=function(e,t,r){if(!Mr)return e.apply(r,t);var n=Mr;try{return Mr=null,e.apply(r,t)}finally{Mr=n}},e}();try{Object.defineProperty($r,Fr,{value:$r[Fr]=e,enumerable:!1,writable:!1,configurable:!1})}finally{return e}}();function Vr(){}zr.bind,zr.noContext;var Gr=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=Vr),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var t=this.getEntry(e);return t&&t.value},e.prototype.getEntry=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var r=t.older,n=t.newer;n&&(n.older=r),r&&(r.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t},e.prototype.set=function(e,t){var r=this.getEntry(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),Br=new zr,Wr=[],Yr=[];function Hr(e,t){if(!e)throw new Error(t||"assertion failure")}function qr(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var Kr=function(){function e(t,r){this.fn=t,this.args=r,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],++e.count}return e.prototype.recompute=function(){if(Hr(!this.recomputing,"already recomputing"),function(e){var t=Br.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),Xr(e)?en(t,e):tn(t,e),t}(this)||!nn(this))return Xr(this)?function(e){var t=on(e);return Br.withValue(e,Qr,[e]),function(e){if("function"==typeof e.subscribe)try{sn(e),e.unsubscribe=e.subscribe.apply(null,e.args)}catch(t){return e.setDirty(),!1}return!0}(e)&&function(e){e.dirty=!1,Xr(e)||Zr(e)}(e),t.forEach(nn),qr(e.value)}(this):qr(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,Jr(this),sn(this))},e.prototype.dispose=function(){var e=this;on(this).forEach(nn),sn(this),this.parents.forEach((function(t){t.setDirty(),an(t,e)}))},e.count=0,e}();function Qr(e){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,e.args)}catch(t){e.value[1]=t}e.recomputing=!1}function Xr(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function Jr(e){e.parents.forEach((function(t){return en(t,e)}))}function Zr(e){e.parents.forEach((function(t){return tn(t,e)}))}function en(e,t){if(Hr(e.childValues.has(t)),Hr(Xr(t)),e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=Yr.pop()||new Set;e.dirtyChildren.add(t),Jr(e)}function tn(e,t){Hr(e.childValues.has(t)),Hr(!Xr(t));var r=e.childValues.get(t);0===r.length?e.childValues.set(t,function(e){return e.slice(0)}(t.value)):function(e,t){var r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}(r,t.value)||e.setDirty(),rn(e,t),Xr(e)||Zr(e)}function rn(e,t){var r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(Yr.length<100&&Yr.push(r),e.dirtyChildren=null))}function nn(e){return 0===e.parents.size&&"function"==typeof e.reportOrphan&&!0===e.reportOrphan()}function on(e){var t=Wr;return e.childValues.size>0&&(t=[],e.childValues.forEach((function(r,n){an(e,n),t.push(n)}))),Hr(null===e.dirtyChildren),t}function an(e,t){t.parents.delete(e),e.childValues.delete(t),rn(e,t)}function sn(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var cn=function(){function e(e){this.weakness=e}return e.prototype.lookup=function(){for(var e=[],t=0;t-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach((function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map((function(e){return e.name})))})),t}}(),Object.prototype.hasOwnProperty),gn=function(){function e(e){var t=this;void 0===e&&(e=Object.create(null)),this.data=e,this.depend=dn((function(e){return t.data[e]}),{disposable:!0,makeCacheKey:function(e){return e}})}return e.prototype.toObject=function(){return this.data},e.prototype.get=function(e){return this.depend(e),this.data[e]},e.prototype.set=function(e,t){t!==this.data[e]&&(this.data[e]=t,this.depend.dirty(e))},e.prototype.delete=function(e){mn.call(this.data,e)&&(delete this.data[e],this.depend.dirty(e))},e.prototype.clear=function(){this.replace(null)},e.prototype.replace=function(e){var t=this;e?(Object.keys(e).forEach((function(r){t.set(r,e[r])})),Object.keys(this.data).forEach((function(r){mn.call(e,r)||t.delete(r)}))):Object.keys(this.data).forEach((function(e){t.delete(e)}))},e}();function vn(e){return new gn(e)}var bn=function(){function e(e){var t=this,r=void 0===e?{}:e,n=r.cacheKeyRoot,o=void 0===n?new cn(Gt.e):n,i=r.freezeResults,a=void 0!==i&&i,s=this,c=s.executeStoreQuery,l=s.executeSelectionSet,u=s.executeSubSelectedArray;this.freezeResults=a,this.executeStoreQuery=dn((function(e){return c.call(t,e)}),{makeCacheKey:function(e){var t=e.query,r=e.rootValue,n=e.contextValue,i=e.variableValues,a=e.fragmentMatcher;if(n.store instanceof gn)return o.lookup(n.store,t,a,JSON.stringify(i),r.id)}}),this.executeSelectionSet=dn((function(e){return l.call(t,e)}),{makeCacheKey:function(e){var t=e.selectionSet,r=e.rootValue,n=e.execContext;if(n.contextValue.store instanceof gn)return o.lookup(n.contextValue.store,t,n.fragmentMatcher,JSON.stringify(n.variableValues),r.id)}}),this.executeSubSelectedArray=dn((function(e){return u.call(t,e)}),{makeCacheKey:function(e){var t=e.field,r=e.array,n=e.execContext;if(n.contextValue.store instanceof gn)return o.lookup(n.contextValue.store,t,r,JSON.stringify(n.variableValues))}})}return e.prototype.readQueryFromStore=function(e){return this.diffQueryAgainstStore(Object(Vt.a)(Object(Vt.a)({},e),{returnPartialData:!1})).result},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,r=e.query,n=e.variables,o=e.previousResult,i=e.returnPartialData,a=void 0===i||i,s=e.rootId,c=void 0===s?"ROOT_QUERY":s,l=e.fragmentMatcherFunction,u=e.config,p=Object(Gt.o)(r);n=Object(Gt.c)({},Object(Gt.h)(p),n);var d={store:t,dataIdFromObject:u&&u.dataIdFromObject,cacheRedirects:u&&u.cacheRedirects||{}},f=this.executeStoreQuery({query:r,rootValue:{type:"id",id:c,generated:!0,typename:"Query"},contextValue:d,variableValues:n,fragmentMatcher:l}),h=f.missing&&f.missing.length>0;return h&&!a&&f.missing.forEach((function(e){if(!e.tolerable)throw new Ht.a(8)})),o&&Object(Bt.a)(o,f.result)&&(f.result=o),{result:f.result,complete:!h}},e.prototype.executeStoreQuery=function(e){var t=e.query,r=e.rootValue,n=e.contextValue,o=e.variableValues,i=e.fragmentMatcher,a=void 0===i?wn:i,s=Object(Gt.l)(t),c=Object(Gt.j)(t),l={query:t,fragmentMap:Object(Gt.g)(c),contextValue:n,variableValues:o,fragmentMatcher:a};return this.executeSelectionSet({selectionSet:s.selectionSet,rootValue:r,execContext:l})},e.prototype.executeSelectionSet=function(e){var t=this,r=e.selectionSet,n=e.rootValue,o=e.execContext,i=o.fragmentMap,a=o.contextValue,s=o.variableValues,c={result:null},l=[],u=a.store.get(n.id),p=u&&u.__typename||"ROOT_QUERY"===n.id&&"Query"||void 0;function d(e){var t;return e.missing&&(c.missing=c.missing||[],(t=c.missing).push.apply(t,e.missing)),e.result}return r.selections.forEach((function(e){var r;if(Object(Gt.F)(e,s))if(Object(Gt.t)(e)){var c=d(t.executeField(u,p,e,o));void 0!==c&&l.push(((r={})[Object(Gt.E)(e)]=c,r))}else{var f=void 0;if(Object(Gt.v)(e))f=e;else if(!(f=i[e.name.value]))throw new Ht.a(9);var h=f.typeCondition&&f.typeCondition.name.value,m=!h||o.fragmentMatcher(n,h,a);if(m){var g=t.executeSelectionSet({selectionSet:f.selectionSet,rootValue:n,execContext:o});"heuristic"===m&&g.missing&&(g=Object(Vt.a)(Object(Vt.a)({},g),{missing:g.missing.map((function(e){return Object(Vt.a)(Object(Vt.a)({},e),{tolerable:!0})}))})),l.push(d(g))}}})),c.result=Object(Gt.B)(l),this.freezeResults,c},e.prototype.executeField=function(e,t,r,n){var o=n.variableValues,i=n.contextValue,a=function(e,t,r,n,o,i){i.resultKey;var a=i.directives,s=r;(n||a)&&(s=Object(Gt.p)(s,n,a));var c=void 0;if(e&&void 0===(c=e[s])&&o.cacheRedirects&&"string"==typeof t){var l=o.cacheRedirects[t];if(l){var u=l[r];u&&(c=u(e,n,{getCacheKey:function(e){var t=o.dataIdFromObject(e);return t&&Object(Gt.H)({id:t,typename:e.__typename})}}))}}return void 0===c?{result:c,missing:[{object:e,fieldName:s,tolerable:!1}]}:(Object(Gt.w)(c)&&(c=c.json),{result:c})}(e,t,r.name.value,Object(Gt.b)(r,o),i,{resultKey:Object(Gt.E)(r),directives:Object(Gt.i)(r,o)});return Array.isArray(a.result)?this.combineExecResults(a,this.executeSubSelectedArray({field:r,array:a.result,execContext:n})):r.selectionSet?null==a.result?a:this.combineExecResults(a,this.executeSelectionSet({selectionSet:r.selectionSet,rootValue:a.result,execContext:n})):(yn(r,a.result),this.freezeResults,a)},e.prototype.combineExecResults=function(){for(var e,t=[],r=0;r=0)return!0;r[e].push(t)}else r[e]=[t];return!1}var Tn={fragmentMatcher:new hn,dataIdFromObject:function(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null},addTypename:!0,resultCaching:!0,freezeResults:!1};var On=Object.prototype.hasOwnProperty,Rn=function(e){function t(t,r,n){var o=e.call(this,Object.create(null))||this;return o.optimisticId=t,o.parent=r,o.transaction=n,o}return Object(Vt.c)(t,e),t.prototype.toObject=function(){return Object(Vt.a)(Object(Vt.a)({},this.parent.toObject()),this.data)},t.prototype.get=function(e){return On.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(xn),In=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;r.watches=new Set,r.typenameDocumentCache=new Map,r.cacheKeyRoot=new cn(Gt.e),r.silenceBroadcast=!1,r.config=Object(Vt.a)(Object(Vt.a)({},Tn),t),r.config.customResolvers&&(r.config.cacheRedirects=r.config.customResolvers),r.config.cacheResolvers&&(r.config.cacheRedirects=r.config.cacheResolvers),r.addTypename=!!r.config.addTypename,r.data=r.config.resultCaching?new gn:new xn,r.optimisticData=r.data,r.storeWriter=new En,r.storeReader=new bn({cacheKeyRoot:r.cacheKeyRoot,freezeResults:t.freezeResults});var n=r,o=n.maybeBroadcastWatch;return r.maybeBroadcastWatch=dn((function(e){return o.call(r,e)}),{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return n.data instanceof gn?n.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),r}return Object(Vt.c)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){if("string"==typeof e.rootId&&void 0===this.data.get(e.rootId))return null;var t=this.config.fragmentMatcher,r=t&&t.match;return this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:r,previousResult:e.previousResult,config:this.config})||null},t.prototype.write=function(e){var t=this.config.fragmentMatcher,r=t&&t.match;this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:r}),this.broadcastWatches()},t.prototype.diff=function(e){var t=this.config.fragmentMatcher,r=t&&t.match;return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:r,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new Ht.a(7)},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],r=0,n=this.optimisticData;n instanceof Rn;)n.optimisticId===e?++r:t.push(n),n=n.parent;if(r>0){for(this.optimisticData=n;t.length>0;){var o=t.pop();this.performTransaction(o.transaction,o.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var r=this.data,n=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new Rn(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=n,this.data=r}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(Gt.a)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach((function(t){return e.maybeBroadcastWatch(t)}))},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(Dr),An=r("633a"),Cn=function(e){function t(t){var r=e.call(this)||this;return t instanceof An.SubscriptionClient?r.subscriptionClient=t:r.subscriptionClient=new An.SubscriptionClient(t.uri,t.options,t.webSocketImpl),r}return Object(Vt.c)(t,e),t.prototype.request=function(e){return this.subscriptionClient.request(e)},t}(rr);function Pn(e){return new rr((function(t,r){return new Yt((function(n){var o,i,a;try{o=r(t).subscribe({next:function(o){o.errors&&(a=e({graphQLErrors:o.errors,response:o,operation:t,forward:r}))?i=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}):n.next(o)},error:function(o){(a=e({operation:t,networkError:o,graphQLErrors:o&&o.result&&o.result.errors,forward:r}))?i=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}):n.error(o)},complete:function(){a||n.complete.bind(n)()}})}catch(o){e({networkError:o,operation:t,forward:r}),n.error(o)}return function(){o&&o.unsubscribe(),i&&o.unsubscribe()}}))}))}!function(e){function t(t){var r=e.call(this)||this;return r.link=Pn(t),r}Object(Vt.c)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(rr);var Nn=function(){function e(e,t,r,n){var o=this;this.operation=e,this.nextLink=t,this.delayFor=r,this.retryIf=n,this.retryCount=0,this.values=[],this.complete=!1,this.canceled=!1,this.observers=[],this.currentSubscription=null,this.onNext=function(e){o.values.push(e);for(var t=0,r=o.observers;t=o)&&(r?r(n,t):!!n)}}(o),r}return Object(Vt.c)(t,e),t.prototype.request=function(e,t){var r=new Nn(e,t,this.delayFor,this.retryIf);return r.start(),new Yt((function(e){return r.subscribe(e),function(){r.unsubscribe(e)}}))},t}(rr);const Dn=new URL(we||window.location.origin),Mn={};let Ln=!1,jn=!1;const Fn=e=>{Xe.debug("[createGraphqlClient]");const t=new rr((t,r)=>r(t).map(r=>{const{response:{headers:n}}=t.getContext();if(n){const t=n.get("x-environment")||null,r=n.get("x-unraid-api-version")||null;t&&e.commit("SET_MY_SERVERS_ENV",t),r&&e.commit("SET_MY_SERVERS_API_VERSION",r)}return r})).concat(new Ir({uri:`${Dn.protocol}//${Dn.host}/graphql`})),r=`${Dn.protocol.includes("https")?"wss://":"ws://"}${Dn.host}/graphql`,n=new Cn({uri:r,options:{timeout:65e3,reconnect:!0,connectionParams:{"x-api-key":e.state.apikey}}});let o;n.subscriptionClient.maxConnectTimeGenerator.setMin(3e3),n.subscriptionClient.onConnected(()=>{Xe.debug("[🚀 wslink.onConnected 🚀]"),e.commit("SET_GRAPH_ONLINE",!0),e.state.myServersError&&e.commit("SET_MY_SERVERS_ERROR",null)}),n.subscriptionClient.onReconnected(()=>{Xe.debug("[🚀 wslink.onReconnected 🚀]"),e.commit("SET_GRAPH_ONLINE",!0),e.commit("SET_GRAPH_RECONNECTED",!0),e.state.myServersError&&e.commit("SET_MY_SERVERS_ERROR",null)}),n.subscriptionClient.onDisconnected(()=>{Xe.debug("[🚀 wslink.onDisconnected 🚀] 01"),e.state.graphOnline&&(clearTimeout(o),o=setTimeout(()=>{Xe.debug("[🚀 wslink.onDisconnected 🚀] 02"),e.commit("SET_GRAPH_ONLINE",!1),e.state.myServersError||e.commit("SET_MY_SERVERS_ERROR","Disconnected from Unraid API")},150))});const i=tr(({query:e})=>{const t=Object(Gt.l)(e);return"OperationDefinition"===t.kind&&"subscription"===t.operation},n,t),a=function(e){return new rr((function(t,r){var n=Object(Vt.e)(t,[]);return new Yt((function(o){var i;return Promise.resolve(n).then((function(r){return e(r,t.getContext())})).then(t.setContext).then((function(){i=r(t).subscribe({next:o.next.bind(o),error:o.error.bind(o),complete:o.complete.bind(o)})})).catch(o.error.bind(o)),function(){i&&i.unsubscribe()}}))}))}((t,{headers:r})=>({headers:{...r,"x-api-key":e.state.apikey}})),s=Pn(({graphQLErrors:t,networkError:r})=>{if(t){Xe.error("[GraphQL error] %o",t);const r=t[0].message||t[0].error.message||"No error object - [UNRAID]";e.commit("SET_MY_SERVERS_ERROR",r),r&&r.includes(Fe)&&(Ln=!0,jn=!0)}if(r&&!Ln){Xe.error("[Network error]",r);const t=r.message?r.message:r;e.commit("SET_MY_SERVERS_ERROR",t.includes("Unexpected token < in JSON at position 0")?"Unraid API • CORS Error":t)}e.commit("SET_MY_SERVERS_LOADING",!1)}),c=new Un({attempts:{max:1/0,retryIf:(t,r)=>(Xe.debug("[retryLink - retryIf]",{error:t,_operation:r,prioritizeCorsError:Ln}),e.commit("SET_GRAPH_ONLINE",!1),!!t&&!Ln)},delay:{initial:jn?3e3:300,max:1/0,jitter:!0}});return new Er({link:rr.from([c,s,a,i]),connectToDevTools:!1,cache:new In,defaultOptions:{watchQuery:{fetchPolicy:"no-cache"},query:{fetchPolicy:"no-cache"},mutate:{fetchPolicy:"no-cache"},subscribe:{fetchPolicy:"no-cache",shouldResubscribe:!1}}})},$n=e=>{if(!e.state.apikey)return Xe.debug("[getGraphqlClient] NO API KEY");if(Object.keys(Mn).includes(e.state.apikey))return Xe.debug("[getGraphqlClient] found existing client %o",Mn[e.state.apikey]),Mn[e.state.apikey];const t=Fn(e);return Mn[e.state.apikey]=t,Xe.debug("[getGraphqlClient] new client inbound %o",t),t},zn=(e,t)=>(Xe.debug("[detectOwnersResponseError]",{"context.state.registered":e.state.registered,"context.state.signOutTriggered":e.state.signOutTriggered,"response.data.owner":t.data.owner,"context.state.myServersError":e.state.myServersError}),e.state.signOutTriggered?Xe.debug("[detectOwnersResponseError] signed out; ignoring"):!t.data.owner||t.data.owner&&"root"===t.data.owner.username?(Xe.error(Le,t.data.owner),e.commit("SET_MY_SERVERS_ERROR",Le+" Please update your Connect plugin (formly known as My Servers) to potentially fix this error. Thanks for working with us as we try to solve this bug."),e.commit("SET_MY_SERVERS_ERROR_SHOW_SUPPORT_BTN",!0)):t.data.owner&&"root"!==t.data.owner.username&&e.state.myServersError&&e.state.myServersError.includes(Le)?(e.commit("SET_MY_SERVERS_ERROR",""),e.commit("SET_MY_SERVERS_ERROR_SHOW_SUPPORT_BTN",!1)):Xe.debug("[detectOwnersResponseError] PASSED"));var Vn=function(){return(Vn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0)&&(r(o.reverse()[0]),n.clearMeasures&&n.clearMeasures(t),Hn.callbacks.delete(t),Hn.callbacks.size<1&&(Hn.observer.disconnect(),n.clearResourceTimings&&n.clearResourceTimings()),!0)},Hn={callbacks:new Map,observer:null,observe:function(e,t){if(e&&t){var r=Wn.a.polyfill("performance",{doThrow:!1});(function(e,t){return!Hn.observer&&e&&t&&(Hn.observer=new t((function(t){Hn.callbacks.forEach((function(r,n){Yn(t,n,r,e)}))})),e.clearResourceTimings&&e.clearResourceTimings()),Hn.observer})(r,Wn.a.polyfill("PerformanceObserver",{doThrow:!1}))&&(Yn(r,e,t,r)||(Hn.callbacks.size<1&&Hn.observer.observe({entryTypes:["resource","measure"]}),Hn.callbacks.set(e,t)))}}},qn=Hn,Kn=function(e){this.error=e},Qn=function(){return(Qn=Object.assign||function(e){for(var t,r=1,n=arguments.length;r1?r[0]+e+"?"+r[1]:this._url+e})},e.prototype.options=function(e,t){return void 0===t&&(t=!0),this.selfFactory({options:t?Bn(this._options,e):e})},e.prototype.query=function(e,t){return void 0===t&&(t=!1),this.selfFactory({url:ro(this._url,e,t)})},e.prototype.headers=function(e){return this.selfFactory({options:Bn(this._options,{headers:e||{}})})},e.prototype.accept=function(e){return this.headers({Accept:e})},e.prototype.content=function(e){var t;return this.headers(((t={})[Jn]=e,t))},e.prototype.auth=function(e){return this.headers({Authorization:e})},e.prototype.catcher=function(e,t){var r=new Map(this._catchers);return r.set(e,t),this.selfFactory({catchers:r})},e.prototype.signal=function(e){return this.selfFactory({options:Qn(Qn({},this._options),{signal:e.signal})})},e.prototype.resolve=function(e,t){return void 0===t&&(t=!1),this.selfFactory({resolvers:t?[e]:Xn(Xn([],this._resolvers,!0),[e],!1)})},e.prototype.defer=function(e,t){return void 0===t&&(t=!1),this.selfFactory({deferredChain:t?[e]:Xn(Xn([],this._deferredChain,!0),[e],!1)})},e.prototype.middlewares=function(e,t){return void 0===t&&(t=!1),this.selfFactory({middlewares:t?e:Xn(Xn([],this._middlewares,!0),e,!0)})},e.prototype.method=function(e,t,r){void 0===t&&(t={}),void 0===r&&(r=null);var n=this.options(Qn(Qn({},t),{method:e})),o=Zn(n._options.headers),i="object"==typeof r&&(!n._options.headers||!o||eo(o));return function(e){var t=e._url,r=e._catchers,n=e._resolvers,o=e._middlewares,i=e._options,a=new Map(r),s=Bn(Wn.a.defaults,i),c=Wn.a.polyfill("AbortController",{doThrow:!1,instance:!0});!s.signal&&c&&(s.signal=c.signal);var l={ref:null,clear:function(){l.ref&&(clearTimeout(l.ref),l.ref=null)}},u=function(e){return function(t){return 0===e.length?t:1===e.length?e[0](t):e.reduceRight((function(r,n,o){return o===e.length-2?n(r(t)):n(r)}))}}(o)(Wn.a.polyfill("fetch"))(t,s),p=u.catch((function(e){throw new Kn(e)})).then((function(e){if(l.clear(),!e.ok){if("opaque"===e.type){var t=new Error("Opaque response");throw t.status=e.status,t.response=e,t}return e[Wn.a.errorType||"text"]().then((function(t){var r=new Error(t);throw r[Wn.a.errorType||"text"]=t,r.status=e.status,r.response=e,r}))}return e})),d=function(t){return t.catch((function(t){l.clear();var r=t instanceof Kn?t.error:t;if(t instanceof Kn&&a.has("__fromFetch"))return a.get("__fromFetch")(r,e);if(a.has(r.status))return a.get(r.status)(r,e);if(a.has(r.name))return a.get(r.name)(r,e);throw r}))},f=function(e){return function(t){return d(e?p.then((function(t){return t&&t[e]()})).then((function(e){return t?t(e):e})):p.then((function(e){return t?t(e):e})))}},h={res:f(null),json:f("json"),blob:f("blob"),formData:f("formData"),arrayBuffer:f("arrayBuffer"),text:f("text"),perfs:function(e){return u.then((function(t){return qn.observe(t.url,e)})).catch((function(){})),h},setTimeout:function(e,t){return void 0===t&&(t=c),l.clear(),l.ref=setTimeout((function(){return t.abort()}),e),h},controller:function(){return[c,h]},error:function(e,t){return a.set(e,t),h},badRequest:function(e){return h.error(400,e)},unauthorized:function(e){return h.error(401,e)},forbidden:function(e){return h.error(403,e)},notFound:function(e){return h.error(404,e)},timeout:function(e){return h.error(408,e)},internalError:function(e){return h.error(500,e)},fetchError:function(e){return h.error("__fromFetch",e)},onAbort:function(e){return h.error("AbortError",e)}};return n.reduce((function(t,r){return r(t,e)}),h)}((n=r?i?n.json(r,o):n.body(r):n)._deferredChain.reduce((function(e,t){return t(e,e._url,e._options)}),n))},e.prototype.get=function(e){return this.method("GET",e)},e.prototype.delete=function(e){return this.method("DELETE",e)},e.prototype.put=function(e,t){return this.method("PUT",t,e)},e.prototype.post=function(e,t){return this.method("POST",t,e)},e.prototype.patch=function(e,t){return this.method("PATCH",t,e)},e.prototype.head=function(e){return this.method("HEAD",e)},e.prototype.opts=function(e){return this.method("OPTIONS",e)},e.prototype.replay=function(e){return this.method(this._options.method,e)},e.prototype.body=function(e){return this.selfFactory({options:Qn(Qn({},this._options),{body:e})})},e.prototype.json=function(e,t){var r=Zn(this._options.headers);return this.content(t||eo(r)&&r||"application/json").body(JSON.stringify(e))},e.prototype.formData=function(e,t){return void 0===t&&(t=!1),this.body(function e(t,r,n,o){return void 0===r&&(r=!1),void 0===n&&(n=Wn.a.polyfill("FormData",{instance:!0})),void 0===o&&(o=[]),Object.entries(t).forEach((function(t){var i=t[0],a=t[1],s=o.reduce((function(e,t){return e?"".concat(e,"[").concat(t,"]"):t}),null);if(s=s?"".concat(s,"[").concat(i,"]"):i,a instanceof Array)for(var c=0,l=a;cXe.error(e));const ao=io("https://keys.lime-technology.com").catcher(e=>Xe.error(e)),so=io("https://wanip4.unraid.net/").catcher(e=>Xe.error(e)),co=io("/webGui/include/InstallKey.php").catcher(e=>Xe.error(e)),lo=io().catcher(e=>Xe.error(e)),uo=io("/update.php").catcher(e=>Xe.error(e)),po=io("/webGui/include/UpdateDNS.php").catcher(e=>Xe.error(e)),fo=io("/plugins/dynamix.my.servers/include/unraid-api.php").catcher(e=>Xe.error(e)),ho=e=>ao.url("/ips/newaccount").formUrl(e).post(),mo=(e,t)=>ao.url(e).formUrl(t).post(),go=e=>ao.url("/ips/validate").formUrl(e).post(),vo=e=>ao.url("/ips/troubleshoot").formUrl(e).post(),bo=e=>ao.url("/account/server/unregister").formUrl(e).post(),yo=e=>ao.url("/account/trial").formUrl(e).post(),wo=e=>ao.url("/ips/updateaccount").formUrl(e).post(),xo=e=>ao.url("/account/license/transfer").formUrl(e).post();let _o=0;const Eo=e=>{setTimeout(()=>{po.formUrl({csrf_token:e}).post().res(e=>Xe.debug("[WebguiUpdateDns] %o",e)).catch(e=>Xe.error("[WebguiUpdateDns] %o",e))},500)},ko=e=>{e.preventDefault(),e.returnValue="",alert(me.tc("regWizPopUp.closingPopUpMayLeadToErrors"))};let So=null;const To={openPopUp({commit:e,dispatch:t,state:r},n){if(Xe.debug("[openPopUp] %o",n||"focus existing pop-up"),So)return So.focus();try{So=((e,t,r,n)=>{const o=void 0!==window.screenLeft?window.screenLeft:window.screenX,i=void 0!==window.screenTop?window.screenTop:window.screenY,a=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:window.screen.width,s=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:window.screen.height,c=a/window.screen.availWidth>1?a/window.screen.availWidth:1,l=(a-r)/2/c+o,u=(s-n)/2/c+i,p=Object.entries({toolbar:"no",location:"yes",status:"no",menubar:"no",scrollbars:"yes",resizable:"yes",width:r/c,height:n/c,top:u,left:l}).reduce((e,t)=>e+`${t[0]}=${t[1]},`,"");return window.open(e,t,p)})(n.url,n.name,n.width,n.height);const o=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,i=n.url.toString().includes("/preflight"),a="#222",s="#fff",c="linear-gradient(to right, #E22828 0%, #ff8c2f 100%)",l=i?s:c;So.document.body.style.background=o?a:l,So.focus(),e("CHANGE_POP_UP_WINDOW",So),e("STATE_AT_OPEN",r.registered);const u=setInterval(()=>{So||clearInterval(u),So&&So.closed&&(clearInterval(u),t("resetPopUp",{reloadWebGUI:!1}))},250);return window.onunload=()=>{So&&!So.closed&&So.close()},!0}catch(e){return alert("Pop-up blocker detected.\nTo continue successfully please add this website to your browser's exeception list then refresh.")}},resetPopUp({commit:e,dispatch:t},r={reloadWebGUI:!0}){Xe.debug("[resetPopUp] %o",r),So=null,e("CHANGE_POP_UP_WINDOW",null),t("updateServerState"),r.reloadWebGUI&&t("reloadWebGUI")},closePopUp({dispatch:e},t={reloadWebGUI:!1}){Xe.debug("[closePopUp] %o",t),So&&(So.close(),e("resetPopUp",{reloadWebGUI:t.reloadWebGUI}))},reloadWebGUI(){Xe.debug("[reloadWebGUI] %s","✨"),window.location.reload()},closePopUpFromPopUp({dispatch:e}){Xe.debug("[closePopUpFromPopUp] %o"),e("resetPopUp"),window.close()},sendDataPostMessageToServer({state:e}){const t="SignOut"===e.submissionFrom?{event:"MYSERVERS_UNREGISTER"}:{event:"REG_WIZARD",keyfile:e.keyfile,license:e.license,email:e.userEmail,apikey:e.apikey,avatar:e.avatar,username:e.username,guid:e.guid};Xe.debug("[sendDataPostMessageToServer] %o",t);try{return De.postMessage(JSON.stringify(t),e.osGui?"*":e.site)}catch(e){return Ue||Xe.warn("[sendDataPostMessageToServer] !CAN_POST_MESSAGE",t),Xe.error("[sendDataPostMessageToServer] %o",e)}},requestUpdatedServerStateFromUpc({state:e}){Xe.debug("[requestUpdatedServerStateFromUpc]");try{return De.postMessage(JSON.stringify({event:"SUCCESS_NEW_STATE"}),e.osGui?"*":e.site)}catch(e){return Ue||Xe.warn("[requestUpdatedServerStateFromUpc] !CAN_POST_MESSAGE",Ue),Xe.error("[requestUpdatedServerStateFromUpc] %o",e)}},receivePostMessage({commit:e,dispatch:t,getters:r,state:n},o={event:null}){if(!o.event)return void Xe.error("postMessage no event");Xe.debug("[receivePostMessage] payload.event %o",o.event);const[i,a]=je(o.event.data);if(i)return;if(o.event.data.includes("post_robot"))return void Xe.debug("IGNORE POST ROBOT MESSAGE");Xe.log("[receivePostMessage] payload.event.data.event %o",a.event);const s=a&&a.event&&["REQUEST_API_REPORT","API_EXECUTE_PINGBACK"].includes(a.event),c=o.event.origin;if(c.includes("extension://"))return void Xe.log("Skipping postMessage from browser extension",c);const l=c===ve,u=be.includes(c),p=c===xe,d=c.includes("d1eohvtyc6gnee.amplifyapp.com"),f=!!(a&&a.server&&a.server.site)&&c===a.server.site,h=c===n.site,m=!!(a&&a.server&&a.server.extraOrigins)&&a.server.extraOrigins.includes(c),g="SESSION"===a.event?f||m:h,v=s||l||u||g||p||d,b={"data.server.extraOrigins":a&&a.server?a.server.extraOrigins:"","data.server.site":a&&a.server?a.server.site:"","payload.event.origin":c,"state.site":n.site,pmOriginMatchesDataServerUrl:f,pmOriginMatchesStateSite:h,pmOriginIncludedInExtraOrigins:m,fromRegWiz:l,fromPurchase:u,fromWebGui:g,fromAccount:p,acceptDebugEvents:s,originAllowed:v};if(!v)return Xe.error("[receivePostMessage] ❌ postMessage origin not allowed ❌ %o",b),e("SET_POST_MESSAGE_ERROR",b),void e("SET_RAW_SERVER_STATE",a.server);Xe.debug("[receivePostMessage] originAllowed %o",b);const y=e=>{try{return Xe.log("[receivePostMessage.sendBackPostMessage] %o",e.event),o.event.source.postMessage(JSON.stringify(e),n.osGui?"*":c)}catch(t){return Xe.error("[sendBackPostMessage.catch] %o",{error:t,message:e})}},w=async t=>{if(!t)return Xe.error("[installKey] missing license data: %s",t);e("SET_KEY_INSTALLING",!0);let r=t.split("/");if(r=r[r.length-1].slice(0,-4).toUpperCase(),r===n.state)return e("SET_KEY_INSTALL_FAIL",!0),y({event:"LICENSE_PINGBACK",message:"Failed to license new key – duplicate install detected",license:t,success:!1}),Xe.error("[installKey] duplicate install detected",{state:n.state,keyType:r});Xe.debug("[receivePostMessage.installKey] %o",t);return await co.query({url:t}).get().res(r=>{Xe.debug("[receivePostMessage.installKey] SUCCESS %o",r),setTimeout(()=>{Eo(n.csrf)},1e3),y({event:"LICENSE_PINGBACK",message:"License key installed",license:t,success:!0}),e("SET_PIRATE_KEY",!1)}).catch(e=>{Xe.error("[receivePostMessage.installKey] FAILED: "+t,e),y({event:"LICENSE_PINGBACK",message:"Failed to install license key",license:t,success:!1})})},x=async()=>{Xe.debug("[receivePostMessage.signOutUnraidNet] 👋");return await uo.formUrl({csrf_token:n.csrf,"#file":r.myServersCfgPath,"#section":"remote",apikey:"",avatar:"",email:"",username:"",wanaccess:"no",accesstoken:"",idtoken:"",refreshtoken:"",...!n.hideMyServers&&{"#command":"/plugins/dynamix.my.servers/scripts/.nginx_reload"}}).post().res(t=>{Xe.debug("[receivePostMessage.signOutUnraidNet] WebguiUpdate.res %o",t),e("SET_SIGN_OUT_TRIGGERED",!0),y({event:"ACCOUNT_PINGBACK",success:!0,type:"signOut",webGuiPathname:window.location.pathname})}).catch(e=>{Xe.error(`[receivePostMessage.signOutUnraidNet] WebguiUpdate.catch Sign out ${n.servername} from Unraid.net failed 😢 %o`,e),y({event:"ACCOUNT_PINGBACK",success:!1,type:"signOut",webGuiPathname:window.location.pathname,message:"Sign Out request failed"})})};switch(a.event){case"SESSION":Xe.debug("[receivePostMessage] SESSION"),e("SET_FULL_SERVER_STATE",a.server),e("SET_RAW_SERVER_STATE",a.server),me.mergeLocaleMessage(a.locale,a.messages),me.locale=a.locale,Xe.debug(`[receivePostMessage] SESSION ${me.locale} locale & messages set`,me.messages);break;case"PREFLIGHT_REQUEST":if(Xe.debug("[receivePostMessage] PREFLIGHT_REQUEST"),!r.allowedOrigins.includes(c)){Xe.error("[🙅♂️ ACCESS DENIED]");break}try{t("updateServerState").then(e=>{Xe.debug("[receivePostMessage] PREFLIGHT_REQUEST.updateServerState.then %o",{res:e,"getters.server":r.server}),y({event:"SESSION",server:{...r.server},locale:me.locale,messages:{...me.messages[me.locale]}})}).catch(e=>{Xe.error("[receivePostMessage] PREFLIGHT_REQUEST.updateServerState.catch %o",e),y({event:"DELIVER_NEW_STATE",success:!1})})}catch(e){Xe.error("[receivePostMessage] PREFLIGHT_REQUEST.updateServerState.trycatch %o",e),y({event:"DELIVER_NEW_STATE",success:!1})}break;case"LICENSE_PINGBACK":Xe.debug("[receivePostMessage] LICENSE_PINGBACK"),e("LICENSE_PINGBACK",a);break;case"ACCOUNT_PINGBACK":Xe.debug("[receivePostMessage] ACCOUNT_PINGBACK"),e("ACCOUNT_PINGBACK",a);break;case"DELIVER_NEW_STATE":Xe.debug("[receivePostMessage] DELIVER_NEW_STATE %o",a);const o=!!n.license,i=n.licenseAction&&!n.licenseAction.success,s=n.state,l=a&&a.state?a.state:null,u=s===l;if(Xe.debug("[receivePostMessage] DELIVER_NEW_STATE %o",{keyToInstall:o,failedKeyInstall:i,oldState:s,newState:l,potentiallyStaleState:u,deliverNewStateRetryCounter:_o}),i){e("RECEIVED_SUCCESS_NEW_SERVERSTATE",Date.now());break}if(o&&u&&_o<6){setTimeout(()=>{Xe.debug("[potentiallyStaleState] %o",{potentiallyStaleState:u}),Xe.debug("[deliverNewStateRetryCounter] %o",{deliverNewStateRetryCounter:_o}),t("requestUpdatedServerStateFromUpc"),_o+=1},350*_o);break}if(o&&u&&_o>=6){e("SET_APP_ERROR_MESSAGE",`Failed to receive latest server info${n.licenseAction&&n.licenseAction.success?" after successful key install":""}. Please close this pop-up and refresh the webGUI.`),e("RECEIVED_SUCCESS_NEW_SERVERSTATE",Date.now());break}e("SET_FULL_SERVER_STATE",a),e("SET_RAW_SERVER_STATE",a),e("RECEIVED_SUCCESS_NEW_SERVERSTATE",Date.now()),_o=0;break;case"KEY_PURCHASE":Xe.debug("[receivePostMessage] KEY_PURCHASE"),w(a.license),n.processStarted&&e("SET_PROCESS_STARTED",null),a.oem&&x();break;case"MYSERVERS_UNREGISTER":Xe.debug("[receivePostMessage] MYSERVERS_UNREGISTER WebguiUpdate"),n.processStarted&&e("SET_PROCESS_STARTED",null),e("SET_JWTS",null),x();break;case"REG_WIZARD":Xe.debug("[receivePostMessage] REG_WIZARD %o",a),!a.license||!r.stateData.error&&n.keyfile||w(a.license),Xe.debug("[receivePostMessage] REG_WIZARD WebguiUpdate %o",a),n.processStarted&&e("SET_PROCESS_STARTED",null),e("SET_JWTS",{...a.accessToken&&{accessToken:a.accessToken},...a.idToken&&{idToken:a.idToken},...a.refreshToken&&{refreshToken:a.refreshToken}}),uo.formUrl({csrf_token:n.csrf,"#file":r.myServersCfgPath,"#section":"remote",regWizTime:`${Date.now()}_${a.guid}`,...a.apikey&&{apikey:a.apikey},...a.email&&{email:a.email},...a.username&&{username:a.username},...a.avatar&&{avatar:a.avatar},...a.accessToken&&{accesstoken:a.accessToken},...a.idToken&&{idtoken:a.idToken},...a.refreshToken&&{refreshtoken:a.refreshToken}}).post().res(r=>{Xe.debug("[receivePostMessage] REG_WIZARD WebguiUpdate.res %o",r),a.license||Eo(n.csrf),e("SET_SIGN_OUT_TRIGGERED",!1);let o=0;const i=setInterval(()=>{Xe.debug("[receivePostMessage] REG_WIZARD WebguiUpdate.res intervalForUpdatedState"),o+=1;try{t("updateServerState").then(e=>{Xe.debug("[receivePostMessage] REG_WIZARD WebguiUpdate.res intervalForUpdatedState updatedState %o",{updatedState:e,countIntervalRuns:o}),(!n.hideMyServers&&(!n.registered&&o>=4||n.registered&&e.username&&"root"!==e.username)||n.hideMyServers&&o>=4)&&(clearInterval(i),y({event:"ACCOUNT_PINGBACK",success:!0,type:"signIn",webGuiPathname:window.location.pathname,res:e}))}).catch(e=>{Xe.error("[receivePostMessage] REG_WIZARD WebguiUpdate.re intervalForUpdatedState error %o",{error:e,countIntervalRuns:o}),clearInterval(i),y({event:"ACCOUNT_PINGBACK",success:!1,type:"signIn",webGuiPathname:window.location.pathname,message:"Failed to receive updated server details"})})}catch(e){Xe.error("[receivePostMessage] REG_WIZARD WebguiUpdate catchError %o",{catchError:e,countIntervalRuns:o}),clearInterval(i),y({event:"ACCOUNT_PINGBACK",success:!1,type:"signIn",webGuiPathname:window.location.pathname,message:"Failed to receive updated server details"})}},250)}).catch(e=>{Xe.error("[WebguiUpdate] %o",e),y({event:"ACCOUNT_PINGBACK",success:!1,type:"signIn",webGuiPathname:window.location.pathname,message:"Failed clearing configuration"})});break;case"RELOAD":Xe.debug("[receivePostMessage] RELOAD"),window.location.reload();break;case"SUCCESS_NEW_STATE":Xe.debug("[receivePostMessage] SUCCESS_NEW_STATE");try{t("updateServerState").then(e=>{Xe.debug("[receivePostMessage] SUCCESS_NEW_STATE.updateServerState.then"),y({...e,event:"DELIVER_NEW_STATE",success:!0})}).catch(e=>{Xe.error("[receivePostMessage] SUCCESS_NEW_STATE.updateServerState.catch %o",e),y({event:"DELIVER_NEW_STATE",success:!1})})}catch(e){Xe.error("[receivePostMessage] SUCCESS_NEW_STATE.updateServerState.trycatch %o",e),y({event:"DELIVER_NEW_STATE",success:!1})}break;case"REDIRECT_MAIN":Xe.debug("[receivePostMessage] REDIRECT_MAIN"),window.location.href="/Main";break;case"REQUEST_API_REPORT":const p=n.apiVersion&&et()(n.apiVersion,"2.43.3")?"-vv":"-v";Xe.debug("[receivePostMessage] REQUEST_API_REPORT %o",{apiVersion:n.apiVersion,param1:p});try{fo.formUrl({csrf_token:n.csrf,command:"report",param1:p}).post().json(t=>{Xe.debug("👼 [receivePostMessage] REQUEST_API_REPORT WebguiUnraidApiCommand.json %o",t),e("SET_API_EXECUTE_RESPONSE",t.result),y({event:"API_EXECUTE_PINGBACK",result:t.result})}).catch(e=>{Xe.error("[receivePostMessage] REQUEST_API_REPORT WebguiUnraidApiCommand.catch failed to execute `unraid-api` report 😢 %o",e),y({event:"API_EXECUTE_PINGBACK",error:e})})}catch(e){Xe.error("[receivePostMessage] REQUEST_API_REPORT WebguiUnraidApiCommand.catch failed to execute `unraid-api` report 😢 %o",e),y({event:"API_EXECUTE_PINGBACK",error:e})}break;case"API_EXECUTE_PINGBACK":Xe.debug("[receivePostMessage] API_EXECUTE_PINGBACK"),a&&a.result&&e("SET_API_EXECUTE_RESPONSE",a.result);break;case"YARG_MATEY":Xe.debug("[receivePostMessage] YARG_MATEY"),e("SET_PIRATE_KEY",a.ts);break;default:Xe.debug("[receivePostMessage] UNHANDLED_MESSAGE")}},setStateFromWebComponentProp({commit:e},t){Xe.debug("[setStateFromWebComponentProp]");const[r,n]=je(decodeURIComponent(t));return r?Xe.error("[setStateFromWebComponentProp] %o",t):e("SET_FULL_SERVER_STATE",n)},async updateServerState({commit:e,dispatch:t,getters:r,state:n}){if(Xe.debug("[updateServerState]"),ve===window.location.origin)return Xe.debug("[SKIPPED] updateServerState()");Xe.debug("[updateServerState]",{"state.signOutTriggered":n.signOutTriggered,"state.hideMyServers":n.hideMyServers,"!state.graphOnline":!n.graphOnline,"!getters.validApiKeyLength":!r.validApiKeyLength,"!getters.validApiKeyForUpc":!r.validApiKeyForUpc}),!n.signOutTriggered&&!n.hideMyServers&&n.graphOnline&&r.validApiKeyLength&&r.validApiKeyForUpc?(Xe.debug("[updateServerState] via serverStateFromApi"),await t("serverStateFromApi")):(Xe.debug("[updateServerState] via ",r.statePhpPath),await lo.url(r.statePhpPath).get().json().then(t=>t?e("SET_FULL_SERVER_STATE",t):Xe.error("[updateUpcFromStatePhp] no `res` skipping `SET_FULL_SERVER_STATE`")).catch(e=>{Xe.error("[updateUpcFromStatePhp WebguiState.catch] %o",e),(e.toString().includes("Unexpected token")||e.toString().includes("503"))&&(window.location.href="/")}));const o=r.server;return Xe.debug("[updateServerState] newState %o",o),o},async validateGuid({commit:e,getters:t,state:r}){await new Promise((n,o)=>{if(r.guidValidationRunning)return Xe.debug("[validateGuid] already validating");e("CHANGE_GUID_VALIDATION_RUNNING",!0);const i=r.regWizTime?r.regWizTime.split("_")[1]:null,a=!!i&&i===r.guid;Xe.debug("[validateGuid] %o",{guid:r.guid,regGuid:r.regGuid,regWizTimeGuid:i,previouslyRegistered:a});let s="GUID Invalid";if(!r.guid||r.guid===Ne)return Xe.debug(`[validateGuid] ${s} %o`,{"!state.guid":!r.guid,GUID_NOT_RECEIVED:Ne}),s+=": not present",e("CHANGE_GUID_VALID",!1),e("CHANGE_REPLACEABLE",!1),e("SET_STATE","EBLACKLISTED1"),e("SET_APP_ERROR_MESSAGE",s),e("CHANGE_GUID_VALIDATION_RUNNING",!1),e("SET_LOADING_STATE",!1),n(!1);if(a&&!t.stateData.error)return Xe.debug("[validateGuid] previouslyRegistered %s",r.guid),e("CHANGE_GUID_REGISTERED",!0),e("CHANGE_GUID_VALID",!0),e("CHANGE_GUID_FORUMACCOUNT",!0),e("CHANGE_GUID_VALIDATION_RUNNING",!1),e("SET_LOADING_STATE",!1),n(!0);const c=r.guid.includes("000000000000");if(r.guid&&r.guid!==Ne&&(c||27!==r.guid.length))return c?(s+=": Too many consecutive zeros",e("SET_STATE","EBLACKLISTED2")):(s+=": Not long enough",e("SET_STATE","EBLACKLISTED1")),e("CHANGE_GUID_VALID",!1),e("CHANGE_REPLACEABLE",!1),e("SET_APP_ERROR_MESSAGE",s),e("CHANGE_GUID_VALIDATION_RUNNING",!1),e("SET_LOADING_STATE",!1),o(new Error(s));r.regGuid||Xe.warn("[validateGuid] state.regGuid empty. Getting regGuid from state.regWizTime.");const l=r.regGuid||i||"";e("CHANGE_GUID_FOR_VALIDATION","EGUID"===r.state?l:r.guid),e("CHANGE_GUID_BLACKLISTED",null);try{const t=ao.url("/validate/guid").formUrl({guid:r.guidForValidation}).post().forbidden(t=>{let n;const[o,i]=je(t.message);i&&!o||!t.message||(n=t.message),i&&i.error&&(n=i.error),Xe.error("[validateGuid] POST.forbidden %o",n),n.includes("blacklisted")?(e("CHANGE_GUID_BLACKLISTED",!0),"EGUID"!==r.state?(e("SET_STATE","EBLACKLISTED"),e("SET_APP_ERROR_MESSAGE",n)):Xe.warn("[validateGuid] skip EBLACKLISTED state overwrite")):n.includes("invalid GUID")&&("EGUID"!==r.state?(e("SET_STATE","EBLACKLISTED1"),e("SET_APP_ERROR_MESSAGE",n)):Xe.warn("[validateGuid] skip EBLACKLISTED state overwrite")),e("CHANGE_GUID_VALID",!1),e("CHANGE_REPLACEABLE",!1)}).json(t=>{Xe.debug("[validateGuid] POST.json %o",t),t.registered&&e("CHANGE_GUID_REGISTERED",t.registered),e("CHANGE_GUID_FORUMACCOUNT",t.forumaccount||!1),e("CHANGE_GUID_VALID",!0),e("CHANGE_REPLACEABLE",t.replaceable)}).catch(t=>{Xe.error("[validateGuid] POST.catch %o",t),e("SET_APP_ERROR_MESSAGE",t.message),o(new Error(t))}).finally(()=>{Xe.debug("[validateGuid] POST.finally"),e("CHANGE_GUID_VALIDATION_RUNNING",!1),e("SET_LOADING_STATE",!1)});return n(t)}catch(t){return Xe.error("[validateGuid] try/catch %o",t),e("SET_APP_ERROR_MESSAGE",t),e("CHANGE_GUID_VALIDATION_RUNNING",!1),o(new Error(t))}})},async startTrial({commit:e,dispatch:t,state:r}){Xe.debug("[startTrial]"),e("SET_LOADING_STATE","Fetching trial…"),window.addEventListener("beforeunload",ko),r.isLaunchpadOpen||e("SET_IS_LAUNCHPAD_OPEN",!1),await o.startTrial({timestamp:Math.floor((new Date).getTime()/1e3),guid:r.guid}).json().then(n=>{e("SET_LOADING_STATE","Installing trial…"),co.query({url:n.license}).get().res(n=>{Xe.debug("[KeyServer.startTrial.WebguiInstallKey] SUCCESS %o",n),setTimeout(()=>{e("SET_LOADING_STATE","Verifying trial install…"),t("openPopUp",r.trialWindow),So&&So.blur(),window.focus(),setTimeout(()=>{e("SET_LOADING_STATE","Reloading webgui…"),sessionStorage.setItem("showPromoPostTrialInstall",Date.now()),e("SET_PIRATE_KEY",!1),window.removeEventListener("beforeunload",ko),window.location.reload()},4e3)},1500)}).catch(t=>{Xe.error("[KeyServer.startTrial.WebguiInstallKey.catch] FAILED: "+n,t);const[r,o]=je(t.message);e("SET_APP_ERROR_MESSAGE",o?o.errorMessage?o.errorMessage:o.error:t),e("SET_LOADING_STATE",!1)})}).catch(t=>{Xe.error("[KeyServer.startTrial.catch] FAILED",t);const[r,n]=je(t.message);e("SET_APP_ERROR_MESSAGE",n?n.errorMessage?n.errorMessage:n.error:t),e("SET_LOADING_STATE",!1)})},togglePromo({commit:e,state:t}){Xe.debug("[togglePromo]");const r="unraid-promo";if(!document.getElementsByTagName(r).length){const e=document.getElementsByTagName("body")[0],t=document.createElement(r);e.appendChild(t)}e("SET_IS_LAUNCHPAD_OPEN",!1),e("SET_IS_PROMO_OPEN",!t.isPromoOpen)},jumpToUpc({commit:e}){window.scrollTo({top:0,behavior:"smooth"}),e("TRIGGER_UPC",!0),setTimeout(()=>{e("TRIGGER_UPC",!1)},500)},async getWanIp({commit:e,state:t}){if(Xe.debug("[getWanIp]"),t.wanip)return Xe.debug("[getWanIp] SKIPPED",t.wanip);try{return e("SET_WANIP",await so.get().text())}catch(e){return Xe.error("[getWanIp] Unable to get WAN IP")}},async executeUnraidApi({commit:e,state:t},r={command:"",param1:null}){Xe.debug("[executeUnraidApi]",r);const{command:n,param1:o}=r;"start"===n&&e("SET_MY_SERVERS_LOADING",!0);return await fo.formUrl({csrf_token:t.csrf,command:n,param1:o}).post().json(e=>{Xe.debug("👼 [executeUnraidApi] json %o",e)}).catch(e=>{Xe.error(`[executeUnraidApi] catch failed to execute unraid-api ${n} 😢 %o`,e)})},postRobotListeners({commit:e,state:t,getters:r}){Xe.debug("[postRobotListeners] listening",xe),rt.a.on("getServer",{window:t.popUpWindow},()=>(Xe.debug("[postRobotListeners] getServer"),r.server)),rt.a.on("processStarted",{window:t.popUpWindow},t=>{Xe.debug("[postRobotListeners] processStarted",t.data);const r=t.data&&t.data.process?t.data.process:null;try{Xe.debug("[postRobotListeners] processStarted"),e("SET_PROCESS_STARTED",r)}catch(e){alert("Error setting SET_PROCESS_STARTED")}}),rt.a.on("postUnregister",{window:t.popUpWindow},async()=>{Xe.debug("[postRobotListeners] postUnregister"),e("SET_PROCESS_STARTED",!1);return await uo.formUrl({csrf_token:t.csrf,"#file":r.myServersCfgPath,"#section":"remote",apikey:"",avatar:"",email:"",username:"",wanaccess:"no",...!t.hideMyServers&&{"#command":"/plugins/dynamix.my.servers/scripts/.nginx_reload"}}).post().res(t=>{Xe.debug("[receivePostMessage.signOutUnraidNet] WebguiUpdate.res %o",t),e("SET_SIGN_OUT_TRIGGERED",!0)}).catch(e=>Xe.error(`[receivePostMessage.signOutUnraidNet] WebguiUpdate.catch Sign out ${t.servername} from Unraid.net failed 😢 %o`,e))})},installPlugin({commit:e},t={plgType:"",update:!1}){try{const r="https://sfo2.digitaloceanspaces.com/unraid-dl/unraid-api/"+(t.plgType||"dynamix.unraid.net.plg");Xe.debug("[installPlugin] %s",r),t.update||(sessionStorage.setItem("clickedinstallPlugin",Date.now()),e("SET_IS_PROMO_OPEN",!1));const n=t.update?"Updating Connect (beta)":"Installing Connect (beta)";"function"==typeof openPlugin?(Xe.debug("[installPlugin] using openPlugin %s",r),openPlugin(`plugin ${t.update?"update":"install"} ${r}`,n,"","refresh")):(Xe.debug("[installPlugin] using openBox %s",r),openBox("/plugins/dynamix.plugin.manager/scripts/plugin&arg1=install&arg2="+r,n,600,900,!0))}catch(e){Xe.error(e)}},fetchServers:async e=>{Xe.debug("[fetchServers]"),e.commit("SET_MY_SERVERS_LOADING",!0);const t=await $n(e).query({query:zt`query initialGetServers {
+ servers {
+ name
+ guid
+ status
+ }
+ }`});Xe.debug("[fetchServers] response %o",t);const{data:r}=t;r&&(r.servers.length>1&&e.dispatch("getWanIp"),e.commit("SET_GRAPH_ONLINE",!0),e.commit("SET_MY_SERVERS",r.servers),e.commit("SET_MY_SERVERS_LOADING",!1)),Xe.debug("[fetchServers] getServers subscription %o",{skip:e.state.graphReconnected}),e.state.graphReconnected||$n(e).subscribe({query:zt`subscription getServers {
+ servers {
+ name
+ guid
+ status
+ }
+ }`}).subscribe({next(t){Xe.debug("[new subscription data] %o",t),e.state.graphOnline||e.commit("SET_GRAPH_ONLINE",!0),e.commit("SET_MY_SERVERS",t.data.servers),e.commit("SET_MY_SERVERS_LOADING",!1)},error:t=>(e.commit("SET_MY_SERVERS_ERROR",t),e.state.myServersError)})},serverStateFromApi:async e=>{Xe.debug("[serverStateFromApi] %o",{apiVersion:e.state.apiVersion});const t=zt`query serverState {
+ owner {
+ username
+ avatar
+ }
+ info {
+ os {
+ hostname
+ }
+ }
+ flash {
+ guid
+ vendor
+ product
+ }
+ registration {
+ expiration
+ keyFile {
+ contents
+ }
+ }
+ crashReportingEnabled
+ vars {
+ regGen
+ regState
+ configError
+ configValid
+ }
+ config {
+ error
+ valid
+ }
+ cloud {
+ error
+ apiKey {
+ valid
+ error
+ }
+ relay {
+ status
+ error
+ }
+ cloud {
+ status
+ error
+ }
+ }
+ }`,r=await $n(e).query({errorPolicy:"all",query:t});return Xe.debug("[🪐 serverStateFromApi] response %o",r,e),e.commit("SET_MY_SERVERS_ERROR_SHOW_SUPPORT_BTN",!0),e.commit("SET_MY_SERVERS_LOADING",!1),e.commit("SET_FULL_SERVER_STATE",((e,t)=>{const{data:r}=t;if(!r)return Xe.error("[🪐 serverStateFromApi] response %o",t);const n={...r.owner&&"root"!==r.owner.username&&{avatar:r.owner.avatar,username:r.owner.username,registered:!0},...e.state.signOutTriggered&&{username:"",avatar:"",registered:!1},servername:r.info&&r.info.os?r.info.os.hostname:null,guid:r.flash?r.flash.guid:null,keyfile:r.registration&&r.registration.keyFile?r.registration.keyFile.contents:null,flashProduct:r.flash?r.flash.product:null,flashvendor:r.flash?r.flash.vendor:null,sendCrashInfo:r.crashReportingEnabled,reggen:r.vars?r.vars.regGen:null,state:r.vars?r.vars.regState:null,config:r.config?r.config:{error:r.vars?r.vars.configError:null,valid:!r.vars||r.vars.configValid},expiretime:r.registration&&r.registration.expiration?r.registration.expiration:0,...r.cloud&&{cloud:r.cloud}};return Xe.debug("[🪐 serverStateFromApi] mutated response %o",n),n})(e,r)),zn(e,r),Xe.debug("[🪐 serverStateFromApi] subscriptions %o",{skip:e.state.graphReconnected}),e.state.graphReconnected||(Xe.debug("[🪐 serverStateFromApi] serverVarsSub"),$n(e).subscribe({query:zt`subscription serverVarsSub {
+ vars {
+ regGen
+ regState
+ configError
+ configValid
+ }
+ }`}).subscribe({next(t){Xe.debug("[🪐 serverStateFromApi] serverVarsSub res %o",t),e.commit("SET_STATE",t.data.vars.regState)},error:t=>(e.commit("SET_MY_SERVERS_ERROR",t),e.state.myServersError)}),Xe.debug("[🪐 serverStateFromApi] serverOwnerSub"),$n(e).subscribe({query:zt`subscription serverOwnerSub {
+ owner {
+ username
+ avatar
+ }
+ }`}).subscribe({next(t){Xe.debug("[🪐 serverStateFromApi] serverOwnerSub res %o",t),zn(e,t),t&&t.data&&t.data.owner&&"root"!==t.data.owner.username&&e.commit("SET_OWNER",t.data.owner)},error:t=>(e.commit("SET_MY_SERVERS_ERROR",t),e.state.myServersError)}),Xe.debug("[🪐 serverStateFromApi] serverConfigSub"),$n(e).subscribe({query:zt`subscription serverConfigSub {
+ config {
+ error
+ valid
+ }
+ }`}).subscribe({next(t){Xe.debug("[🪐 serverStateFromApi] serverConfigSub res %o",t),e.commit("SET_CONFIG",t.data.config)},error:t=>(e.commit("SET_MY_SERVERS_ERROR",t),e.state.myServersError)}),Xe.debug("[🪐 serverStateFromApi] serverRegistrationSub"),$n(e).subscribe({query:zt`subscription serverRegistrationSub {
+ registration {
+ expiration
+ keyFile {
+ contents
+ }
+ }
+ }`}).subscribe({next(t){Xe.debug("[🪐 serverStateFromApi] serverRegistrationSub res %o",t),e.commit("SET_REGISTRATION_SUB",t.data.registration)},error:t=>(e.commit("SET_MY_SERVERS_ERROR",t),e.state.myServersError)})),Xe.debug("[🪐 serverStateFromApi] DONE %o",r.data),r.data},stopGraphqlClient:(e,t)=>(Xe.debug("[stopGraphqlClient] clients %o",{clients:Mn,apikey:t}),Object.keys(Mn).includes(t)?(Xe.debug("[stopGraphqlClient] found existing client & stopping it %o",Mn[t]),Mn[t].stop()):Xe.debug("[stopGraphqlClient] client does not exist for apikey %o",t))};i.default.use(b.a),i.default.config.devtools=!0;var Oo=new b.a.Store({state:Re,getters:Ye,mutations:Je,actions:To});var Ro=v({i18n:me,store:Oo,name:"ApiLogs",components:{},props:[],data:()=>({loading:!1,error:null}),computed:{...Object(b.e)(["apikey"]),downloadUrl(){return new URL("/graphql/api/logs?apiKey="+this.apikey,we||window.location.origin)}},methods:{}},(function(){var e=this,t=e._self._c;return t("div",{staticClass:"whitespace-normal flex flex-col gap-y-6"},[e._m(0),t("span",[t("a",{staticClass:"button flex-none",attrs:{href:e.downloadUrl,rel:"noopener noreferrer",target:"_blank",download:""}},[e._v(" "+e._s(e.$t("download"))+" ")])]),e.error?t("span",{staticClass:"text-red max-w-2xl"},[t("em",[e._v(e._s(e.error))])]):e._e()])}),[function(){var e=this,t=e._self._c;return t("span",{staticClass:"leading-8 max-w-3xl"},[e._v(" The primary method of support for Unraid Connect is through "),t("a",{attrs:{href:"https://forums.unraid.net/forum/94-connect-plugin-support/",target:"_blank",rel:"noopener noreferrer"}},[e._v("our forums")]),e._v(" and "),t("a",{attrs:{href:"https://discord.gg/unraid",target:"_blank",rel:"noopener noreferrer"}},[e._v("Discord")]),e._v(". If you are asked to supply logs, please open a support request on our "),t("a",{attrs:{href:"https://unraid.net/contact",target:"_blank",rel:"noopener noreferrer"}},[e._v("Contact Page")]),e._v(" and reply to the email message you receive with your logs attached. The logs may contain sensitive information so do not post them publicly. ")])}],!1,(function(e){var t=r("c044");t.__inject__&&t.__inject__(e)}),"29fef5fa",null,!0).exports;var Io=v({i18n:me,store:Oo,name:"Authed",props:["propRegistered"],data:()=>({regChanged:!1,popUpClosedTimer:null}),computed:{...Object(b.e)(["state","registered","isPopUpOpen","accountServerPayload","accountRegisterPayload","accountUnregisterPayload","iframeUrl"]),...Object(b.c)(["stateData"]),computedReg(){return null===this.registered?!!this.propRegistered:this.registered},buttonPayload(){return this.stateData.error?this.accountServerPayload:this.computedReg?this.accountUnregisterPayload:this.accountRegisterPayload},buttonText(){return this.stateData.error?this.$t("fixError"):this.isPopUpOpen?this.$t("backToPopUp"):"ENOKEYFILE"===this.state?this.$t("getStarted"):this.computedReg?this.$t("signOut"):this.$t("signIn")},buttonTitle(){return this.$t("upc.opensNewHttpsWindow.base",[this.buttonText])}},watch:{isPopUpOpen(e){!e&&this.regChanged&&(Xe.debug("[REGISTERED CHANGED] 🔥 reload webGUI settings"),window.location.reload())},registered(e,t){null!==t&&e!==this.propRegistered&&(Xe.debug("[REGISTERED CHANGED]",{newVal:e,oldVal:t}),this.regChanged=!0,this.isPopUpOpen||(Xe.debug("[REGISTERED CHANGED] 🔥🔥 reload webGUI settings"),window.location.reload()))}},methods:{...Object(b.b)(["closePopUp","openPopUp"])}},(function(){var e=this,t=e._self._c;return t("transition",{attrs:{appear:"",name:"fade",mode:"out-in"}},[t("div",[e.iframeUrl?t("a",{staticClass:"button",attrs:{href:e.iframeUrl,target:"_blank",rel:"noopener noreferrer",title:e.buttonTitle}},[e._v(e._s(e.buttonText)+" (new tab)")]):t("button",{staticClass:"button",attrs:{type:"button",title:e.buttonTitle},on:{click:function(t){return e.openPopUp(e.buttonPayload)}}},[e._v(e._s(e.buttonText))]),t("transition",{attrs:{name:"fade",mode:"out-in"}},[e.isPopUpOpen?t("button",{staticClass:"button ml-8px",attrs:{type:"button"},on:{click:function(t){return e.closePopUp()}}},[e._v(e._s(e.$t("closePopUp")))]):e._e()])],1)])}),[],!1,(function(e){var t=r("7540");t.__inject__&&t.__inject__(e)}),"298a1336",null,!0).exports,Ao=r("4eb5"),Co=r.n(Ao),Po=(v({name:"keyline",props:{color:{type:String,default:"grey"}},computed:{computedClass(){return"gradient"===this.color?"h-2px bg-gradient-r-red-orange":"h-1px bg-grey"}}},(function(){return(0,this._self._c)("hr",{staticClass:"w-full shadow-none border-none rounded-none",class:this.computedClass})}),[],!1,null,null,null,!0).exports,function(){var e=this,t=e._self._c;return t("svg",{staticClass:"unraid_sc_loader",style:e.styles,attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 133.52 76.97",height:e.height+"px",role:"img"}},[t("title",[e._v(e._s(e.title))]),t("desc",[e._v("Unraid logo animating with a wave like effect")]),t("defs",[t("linearGradient",{attrs:{id:e.random,x1:"23.76",y1:"81.49",x2:"109.76",y2:"-4.51",gradientUnits:"userSpaceOnUse"}},[t("stop",{attrs:{offset:"0","stop-color":e.gradientStart}}),t("stop",{attrs:{offset:"1","stop-color":e.gradientStop}})],1)],1),t("path",{staticClass:"unraid_sc_loader_9",attrs:{d:"m70,19.24zm57,0l6.54,0l0,38.49l-6.54,0l0,-38.49z",fill:`url(#${e.random})`}}),t("path",{staticClass:"unraid_sc_loader_8",attrs:{d:"m70,19.24zm47.65,11.9l-6.55,0l0,-23.79l6.55,0l0,23.79z",fill:`url(#${e.random})`}}),t("path",{staticClass:"unraid_sc_loader_7",attrs:{d:"m70,19.24zm31.77,-4.54l-6.54,0l0,-14.7l6.54,0l0,14.7z",fill:`url(#${e.random})`}}),t("path",{staticClass:"unraid_sc_loader_6",attrs:{d:"m70,19.24zm15.9,11.9l-6.54,0l0,-23.79l6.54,0l0,23.79z",fill:`url(#${e.random})`}}),t("path",{staticClass:"unraid_sc_loader_5",attrs:{d:"m63.49,19.24l6.51,0l0,38.49l-6.51,0l0,-38.49z",fill:`url(#${e.random})`}}),t("path",{staticClass:"unraid_sc_loader_4",attrs:{d:"m70,19.24zm-22.38,26.6l6.54,0l0,23.78l-6.54,0l0,-23.78z",fill:`url(#${e.random})`}}),t("path",{staticClass:"unraid_sc_loader_3",attrs:{d:"m70,19.24zm-38.26,43.03l6.55,0l0,14.73l-6.55,0l0,-14.73z",fill:`url(#${e.random})`}}),t("path",{staticClass:"unraid_sc_loader_2",attrs:{d:"m70,19.24zm-54.13,26.6l6.54,0l0,23.78l-6.54,0l0,-23.78z",fill:`url(#${e.random})`}}),t("path",{staticClass:"unraid_sc_loader_1",attrs:{d:"m70,19.24zm-63.46,38.49l-6.54,0l0,-38.49l6.54,0l0,38.49z",fill:`url(#${e.random})`}})])});var No=v({name:"loading",props:{height:{type:Number,default:64},styles:{type:Object,default:()=>({})},gradientStart:{type:String,default:"#e32929"},gradientStop:{type:String,default:"#ff8d30"},title:{type:String,default:"Loading"}},data:()=>({random:Math.random().toString(36).substring(7)})},Po,[],!1,(function(e){var t=r("e728");t.__inject__&&t.__inject__(e)}),null,null,!0).exports,Uo=(v({name:"logo",props:{gradientStart:{type:String,default:"#e32929"},gradientStop:{type:String,default:"#ff8d30"}},data:()=>({random:Math.random().toString(36).substring(7)})},(function(){var e=this,t=e._self._c;return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 222.36 39.04"}},[t("defs",[t("linearGradient",{attrs:{id:e.random,x1:"47.53",y1:"79.1",x2:"170.71",y2:"-44.08",gradientUnits:"userSpaceOnUse"}},[t("stop",{attrs:{offset:"0","stop-color":e.gradientStart}}),t("stop",{attrs:{offset:"1","stop-color":e.gradientStop}})],1)],1),t("title",[e._v("Unraid Logo")]),t("path",{attrs:{d:"M146.7,29.47H135l-3,9h-6.49L138.93,0h8l13.41,38.49h-7.09L142.62,6.93l-5.83,16.88h8ZM29.69,0V25.4c0,8.91-5.77,13.64-14.9,13.64S0,34.31,0,25.4V0H6.54V25.4c0,5.17,3.19,7.92,8.25,7.92s8.36-2.75,8.36-7.92V0ZM50.86,12v26.5H44.31V0h6.11l17,26.5V0H74V38.49H67.9ZM171.29,0h6.54V38.49h-6.54Zm51.07,24.69c0,9-5.88,13.8-15.17,13.8H192.67V0H207.3c9.18,0,15.06,4.78,15.06,13.8ZM215.82,13.8c0-5.28-3.3-8.14-8.52-8.14h-8.08V32.77h8c5.33,0,8.63-2.8,8.63-8.08ZM108.31,23.92c4.34-1.6,6.93-5.28,6.93-11.55C115.24,3.68,110.18,0,102.48,0H88.84V38.49h6.55V5.66h6.87c3.8,0,6.21,1.82,6.21,6.71s-2.41,6.76-6.21,6.76H98.88l9.21,19.36h7.53Z",fill:`url(#${e.random})`}})])}),[],!1,null,null,null,!0).exports,function(){var e=this,t=e._self._c;return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 133.52 76.97"}},[t("title",[e._v("unraid-mark")]),t("defs",[t("linearGradient",{attrs:{id:e.random,x1:"23.76",y1:"81.49",x2:"109.76",y2:"-4.51",gradientUnits:"userSpaceOnUse"}},[t("stop",{attrs:{offset:"0","stop-color":e.gradientStart}}),t("stop",{attrs:{offset:"1","stop-color":e.gradientStop}})],1)],1),t("path",{attrs:{fill:`url(#${e.random})`,d:"M63.49,19.24H70V57.73H63.49ZM6.54,57.73H0V19.24H6.54Zm25.2,4.54h6.55V77H31.74ZM15.87,45.84h6.54V69.62H15.87Zm31.75,0h6.54V69.62H47.62ZM127,19.24h6.54V57.73H127ZM101.77,14.7H95.23V0h6.54Zm15.88,16.44H111.1V7.35h6.55Zm-31.75,0H79.36V7.35H85.9Z"}})])}),Do=v({name:"logo",props:{gradientStart:{type:String,default:"#e32929"},gradientStop:{type:String,default:"#ff8d30"}},data:()=>({random:Math.random().toString(36).substring(7)})},Uo,[],!1,null,null,null,!0).exports,Mo=r("5d74"),Lo=r.n(Mo);i.default.use(Lo.a,{url:(Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",VUE_APP_ACCOUNT_URL:"https://account.unraid.net",VUE_APP_MIN_API_VER:"2.55.1",VUE_APP_REC_API_VER:"3.1.0",VUE_APP_MIN_OS_VER:"6.10.0",VUE_APP_REC_OS_VER:"6.11.0",NODE_ENV:"production",VUE_APP_VERSION:"3.7.5",BASE_URL:"/"}).VUE_APP_SPRITE_URL_PREFIX?Object({VUE_APP_REGWIZ_URL:"https://registration.unraid.net",VUE_APP_PURCHASE_URL:"https://unraid.net/preflight",VUE_APP_ACCOUNT_URL:"https://account.unraid.net",VUE_APP_MIN_API_VER:"2.55.1",VUE_APP_REC_API_VER:"3.1.0",VUE_APP_MIN_OS_VER:"6.10.0",VUE_APP_REC_OS_VER:"6.11.0",NODE_ENV:"production",VUE_APP_VERSION:"3.7.5",BASE_URL:"/"}).VUE_APP_SPRITE_URL_PREFIX:"")+"/assets/svg/sprite.svg",class:"svg-icon"});var jo=(v({name:"svg-icon",props:{symbol:{type:String,required:!0},symbolClass:String}},(function(){var e=this;return(0,e._self._c)("svg",{directives:[{name:"svg",rawName:"v-svg"}],staticClass:"unraid-svg-icon",class:e.symbolClass,attrs:{symbol:e.symbol,role:"presentation"}})}),[],!1,(function(e){var t=r("028f");t.__inject__&&t.__inject__(e)}),"f037ac9e",null,!0).exports,function(){var e=this,t=e._self._c;return t("transition",{attrs:{appear:"",name:"fade",mode:"in-out"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"fixed inset-0 z-10 flex flex-col justify-start items-end mt-90px"},[t("transition",{attrs:{appear:"",name:"fade",mode:"in-out"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.show&&e.overlay,expression:"show && overlay"}],staticClass:"absolute inset-0 z-0 bg-beta opacity-70 cursor-pointer",attrs:{title:e.$t("closeLaunchpad")},on:{click:function(t){return e.$emit("closeDropdown")}}})]),t("transition",{attrs:{appear:"",name:"slideVerticalFade",mode:"in-out"}},[t("main",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"TopBlip text-beta bg-alpha border-grey-darkest text-center relative z-10 w-full max-w-4xl mr-8px p-24px md:p-32px lg:px-40px shadow-md rounded-lg"},[e._t("default")],2)])],1)])});var Fo=v({i18n:me,name:"Dropdown",props:{show:{type:Boolean,default:!1},overlay:{type:Boolean,default:!0}}},jo,[],!1,(function(e){var t=r("ccfa");t.__inject__&&t.__inject__(e)}),null,null,!0).exports,$o=v({name:"SuccessTile",components:{UnraidLoading:No},props:{success:Boolean,title:String,loading:Boolean},computed:{icon(){return this.success?"✓":"×"}}},(function(){var e=this,t=e._self._c;return t("div",{staticClass:"text-left flex flex-row items-center max-w-2xs mt-4 px-6 py-4 mx-auto border rounded-sm shadow",class:{"bg-white border-grey-lighter dark:bg-black dark:border-grey-dark":e.success,"text-white bg-red border border-red":!e.success}},[e.loading?t("span",{staticClass:"flex-none inline-flex items-center w-8 h-8"},[t("UnraidLoading",{attrs:{height:18}})],1):t("span",{staticClass:"text-2xl font-semibold inline-flex items-center justify-center rounded-full w-8 h-8 p-2",class:{"text-white bg-gradient-to-r from-red to-orange":e.success,"text-red bg-white":!e.success},domProps:{innerHTML:e._s(e.icon)}}),t("span",{staticClass:"ml-4"},[e._v(" "+e._s(e.title)+" ")])])}),[],!1,null,null,null,!0).exports;i.default.use(Co.a);var zo=v({name:"EventStatus",i18n:me,store:Oo,metaInfo:{title:me.tc("regWizPopUp.routes.success.heading.default")},components:{UnraidLoading:No,UiDropdown:Fo,SuccessTile:$o},data:()=>({CAN_POST_MESSAGE:Ue,loading:!0,timeout:!1,closePopUp:!1,backToHome:!1,copyFeedback:null,keyUrlCopied:!1}),computed:{...Object(b.e)(["accountAction","keyServerAction","licenseAction","submissionFrom","servername","username","license","site","state","receivedSuccessNewServerState","errorMessage","showPostMessageStatus"]),...Object(b.c)(["stateData"]),licenseType(){return this.license.includes("Trial.key")?this.$t("regWizPopUp.routes.success.keys.trial"):this.license.includes("Basic.key")?this.$t("regWizPopUp.routes.success.keys.basic"):this.license.includes("Plus.key")?this.$t("regWizPopUp.routes.success.keys.plus"):this.license.includes("Pro.key")?this.$t("regWizPopUp.routes.success.keys.pro"):""},performingActions(){return!this.timeout&&(this.license&&null!==this.licenseAction?!this.licenseAction:"SignIn"!==this.submissionFrom&&"SignOut"!==this.submissionFrom||!this.accountAction)},heading(){return this.username?this.$t("regWizPopUp.routes.success.heading.username",[this.username]):this.$t("regWizPopUp.routes.success.heading.default")},subheading(){return"ExtendTrial"===this.submissionFrom?this.$t("regWizPopUp.routes.success.subheading.extention"):"SignIn"===this.submissionFrom&&"new"===this.keyServerAction?this.$t("regWizPopUp.routes.success.subheading.newTrial"):null},signInTileTitle(){return this.accountAction?this.accountAction.success?this.$t("regWizPopUp.routes.success.signIn.tileTitle.actionSuccess",[this.servername]):this.$t("regWizPopUp.routes.success.signIn.tileTitle.actionFail",[this.servername]):this.$t("regWizPopUp.routes.success.signIn.tileTitle.loading",[this.servername])},signOutTileTitle(){return this.accountAction?this.accountAction.success?this.$t("regWizPopUp.routes.success.signOut.tileTitle.actionSuccess",[this.servername]):this.$t("regWizPopUp.routes.success.signOut.tileTitle.actionFail",[this.servername]):this.$t("regWizPopUp.routes.success.signOut.tileTitle.loading",[this.servername])},helperAutoFireText(){return this.keyInstallError&&!this.keyUrlCopied?this.$t("regWizPopUp.routes.success.install.copyBeforeClose"):this.backToHome?this.$t("regWizPopUp.routes.success.countdown.error.text"):this.$t("regWizPopUp.youCanSafelyCloseThisWindow")},helperAutoFireTimerComplete(){return this.backToHome?this.$t("regWizPopUp.routes.success.countdown.error.complete"):this.$t("regWizPopUp.byeBye")},copyKeyUrlButtonText(){return!1===this.copyFeedback?this.$t("regWizPopUp.routes.success.install.copyFail"):this.copyFeedback?this.$t("regWizPopUp.routes.success.install.copySuccess"):this.$t("regWizPopUp.routes.success.install.copyButton")},keyInstallError(){const e=this.licenseAction&&!this.licenseAction.success;return!(!(this.keyServerAction&&this.license)&&!this.timeout||!e)}},watch:{performingActions(e){Xe.debug("[performingActions]: %o",e),e||setTimeout(()=>{this.updateServerState()},1e3)},receivedSuccessNewServerState(e){Xe.debug("[receivedSuccessNewServerState]: %o",e),e&&("TRIAL"===this.state||this.stateData.error&&!this.errorMessage?this.backToHome=!0:this.closePopUp=!0,this.loading=!1)},errorMessage(e){Xe.debug("[errorMessage]: %o",e),e&&e.includes(Le)&&this.SET_APP_ERROR_MESSAGE("")}},methods:{...Object(b.b)(["reloadWebGUI","updateServerState"]),...Object(b.d)(["SET_SHOW_POST_MESSAGE_STATUS"]),helperAutoFireMethod(){return this.reloadWebGUI()},preventClose(e){(this.loading||this.keyInstallError&&!this.keyUrlCopied)&&(e.preventDefault(),e.returnValue="",alert(this.$t("regWizPopUp.closingPopUpMayLeadToErrors")))},copyKeyUrl(){clearTimeout(this.copyTimeout);const e=()=>{this.copyTimeout=setTimeout(()=>{this.copyFeedback=null},1500)};this.$copyText(this.license).then(()=>{this.keyUrlCopied=!0,this.copyFeedback=!0,e()},()=>{this.copyFeedback=!0,e()})}},created(){window.addEventListener("beforeunload",this.preventClose)},mounted(){},beforeDestroy(){window.removeEventListener("beforeunload",this.preventClose)}},(function(){var e=this,t=e._self._c;return t("ui-dropdown",{attrs:{show:e.showPostMessageStatus},on:{closeDropdown:function(t){return e.SET_SHOW_POST_MESSAGE_STATUS(!1)}}},[e.loading?[t("UnraidLoading",{staticClass:"mx-auto",attrs:{height:64}}),"string"==typeof e.loading?t("h3",{staticClass:"text-20px italic mt-8px mb-0"},[e._v(e._s(e.loading))]):e._e()]:t("div",[t("transition-group",{attrs:{appear:"",name:"fade",mode:"out-in"}},["SignIn"===e.submissionFrom||"SignOut"===e.submissionFrom||"recovery"===e.keyServerAction?["SignIn"===e.submissionFrom||"recovery"===e.keyServerAction?t("SuccessTile",{key:"ServerAttached",attrs:{loading:!e.accountAction,success:!e.accountAction||e.accountAction.success,title:e.signInTileTitle}}):e._e(),"SignOut"===e.submissionFrom?t("SuccessTile",{key:"ServerRemoved",attrs:{loading:!e.accountAction,success:!e.accountAction||e.accountAction.success,title:e.signOutTileTitle}}):e._e()]:e._e(),"extendTrial"===e.keyServerAction?t("SuccessTile",{key:"ExtendTrial",attrs:{success:!0,title:e.$t("regWizPopUp.routes.success.extended",[e.licenseType])}}):e._e(),"recovery"===e.keyServerAction?t("SuccessTile",{key:"KeyRecovered",attrs:{success:!0,title:e.$t("regWizPopUp.routes.success.recovered",[e.licenseType])}}):e._e(),"replace"===e.keyServerAction?t("SuccessTile",{key:"KeyReplaced",attrs:{success:!0,title:e.$t("regWizPopUp.routes.success.replaced",[e.licenseType])}}):e._e(),"new"===e.keyServerAction?t("SuccessTile",{key:"KeyCreated",attrs:{success:!0,title:e.$t("regWizPopUp.routes.success.created",[e.licenseType])}}):e._e(),e.keyServerAction?[e.licenseAction&&!e.licenseAction.success||!e.CAN_POST_MESSAGE?t("SuccessTile",{key:"KeyError",attrs:{success:!1,title:e.$t("regWizPopUp.routes.success.install.error",[e.licenseType])}}):t("SuccessTile",{key:"KeyInstalled",attrs:{loading:!e.licenseAction,success:!0,title:e.licenseAction?e.$t("regWizPopUp.routes.success.install.success",[e.licenseType]):e.$t("regWizPopUp.routes.success.install.loading",[e.licenseType])}})]:e._e(),e.timeout&&!e.keyInstallError?t("SuccessTile",{key:"SuccessTimeout",attrs:{success:!1,title:e.$t("regWizPopUp.routes.success.timeout",[e.servername])}}):e._e(),e.keyInstallError?t("div",{key:"manualKeyInstallInstructions",staticClass:"mt-4 text-red text-sm text-center"},[e.licenseAction&&!e.licenseAction.success?t("p",{staticClass:"text-left my-4"},[t("em",[e._v(e._s(e.licenseAction.message))])]):e._e(),t("p",{staticClass:"text-left my-4"},[t("em",[e._v(e._s(e.$t("regWizPopUp.routes.success.install.manualInstructions")))])]),t("button",{staticClass:"button",on:{click:e.copyKeyUrl}},[e._v(e._s(e.copyKeyUrlButtonText))])]):e._e(),e.errorMessage?t("p",{key:"errorMessage",staticClass:"text-red text-left text-sm mt-4",domProps:{innerHTML:e._s(e.errorMessage)}}):e._e()],2)],1)],2)}),[],!1,null,null,null,!0).exports,Vo=(r("14d9"),r("5a0c")),Go=r.n(Vo);const Bo=(e,t,r,n,o,i,a)=>({years:e,months:t,days:r,hours:n,minutes:o,seconds:i,firstDateWasLater:a});var Wo=(e,t,r)=>{let n,o=Go()(e),i=Go()(t);if(o.isSame(i))return r?Bo(0,0,0,0,0,0,!1):"";if(o.isAfter(i)){const e=o;o=i,i=e,n=!0}else n=!1;let a=i.year()-o.year(),s=i.month()-o.month(),c=i.date()-o.date(),l=i.hour()-o.hour(),u=i.minute()-o.minute(),p=i.second()-o.second();if(p<0&&(p=60+p,u-=1),u<0&&(u=60+u,l-=1),l<0&&(l=24+l,c-=1),c<0){const e=Go()(`${i.year()}-${i.month()+1}`).subtract(1,"M").daysInMonth();c=e{const r=e?Go()(parseInt(e,10)):Go()(),n=t?Go()(parseInt(t,10)):Go()();return Wo(r,n,!0)};var Ho=(e,t)=>t?Yo(e,""):Yo("",e),qo=r("23ad"),Ko=r.n(qo);r("e072"),r("6210"),r("e5b7");const Qo=document.getElementsByTagName("unraid-user-profile")[0];if(Qo){const e=Qo.getAttribute("locale").slice(0,2);Go.a.locale(e),Xe.debug("[formatDate] dayjs.locale()",Go.a.locale())}Go.a.extend(Ko.a);var Xo=e=>Go()(parseInt(e,10)).format("llll"),Jo=v({data:()=>({parsedUptime:"",parsedExpireTime:""}),computed:{...Object(b.c)(["showExpiretime"]),...Object(b.e)(["state","expiretime","uptime"]),formattedUptime(){return Xo(this.uptime)},formattedExpireTime(){return Xo(this.expiretime)},timeCopy(){return this.showExpiretime?{title:"EEXPIRED"===this.state?this.$t("upc.meta.trial.expired.date",{date:this.formattedExpireTime}):this.$t("upc.meta.trial.active.date",{date:this.formattedExpireTime}),text:"EEXPIRED"===this.state?this.$t("upc.meta.trial.expired.timeDiff",{timeDiff:this.parsedExpireTime}):this.$t("upc.meta.trial.active.timeDiff",{timeDiff:this.parsedExpireTime})}:{title:this.$t("upc.meta.uptime.date",{date:this.formattedUptime}),text:this.$t("upc.meta.uptime.readable",{timeDiff:this.parsedUptime})}}},methods:{buildStringFromValues({years:e,months:t,days:r,hours:n,minutes:o,seconds:i,firstDateWasLater:a,displaySecondsInStringReturn:s}){const c=[],l={year:this.$t("year"),years:this.$t("years"),month:this.$t("month"),months:this.$t("months"),day:this.$t("day"),days:this.$t("days"),hour:this.$t("hour"),hours:this.$t("hours"),minute:this.$t("minute"),minutes:this.$t("minutes"),second:this.$t("second"),seconds:this.$t("seconds"),firstDateWasLater:this.$t("ago"),delimiter:" "},u=(e,t)=>`${e} ${l[t+(1===e?"":"s")]}`;return e&&c.push(u(e,"year")),t&&c.push(u(t,"month")),r&&c.push(u(r,"day")),n&&c.push(u(n,"hour")),o&&c.push(u(o,"minute")),!i||(e||t||r||n||o)&&!s||c.push(u(i,"second")),a&&c.push(l.firstDateWasLater),c.join(l.delimiter)},runTimeDiff(){this.uptime&&(this.parsedUptime=this.buildStringFromValues(Ho(this.uptime,!0))),this.expiretime&&(this.parsedExpireTime=this.buildStringFromValues(Ho(this.expiretime,!1)))},letsGo(){this.runTimeDiff(),this.interval=setInterval(()=>{this.runTimeDiff()},1e3)}},created(){this.letsGo()},beforeDestroy(){clearInterval(this.interval)}},(function(){var e=this;return(0,e._self._c)("p",{staticClass:"select-all",attrs:{title:e.timeCopy.title}},[e._v(e._s(e.timeCopy.text))])}),[],!1,null,null,null,!0).exports,Zo=v({props:{hrefUrl:{type:[Boolean,URL],default:!1},hrefExternal:{type:Boolean,default:!1},routeName:{type:String},text:{type:String,required:!0}},computed:{}},(function(){var e=this,t=e._self._c;return e.routeName?t("router-link",{attrs:{to:{name:e.routeName}}},[e._v(e._s(e.text))]):e.hrefUrl?t("a",{attrs:{href:e.hrefUrl,rel:e.hrefExternal?"noopener noreferrer":"",target:e.hrefExternal?"_blank":""}},[e._v(" "+e._s(e.text)+" ")]):t("button",{on:{click:function(t){return e.$emit("btn-click")}}},[e._v(e._s(e.text))])}),[],!1,null,null,null,!0).exports,ei=v({props:{colorClasses:{type:String,default:"text-grey-mid border-grey-mid"}}},(function(){var e=this;return(0,e._self._c)("span",{staticClass:"text-10px uppercase py-4px px-6px border-2 rounded-full",class:e.colorClasses},[e._v(e._s(e.$t("upc.myServers.beta")))])}),[],!1,null,null,null,!0).exports;var ti=v({components:{HelperTimeConvert:Jo,UiButton:Zo,UiBeta:ei},props:{hidePurchaseButtons:{type:Boolean,default:!1}},data:()=>({CAN_POST_MESSAGE:Ue,NODE_ENV:ge}),computed:{...Object(b.c)(["stateData","showExpiretime"]),...Object(b.e)(["apiVersion","forumaccount","guidBlacklisted","guidRegistered","hideMyServers","isPopUpOpen","messages","purchaseWindow","redeemWindow","registered","replaceable","accountRegisterPayload","accountUnregisterPayload","accountTrialExtendPayload","accountKeyRecoverPayload","accountKeyReplacePayload","state","iframeUrl"]),showTrialWelcome(){return"ENOKEYFILE"!==this.state&&!this.state.error&&!this.hideMyServers&&!this.registered},computedHeading(){return this.showTrialWelcome?this.$t("upc.thankYouForInstallingMyServers"):this.stateData.heading?this.stateData.heading:this.stateData.error.heading},computedSubheading(){return this.showTrialWelcome?this.$t("upc.connectYourUnraidnetAccountToGetStarted"):this.stateData.message?this.stateData.message:this.stateData.error.message}},methods:{...Object(b.b)(["openPopUp","closePopUp","closePopUpFromPopUp","startTrial","togglePromo"]),...Object(b.d)(["SET_IS_LAUNCHPAD_OPEN"]),niceTry(){alert("❌ Nice try you little sneak ❌")}}},(function(){var e=this,t=e._self._c;return t("div",{staticClass:"text-center w-full"},[t("header",[t("h2",{staticClass:"text-24px md:text-30px"},[t("span",{domProps:{innerHTML:e._s(e.computedHeading)}}),e.showTrialWelcome?t("ui-beta",{staticClass:"title-beta relative ml-4px"}):e._e()],1),t("div",{staticClass:"text-14px opacity-90 mt-12px mx-auto prose",class:{"text-center":e.stateData.messageCenter||e.showTrialWelcome,"text-left":!e.stateData.messageCenter}},[t("div",{domProps:{innerHTML:e._s(e.computedSubheading)}}),e.showExpiretime?t("HelperTimeConvert",{staticClass:"italic text-center font-semibold mt-16px"}):e._e()],1)]),t("div",{staticClass:"ActionRequired flex flex-col justify-center mt-16px"},[e.isPopUpOpen?[t("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{text:e.$t("backToPopUp")},on:{"btn-click":function(t){return e.openPopUp(e.accountRegisterPayload)}}}),t("UiButton",{staticClass:"button-fine-error text-grey-mid w-full mt-8px",attrs:{text:e.$t("closePopUp")},on:{"btn-click":function(t){return e.closePopUp()}}})]:[(!e.hideMyServers||e.apiVersion&&"0.0.0"!==e.apiVersion)&&e.stateData.actions.includes("register")?[t("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{hrefUrl:e.iframeUrl,"href-external":!!e.iframeUrl,text:e.iframeUrl?e.$t("signIn")+" (new tab)":e.$t("signIn")},on:{"btn-click":function(t){return e.openPopUp(e.accountRegisterPayload)}}}),e.guidRegistered||e.forumaccount?e._e():t("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{hrefUrl:e.iframeUrl,"href-external":!!e.iframeUrl,text:e.iframeUrl?e.$t("signUp")+" (new tab)":e.$t("signUp")},on:{"btn-click":function(t){return e.openPopUp(e.accountRegisterPayload)}}})]:e._e(),"TRIAL"===e.state&&e.hideMyServers&&!e.CAN_POST_MESSAGE?t("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{text:e.$t("upc.enhanceYourExperienceWithMyServers")},on:{"btn-click":function(t){return e.togglePromo()}}}):e._e(),e.stateData.actions.includes("startTrial")&&!e.CAN_POST_MESSAGE?t("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{text:e.$t("actions.startTrial")},on:{"btn-click":function(t){return e.startTrial()}}}):e._e(),e.stateData.actions.includes("purchase")?t("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{hrefUrl:e.CAN_POST_MESSAGE?e.purchaseWindow.url:e.iframeUrl,"href-external":!!e.iframeUrl,text:e.iframeUrl?e.$t("actions.purchase")+" (new tab)":e.$t("actions.purchase")},on:{"btn-click":function(t){return e.openPopUp(e.purchaseWindow)}}}):e._e(),e.stateData.actions.includes("purchase")?t("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{hrefUrl:e.CAN_POST_MESSAGE?e.redeemWindow.url:e.iframeUrl,"href-external":!!e.iframeUrl,text:e.iframeUrl?"Redeem Activation Code (new tab)":"Redeem Activation Code"},on:{"btn-click":function(t){return e.openPopUp(e.redeemWindow)}}}):e._e(),e.stateData.actions.includes("upgrade")?t("UiButton",{staticClass:"button button-alt w-full mt-8px",attrs:{hrefUrl:e.CAN_POST_MESSAGE?e.purchaseWindow.url:e.iframeUrl,"href-external":!!e.iframeUrl,text:e.iframeUrl?e.$t("actions.upgrade")+" (new tab)":e.$t("actions.upgrade")},on:{"btn-click":function(t){return e.openPopUp(e.purchaseWindow)}}}):e._e(),e.stateData.actions.includes("replace")&&e.replaceable?t("UiButton",{staticClass:"button w-full mt-8px",attrs:{hrefUrl:e.iframeUrl,"href-external":!!e.iframeUrl,text:e.iframeUrl?e.$t("actions.replace")+" (new tab)":e.$t("actions.replace")},on:{"btn-click":function(t){return e.openPopUp(e.accountKeyReplacePayload)}}}):e._e(),e.stateData.actions.includes("replace")&&!e.replaceable?t("UiButton",{staticClass:"button w-full mt-8px",attrs:{text:e.$t("actions.replaceIneligible"),title:e.$t("stateData.EGUID.error.message.replacementIneligible"),disabled:""},on:{"btn-click":function(t){return e.niceTry()}}}):e._e(),e.stateData.actions.includes("recover")?t("UiButton",{staticClass:"button w-full mt-8px",attrs:{hrefUrl:e.iframeUrl,"href-external":!!e.iframeUrl,text:e.iframeUrl?e.$t("actions.recover")+" (new tab)":e.$t("actions.recover")},on:{"btn-click":function(t){return e.openPopUp(e.accountKeyRecoverPayload)}}}):e._e(),e.stateData.actions.includes("continueTrial")?t("UiButton",{staticClass:"button w-full mt-8px",attrs:{text:e.$t("regWizPopUp.continueTrial")},on:{"btn-click":function(t){e.CAN_POST_MESSAGE?e.closePopUpFromPopUp():e.SET_IS_LAUNCHPAD_OPEN(!1)}}}):e._e(),e.stateData.actions.includes("extend")?t("UiButton",{staticClass:"button w-full mt-8px",attrs:{hrefUrl:e.iframeUrl,"href-external":!!e.iframeUrl,text:e.iframeUrl?e.$t("actions.extend")+" (new tab)":e.$t("actions.extend")},on:{"btn-click":function(t){return e.openPopUp(e.accountTrialExtendPayload)}}}):e._e(),e.stateData.actions.includes("close")?t("UiButton",{staticClass:"button w-full mt-8px",attrs:{text:e.$t("continueToUnraid")},on:{"btn-click":function(t){e.CAN_POST_MESSAGE?e.closePopUpFromPopUp():e.SET_IS_LAUNCHPAD_OPEN(!1)}}}):e._e(),e.stateData.actions.includes("signOut")&&e.CAN_POST_MESSAGE?t("UiButton",{staticClass:"button-fine-error text-grey-mid w-full mt-8px",attrs:{hrefUrl:e.iframeUrl,"href-external":!!e.iframeUrl,text:e.iframeUrl?e.$t("signOut")+" (new tab)":e.$t("signOut")},on:{"btn-click":function(t){return e.openPopUp(e.accountUnregisterPayload)}}}):e._e()]],2)])}),[],!1,(function(e){var t=r("7830");t.__inject__&&t.__inject__(e)}),null,null,!0).exports;var ri=v({i18n:me,store:Oo,name:"Launchpad",props:["serverstate","webguiTranslations"],components:{UnraidLoading:No,LaunchpadActionRequired:ti},computed:{...Object(b.e)(["errorMessage","guid","hideMyServers","isLaunchpadOpen","isPopUpOpen","loading","registered"]),...Object(b.c)(["server"])},methods:{...Object(b.b)(["closePopUp","setStateFromWebComponentProp","validateGuid"]),...Object(b.d)(["SET_IS_LAUNCHPAD_OPEN"])},watch:{signedOutWithKey(e,t){e&&!t&&this.validateGuid()},isPopUpOpen(e,t){!e&&t&&this.registered&&this.SET_IS_LAUNCHPAD_OPEN(!1)}},created(){if(this.serverstate&&this.setStateFromWebComponentProp(this.serverstate),this.guid)this.validateGuid();else{const e=setInterval(()=>{this.guid&&(clearInterval(e),this.validateGuid())},250)}}},(function(){var e=this,t=e._self._c;return t("transition",{attrs:{appear:"",name:"fade",mode:"in-out"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isLaunchpadOpen,expression:"isLaunchpadOpen"}],staticClass:"fixed inset-0 z-10 flex flex-col justify-start items-end mt-90px"},[t("transition",{attrs:{appear:"",name:"fade",mode:"in-out"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isLaunchpadOpen,expression:"isLaunchpadOpen"}],staticClass:"absolute inset-0 z-0 bg-beta opacity-70 cursor-pointer",attrs:{title:e.$t("closeLaunchpad")},on:{click:function(t){return e.SET_IS_LAUNCHPAD_OPEN(!1)}}})]),t("transition",{attrs:{appear:"",name:"slideVerticalFade",mode:"in-out"}},[t("main",{directives:[{name:"show",rawName:"v-show",value:e.isLaunchpadOpen,expression:"isLaunchpadOpen"}],staticClass:"TopBlip text-beta bg-alpha border-grey-darkest text-center relative z-10 w-full max-w-4xl mr-8px p-24px md:p-32px lg:px-40px shadow-md rounded-lg"},[e.loading?[t("UnraidLoading",{staticClass:"mx-auto",attrs:{height:64}}),"string"==typeof e.loading?t("h3",{staticClass:"text-20px italic mt-8px mb-0"},[e._v(e._s(e.loading))]):e._e()]:[t("LaunchpadActionRequired",{attrs:{hidePurchaseButtons:!e.hideMyServers&&!e.registered}}),e.errorMessage?t("p",{staticClass:"text-red font-semibold italic mt-16px mb-0",domProps:{innerHTML:e._s(e.errorMessage)}}):e._e()]],2)])],1)])}),[],!1,(function(e){var t=r("6591");t.__inject__&&t.__inject__(e)}),null,null,!0).exports,ni=v({name:"Feature",props:["title","copy","svg","center"]},(function(){var e=this,t=e._self._c;return t("div",{staticClass:"text-left relative flex overflow-hidden p-8px",class:{"w-full sm:w-1/2":!e.center,"max-w-640px":e.center}},[e.center?e._e():t("span",{staticClass:"flex-shrink-0"},[e._t("default")],2),t("div",{staticClass:"inline-flex flex-col pl-4 mr-4",class:{"text-center":e.center}},[t("h3",{staticClass:"font-semibold",class:{"mt-0 mb-4px":e.copy,"my-0":!e.copy,"flex flex-row justify-center items-center":e.center}},[e.center?t("span",{staticClass:"flex-shrink-0 mr-8px"},[e._t("default")],2):e._e(),e._v(" "+e._s(e.title)+" ")]),e.copy?t("p",{staticClass:"opacity-90 py-0",class:{"px-8px":e.center},domProps:{innerHTML:e._s(e.copy)}}):e._e()])])}),[],!1,null,null,null,!0).exports;var oi=v({i18n:me,store:Oo,name:"Promo",components:{Feature:ni},computed:{...Object(b.e)(["isPromoOpen","devEnv"]),...Object(b.c)(["features"]),heading:()=>'Enhance your Unraid experience with these
Connect BETA features'},methods:{...Object(b.b)(["installPlugin"]),...Object(b.d)(["SET_IS_PROMO_OPEN"])},watch:{isPromoOpen(e,t){t&&!e&&sessionStorage.removeItem("showPromoPostTrialInstall")},isLaunchpadOpen(e,t){t&&!e&&sessionStorage.getItem("showPromoPostTrialInstall")&&this.SET_IS_PROMO_OPEN(!1)}}},(function(){var e=this,t=e._self._c;return t("transition",{attrs:{appear:"",name:"fade",mode:"in-out"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isPromoOpen,expression:"isPromoOpen"}],staticClass:"fixed inset-0 z-10 flex flex-col justify-start items-end mt-90px"},[t("transition",{attrs:{appear:"",name:"fade",mode:"in-out"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isPromoOpen,expression:"isPromoOpen"}],staticClass:"fixed inset-0 z-0 bg-beta opacity-70 cursor-pointer",attrs:{title:e.$t("closePromo")},on:{click:function(t){return e.SET_IS_PROMO_OPEN(!1)}}})]),t("transition",{attrs:{appear:"",name:"slideVerticalFade",mode:"in-out"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isPromoOpen,expression:"isPromoOpen"}],staticClass:"Promo TopBlip text-beta bg-alpha border-grey-darkest text-center relative z-10 w-full max-w-800px mr-8px p-24px sm:p-32px lg:px-40px shadow-md rounded-lg"},[t("h2",{staticClass:"text-16px font-semibold my-0",domProps:{innerHTML:e._s(e.heading)}}),t("div",{staticClass:"text-12px flex flex-wrap justify-center my-16px"},e._l(e.features,(function(e,r){return t("feature",{key:r,attrs:{title:e.title,copy:e.copy,center:e.center||!1}})})),1),t("div",{staticClass:"w-full max-w-xs flex flex-col mx-auto"},[e.devEnv?t("button",{staticClass:"button mb-8px",on:{click:function(t){return e.installPlugin("dynamix.unraid.net.staging.plg")}}},[e._v("Install Staging")]):e._e(),t("button",{staticClass:"button",on:{click:function(t){return e.installPlugin()}}},[e._v(e._s(e.$t("installPlugin")))]),t("div",[t("a",{staticClass:"text-12px tracking-wide inline-block mx-8px opacity-60 hover:opacity-100 focus:opacity-100 underline mt-16px transition",attrs:{href:"https://docs.unraid.net/category/unraid-connect",target:"_blank",rel:"noopener noreferrer",title:e.$t("checkoutTheMyServersDocs")}},[e._v(e._s(e.$t("learnMore")))]),t("button",{staticClass:"text-12px tracking-wide inline-block mx-8px opacity-60 hover:opacity-100 focus:opacity-100 underline mt-16px transition",attrs:{title:e.$t("closePromo")},on:{click:function(t){return e.SET_IS_PROMO_OPEN(!1)}}},[e._v(" "+e._s(e.$t("noThanks"))+" ")])])])])])],1)])}),[],!1,(function(e){var t=r("2d4b");t.__inject__&&t.__inject__(e)}),null,null,!0).exports;var ii=v({i18n:me,store:Oo,name:"UpcTrigger",components:{UiButton:Zo},props:[],data:()=>({CAN_POST_MESSAGE:Ue}),computed:{...Object(b.c)(["stateData","stateDataKeyActions"]),...Object(b.e)(["isPopUpOpen","state","purchaseWindow","redeemWindow","purchaseWindow","accountKeyReplacePayload","accountKeyRecoverPayload","accountTrialExtendPayload","iframeUrl"]),copy:()=>""},methods:{...Object(b.b)(["jumpToUpc","openPopUp","closePopUp","startTrial"]),niceTry(){Xe.log("❌ Nice try you little sneak ❌")}}},(function(){var e=this,t=e._self._c;return t("transition",{attrs:{appear:"",name:"fade",mode:"out-in"}},[e.stateData&&e.stateData.actions?t("div",{staticClass:"flex flex-wrap pl-12px"},[t("p",{staticClass:"w-7/20 pr-12px",domProps:{innerHTML:e._s(e.copy)}}),t("div",{staticClass:"w-13/20"},[t("div",{staticClass:"flex flex-col max-w-300px gap-y-4"},[e.isPopUpOpen?[t("button",{staticClass:"button button-alt",attrs:{type:"button"},on:{click:function(t){return e.openPopUp()}}},[e._v(e._s(e.$t("backToPopUp")))]),t("button",{staticClass:"hover:underline text-14px",attrs:{type:"button"},on:{click:function(t){return e.closePopUp()}}},[e._v(e._s(e.$t("closePopUp")))])]:[e.stateData.actions.includes("startTrial")?t("UiButton",{staticClass:"button button-alt",attrs:{text:e.iframeUrl?e.$t("actions.startTrial")+" (new tab)":e.$t("actions.startTrial")},on:{"btn-click":function(t){return e.startTrial()}}}):e._e(),e.stateData.actions.includes("purchase")?t("UiButton",{staticClass:"button button-alt",attrs:{hrefUrl:e.CAN_POST_MESSAGE?e.purchaseWindow.url:e.iframeUrl,"href-external":!!e.iframeUrl,text:e.iframeUrl?e.$t("actions.purchase")+" (new tab)":e.$t("actions.purchase")},on:{"btn-click":function(t){return e.openPopUp(e.purchaseWindow)}}}):e._e(),e.stateData.actions.includes("purchase")?t("UiButton",{staticClass:"button button-alt",attrs:{hrefUrl:e.CAN_POST_MESSAGE?e.redeemWindow.url:e.iframeUrl,"href-external":!!e.iframeUrl,text:e.iframeUrl?"Redeem Activation Code (new tab)":"Redeem Activation Code"},on:{"btn-click":function(t){return e.openPopUp(e.redeemWindow)}}}):e._e(),e.stateData.actions.includes("upgrade")?t("UiButton",{staticClass:"button button-alt",attrs:{hrefUrl:e.CAN_POST_MESSAGE?e.purchaseWindow.url:e.iframeUrl,"href-external":!!e.iframeUrl,text:e.iframeUrl?e.$t("actions.upgrade")+" (new tab)":e.$t("actions.upgrade")},on:{"btn-click":function(t){return e.openPopUp(e.purchaseWindow)}}}):e._e(),e.stateData.actions.includes("replace")?t("UiButton",{staticClass:"button",attrs:{hrefUrl:e.iframeUrl,"href-external":!!e.iframeUrl,text:e.iframeUrl?e.$t("actions.replace")+" (new tab)":e.$t("actions.replace")},on:{"btn-click":function(t){return e.openPopUp(e.accountKeyReplacePayload)}}}):e._e(),e.stateData.actions.includes("recover")?t("UiButton",{staticClass:"button",attrs:{hrefUrl:e.iframeUrl,"href-external":!!e.iframeUrl,text:e.iframeUrl?e.$t("actions.recover")+" (new tab)":e.$t("actions.recover")},on:{"btn-click":function(t){return e.openPopUp(e.accountKeyRecoverPayload)}}}):e._e(),e.stateData.actions.includes("extend")?t("UiButton",{staticClass:"button",attrs:{hrefUrl:e.iframeUrl,"href-external":!!e.iframeUrl,text:e.iframeUrl?e.$t("actions.extend")+" (new tab)":e.$t("actions.extend")},on:{"btn-click":function(t){return e.openPopUp(e.accountTrialExtendPayload)}}}):e._e()]],2)])]):e._e()])}),[],!1,(function(e){var t=r("97b2");t.__inject__&&t.__inject__(e)}),null,null,!0).exports,ai=r("ab14"),si=r.n(ai),ci=r("c7db"),li=r("b692"),ui=r.n(li),pi=r("a3b3"),di=r.n(pi),fi=r("8a86"),hi=r.n(fi),mi=r("b2a0"),gi=r.n(mi),vi=r("b045"),bi=r.n(vi),yi=r("45b7"),wi=r.n(yi),xi=r("73c6"),_i=r.n(xi),Ei=r("381c"),ki=r.n(Ei),Si=v({props:{payload:{type:Object},text:{type:String},emphasize:{type:Boolean,default:!1},external:{type:Boolean,default:!0},noIframeAllowed:{type:Boolean,default:!1}},components:{UnraidSvgUiKey:ki.a,UnraidSvgUtilNewWindow:di.a},computed:{...Object(b.e)(["iframeUrl"])}},(function(){var e=this,t=e._self._c;return t("li",[e.noIframeAllowed&&e.iframeUrl?t("a",{staticClass:"group flex flex-row items-center justify-between",class:{"btn-emphasize":e.emphasize},attrs:{href:e.iframeUrl,target:"_blank",rel:"noopener noreferrer",title:e.external?""+e.$t("upc.opensNewHttpsWindow.base",[e.text]):null}},[t("span",{staticClass:"inline-flex flex-row items-center"},[t("UnraidSvgUiKey",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s(e.text)+" (new tab) ")],1),e.external?t("UnraidSvgUtilNewWindow",{staticClass:"text-white opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"}):e._e()],1):t("button",{staticClass:"group flex flex-row items-center justify-between",class:{"btn-emphasize":e.emphasize},attrs:{title:e.external?""+e.$t("upc.opensNewHttpsWindow.base",[e.text]):null},on:{click:function(t){return e.$emit("click")}}},[t("span",{staticClass:"inline-flex flex-row items-center"},[t("UnraidSvgUiKey",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s(e.text)+" ")],1),e.external?t("UnraidSvgUtilNewWindow",{staticClass:"text-white opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"}):e._e()],1)])}),[],!1,null,null,null,!0).exports,Ti=r("a190"),Oi=r.n(Ti),Ri=r("bee7"),Ii=r.n(Ri),Ai=r("973e"),Ci=r.n(Ai),Pi=r("44f2"),Ni=r.n(Pi);var Ui=v({components:{UnraidLoading:No,UnraidSvgUiWarningFill:Oi.a,UnraidSvgUtilMinus:Ii.a,UnraidSvgUtilHelp:Ci.a,UnraidSvgUtilInfo:bi.a,UnraidSvgUtilNewWindow:di.a,UnraidSvgUtilTerminal:Ni.a},props:["errorStateMessageVisible","hideotherservers","hideMyServers"],data:()=>({offlineTimer:sessionStorage.getItem("offlineTimer")||!1,restartTriggered:!1}),watch:{apikey(e,t){t||!e||this.hideMyServers||(Xe.debug("[watch.apikey] connect to unraid-api",{newVal:e,oldVal:t}),this.serversPlz()),!t||e||this.hideMyServers||(Xe.debug("[apikey removed] disconnect from unraid-api",{newVal:e,oldVal:t}),this.stopGraphqlClient(t))},noRemoteApikeyRegisteredWithPlg(e,t){t||!e||this.hideMyServers||(Xe.debug("[watch.noRemoteApikeyRegisteredWithPlg] connect to unraid-api",{newVal:e,oldVal:t}),this.serversPlz())},registered(e,t){t||!e||this.hideMyServers||(Xe.debug("[watch.apikey] connect to unraid-api",{newVal:e,oldVal:t}),this.serversPlz())},myServersError(e,t){!t||e||this.myServers.length||(Xe.debug("[watch.myServersError] connect to unraid-api",{newVal:e,oldVal:t}),this.serversPlz())},graphOnline(e,t){t&&!1===e&&this.timer("watch.graphOnline")}},computed:{...Object(b.c)(["errorTooManyDisks","hasRemoteApikey","keyTypeForPurchase","myServersOutOfDate","noRemoteApikeyRegisteredWithPlg","plgInstallFailed","stateData","validApiKeyLength"]),...Object(b.e)(["apikey","apiVersion","cloud","deprecatedUnraidSSL","deviceCount","graphOnline","guid","locale","myServers","myServersError","myServersErrorShowSupportBtn","myServersLoading","pirateKey","registered","servername","accountRegisterPayload","state","wanip"]),currentServer(){return this.myServers?this.myServers.filter(e=>e.guid===this.guid?e:null)[0]:{name:this.servername,status:"offline"}},currentServerStatus(){return this.currentServer?this.currentServer.status:"offline"},filteredServers(){return this.myServers?this.hideotherservers?[]:this.myServers.filter(e=>e.guid!==this.guid?e:null).sort((e,t)=>e.name.localeCompare(t.name,"en",{numeric:!0,sensitivity:"base"})):[]},errorToggleText(){return this.stateData.error.message?"EEXPIRED"===this.state?this.stateData.error.heading:this.$t("fixError"):this.pirateKey||this.myServersError||this.noRemoteApikeyRegisteredWithPlg||this.errorTooManyDisks||this.myServersOutOfDate&&this.myServersOutOfDate.enabled||this.cloud&&this.cloud.error||this.plgInstallFailed||this.deprecatedUnraidSSL?this.computedErrorHeading:""},errorToggleTitle(){if(this.stateData.error||this.stateData.message||this.myServersError||this.myServersOutOfDate&&this.myServersOutOfDate.enabled||this.cloud&&this.cloud.error||this.plgInstallFailed||this.deprecatedUnraidSSL){return`${!this.stateData.error.message&&!this.stateData.message||this.noRemoteApikeyRegisteredWithPlg||this.errorTooManyDisks||!this.cloud||this.cloud.error?this.computedErrorHeading:this.stateData.humanReadable} • ${this.errorStateMessageVisible?this.$t("upc.myServers.closeDetails"):this.$t("learnMore")}`}return""},computedErrorHeading(){return this.noRemoteApikeyRegisteredWithPlg?this.$t("upc.noRemoteApikeyRegisteredWithPlg.heading"):this.stateData.error.heading?this.stateData.error.heading:this.pirateKey?this.$t("keyFileNotValid"):this.myServersLoading&&this.restartTriggered?"Unraid API":this.myServersError?this.myServersError.includes("Network error")?this.$t("upc.myServers.errors.unraidApi.heading"):this.$t("upc.myServers.errors.myServers.heading"):this.errorTooManyDisks?this.$t("upc.errorTooManyDisks.heading"):this.plgInstallFailed?this.$t("installFailed.heading"):this.deprecatedUnraidSSL?"unraid.net SSL certificates have been deprecated":this.myServersOutOfDate.enabled?this.myServersOutOfDate.heading:this.cloud&&this.cloud.error?this.$t("upc.myServers.errors.unraidApi.heading"):""},computedError(){if(this.noRemoteApikeyRegisteredWithPlg)return this.$t("upc.noRemoteApikeyRegisteredWithPlg.msg");if(this.stateData.error.message)return this.stateData.error.message;if(this.pirateKey)return this.$t("yargYePirate");if(this.myServersLoading&&this.restartTriggered)return this.$t("upc.myServers.restarting");if(this.myServersError)return this.myServersError.includes("Network error")?this.$t("upc.myServers.errors.unraidApi.message"):this.myServersError;if(this.errorTooManyDisks){const e=this.$t("upc.errorTooManyDisks.msg.base");return"Basic"===this.keyTypeForPurchase?`${this.$t("upc.errorTooManyDisks.msg.basic")} ${e}`:"Plus"===this.keyTypeForPurchase?`${this.$t("upc.errorTooManyDisks.msg.plus")} ${e}`:e}return this.plgInstallFailed?"The Connect plugin installation failed. Rebooting will likely solve this.":this.deprecatedUnraidSSL?"You need to provision a new SSL certificate on the myunraid.net domain ASAP before you lose access to the webgui.":this.myServersOutOfDate.enabled?this.myServersOutOfDate.message:this.cloud&&this.cloud.error?this.cloud.error:""},apiEnableRestartButton(){return!!this.apiVersion&&et()(this.apiVersion,"2.42.5")&&this.offlineTimer&&!this.hideMyServers&&!this.graphOnline&&!this.myServersLoading&&!this.stateData.error&&this.myServersError&&(this.myServersError.includes("unraid-api is stopped")||this.myServersError.includes("Disconnected from Unraid API"))},forumSupportLink(){return this.plgInstallFailed?"https://forums.unraid.net/topic/112073-my-servers-releases/#comment-1154449":this.myServersError&&this.myServersError.includes(Fe)?"/Settings/ManagementAccess#MyServersSettings":this.myServersError&&this.myServersError.includes("OK")||this.myServersError&&this.myServersError.includes("SERVER_OVERLOAD")||this.cloud&&this.cloud.error&&(this.cloud.error.includes("OK")||this.cloud.error.includes("SERVER_OVERLOAD"))?"https://forums.unraid.net/topic/112073-my-servers-releases/#comment-1121459":this.deprecatedUnraidSSL?"https://unraid.net/blog/ssl-certificate-update":"https://forums.unraid.net/forum/94-my-servers-plugin-support/"},showForumSupportLink(){return(this.deprecatedUnraidSSL||this.plgInstallFailed||this.myServersError||this.cloud&&this.cloud.error)&&!this.stateData.error&&this.errorStateMessageVisible},forumSupportLinkText(){return this.myServersError&&this.myServersError.includes(Fe)?"Connect Settings":this.plgInstallFailed||this.deprecatedUnraidSSL?this.$t("learnMore"):"Connect Support"},showOutOfDateMessage(){return!this.showForumSupportLink&&this.computedError&&!this.stateData.error&&this.errorStateMessageVisible&&this.myServersOutOfDate&&this.myServersOutOfDate.enabled&&this.myServersOutOfDate.link}},methods:{...Object(b.b)(["executeUnraidApi","fetchServers","openPopUp","stopGraphqlClient","installPlugin"]),serversPlz(){return Xe.debug("[serversPlz]",{apikey:this.apikey,noRemoteApikeyRegisteredWithPlg:this.noRemoteApikeyRegisteredWithPlg,validApiKeyLength:this.validApiKeyLength,myServersOutOfDate:this.myServersOutOfDate}),this.plgInstallFailed?Xe.error("[MyServers] plugin failed to install correctly"):this.myServersOutOfDate&&this.myServersOutOfDate.enabled&&(this.myServersOutOfDate.error||Xe.warn(this.myServersOutOfDate.message),this.myServersOutOfDate.error)?Xe.error(this.myServersOutOfDate.message):this.noRemoteApikeyRegisteredWithPlg?Xe.error("[MyServers] remote apikey does not exist"):this.validApiKeyLength?(this.fetchServers(),this.timer("serversPlz()")):Xe.error("[MyServers] invalid apikey")},timer(e=""){Xe.debug("[timer] %s",e),setTimeout(()=>{!this.graphOnline&&this.registered&&(this.offlineTimer=!0,sessionStorage.setItem("offlineTimer",Date.now()))},3e4)},triggerRestart(){this.executeUnraidApi({command:"start"}),this.offlineTimer=!1,this.restartTriggered=!0,sessionStorage.removeItem("offlineTimer")}},created(){!this.hideMyServers&&this.registered&&this.serversPlz()}},(function(){var e=this,t=e._self._c;return t("div",{staticClass:"relative"},[t("ul",{staticClass:"relative flex flex-col gap-y-4px"},[e.computedError?t("li",{key:"current-server-error",staticClass:"w-full"},[t("button",{staticClass:"btn-error group py-8px px-16px flex flex-col",attrs:{title:e.errorToggleTitle},on:{click:function(t){return e.$emit("toggle-error")}}},[t("div",{staticClass:"w-full flex flex-row justify-between items-center"},[t("span",{staticClass:"inline-flex flex-row items-center"},[e.myServersOutOfDate&&e.myServersOutOfDate.enabled&&!e.myServersOutOfDate.error?t("UnraidSvgUtilInfo",{staticClass:"fill-current w-12px h-12px"}):t("UnraidSvgUiWarningFill",{staticClass:"fill-current w-12px h-12px"}),t("span",{staticClass:"font-semibold mx-8px"},[e._v(" "+e._s(e.servername)+" ")])],1),e.computedError&&e.errorStateMessageVisible?t("UnraidSvgUtilMinus",{staticClass:"text-current opacity-100 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"}):t("UnraidSvgUtilInfo",{staticClass:"text-current opacity-100 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1),t("transition",{attrs:{name:"fade",mode:"out-in"}},[e.computedError&&e.errorStateMessageVisible?t("div",{staticClass:"UnraidUPC-serverError"},[t("div",{staticClass:"text-14px font-semibold pt-4px"},[t("h3",{staticClass:"text-16px mb-4px"},[e._v(e._s(e.errorToggleText))]),t("p",{domProps:{innerHTML:e._s(e.computedError)}})])]):e._e()])],1)]):e._e(),t("transition",{attrs:{name:"fade",mode:"out-in"}},[e.pirateKey&&e.errorStateMessageVisible?t("li",[t("a",{staticClass:"btn-emphasize group flex flex-row items-center justify-between",attrs:{href:"zh_CN"===e.locale?"https://unraid.net/zh/%E8%B4%AD%E4%B9%B0-%E6%AD%A3%E7%89%88-unraid-%E8%AE%B8%E5%8F%AF%E8%AF%81":"https://unraid.net/buy-genuine-license",title:e.$t("upc.opensNewHttpsWindow.base",[e.$t("learnMore")]),target:"_blank"}},[t("span",{staticClass:"inline-flex flex-row items-center"},[t("UnraidSvgUtilHelp",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s(e.$t("learnMore"))+" ")],1),t("UnraidSvgUtilNewWindow",{staticClass:"opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1)]):e._e()]),t("transition",{attrs:{name:"fade",mode:"out-in"}},[e.showOutOfDateMessage?t("li",[t("button",{staticClass:"btn-emphasize group flex flex-row items-center justify-between",attrs:{title:"Update Plugin"},on:{click:function(t){return e.installPlugin({plgType:"",update:!0})}}},[t("span",{staticClass:"inline-flex flex-row items-center"},[t("UnraidSvgUtilTerminal",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s("Update Plugin")+" ")],1)])]):e._e()]),t("transition",{attrs:{name:"fade",mode:"out-in"}},[e.showForumSupportLink?t("li",[t("a",{staticClass:"btn-emphasize group flex flex-row items-center justify-between",attrs:{href:e.forumSupportLink,title:e.forumSupportLink.includes("https://")?e.$t("upc.opensNewHttpsWindow.base",[e.forumSupportLinkText]):"",target:e.forumSupportLink.includes("https://")?"_blank":"",rel:"noopener"}},[t("span",{staticClass:"inline-flex flex-row items-center"},[t("UnraidSvgUtilHelp",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s(e.forumSupportLinkText)+" ")],1),e.forumSupportLink.includes("https://")?t("UnraidSvgUtilNewWindow",{staticClass:"opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"}):e._e()],1)]):e._e()]),t("transition",{attrs:{name:"fade",mode:"out-in"}},[("EEXPIRED"!==e.state&&e.stateData.error||e.pirateKey)&&e.errorStateMessageVisible?t("li",[t("a",{staticClass:"link-error group flex flex-row items-center justify-between",attrs:{title:e.$t("upc.opensNewHttpsWindow.base",[e.$t("contactSupport")])},on:{click:function(t){return e.$emit("contact-support")}}},[t("span",{staticClass:"inline-flex flex-row items-center"},[t("UnraidSvgUtilHelp",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s(e.$t("contactSupport"))+" ")],1),t("UnraidSvgUtilNewWindow",{staticClass:"opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1)]):e._e()]),t("transition",{attrs:{name:"fade",mode:"out-in"}},[e.noRemoteApikeyRegisteredWithPlg&&e.errorStateMessageVisible?t("li",[t("a",{staticClass:"btn-emphasize link-error group flex flex-row items-center justify-between",attrs:{title:e.$t("upc.opensNewHttpsWindow.base",[e.$t("signIn")])},on:{click:function(t){return e.openPopUp(e.accountRegisterPayload)}}},[t("span",{staticClass:"inline-flex flex-row items-center"},[t("UnraidSvgUiWarningFill",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s(e.$t("upc.signInActions.resolve"))+" ")],1),t("UnraidSvgUtilNewWindow",{staticClass:"opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1)]):e._e()]),t("transition",{attrs:{name:"fade",mode:"out-in"}},[e.apiEnableRestartButton?t("li",[t("button",{staticClass:"btn-emphasize group flex flex-row items-center justify-between",attrs:{title:e.$t("upc.myServers.api.startTitle")},on:{click:function(t){return e.triggerRestart()}}},[t("span",{staticClass:"inline-flex flex-row items-center"},[t("UnraidSvgUtilTerminal",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s(e.$t("upc.myServers.api.start"))+" ")],1)])]):e._e()]),e.computedError?t("li",{staticClass:"my-8px mx-12px"},[t("hr",{staticClass:"w-full h-2px bg-gradient-to-r from-red to-orange shadow-none border-none rounded-none"})]):e._e(),e.registered?t("div",{staticClass:"relative z-0"},[t("transition-group",{attrs:{name:"fade",mode:"out-in"}},[e.myServersLoading?t("UnraidLoading",{key:"gql-loading",staticClass:"w-36px my-8px mx-auto",attrs:{height:21,title:e.$t("upc.myServers.loading")}}):e._e(),e.filteredServers?t("div",{key:"filteredServers"},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[e.computedError?e._e():t("li",{key:"current-server",staticClass:"w-full py-8px px-16px flex flex-col",class:{"text-beta":"online"===e.currentServerStatus,"text-orange cursor-not-allowed":"online"!==e.currentServerStatus}},[t("span",{staticClass:"flex flex-row items-center"},["online"!==e.currentServerStatus?t("UnraidSvgUiWarningFill",{staticClass:"fill-current w-12px h-12px mr-8px"}):t("span",{staticClass:"block w-12px h-12px mr-8px bg-green rounded-full"}),t("span",[e._v(e._s("online"!==e.currentServerStatus?e.$t("upc.myServers.mothership.notConnected"):e.$t("upc.myServers.mothership.connected")))])],1)])])],1):e._e()],1)],1):e._e()],1)])}),[],!1,(function(e){var t=r("9790");t.__inject__&&t.__inject__(e)}),null,null,!0).exports,Di=v({components:{HelperTimeConvert:Jo},computed:{...Object(b.e)(["state","iframeUrl"]),...Object(b.c)(["stateData"])}},(function(){var e=this,t=e._self._c;return t("div",{staticClass:"text-gamma text-12px text-right font-semibold leading-normal flex flex-row items-baseline justify-end pr-16px pt-4px"},[t("HelperTimeConvert"),t("span",{staticClass:"px-12px"},[e._v("•")]),e.stateData.actions.includes("upgrade")?[e.iframeUrl?t("a",{staticClass:"text-12px text-gamma hover:text-alpha focus:text-alpha font-semibold transition-colors duration-150 ease-in-out border-t-0 border-l-0 border-r-0 border-b-2 border-transparent hover:border-orange-dark focus:border-orange-dark focus:outline-none",attrs:{href:e.iframeUrl,target:"_blank",rel:"noopener noreferrer",title:e.$t("upc.opensNewHttpsWindow.upgrade")}},[t("h5",[e._v("Unraid OS "),t("em",[t("strong",[e._v(e._s(e.stateData.humanReadable))])])])]):t("button",{staticClass:"text-12px text-gamma hover:text-alpha focus:text-alpha font-semibold transition-colors duration-150 ease-in-out border-t-0 border-l-0 border-r-0 border-b-2 border-transparent hover:border-orange-dark focus:border-orange-dark focus:outline-none",attrs:{title:e.$t("upc.opensNewHttpsWindow.upgrade")},on:{click:function(t){return e.$emit("upgrade")}}},[t("h5",[e._v("Unraid OS "),t("em",[t("strong",[e._v(e._s(e.stateData.humanReadable))])])])])]:t("h5",[e._v(" Unraid OS "),t("em",{class:{"text-red":e.stateData.error||"EEXPIRED"===e.state}},[t("strong",[e._v(e._s(e.stateData.humanReadable))])])]),e.stateData.actions.includes("purchase")?[e.iframeUrl?t("a",{staticClass:"text-12px text-orange-dark font-semibold hover:text-alpha focus:text-alpha ml-12px transition-colors duration-150 ease-in-out border-t-0 border-l-0 border-r-0 border-b-2 border-transparent hover:border-orange-dark focus:border-orange-dark focus:outline-none",attrs:{href:e.iframeUrl,target:"_blank",rel:"noopener noreferrer",title:e.$t("upc.opensNewHttpsWindow.purchase")}},[e._v(e._s(e.$t("actions.purchase")))]):t("button",{staticClass:"text-12px text-orange-dark font-semibold hover:text-alpha focus:text-alpha ml-12px transition-colors duration-150 ease-in-out border-t-0 border-l-0 border-r-0 border-b-2 border-transparent hover:border-orange-dark focus:border-orange-dark focus:outline-none",attrs:{title:e.$t("upc.opensNewHttpsWindow.purchase")},on:{click:function(t){return e.$emit("purchase")}}},[e._v(e._s(e.$t("actions.purchase")))])]:e._e()],2)}),[],!1,null,null,null,!0).exports;i.default.use(Co.a);var Mi=v({i18n:me,store:Oo,name:"UserProfile",mixins:[ci.mixin],components:{UnraidLoading:No,UnraidLogoMark:Do,KeyAction:Si,MetaInfo:Di,MyServers:Ui,UnraidSvgUtilLogout:ui.a,UnraidSvgUtilNewWindow:di.a,UnraidSvgUtilSelect:hi.a,UnraidSvgUtilEdit:gi.a,UnraidSvgUtilInfo:bi.a,UnraidSvgUiWarning:wi.a,UnraidSvgUtilGlobe:_i.a,UiBeta:ei},props:{serverstate:String,banner:{type:String,default:""},showBannerGradient:{type:String,default:"yes"},bgcolor:[String,Number],displaydesc:{type:String,default:""},locale:String,localeMessages:String,metacolor:String,textcolor:String,theme:{type:String,default:"black"},hideotherservers:{type:String,default:""},apikey:String,apiVersion:String,csrf:String,expiretime:[Number,String],hideMyServers:{type:String,default:null},plgPath:String,regWizTime:String,sendCrashInfo:String,serverdesc:String,servermodel:String,serverupdate:Boolean,uptime:[Number,String]},data:()=>({NODE_ENV:ge,avatarFail:!1,copyingIp:!1,copyingIpFailed:!1,dropdownTimeout:"",dropdownVisible:!1,errorStateMessageVisible:!0,removingPlg:!1,hoverImage:!1}),computed:{...Object(b.e)(["avatar","isLaunchpadOpen","isPromoOpen","isPopUpOpen","guid","guidRegistered","regAtOpen","purchaseWindow","redeemWindow","registered","servername","internalip","state","username","darkTheme","lightTheme","myServersEnv","triggerUPC","graphOnline","myServersError","cloud","plgInstalled","signOutTriggered","pirateKey","deprecatedUnraidSSL","accountPayload","accountServerPayload","accountRegisterPayload","accountUnregisterPayload","accountKeyRecoverPayload","accountKeyReplacePayload","accountTrialExtendPayload","accountTroubleshootPayload","processStarted","iframeUrl"]),...Object(b.c)(["errorTooManyDisks","noRemoteApikeyRegisteredWithPlg","signedOutWithKey","stateData","myServersOutOfDate","allowedOrigins","server","plgInstallFailed"]),darkMode(){return"black"===this.theme||"azure"===this.theme},usernameButtonText(){return this.stateData.error&&!this.stateData.error.signInToFix&&"EEXPIRED"===!this.state?this.$t("fixError"):this.registered?this.username:""},usernameButtonTitle(){return"ENOKEYFILE"===this.state?this.$t("getStarted"):"EEXPIRED"===this.state?this.$t("upc.trialHasExpiredSeeOptions"):this.stateData.error?this.$t("learnMore"):this.isPopUpOpen&&this.isLaunchpadOpen?this.$t("upc.confirmClosure"):this.cloud&&this.cloud.error?`${this.$t("upc.myServers.errors.unraidApi.heading")}: ${this.cloud.error}`:this.myServersError&&this.registered?`${this.$t("upc.myServers.errors.unraidApi.heading")}: ${this.myServersError}`:this.errorTooManyDisks?this.$t("upc.errorTooManyDisks.heading"):this.isLaunchpadOpen?this.$t("closeLaunchpad"):this.dropdownVisible?this.$t("upc.closeDropdown"):this.$t("upc.openDropdown")},displayKeylineBelowActions(){return!!(this.stateData.actions.includes("startTrial")||this.stateData.actions.includes("purchase")||this.stateData.actions.includes("upgrade")||this.stateData.actions.includes("recover")||this.stateData.actions.includes("replace")||this.stateData.actions.includes("extend"))},extraLinks(){return[...this.hideMyServers||!this.registered||this.plgInstallFailed?[]:[{url:"https://connect.myunraid.net",text:this.$t("upc.extraLinks.myServers"),external:!0,title:this.$t("upc.extraLinks.newTab",[this.$t("upc.extraLinks.myServers")]),emphasize:!0},{url:"/Settings/ManagementAccess#"+(this.plgPath?"MyServersSettings":"UnraidNetSettings"),text:this.$t("upc.extraLinks.settings.text"),settings:!0,title:this.$t("upc.extraLinks.settings.title")},{url:"https://account.unraid.net/",text:"Manage Unraid.net Account",external:!0,title:"Manage Unraid.net Account"}]]},devEnv(){let e=ge;const t="UPC_ENV=",r=document.cookie.split(";");for(let n=0;n"ENOKEYFILE"!==this.state&&(this.dropdownVisible=!1,!0),1e3),!0},autoTriggerLaunchpad(){setTimeout(()=>{const e=`${this.servername}_${this.guid?this.guid.slice(-12):"NO_GUID"}`;sessionStorage.getItem(e)||"ENOKEYFILE"!==this.state||(sessionStorage.setItem(e,"またね"),this.isLaunchpadOpen||this.toggleLaunchpad())},100)},toggleLaunchpad(){const e="unraid-launchpad";if(!document.getElementsByTagName(e).length){const t=document.getElementsByTagName("body")[0],r=document.createElement(e);t.appendChild(r)}const t=()=>{this.dropdownVisible&&(this.dropdownVisible=!1),this.isPopUpOpen&&this.closePopUp(),this.SET_IS_LAUNCHPAD_OPEN(!this.isLaunchpadOpen)};this.isPopUpOpen&&this.isLaunchpadOpen?window.confirm(this.$t("upc.pleaseConfirmClosureYouHaveOpenPopUp"))&&t():t()},onAvatarError(){Xe.error("Avatar failed to load %s",this.avatar),this.avatarFail=!0},async initUserProfile(){if(Xe.debug("[initUserProfile]"),this.setStateFromWebComponentProp(this.serverstate),this.apikey&&this.SET_API_KEY(this.apikey),this.apiVersion&&this.SET_MY_SERVERS_API_VERSION(this.apiVersion),this.csrf&&this.SET_CSRF(this.csrf),this.expiretime&&this.SET_EXPIRE_TIME(this.expiretime),this.hideMyServers&&this.SET_HIDE_MY_SERVERS(this.hideMyServers),this.plgPath&&this.SET_PLG_PATH(this.plgPath),this.regWizTime&&this.SET_REGWIZ_TIME(this.regWizTime),this.serverdesc&&this.SET_SERVERDESC(this.serverdesc),this.uptime&&this.SET_UPTIME(this.uptime),this.devEnv&&this.SET_DEV_MODE(this.devEnv),this.hideMyServers){const e=["color: white","background: linear-gradient(to right, #E22828 0%, #FF8C2F 100%)","font-size: 10px","padding: 4px"].join(";");Xe.log(`%c${this.$t("upc.enhanceYourExperienceWithMyServers")} • https://docs.unraid.net/category/unraid-connect`,e)}if(this.localeMessages){Xe.debug("[this.locale] %o",this.locale);const[e,t]=je(decodeURIComponent(this.localeMessages));e&&Xe.error("[initUserProfile.localeMessages] %s","Unable to set locale and locale messages"),this.$i18n.locale=this.locale,this.$i18n.setLocaleMessage(this.locale,t[this.locale]),Xe.debug(`[initUserProfile.$i18n] ${this.$i18n.locale} locale & messages set %o`,t[this.locale]),this.SET_LOCALE(this.locale)}this.signedOutWithKey&&this.regWizTime?(Xe.debug("[initUserProfile] %o",{signedOutWithKey:this.signedOutWithKey,regWizTime:this.regWizTime}),await this.validateGuid()):this.autoTriggerLaunchpad(),sessionStorage.getItem("clickedInstallMyServers")&&(Xe.debug("[initUserProfile] sessionStorage clickedInstallMyServers"),this.toggleLaunchpad()),sessionStorage.getItem("showPromoPostTrialInstall")&&(Xe.debug("[initUserProfile] sessionStorage showPromoPostTrialInstall"),this.togglePromo()),window.addEventListener("message",e=>{this.receivePostMessage({inject:!1,event:e})},!1),this.postRobotListeners()},copyIpSuccess(){Xe.debug("[copyIpSuccess] %s",this.internalip),this.copyingIp=!this.copyingIp,setTimeout(()=>{this.copyingIp=!this.copyingIp},750)},copyIpError(){return this.copyingIpFailed=!0,clearTimeout(this.copyingFailedTimeout),this.copyingFailedTimeout=setTimeout(()=>{this.copyingIpFailed=!this.copyingIpFailed},2e3),Xe.error("Unable to copy IP: %s",this.internalip)},hoverCopyFailed(){Xe.debug("[hoverCopyFailed] %s",this.internalip),clearTimeout(this.copyingFailedTimeout)},leaveCopyFailed(){Xe.debug("[leaveCopyFailed] %s",this.internalip),clearTimeout(this.copyingFailedTimeout),this.copyingFailedTimeout=setTimeout(()=>{this.copyingIpFailed=!this.copyingIpFailed},1500)},copyFailedClickaway(){Xe.debug("[copyFailedClickaway] %s",this.internalip),clearTimeout(this.copyingFailedTimeout),this.copyingIpFailed=!1}},watch:{signedOutWithKey(e,t){Xe.debug("[signedOutWithKey]",{newVal:e,oldVal:t,regWizTime:this.regWizTime}),e&&!t&&this.regWizTime&&this.validateGuid()},isPopUpOpen(e,t){this.isLaunchpadOpen&&!e&&t&&!this.regAtOpen&&this.registered&&this.SET_IS_LAUNCHPAD_OPEN(!1)},triggerUPC(e){e&&setTimeout(()=>{this.dropdownVisible=!0},150)},graphOnline(e,t){e&&!t&&this.updateServerState()},isPromoOpen(e,t){e&&!t&&(this.dropdownVisible=!1)},signOutTriggered(e,t){e&&this.graphOnline&&(Xe.debug("[watch.signOutTriggered] disconnect from unraid-api",{newVal:e,oldVal:t,apikey:this.apikey}),this.stopGraphqlClient(this.apikey),this.myServersError&&(this.SET_MY_SERVERS_ERROR(""),this.SET_MY_SERVERS_ERROR_SHOW_SUPPORT_BTN(!1)))}},created(){this.initUserProfile()},beforeMount(){const e=document.getElementsByTagName("body")[0],t={darkTheme:{alpha:"#1c1b1b",beta:"#f2f2f2",gamma:"#999999"},lightTheme:{alpha:"#f2f2f2",beta:"#1c1b1b",gamma:"#999999"}};let{alpha:r,beta:n,gamma:o}=this.darkMode?t.darkTheme:t.lightTheme;this.textcolor&&(r=this.textcolor),this.bgcolor&&(n=this.bgcolor,e.style.setProperty("--color-customgradient-start",si()(n,0)),e.style.setProperty("--color-customgradient-end",si()(n,.9))),this.metacolor&&(o=this.metacolor),e.style.setProperty("--color-alpha",r),e.style.setProperty("--color-beta",n),e.style.setProperty("--color-gamma",o),e.style.setProperty("--shadow-beta","0 25px 50px -12px "+si()(n,.15)),e.style.setProperty("--ring-offset-shadow","0 0 "+n),e.style.setProperty("--ring-shadow","0 0 "+n)}},(function(){var e=this,t=e._self._c;return t("div",{staticClass:"UnraidUPC",class:{"--hasBanner-default":e.banner&&"no"!==e.showBannerGradient&&!e.bgcolor,"--hasBanner-custom":e.banner&&"no"!==e.showBannerGradient&&e.bgcolor},attrs:{id:"UnraidUPC"}},[e.blur?t("div",{staticClass:"absolute z-10 inset-0 flex flex-col items-end justify-center pr-6"},[t("div",{staticClass:"text-center inline-flex flex-col items-center justify-center"},[e.isPopUpOpen&&!e.isLaunchpadOpen?[t("button",{staticClass:"text-14px button button-alt",on:{click:function(t){return e.openPopUp()}}},[e._v(e._s(e.$t("backToPopUp")))]),t("button",{staticClass:"hover:underline text-12px mt-4px",on:{click:function(t){return e.closePopUp()}}},[e._v(e._s(e.$t("closePopUp")))])]:e._e(),!e.isPopUpOpen&&e.processStarted?[t("button",{staticClass:"text-14px button button-alt",on:{click:function(t){return e.openPopUp(e.processStartedData.payload)}}},[e._v(e._s(e.processStartedData.text))]),t("button",{staticClass:"hover:underline text-12px mt-4px",on:{click:e.reloadWebGUI}},[e._v(e._s("Reload to Cancel"))])]:e._e()],2)]):e._e(),t("MetaInfo",{class:{"blur opacity-30 pointer-events-none transition-all duration-150 ease-in-out":e.blur},on:{purchase:function(t){return e.openPopUp(e.purchaseWindow)},upgrade:function(t){return e.openPopUp(e.purchaseWindow)}}}),t("div",{staticClass:"relative z-0 flex flex-row items-center justify-end h-full",class:{"blur opacity-30 pointer-events-none transition-all duration-150 ease-in-out":e.blur}},[t("h1",{staticClass:"relative text-18px border-t-0 border-r-0 border-l-0 border-b-2 border-transparent"},[e.displaydesc?[t("span",{attrs:{title:e.servermodel}},[e._v(e._s(e.serverdesc))]),t("span",{staticClass:"text-grey-mid px-8px"},[e._v("•")])]:e._e(),t("span",{directives:[{name:"clipboard",rawName:"v-clipboard:copy",value:e.internalip,expression:"internalip",arg:"copy"},{name:"clipboard",rawName:"v-clipboard:success",value:e.copyIpSuccess,expression:"copyIpSuccess",arg:"success"},{name:"clipboard",rawName:"v-clipboard:error",value:e.copyIpError,expression:"copyIpError",arg:"error"}],staticClass:"cursor-pointer",attrs:{title:e.$t("lanIp",[e.internalip])}},[e._v(e._s(e.servername))]),t("transition",{attrs:{name:"fade",mode:"out-in"}},[e.copyingIp?t("span",{staticClass:"text-12px absolute right-0 bg-gradient-to-r from-red to-orange text-center block w-100px rounded"},[e._v(e._s(e.$t("upc.lanIpCopied")))]):e._e(),e.copyingIpFailed?t("span",{directives:[{name:"on-clickaway",rawName:"v-on-clickaway",value:e.copyFailedClickaway,expression:"copyFailedClickaway"}],staticClass:"text-12px font-semibold px-4px absolute right-0 bg-gradient-to-r from-red to-orange text-center block rounded",on:{mouseenter:e.hoverCopyFailed,mouseleave:e.leaveCopyFailed}},[e._v("LAN IP: "),t("span",{staticClass:"select-all"},[e._v(e._s(e.internalip))])]):e._e()])],2),t("div",{staticClass:"block w-2px h-24px ml-16px bg-grey-mid"}),t("div",{directives:[{name:"on-clickaway",rawName:"v-on-clickaway",value:e.closeDropdown,expression:"closeDropdown"}],staticClass:"relative flex items-center justify-end h-full",on:{mouseenter:function(t){return e.dropdownMouseEnter()},mouseleave:function(t){return e.dropdownMouseLeave()}}},[t("button",{staticClass:"UnraidUPC-username group text-18px hover:text-alpha focus:text-alpha border border-transparent flex flex-row justify-end items-center h-full px-16px outline-none focus:outline-none",class:{"text-orange-dark":e.isLaunchpadOpen||!e.username&&!e.stateData.error,"text-alpha":e.username&&!e.isLaunchpadOpen,"text-red":e.stateData.error},attrs:{title:e.usernameButtonTitle},on:{click:function(t){return e.usernameAvatarButton()}}},[e.myServersOutOfDate&&e.myServersOutOfDate.enabled&&!e.myServersOutOfDate.error?t("UnraidSvgUtilInfo",{staticClass:"text-red fill-current relative w-14px h-14px mr-8px"}):e.showWarningIcon?t("UnraidSvgUiWarning",{staticClass:"text-red fill-current relative w-24px h-24px mr-8px"}):e._e(),e.usernameButtonText?t("span",{staticClass:"inline-flex items-center bg-transparent border-t-0 border-l-0 border-r-0 border-b-2 border-transparent group-hover:border-orange-dark group-focus:border-orange-dark transition-colors duration-150 ease-in-out"},[e._v(" "+e._s(e.usernameButtonText)+" "),e.registered&&!e.isLaunchpadOpen?t("UnraidSvgUtilSelect",{staticClass:"fill-current w-8px h-8px ml-8px"}):e._e()],1):e._e(),t("span",{staticClass:"relative z-0 flex items-center justify-center w-36px h-36px rounded-full",class:{"ml-8px":e.usernameButtonText,"bg-transparent":e.registered&&!e.avatarFail,"bg-gradient-to-r from-red to-orange":!e.registered||e.avatarFail},on:{mouseenter:function(t){e.hoverImage=!0},mouseleave:function(t){e.hoverImage=!1}}},[e.registered&&!e.avatarFail?t("img",{staticClass:"absolute z-10 inset-0 w-36px h-36px rounded-full overflow-hidden",attrs:{src:e.avatar,alt:""+e.$t("upc.avatarAlt",[e.username])},on:{error:e.onAvatarError}}):[e.hoverImage?t("UnraidLoading",{staticClass:"relative z-0 w-28px",attrs:{title:e.usernameButtonTitle,"gradient-start":"#fff","gradient-stop":"#fff",height:28}}):t("UnraidLogoMark",{staticClass:"relative z-0 w-28px",attrs:{title:e.usernameButtonTitle,"gradient-start":"#fff","gradient-stop":"#fff"}})]],2),e.usernameButtonText?e._e():t("UnraidSvgUtilSelect",{staticClass:"fill-current w-8px h-8px ml-8px"})],1),t("transition",{attrs:{name:"slideVerticalFade",mode:"out-in"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.dropdownVisible,expression:"dropdownVisible"}],staticClass:"UnraidUPC-dropdown",class:{"border-grey-darkest":e.darkMode,"border-grey-light":!e.darkMode}},[e.hideMyServers?e._e():t("header",{staticClass:"text-14px flex flex-row items-start justify-between pt-16px px-16px rounded-t"},[t("h5",{staticClass:"text-18px leading-none inline-flex flex-row items-center"},[t("span",{staticClass:"font-semibold"},[e._v("Connect")]),t("ui-beta",{staticClass:"ml-6px"}),e.myServersEnv?t("span",{staticClass:"ml-8px",attrs:{title:"API • "+e.myServersEnv}},[e._v("⚙️")]):e._e(),e.devEnv?t("span",{staticClass:"ml-8px",attrs:{title:e.devEnv}},[e._v("⚠️")]):e._e()],1)]),t("ul",{staticClass:"list-reset flex flex-col gap-y-4px m-8px p-0"},["development"===e.NODE_ENV?[t("li",[t("KeyAction",{attrs:{text:"[DEV] Launchpad",external:!1},on:{click:function(t){return e.toggleLaunchpad()}}})],1),t("li",[t("KeyAction",{attrs:{text:"[DEV] Pop-up"},on:{click:function(t){return e.openPopUp(e.accountServerPayload)}}})],1),t("li",{staticClass:"my-8px mx-12px"},[t("hr",{staticClass:"w-full h-2px bg-gradient-to-r from-red to-orange shadow-none border-none rounded-none"})])]:e._e(),e.hideMyServers||e.registered?e._e():[t("li",[e.iframeUrl?t("a",{staticClass:"group flex flex-row items-center justify-between",attrs:{href:e.iframeUrl,target:"_blank",rel:"noopener noreferrer",title:"Open server webGUI in new tab to Sign In"}},[t("span",{staticClass:"inline-flex flex-row items-center"},[t("UnraidSvgUtilLogout",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s("Sign In (new tab)")+" ")],1),t("UnraidSvgUtilNewWindow",{staticClass:"text-white opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1):t("button",{staticClass:"group flex flex-row items-center justify-between",attrs:{title:e.$t("upc.opensNewHttpsWindow.base",["Sign In with Unraid.net Account"])},on:{click:function(t){return e.openPopUp(e.accountRegisterPayload)}}},[t("span",{staticClass:"inline-flex flex-row items-center"},[t("UnraidSvgUtilGlobe",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s("Sign In with Unraid.net Account")+" ")],1),t("UnraidSvgUtilNewWindow",{staticClass:"text-white opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1)])],e.displayKeylineBelowActions?[e.stateData.actions.includes("startTrial")?t("KeyAction",{attrs:{text:e.$t("actions.startTrial")},on:{click:function(t){return e.startTrial()}}}):e._e(),e.stateData.actions.includes("purchase")?[t("KeyAction",{attrs:{"no-iframe-allowed":!0,text:e.$t("actions.purchase")},on:{click:function(t){return e.openPopUp(e.purchaseWindow)}}}),t("KeyAction",{attrs:{"no-iframe-allowed":!0,text:e.$t("actions.redeemActivationCode")},on:{click:function(t){return e.openPopUp(e.redeemWindow)}}})]:e._e(),e.stateData.actions.includes("upgrade")?t("KeyAction",{attrs:{"no-iframe-allowed":!0,text:e.$t("actions.upgrade")},on:{click:function(t){return e.openPopUp(e.purchaseWindow)}}}):e._e(),e.stateData.actions.includes("recover")?t("KeyAction",{attrs:{"no-iframe-allowed":!0,text:e.$t("actions.recover")},on:{click:function(t){return e.openPopUp(e.accountKeyRecoverPayload)}}}):e._e(),e.stateData.actions.includes("replace")?t("KeyAction",{attrs:{"no-iframe-allowed":!0,text:e.$t("actions.replace")},on:{click:function(t){return e.openPopUp(e.accountKeyReplacePayload)}}}):e._e(),e.stateData.actions.includes("extend")?t("KeyAction",{attrs:{"no-iframe-allowed":!0,text:e.$t("actions.extend")},on:{click:function(t){return e.openPopUp(e.accountTrialExtendPayload)}}}):e._e(),t("li",{staticClass:"my-8px mx-12px"},[t("hr",{staticClass:"w-full h-2px bg-gradient-to-r from-red to-orange shadow-none border-none rounded-none"})])]:e._e(),!e.hideMyServers&&e.registered||e.pirateKey||e.stateData.error.message||e.errorTooManyDisks||e.myServersOutOfDate.enabled||e.plgInstallFailed||e.deprecatedUnraidSSL?[t("MyServers",{attrs:{hideMyServers:e.hideMyServers,errorStateMessageVisible:e.errorStateMessageVisible,hideotherservers:e.hideotherservers},on:{"contact-support":function(t){return e.openPopUp(e.accountTroubleshootPayload)},"toggle-error":function(t){e.errorStateMessageVisible=!e.errorStateMessageVisible}}})]:e._e(),e._l(e.extraLinks,(function(r,n){return[r.url?t("li",{key:n},[t("a",{staticClass:"flex flex-row items-center",class:{"btn-emphasize":r.emphasize},attrs:{href:r.url,target:r.external?"_blank":"",rel:r.external?"noopener noreferrer":"",title:r.title}},[r.external?t("UnraidSvgUtilNewWindow",{staticClass:"flex-shrink-0 fill-current w-12px h-12px mr-8px"}):e._e(),r.settings?t("UnraidSvgUtilEdit",{staticClass:"flex-shrink-0 fill-current w-12px h-12px mr-8px"}):e._e(),r.info?t("UnraidSvgUtilInfo",{staticClass:"flex-shrink-0 fill-current w-12px h-12px mr-8px"}):e._e(),e._v(" "+e._s(r.text)+" ")],1)]):t("div",{key:n+"_else",staticClass:"mx-12px"},[t("hr",{staticClass:"w-full h-2px my-8px bg-gradient-to-r from-red to-orange shadow-none border-none rounded-none"})])]})),e.hideMyServers?t("li",[t("button",{staticClass:"group flex flex-row items-center justify-between",attrs:{title:"Enhance your experience with Connect"},on:{click:function(t){return e.togglePromo()}}},[t("span",{staticClass:"inline-flex flex-row items-center"},[t("UnraidSvgUtilInfo",{staticClass:"flex-shrink-0 fill-current w-12px h-12px mr-8px"}),t("span",[e._v(" "+e._s("Enhance your experience with Connect")+" "),t("ui-beta",{staticClass:"inline-block transform scale-90 opacity-70",attrs:{colorClasses:"text-beta border-beta group-hover:text-white group-focus:text-white group-hover:border-white group-focus:border-white"}})],1)],1)])]):[e.registered&&!e.plgInstallFailed?t("li",[e.iframeUrl?t("a",{staticClass:"group flex flex-row items-center justify-between",attrs:{href:e.iframeUrl,target:"_blank",rel:"noopener noreferrer",title:"Open server webGUI in new tab to Sign Out"}},[t("span",{staticClass:"inline-flex flex-row items-center"},[t("UnraidSvgUtilLogout",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s("Sign Out (new tab)")+" ")],1),t("UnraidSvgUtilNewWindow",{staticClass:"text-white opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1):t("button",{staticClass:"group flex flex-row items-center justify-between",attrs:{title:e.$t("upc.opensNewHttpsWindow.base",[e.$t("actions.signOutUnraidNet")])},on:{click:function(t){return e.openPopUp(e.accountUnregisterPayload)}}},[t("span",{staticClass:"inline-flex flex-row items-center"},[t("UnraidSvgUtilLogout",{staticClass:"fill-current w-12px h-12px mr-8px"}),e._v(" "+e._s(e.$t("actions.signOutUnraidNet"))+" ")],1),t("UnraidSvgUtilNewWindow",{staticClass:"text-white opacity-0 group-hover:opacity-100 transition-opacity duration-200 ease-in-out fill-current w-12px h-12px ml-8px"})],1)]):e._e()]],2)])])],1)])],1)}),[],!1,(function(e){var t=r("bf7e");t.__inject__&&t.__inject__(e)}),null,null,!0).exports;var Li=v({i18n:me,store:Oo,name:"WanIpCheck",props:{phpWanIp:{type:String,default:""}},computed:{...Object(b.e)(["wanip","site"]),...Object(b.c)(["isRemoteAccess"]),loading(){return!this.wanip}},methods:{...Object(b.b)(["getWanIp"])},created(){Xe.debug("[🍣 WanIpCheck 🍣]"),this.wanip||this.getWanIp()}},(function(){var e=this,t=e._self._c;return t("transition",{attrs:{appear:"",name:"fade",mode:"out-in"}},[e.loading?t("span",{domProps:{innerHTML:e._s(e.$t("wanIpCheck.checking")+"…")}}):[e.phpWanIp?[e.isRemoteAccess?t("span",{domProps:{innerHTML:e._s(e.$t("wanIpCheck.match",[e.phpWanIp]))}}):e.phpWanIp!==e.wanip||e.isRemoteAccess?t("span",{staticClass:"mismatch",domProps:{innerHTML:e._s(e.$t("wanIpCheck.mismatch",[e.phpWanIp,e.wanip]))}}):t("span",{domProps:{innerHTML:e._s(e.$t("wanIpCheck.match",[e.wanip]))}})]:t("span",{staticClass:"error",domProps:{innerHTML:e._s(e.$t("wanIpCheck.resolveError"))}})]],2)}),[],!1,(function(e){var t=r("96ce");t.__inject__&&t.__inject__(e)}),"581dcad3",null,!0).exports;window.customElements.define("unraid-api-logs",g(i.default,Ro)),window.customElements.define("unraid-authed",g(i.default,Io)),window.customElements.define("unraid-event-status",g(i.default,zo)),window.customElements.define("unraid-launchpad",g(i.default,ri)),window.customElements.define("unraid-promo",g(i.default,oi)),window.customElements.define("unraid-upc-trigger",g(i.default,ii)),window.customElements.define("unraid-user-profile",g(i.default,Mi)),window.customElements.define("unraid-wan-ip-check",g(i.default,Li))},"5b69":function(e,t,r){var n=r("ec56");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=r("35d6").default;e.exports.__inject__=function(e){o("2f85bce8",n,e)}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5d74":function(e,t,r){e.exports={options:{},ssr:function(e,t){var r=e.data,n=r.attrs,o=n.symbol,i=n.size,a=this.getAttributes(i);a&&(r.attrs=Object.assign({},r.attrs,a)),i&&delete r.attrs.size,o&&delete r.attrs.symbol;var s=r.class,c=r.staticClass||"";c+=s?Object.keys(s).join(" "):"",this.hasClass(c)||(r.staticClass=r.staticClass?r.staticClass+" "+this.options.class:this.options.class);var l=e.context.$createElement("use",{attrs:{href:this.getHref(o)}});Array.isArray(e.children)?e.children.push(l):e.children=[l]},install:function(e,t){void 0===t&&(t={}),this.options.class=t.class||"icon",this.options.url=void 0===t.url?"/assets/svg/sprite.svg":t.url;var r=this;e.directive("svg",{bind:function(e,t,n){var o=t.value||n.data.attrs.symbol,i=n.data.attrs&&n.data.attrs.size,a=r.getAttributes(i);a&&(e.setAttribute("viewBox",a.viewBox),e.setAttribute("width",a.width),e.setAttribute("height",a.height)),o&&e.removeAttribute("symbol"),i&&e.removeAttribute("size");var s=e.getAttribute("class");if(r.hasClass(s)||e.setAttribute("class",s?s+" "+r.options.class:r.options.class),!e||null===e.querySelector("use")){var c=document.createElementNS("http://www.w3.org/2000/svg","use"),l=r.getHref(o);c.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l),c.setAttribute("href",l),e.appendChild(c)}},update:function(e,t,n){var o=r.getHref(t.value||n.data.attrs.symbol),i=e&&e.querySelector("use");if(i){if(i.getAttribute("href")===o)return!1;var a=document.createElementNS("http://www.w3.org/2000/svg","use");a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o),a.setAttribute("href",o),e.replaceChild(a,i)}}})},getAttributes:function(e){if(!e)return null;var t=e.toString().replace(/( |, |,)/g," ").split(" "),r=t.length;if(3===r||r>4)return console.warn('[vue-svg-sprite] size: "'+e+'" is not valid'),null;var n=[];n[0]=r<4?0:t[0],n[1]=r<4?0:t[1];var o=n[2]=r<4?t[0]:t[2];return{height:n[3]=t[r-1],viewBox:n.join(" "),width:o}},hasClass:function(e){var t=this.options.class;return!!e&&e.split(" ").some((function(e){var r=e.split(/(-|_)/)[0];return-1!==r.indexOf(t)&&r.length===t.length}))},getHref:function(e){return""===this.options.url?"#"+e:this.options.url+"#"+e}}},"5e77":function(e,t,r){var n=r("83ab"),o=r("1a2d"),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,l=s&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:l}},"5f3a":function(e,t,r){(t=r("24fb")(!1)).push([e.i,".mismatch[data-v-581dcad3]{display:inline-block;width:50%;white-space:normal}.error[data-v-581dcad3]{color:#e22828;font-weight:600}",""]),e.exports=t},"605d":function(e,t,r){(function(t){var n=r("c6b6");e.exports=void 0!==t&&"process"==n(t)}).call(this,r("4362"))},"61bb":function(e,t,r){const{MAX_LENGTH:n}=r("fe45"),{re:o,t:i}=r("22c0"),a=r("df02"),s=r("e12f");e.exports=(e,t)=>{if(t=s(t),e instanceof a)return e;if("string"!=typeof e)return null;if(e.length>n)return null;if(!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new a(e,t)}catch(e){return null}}},6210:function(e,t,r){e.exports=function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function n(e,t,n){var o=r[n];return Array.isArray(o)&&(o=o[t?0:1]),o.replace("%d",e)}var o={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n}};return t.default.locale(o,null,!0),o}(r("5a0c"))},"626e":function(e,t,r){"use strict";var n=[/passw(or)?d/i,/^pw$/,/^pass$/i,/secret/i,/token/i,/api[-._]?key/i,/session[-._]?id/i,/^connect\.sid$/],o=[/^\d{4}[- ]?\d{4}[- ]?\d{4}[- ]?\d{4}$/];t.key=function(e){return n.some((function(t){return t.test(e)}))},t.value=function(e){return o.some((function(t){return t.test(e)}))}},"633a":function(e,t,r){"use strict";(function(e){var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0){var s=t.shift();s&&s.applyMiddleware.apply(o,[e,i])}else r(e)};i()}(a(t.middlewares),t)}))},e.prototype.use=function(e){var t=this;return e.map((function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)})),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise((function(t,r){if("function"==typeof e)try{return t(e.call(null))}catch(e){return r(e)}t(e)}))}},e.prototype.executeOperation=function(e,t){var r=this;null===this.client&&this.connect();var n=this.generateOperationId();return this.operations[n]={options:e,handler:t},this.applyMiddlewares(e).then((function(e){r.checkOperationOptions(e,t),r.operations[n]&&(r.operations[n]={options:e,handler:t},r.sendMessage(n,b.default.GQL_START,e))})).catch((function(e){r.unsubscribe(n),t(r.formatErrors(e))})),n},e.prototype.getObserver=function(e,t,r){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return r&&r()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.minWsTimeout,t=this.wsTimeout;return new l({min:e,max:t,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout((function(){0===Object.keys(e.operations).length&&e.close()}),this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var r=e.query,n=e.variables,o=e.operationName;if(!r)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!p.default(r)&&!h.getOperationAST(r,o)||o&&!p.default(o)||n&&!d.default(n))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,r){return{id:e,type:t,payload:r&&r.query?n(n({},r),{query:"string"==typeof r.query?r.query:f.print(r.query)}):r}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,r){this.sendMessageRaw(this.buildMessage(e,t,r))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(t){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach((function(t){e.unsentMessagesQueue.push(e.buildMessage(t,b.default.GQL_START,e.operations[t].options))})),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout((function(){e.connect()}),t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach((function(t){e.sendMessageRaw(t)})),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout((function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))}),this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e,t=this;this.client=new((e=this.wsImpl).bind.apply(e,a([void 0,this.url,this.wsProtocols],this.wsOptionArguments))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return o(t,void 0,void 0,(function(){var e,t;return i(this,(function(r){switch(r.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=r.sent(),this.sendMessage(void 0,b.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=r.sent(),this.sendMessage(void 0,b.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}}))}))},this.client.onclose=function(){t.closedByUser||t.close(!1,!1)},this.client.onerror=function(e){t.eventEmitter.emit("error",e)},this.client.onmessage=function(e){var r=e.data;t.processReceivedData(r)}},e.prototype.processReceivedData=function(e){var t,r;try{r=(t=JSON.parse(e)).id}catch(t){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[b.default.GQL_DATA,b.default.GQL_COMPLETE,b.default.GQL_ERROR].indexOf(t.type)||this.operations[r])switch(t.type){case b.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case b.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected",t.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case b.default.GQL_COMPLETE:var o=this.operations[r].handler;delete this.operations[r],o.call(this,null,null);break;case b.default.GQL_ERROR:this.operations[r].handler(this.formatErrors(t.payload),null),delete this.operations[r];break;case b.default.GQL_DATA:var i=t.payload.errors?n(n({},t.payload),{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[r].handler(null,i);break;case b.default.GQL_CONNECTION_KEEP_ALIVE:var a=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,a&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(r)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,b.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=y}).call(this,r("c8ba"))},6374:function(e,t,r){var n=r("da84"),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},6591:function(e,t,r){"use strict";r.r(t);var n=r("0764");for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o)},6981:function(e,t,r){
+/*!
+ * clipboard.js v2.0.11
+ * https://clipboardjs.com/
+ *
+ * Licensed MIT © Zeno Rocha
+ */
+e.exports=function(){return t={686:function(e,t,r){"use strict";r.d(t,{default:function(){return g}}),t=r(279);var n=r.n(t),o=(t=r(370),r.n(t)),i=(t=r(817),r.n(t));function a(e){try{return document.execCommand(e)}catch(e){return}}var s=function(e){return e=i()(e),a("cut"),e};function c(e,t){var r,n;return r=e,n="rtl"===document.documentElement.getAttribute("dir"),(e=document.createElement("textarea")).style.fontSize="12pt",e.style.border="0",e.style.padding="0",e.style.margin="0",e.style.position="absolute",e.style[n?"right":"left"]="-9999px",n=window.pageYOffset||document.documentElement.scrollTop,e.style.top="".concat(n,"px"),e.setAttribute("readonly",""),e.value=r,e=e,t.container.appendChild(e),t=i()(e),a("copy"),e.remove(),t}var l=function(e){var t=1n(e,t,r)<=0},"6f19":function(e,t,r){var n=r("9112"),o=r("0d26"),i=r("b980"),a=Error.captureStackTrace;e.exports=function(e,t,r,s){i&&(a?a(e,t):n(e,"stack",o(r,s)))}},7156:function(e,t,r){var n=r("1626"),o=r("861d"),i=r("d2bb");e.exports=function(e,t,r){var a,s;return i&&n(a=t.constructor)&&a!==r&&o(s=a.prototype)&&s!==r.prototype&&i(e,s),e}},7234:function(e,t){e.exports=function(e){return null==e}},"73c6":function(e,t){e.exports={functional:!0,render(e,t){const{_c:r,_v:n,data:o,children:i=[]}=t,{class:a,staticClass:s,style:c,staticStyle:l,attrs:u={},...p}=o;return r("svg",{class:[a,s],style:[c,l],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},u),...p},i.concat([r("path",{attrs:{d:"M8.763 5.447c-.024-.044.228-.068.272-.068.05.006-.13.302-.272.068zM7.328 3.4l.072-.02c.043.036-.048.063-.034.09.057.104.014.166.005.222-.009.056-.069.032-.099.062-.035.044.172.05.175.056.007.022-.25.06-.203.114.064.091.55-.13.472-.117.15-.075.02-.083-.065-.127-.028-.143-.052-.364-.142-.453l.059-.068c-.137-.2-.24.241-.24.241zM16 8A8 8 0 110 8a8 8 0 0116 0zm-5.54-3.58c-.004-.098-.127-.19-.255-.021-.09.116-.074.292-.122.371-.07.117.378.226.378.116.016-.185.488-.042.58-.017.165.046.428-.15.14-.254-.236-.086-.361-.179-.382-.348 0 0 .125-.118.07-.111-.145.018-.409.524-.409.263zM14.657 8c0-.69-.118-1.387-.238-1.755a.408.408 0 00-.239-.252c-.17-.066-.891.398-1 .17-.071-.153-.216.097-.381.005-.08-.044-.303-.343-.404-.307-.206.074.316.643.459.718.134-.102.568-.31.661-.026.179.536-.491 1.124-.834 1.433-.512.463-.416-.3-.764-.568-.184-.14-.182-.44-.367-.543-.083-.047-.462-.484-.459-.542l-.011.11c-.063.048-.196-.178-.21-.214 0 .197.32.51.426.668.18.27.277.663.499.884.118.118.572.609.69.598.128-.011.535-.305.607-.288.43.101-1.01 2.136-1.147 2.388-.113.212.092.734.075.984-.02.289-.247.382-.462.54-.23.168-.177.496-.37.616-.345.212-.593.902-1.083.899-.144 0-.76.24-.84.005-.063-.171-.147-.3-.236-.469-.086-.165-.01-.337-.115-.483-.073-.101-.317-.331-.339-.451-.001-.103.078-.417.187-.472.153-.078.03-.305.01-.437-.031-.236-.177-.431-.353-.568-.259-.199-.125-.358-.064-.642 0-.136-.083-.315-.266-.262-.376.11-.262-.293-.536-.275-.197.014-.358.14-.542.195-.23.069-.466-.055-.694-.084-.938-.118-1.244-1.19-1-1.964.025-.126-.076-.361-.032-.459.106-.235.32-.498.508-.676.106-.1.241-.075.365-.153.191-.12.194-.368.381-.52.267-.217.631-.212.979-.259.185-.025.89-.177 1.002-.04 0 .025.127.403-.013.381.289.016.7.5.974.386.141-.058.09-.49.378-.282.175.126.958.182 1.12.046.1-.082.156-.62.035-.68.077.076-.407.082-.453.065-.08-.03-.154.076-.283.017.077.036-.43-.236-.145-.445-.12.087-.231-.025-.36.071-.088.072.042.12-.085.183-.201.102-.353-.35-.43-.401-.077-.051-.675-.471-.513-.197l.526.523c-.026.017-.138-.19-.138-.039.036-.09.014.386-.069.231-.037-.059.06-.092.004-.178 0-.057-.152-.112-.181-.151-.084-.103-.305-.331-.425-.386-.033-.015-.51.058-.55.073a1.186 1.186 0 00-.119.208 1.346 1.346 0 00-.279.142l-.105.236c-.045.04-.51.194-.512.2.019-.05-.325-.114-.302-.214.025-.11.142-.454.112-.579-.032-.131.716.19.764-.157.019-.15.03-.324-.209-.35.045.006.463-.164.533-.24.097-.112.32-.294.482-.294.19 0 .149-.276.236-.41.088.035-.046.25.058.338-.006-.069.297.038.326.022.07-.036.456-.015.396-.196-.066-.185.034-.13.121-.169-.015.006.227-.413.268-.275-.029-.142-.28.049-.369.042-.203-.016-.117-.347-.04-.444.059-.076-.162-.17-.165-.024-.004.22-.208.418-.16.71.071.439-.49-.106-.54-.076-.187.113-.34-.143-.243-.296.099-.157.337-.15.435-.318.07-.118.15-.256.257-.346.356-.3.455-.06.81-.028.348.032.118.083.07.216-.046.127.19.172.272.066.047-.061.153-.215.199-.329.06-.148.6-.131.223-.357-.25-.149-1.336-.448-2.064-.448-.158 0-.268.175-.388.274-.237.197-.845.583-1.183.466-.346-.12-1.087.44-1.205.444-.044.002.002-.423.238-.454-.102.015.832-.472.806-.573-.03-.12-1.866.548-1.784.682.04.061.2.061-.01.196-.12.073-.248.534-.361.534-.337.147-.358-.29-.733.273l-.596.24a6.64 6.64 0 00-1.72 3.455c-.008.053.223.15.253.187.075.089.075.474.111.6.092.319.32.496.494.786.102.173.273.61.219.791.072-.119.713.543.83.681.277.325.49.718.041 1.04-.144.104.22.752.032.912l-.24.062c-.238.146-.13.504.014.654A6.66 6.66 0 0014.658 8zM6.986 3.762c.083-.037.195-.035.207-.147.01-.098.03-.03.054-.066.023-.036-.045-.092-.074-.098-.042-.009-.072.046-.099.07l-.048.012-.045.058.005.032-.058.071c-.057.056.001.093.058.068z"}})]))}}},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"743c":function(e,t,r){(t=r("24fb")(!1)).push([e.i,"/*! tailwindcss v2.2.17 | MIT License | https://tailwindcss.com */\n\n/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */html{-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}button{background-color:transparent;background-image:none}fieldset,ol,ul{margin:0;padding:0}ol,ul{list-style:none}html{font-family:nudista-web,-apple-system,BlinkMacSystemFont,“Segoe UI”,Roboto,Helvetica,Arial,sans-serif;line-height:1.5}body{font-family:inherit;line-height:inherit}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{opacity:1;color:#a1a1aa}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#a1a1aa}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#a1a1aa}input::-ms-input-placeholder,textarea::-ms-input-placeholder{opacity:1;color:#a1a1aa}input::placeholder,textarea::placeholder{opacity:1;color:#a1a1aa}button{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}code,kbd,pre,samp{font-family:fira-mono,monospace}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:after,:before{--tw-border-opacity:1;border-color:rgba(218,225,231,var(--tw-border-opacity))}.prose{line-height:1.25}.prose p,.prose ul{margin:8px 0}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.top-0{top:0}.right-0{right:0}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.m-0{margin:0}.m-auto{margin:auto}.m-8px{margin:8px}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.mx-8px{margin-left:8px;margin-right:8px}.mx-12px{margin-left:12px;margin-right:12px}.my-0{margin-top:0;margin-bottom:0}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.my-8px{margin-top:8px;margin-bottom:8px}.my-16px{margin-top:16px;margin-bottom:16px}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-4px{margin-top:4px}.mt-8px{margin-top:8px}.mt-12px{margin-top:12px}.mt-16px{margin-top:16px}.mt-90px{margin-top:90px}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-8px{margin-right:8px}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-4px{margin-bottom:4px}.mb-8px{margin-bottom:8px}.ml-4{margin-left:1rem}.ml-4px{margin-left:4px}.ml-6px{margin-left:6px}.ml-8px{margin-left:8px}.ml-12px{margin-left:12px}.ml-16px{margin-left:16px}.block{display:block}.inline-block{display:inline-block}.flex{display:-webkit-box;display:-ms-flexbox;display:flex}.inline-flex{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.table{display:table}.hidden{display:none}.h-4{height:1rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.h-1px{height:1px}.h-2px{height:2px}.h-8px{height:8px}.h-12px{height:12px}.h-14px{height:14px}.h-24px{height:24px}.h-36px{height:36px}.w-4{width:1rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-7\\/20{width:35%}.w-13\\/20{width:65%}.w-full{width:100%}.w-2px{width:2px}.w-8px{width:8px}.w-12px{width:12px}.w-28px{width:28px}.w-36px{width:36px}.w-100px{width:100px}.min-w-310px{min-width:310px}.max-w-2xs{max-width:15rem}.max-w-xs{max-width:20rem}.max-w-lg{max-width:32rem}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-150px{max-width:150px}.max-w-160px{max-width:160px}.max-w-300px{max-width:300px}.max-w-640px{max-width:640px}.max-w-800px{max-width:800px}.flex-none{-webkit-box-flex:0;-ms-flex:none;flex:none}.flex-shrink-0{-ms-flex-negative:0;flex-shrink:0}.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;-webkit-transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-90{--tw-scale-x:.9;--tw-scale-y:.9}.focus\\:scale-110:focus,.hover\\:scale-110:hover{--tw-scale-x:1.1;--tw-scale-y:1.1}@-webkit-keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes ping{75%,to{-webkit-transform:scale(2);transform:scale(2);opacity:0}}@keyframes ping{75%,to{-webkit-transform:scale(2);transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,to{-webkit-transform:translateY(-25%);transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{-webkit-transform:none;transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes bounce{0%,to{-webkit-transform:translateY(-25%);transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{-webkit-transform:none;transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}.cursor-pointer{cursor:pointer}.cursor-not-allowed{cursor:not-allowed}.select-all{-webkit-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all}.list-disc{list-style-type:disc}.list-decimal{list-style-type:decimal}.flex-row{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.flex-col,.flex-row{-webkit-box-direction:normal}.flex-col{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.flex-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.items-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.items-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.items-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.items-baseline{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}.justify-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.justify-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.justify-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.justify-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.gap-y-4{row-gap:1rem}.gap-y-6{row-gap:1.5rem}.gap-y-4px{row-gap:4px}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem*var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-y-scroll{overflow-y:scroll}.whitespace-normal{white-space:normal}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-full{border-radius:9999px}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.border-2{border-width:2px}.border{border-width:1px}.border-t-0{border-top-width:0}.border-r-0{border-right-width:0}.border-r-2{border-right-width:2px}.border-b-2{border-bottom-width:2px}.border-l-0{border-left-width:0}.border-none{border-style:none}.border-transparent{border-color:transparent}.border-grey-darkest{--tw-border-opacity:1;border-color:rgba(34,34,34,var(--tw-border-opacity))}.border-grey-mid{--tw-border-opacity:1;border-color:rgba(153,153,153,var(--tw-border-opacity))}.border-grey-light{--tw-border-opacity:1;border-color:rgba(218,225,231,var(--tw-border-opacity))}.border-grey-lighter{--tw-border-opacity:1;border-color:rgba(241,245,248,var(--tw-border-opacity))}.border-orange-dark{--tw-border-opacity:1;border-color:rgba(241,90,44,var(--tw-border-opacity))}.border-red{--tw-border-opacity:1;border-color:rgba(226,40,40,var(--tw-border-opacity))}.border-beta{border-color:var(--color-beta)}.focus\\:border-orange-dark:focus,.hover\\:border-orange-dark:hover{--tw-border-opacity:1;border-color:rgba(241,90,44,var(--tw-border-opacity))}.group:focus .group-focus\\:border-white{--tw-border-opacity:1;border-color:rgba(255,255,255,var(--tw-border-opacity))}.group:focus .group-focus\\:border-orange-dark{--tw-border-opacity:1;border-color:rgba(241,90,44,var(--tw-border-opacity))}.group:hover .group-hover\\:border-white{--tw-border-opacity:1;border-color:rgba(255,255,255,var(--tw-border-opacity))}.group:hover .group-hover\\:border-orange-dark{--tw-border-opacity:1;border-color:rgba(241,90,44,var(--tw-border-opacity))}@media (prefers-color-scheme:dark){.dark\\:border-grey-dark{--tw-border-opacity:1;border-color:rgba(56,55,53,var(--tw-border-opacity))}}.bg-transparent{background-color:transparent}.bg-black{--tw-bg-opacity:1;background-color:rgba(28,27,27,var(--tw-bg-opacity))}.bg-grey-darker{--tw-bg-opacity:1;background-color:rgba(96,111,123,var(--tw-bg-opacity))}.bg-grey-mid{--tw-bg-opacity:1;background-color:rgba(153,153,153,var(--tw-bg-opacity))}.bg-grey{--tw-bg-opacity:1;background-color:rgba(224,224,224,var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.bg-orange{--tw-bg-opacity:1;background-color:rgba(255,140,47,var(--tw-bg-opacity))}.bg-red{--tw-bg-opacity:1;background-color:rgba(226,40,40,var(--tw-bg-opacity))}.bg-green{--tw-bg-opacity:1;background-color:rgba(0,153,0,var(--tw-bg-opacity))}.bg-alpha{background-color:var(--color-alpha)}.bg-beta{background-color:var(--color-beta)}@media (prefers-color-scheme:dark){.dark\\:bg-black{--tw-bg-opacity:1;background-color:rgba(28,27,27,var(--tw-bg-opacity))}.dark\\:bg-grey-dark{--tw-bg-opacity:1;background-color:rgba(56,55,53,var(--tw-bg-opacity))}.dark\\:bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}}.bg-gradient-to-r{background-image:-webkit-gradient(linear,left top,right top,from(var(--tw-gradient-stops)));background-image:linear-gradient(90deg,var(--tw-gradient-stops))}@media (prefers-color-scheme:dark){.dark\\:bg-gradient-to-b{background-image:-webkit-gradient(linear,left top,left bottom,from(var(--tw-gradient-stops)));background-image:linear-gradient(180deg,var(--tw-gradient-stops))}}.from-red{--tw-gradient-from:#e22828;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(226,40,40,0))}@media (prefers-color-scheme:dark){.dark\\:from-black{--tw-gradient-from:#1c1b1b;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(28,27,27,0))}.dark\\:from-grey-darkest{--tw-gradient-from:#222;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(34,34,34,0))}}.to-orange{--tw-gradient-to:#ff8c2f}@media (prefers-color-scheme:dark){.dark\\:to-black{--tw-gradient-to:#1c1b1b}}.fill-current{fill:currentColor}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8px{padding:8px}.p-24px{padding:24px}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-4px{padding-left:4px;padding-right:4px}.px-6px{padding-left:6px;padding-right:6px}.px-8px{padding-left:8px;padding-right:8px}.px-12px{padding-left:12px;padding-right:12px}.px-16px{padding-left:16px;padding-right:16px}.px-24px{padding-left:24px;padding-right:24px}.py-0{padding-top:0;padding-bottom:0}.py-4{padding-top:1rem;padding-bottom:1rem}.py-2px{padding-top:2px;padding-bottom:2px}.py-4px{padding-top:4px;padding-bottom:4px}.py-8px{padding-top:8px;padding-bottom:8px}.py-16px{padding-top:16px;padding-bottom:16px}.pt-4px{padding-top:4px}.pt-16px{padding-top:16px}.pr-2{padding-right:.5rem}.pr-6{padding-right:1.5rem}.pr-12px{padding-right:12px}.pr-16px{padding-right:16px}.pl-4{padding-left:1rem}.pl-12px{padding-left:12px}.pl-80px{padding-left:80px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-sans{font-family:nudista-web,-apple-system,BlinkMacSystemFont,“Segoe UI”,Roboto,Helvetica,Arial,sans-serif}.font-mono{font-family:fira-mono,monospace}.text-xs{font-size:.75rem}.text-sm{font-size:.875rem}.text-lg{font-size:1.125rem}.text-2xl{font-size:1.5rem}.text-3xl{font-size:1.875rem}.text-10px{font-size:10px}.text-12px{font-size:12px}.text-14px{font-size:14px}.text-16px{font-size:16px}.text-18px{font-size:18px}.text-20px{font-size:20px}.text-24px{font-size:24px}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-8{line-height:2rem}.leading-none{line-height:1}.leading-tight{line-height:1.25}.leading-normal{line-height:1.5}.tracking-wide{letter-spacing:.025em}.text-black{--tw-text-opacity:1;color:rgba(28,27,27,var(--tw-text-opacity))}.text-grey-darker{--tw-text-opacity:1;color:rgba(96,111,123,var(--tw-text-opacity))}.text-grey-dark{--tw-text-opacity:1;color:rgba(56,55,53,var(--tw-text-opacity))}.text-grey-mid{--tw-text-opacity:1;color:rgba(153,153,153,var(--tw-text-opacity))}.text-grey-lightest{--tw-text-opacity:1;color:rgba(242,242,242,var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.text-orange-dark{--tw-text-opacity:1;color:rgba(241,90,44,var(--tw-text-opacity))}.text-orange{--tw-text-opacity:1;color:rgba(255,140,47,var(--tw-text-opacity))}.text-red{--tw-text-opacity:1;color:rgba(226,40,40,var(--tw-text-opacity))}.text-alpha{color:var(--color-alpha)}.text-beta{color:var(--color-beta)}.text-gamma{color:var(--color-gamma)}.hover\\:text-white:hover{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.hover\\:text-orange-dark:hover{--tw-text-opacity:1;color:rgba(241,90,44,var(--tw-text-opacity))}.hover\\:text-orange:hover{--tw-text-opacity:1;color:rgba(255,140,47,var(--tw-text-opacity))}.hover\\:text-alpha:hover{color:var(--color-alpha)}.focus\\:text-white:focus{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.focus\\:text-orange-dark:focus{--tw-text-opacity:1;color:rgba(241,90,44,var(--tw-text-opacity))}.focus\\:text-orange:focus{--tw-text-opacity:1;color:rgba(255,140,47,var(--tw-text-opacity))}.focus\\:text-alpha:focus{color:var(--color-alpha)}.group:focus .group-focus\\:text-white,.group:hover .group-hover\\:text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}@media (prefers-color-scheme:dark){.dark\\:text-black{--tw-text-opacity:1;color:rgba(28,27,27,var(--tw-text-opacity))}.dark\\:text-grey{--tw-text-opacity:1;color:rgba(224,224,224,var(--tw-text-opacity))}.dark\\:text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}}.hover\\:underline:hover,.underline{text-decoration:underline}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.focus\\:opacity-100:focus,.group:hover .group-hover\\:opacity-100,.hover\\:opacity-100:hover,.opacity-100{opacity:1}*,:after,:before{--tw-shadow:0 0 transparent}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06)}.shadow,.shadow-md{-webkit-box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05)}.shadow-lg,.shadow-none{-webkit-box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 transparent}.focus\\:outline-none:focus,.outline-none{outline:2px solid transparent;outline-offset:2px}*,:after,:before{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,0.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent}.filter{--tw-blur:var(--tw-empty,/*!*/ /*!*/);--tw-brightness:var(--tw-empty,/*!*/ /*!*/);--tw-contrast:var(--tw-empty,/*!*/ /*!*/);--tw-grayscale:var(--tw-empty,/*!*/ /*!*/);--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/);--tw-invert:var(--tw-empty,/*!*/ /*!*/);--tw-saturate:var(--tw-empty,/*!*/ /*!*/);--tw-sepia:var(--tw-empty,/*!*/ /*!*/);--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur{--tw-blur:blur(8px)}.transition-all{-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.15s;transition-duration:.15s}.transition{-webkit-transition-property:background-color,border-color,color,fill,stroke,opacity,-webkit-box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,-webkit-box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.15s;transition-duration:.15s}.transition-colors{-webkit-transition-property:background-color,border-color,color,fill,stroke;transition-property:background-color,border-color,color,fill,stroke;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.15s;transition-duration:.15s}.transition-opacity{-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-150,.transition-opacity{-webkit-transition-duration:.15s;transition-duration:.15s}.duration-200{-webkit-transition-duration:.2s;transition-duration:.2s}.ease-in-out{-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.button{--tw-text-opacity:1;color:rgba(255,140,47,var(--tw-text-opacity));font-weight:600;line-height:1;text-transform:uppercase;letter-spacing:.025em;text-align:center;text-decoration:none;background-color:transparent;font-size:14px;padding-left:16px;padding-right:16px;padding-top:12px;padding-bottom:12px;background:-webkit-gradient(linear,left top,right top,from(#e03237),to(#fd8c3c)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,from(#e03237),to(#fd8c3c)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#e03237),to(#e03237)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#fd8c3c),to(#fd8c3c)) 100% 100% no-repeat;background:linear-gradient(90deg,#e03237 0,#fd8c3c) 0 0 no-repeat,linear-gradient(90deg,#e03237 0,#fd8c3c) 0 100% no-repeat,linear-gradient(0deg,#e03237 0,#e03237) 0 100% no-repeat,linear-gradient(0deg,#fd8c3c 0,#fd8c3c) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%;border:0}.button:active{-webkit-transform:scale(.975);transform:scale(.975)}.button:disabled{opacity:.5;cursor:not-allowed}.button:focus,.button:hover{-webkit-box-shadow:0;box-shadow:0}.button-alt,.button:focus,.button:hover{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f));background:linear-gradient(90deg,#e22828 0,#ff8c2f)}.button-alt{font-weight:600;line-height:1;text-transform:uppercase;letter-spacing:.025em;text-align:center;text-decoration:none;display:inline-block;border-radius:.125rem;-webkit-transition:none;transition:none}.button-alt:active{-webkit-transform:scale(.975);transform:scale(.975)}.button-alt:disabled{opacity:.5;cursor:not-allowed}.button-alt:focus,.button-alt:hover{background-color:transparent;--tw-text-opacity:1;color:rgba(255,140,47,var(--tw-text-opacity));background:-webkit-gradient(linear,left top,right top,from(#e03237),to(#fd8c3c)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,from(#e03237),to(#fd8c3c)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#e03237),to(#e03237)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#fd8c3c),to(#fd8c3c)) 100% 100% no-repeat;background:linear-gradient(90deg,#e03237 0,#fd8c3c) 0 0 no-repeat,linear-gradient(90deg,#e03237 0,#fd8c3c) 0 100% no-repeat,linear-gradient(0deg,#e03237 0,#e03237) 0 100% no-repeat,linear-gradient(0deg,#fd8c3c 0,#fd8c3c) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%;border:0;-webkit-box-shadow:0;box-shadow:0}.button-fine-error{border-radius:.125rem;background-color:transparent;text-decoration:underline}.button-fine-error:focus,.button-fine-error:hover{--tw-bg-opacity:1;background-color:rgba(226,40,40,var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));text-decoration:none}.fade-enter-active,.fade-leave-active{-webkit-transition:opacity .15s ease-out;transition:opacity .15s ease-out}.fade-enter,.fade-leave-to{opacity:0}@media (prefers-reduced-motion){*{-webkit-transition-duration:0!important;transition-duration:0!important}}[v-cloak]{display:none}@media (min-width:576px){.sm\\:order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.sm\\:order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.sm\\:mb-0{margin-bottom:0}.sm\\:block{display:block}.sm\\:w-auto{width:auto}.sm\\:w-1\\/2{width:50%}.sm\\:max-w-200px{max-width:200px}.sm\\:max-w-11rem{max-width:11rem}.sm\\:flex-nowrap{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.sm\\:justify-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.sm\\:p-32px{padding:32px}.sm\\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}}@media (min-width:768px){.md\\:h-12{height:3rem}.md\\:w-12{width:3rem}.md\\:p-8{padding:2rem}.md\\:p-32px{padding:32px}.md\\:text-30px{font-size:30px}}@media (min-width:1024px){.lg\\:max-w-xl{max-width:36rem}.lg\\:px-10{padding-left:2.5rem;padding-right:2.5rem}.lg\\:px-40px{padding-left:40px;padding-right:40px}}@media (min-width:1450px){.xxl\\:text-18px{font-size:18px}}",""]),e.exports=t},7506:function(e,t,r){"use strict";r.r(t),r.d(t,"print",(function(){return i}));var n=r("2f6c"),o=r("04b4");function i(e){return Object(n.b)(e,{leave:a})}var a={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return c(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,r=e.name,n=u("(",c(e.variableDefinitions,", "),")"),o=c(e.directives," "),i=e.selectionSet;return r||o||n||"query"!==t?c([t,c([r,n]),o,i]," "):i},VariableDefinition:function(e){var t=e.variable,r=e.type,n=e.defaultValue,o=e.directives;return t+": "+r+u(" = ",n)+u(" ",c(o," "))},SelectionSet:function(e){return l(e.selections)},Field:function(e){var t=e.alias,r=e.name,n=e.arguments,o=e.directives,i=e.selectionSet;return c([u("",t,": ")+r+u("(",c(n,", "),")"),c(o," "),i]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+u(" ",c(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,r=e.directives,n=e.selectionSet;return c(["...",u("on ",t),c(r," "),n]," ")},FragmentDefinition:function(e){var t=e.name,r=e.typeCondition,n=e.variableDefinitions,o=e.directives,i=e.selectionSet;return"fragment ".concat(t).concat(u("(",c(n,", "),")")," ")+"on ".concat(r," ").concat(u("",c(o," ")," "))+i},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var r=e.value;return e.block?Object(o.b)(r,"description"===t?"":" "):JSON.stringify(r)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+c(e.values,", ")+"]"},ObjectValue:function(e){return"{"+c(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+u("(",c(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:function(e){var t=e.directives,r=e.operationTypes;return c(["schema",c(t," "),l(r)]," ")},OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:s((function(e){return c(["scalar",e.name,c(e.directives," ")]," ")})),ObjectTypeDefinition:s((function(e){var t=e.name,r=e.interfaces,n=e.directives,o=e.fields;return c(["type",t,u("implements ",c(r," & ")),c(n," "),l(o)]," ")})),FieldDefinition:s((function(e){var t=e.name,r=e.arguments,n=e.type,o=e.directives;return t+(f(r)?u("(\n",p(c(r,"\n")),"\n)"):u("(",c(r,", "),")"))+": "+n+u(" ",c(o," "))})),InputValueDefinition:s((function(e){var t=e.name,r=e.type,n=e.defaultValue,o=e.directives;return c([t+": "+r,u("= ",n),c(o," ")]," ")})),InterfaceTypeDefinition:s((function(e){var t=e.name,r=e.directives,n=e.fields;return c(["interface",t,c(r," "),l(n)]," ")})),UnionTypeDefinition:s((function(e){var t=e.name,r=e.directives,n=e.types;return c(["union",t,c(r," "),n&&0!==n.length?"= "+c(n," | "):""]," ")})),EnumTypeDefinition:s((function(e){var t=e.name,r=e.directives,n=e.values;return c(["enum",t,c(r," "),l(n)]," ")})),EnumValueDefinition:s((function(e){return c([e.name,c(e.directives," ")]," ")})),InputObjectTypeDefinition:s((function(e){var t=e.name,r=e.directives,n=e.fields;return c(["input",t,c(r," "),l(n)]," ")})),DirectiveDefinition:s((function(e){var t=e.name,r=e.arguments,n=e.repeatable,o=e.locations;return"directive @"+t+(f(r)?u("(\n",p(c(r,"\n")),"\n)"):u("(",c(r,", "),")"))+(n?" repeatable":"")+" on "+c(o," | ")})),SchemaExtension:function(e){var t=e.directives,r=e.operationTypes;return c(["extend schema",c(t," "),l(r)]," ")},ScalarTypeExtension:function(e){return c(["extend scalar",e.name,c(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,o=e.fields;return c(["extend type",t,u("implements ",c(r," & ")),c(n," "),l(o)]," ")},InterfaceTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return c(["extend interface",t,c(r," "),l(n)]," ")},UnionTypeExtension:function(e){var t=e.name,r=e.directives,n=e.types;return c(["extend union",t,c(r," "),n&&0!==n.length?"= "+c(n," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,r=e.directives,n=e.values;return c(["extend enum",t,c(r," "),l(n)]," ")},InputObjectTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return c(["extend input",t,c(r," "),l(n)]," ")}};function s(e){return function(t){return c([t.description,e(t)],"\n")}}function c(e,t){return e?e.filter((function(e){return e})).join(t||""):""}function l(e){return e&&0!==e.length?"{\n"+p(c(e,"\n"))+"\n}":""}function u(e,t,r){return t?e+t+(r||""):""}function p(e){return e&&" "+e.replace(/\n/g,"\n ")}function d(e){return-1!==e.indexOf("\n")}function f(e){return e&&e.some(d)}},7540:function(e,t,r){"use strict";r.r(t);var n=r("26a7");for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o)},"76db":function(e,t,r){const n=r("f06c");e.exports=(e,t,r)=>0!==n(e,t,r)},7830:function(e,t,r){"use strict";r.r(t);var n=r("5b69");for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o)},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"786a":function(e,t,r){"use strict";function n(e){return Object.prototype.toString.call(e)}function o(e){return"[object Date]"===n(e)}function i(e){return"[object RegExp]"===n(e)}function a(e){return"[object Error]"===n(e)}function s(e){return"[object Boolean]"===n(e)}function c(e){return"[object Number]"===n(e)}function l(e){return"[object String]"===n(e)}var u=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function p(e,t){if(e.forEach)return e.forEach(t);for(var r=0;rthis.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter(e=>!h(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&m(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,r=o.get(t);if(r)return r;const n=this.options.loose,i=n?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE];e=e.replace(i,O(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],p),s("comparator trim",e);let c=(e=(e=(e=e.replace(l[u.TILDETRIM],d)).replace(l[u.CARETTRIM],f)).split(/\s+/).join(" ")).split(" ").map(e=>v(e,this.options)).join(" ").split(/\s+/).map(e=>T(e,this.options));n&&(c=c.filter(e=>(s("loose invalid filter",e,this.options),!!e.match(l[u.COMPARATORLOOSE])))),s("range list",c);const m=new Map,g=c.map(e=>new a(e,this.options));for(const e of g){if(h(e))return[e];m.set(e.value,e)}m.size>1&&m.has("")&&m.delete("");const b=[...m.values()];return o.set(t,b),b}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some(r=>g(r,t)&&e.set.some(e=>g(e,t)&&r.every(r=>e.every(e=>r.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,m=e=>""===e.value,g=(e,t)=>{let r=!0;const n=e.slice();let o=n.pop();for(;r&&n.length;)r=n.every(e=>o.intersects(e,t)),o=n.pop();return r},v=(e,t)=>(s("comp",e,t),e=x(e,t),s("caret",e),e=y(e,t),s("tildes",e),e=E(e,t),s("xrange",e),e=S(e,t),s("stars",e),e),b=e=>!e||"x"===e.toLowerCase()||"*"===e,y=(e,t)=>e.trim().split(/\s+/).map(e=>w(e,t)).join(" "),w=(e,t)=>{const r=t.loose?l[u.TILDELOOSE]:l[u.TILDE];return e.replace(r,(t,r,n,o,i)=>{let a;return s("tilde",e,t,r,n,o,i),b(r)?a="":b(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:b(o)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:i?(s("replaceTilde pr",i),a=`>=${r}.${n}.${o}-${i} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${o} <${r}.${+n+1}.0-0`,s("tilde return",a),a})},x=(e,t)=>e.trim().split(/\s+/).map(e=>_(e,t)).join(" "),_=(e,t)=>{s("caret",e,t);const r=t.loose?l[u.CARETLOOSE]:l[u.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,o,i,a)=>{let c;return s("caret",e,t,r,o,i,a),b(r)?c="":b(o)?c=`>=${r}.0.0${n} <${+r+1}.0.0-0`:b(i)?c="0"===r?`>=${r}.${o}.0${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.0${n} <${+r+1}.0.0-0`:a?(s("replaceCaret pr",a),c="0"===r?"0"===o?`>=${r}.${o}.${i}-${a} <${r}.${o}.${+i+1}-0`:`>=${r}.${o}.${i}-${a} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${i}-${a} <${+r+1}.0.0-0`):(s("no pr"),c="0"===r?"0"===o?`>=${r}.${o}.${i}${n} <${r}.${o}.${+i+1}-0`:`>=${r}.${o}.${i}${n} <${r}.${+o+1}.0-0`:`>=${r}.${o}.${i} <${+r+1}.0.0-0`),s("caret return",c),c})},E=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map(e=>k(e,t)).join(" ")),k=(e,t)=>{e=e.trim();const r=t.loose?l[u.XRANGELOOSE]:l[u.XRANGE];return e.replace(r,(r,n,o,i,a,c)=>{s("xRange",e,r,n,o,i,a,c);const l=b(o),u=l||b(i),p=u||b(a),d=p;return"="===n&&d&&(n=""),c=t.includePrerelease?"-0":"",l?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&d?(u&&(i=0),a=0,">"===n?(n=">=",u?(o=+o+1,i=0,a=0):(i=+i+1,a=0)):"<="===n&&(n="<",u?o=+o+1:i=+i+1),"<"===n&&(c="-0"),r=`${n+o}.${i}.${a}${c}`):u?r=`>=${o}.0.0${c} <${+o+1}.0.0-0`:p&&(r=`>=${o}.${i}.0${c} <${o}.${+i+1}.0-0`),s("xRange return",r),r})},S=(e,t)=>(s("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),T=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),O=e=>(t,r,n,o,i,a,s,c,l,u,p,d,f)=>`${r=b(n)?"":b(o)?`>=${n}.0.0${e?"-0":""}`:b(i)?`>=${n}.${o}.0${e?"-0":""}`:a?">="+r:`>=${r}${e?"-0":""}`} ${c=b(l)?"":b(u)?`<${+l+1}.0.0-0`:b(p)?`<${l}.${+u+1}.0-0`:d?`<=${l}.${u}.${p}-${d}`:e?`<${l}.${u}.${+p+1}-0`:"<="+c}`.trim(),R=(e,t,r)=>{for(let r=0;r0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},"825a":function(e,t,r){var n=r("861d"),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw i(o(e)+" is not an object")}},"83ab":function(e,t,r){var n=r("d039");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"861d":function(e,t,r){var n=r("1626"),o=r("8ea1"),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}},8925:function(e,t,r){var n=r("e330"),o=r("1626"),i=r("c6cd"),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},"8a86":function(e,t){e.exports={functional:!0,render(e,t){const{_c:r,_v:n,data:o,children:i=[]}=t,{class:a,staticClass:s,style:c,staticStyle:l,attrs:u={},...p}=o;return r("svg",{class:[a,s],style:[c,l],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 298 169"},u),...p},i.concat([r("path",{attrs:{d:"M20.3 0h257.3c17.8 0 26.7 21.5 14.1 34.1L163.1 162.8c-7.8 7.8-20.5 7.8-28.3 0L6.2 34.1C-6.4 21.5 2.5 0 20.3 0z"}})]))}}},"8d9b":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WS_TIMEOUT=t.MIN_WS_TIMEOUT=void 0;t.MIN_WS_TIMEOUT=1e3;t.WS_TIMEOUT=3e4},"8ea1":function(e,t){var r="object"==typeof document&&document.all,n=void 0===r&&void 0!==r;e.exports={all:r,IS_HTMLDDA:n}},"90e3":function(e,t,r){var n=r("e330"),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},9112:function(e,t,r){var n=r("83ab"),o=r("9bf2"),i=r("5c6c");e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},9152:function(e,t){
+/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */
+t.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,c=(1<>1,u=-7,p=r?o-1:0,d=r?-1:1,f=e[t+p];for(p+=d,i=f&(1<<-u)-1,f>>=-u,u+=s;u>0;i=256*i+e[t+p],p+=d,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=n;u>0;a=256*a+e[t+p],p+=d,u-=8);if(0===i)i=1-l;else{if(i===c)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,n),i-=l}return(f?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,s,c,l=8*i-o-1,u=(1<>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:i-1,h=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+p>=1?d/c:d*Math.pow(2,1-p))*c>=2&&(a++,c/=2),a+p>=u?(s=0,a=u):a+p>=1?(s=(t*c-1)*Math.pow(2,o),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;e[r+f]=255&s,f+=h,s/=256,o-=8);for(a=a<0;e[r+f]=255&a,f+=h,a/=256,l-=8);e[r+f-h]|=128*m}},"94ca":function(e,t,r){var n=r("d039"),o=r("1626"),i=/#|\.prototype\./,a=function(e,t){var r=c[s(e)];return r==u||r!=l&&(o(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},l=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},"96ce":function(e,t,r){"use strict";r.r(t);var n=r("be2b");for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o)},"973e":function(e,t){e.exports={functional:!0,render(e,t){const{_c:r,_v:n,data:o,children:i=[]}=t,{class:a,staticClass:s,style:c,staticStyle:l,attrs:u={},...p}=o;return r("svg",{class:[a,s],style:[c,l],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},u),...p},i.concat([r("path",{attrs:{"fill-rule":"evenodd",d:"M8 16A8 8 0 118 0a8 8 0 010 16zm-1-5v2.002h2V11H7zm0-1h2c0-2 2-2.5 2-4 0-.5 0-3-3-3-2 0-3 1-3 3h2c0-.667.333-1 1-1 1 0 1 1 1 1 0 1-2.022 1.5-2 4z"}})]))}}},9790:function(e,t,r){"use strict";r.r(t);var n=r("9e5f");for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o)},"97b2":function(e,t,r){"use strict";r.r(t);var n=r("f558");for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o)},"98d0":function(e,t,r){e.exports=r("c666"),e.exports.default=e.exports},"9ab4":function(e,t,r){"use strict";r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return i})),r.d(t,"e",(function(){return a})),r.d(t,"b",(function(){return s})),r.d(t,"d",(function(){return c})),r.d(t,"f",(function(){return l}));
+/*! *****************************************************************************
+Copyright (c) Microsoft Corporation.
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
+***************************************************************************** */
+var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function o(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]1,o=!1,i=arguments[1],a=i;return new r((function(r){return t.subscribe({next:function(t){var i=!o;if(o=!0,!i||n)try{a=e(a,t)}catch(e){return r.error(e)}else a=t},error:function(e){r.error(e)},complete:function(){if(!o&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})}))}},{key:"concat",value:function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n=0&&o.splice(e,1),a()}});o.push(i)},error:function(e){n.error(e)},complete:function(){a()}});function a(){i.closed&&0===o.length&&n.complete()}return function(){o.forEach((function(e){return e.unsubscribe()})),i.unsubscribe()}}))}},{key:u,value:function(){return this}}],[{key:"from",value:function(t){var r="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var n=d(t,u);if(n){var o=n.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return function(e){return e instanceof _}(o)&&o.constructor===r?o:new r((function(e){return o.subscribe(e)}))}if(s("iterator")&&(n=d(t,l)))return new r((function(e){m((function(){if(!e.closed){var r=!0,o=!1,i=void 0;try{for(var a,s=n.call(t)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value;if(e.next(c),e.closed)return}}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}e.complete()}}))}));if(Array.isArray(t))return new r((function(e){m((function(){if(!e.closed){for(var r=0;r2)return"[Array]";for(var r=Math.min(10,e.length),n=e.length-r,o=[],i=0;i1&&o.push("... ".concat(n," more items")),"["+o.join(", ")+"]"}(e,r);return function(e,t){var r=Object.keys(e);return 0===r.length?"{}":t.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var r=e.constructor.name;if("string"==typeof r&&""!==r)return r}return t}(e)+"]":"{ "+r.map((function(r){return r+": "+a(e[r],t)})).join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}function s(e){var t=e[String(n.a)];return"function"==typeof t?t:"function"==typeof e.inspect?e.inspect:void 0}},aeb0:function(e,t,r){var n=r("9bf2").f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},aed9:function(e,t,r){var n=r("83ab"),o=r("d039");e.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},affe:function(e,t,r){(t=r("24fb")(!1)).push([e.i,".custom-scrollbar{scrollbar-width:thin;scrollbar-color:#ff8c2f var(--color-alpha)}.custom-scrollbar::-webkit-scrollbar{width:10px}.custom-scrollbar::-webkit-scrollbar-track{background:var(--color-alpha);border:0}.custom-scrollbar::-webkit-scrollbar-thumb{background-color:#ff8c2f;border-radius:4px;border:0}",""]),e.exports=t},b045:function(e,t){e.exports={functional:!0,render(e,t){const{_c:r,_v:n,data:o,children:i=[]}=t,{class:a,staticClass:s,style:c,staticStyle:l,attrs:u={},...p}=o;return r("svg",{class:[a,s],style:[c,l],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},u),...p},i.concat([r("path",{attrs:{"fill-rule":"evenodd",d:"M8 16A8 8 0 118 0a8 8 0 010 16zM6.989 3v2.002h2V3h-2zM7 13h2V7H7a405.483 405.483 0 000 6z"}})]))}}},b2a0:function(e,t){e.exports={functional:!0,render(e,t){const{_c:r,_v:n,data:o,children:i=[]}=t,{class:a,staticClass:s,style:c,staticStyle:l,attrs:u={},...p}=o;return r("svg",{class:[a,s],style:[c,l],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},u),...p},i.concat([r("path",{attrs:{"fill-rule":"evenodd",d:"M5.362 8.44l3-3.027L3.618.626A6.32 6.32 0 0110.86 1.88c1.958 1.977 2.373 4.923 1.243 7.31L16 13.126V16h-3.15l-3.745-3.78a6.32 6.32 0 01-7.242-1.256C-.095 8.987-.51 6.04.62 3.654L5.362 8.44z"}})]))}}},b42e:function(e,t){var r=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}},b5b8:function(e,t,r){var n=r("14da");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=r("35d6").default;e.exports.__inject__=function(e){o("16913d16",n,e)}},b622:function(e,t,r){var n=r("da84"),o=r("5692"),i=r("1a2d"),a=r("90e3"),s=r("04f8"),c=r("fdbf"),l=n.Symbol,u=o("wks"),p=c?l.for||l:l&&l.withoutSetter||a;e.exports=function(e){return i(u,e)||(u[e]=s&&i(l,e)?l[e]:p("Symbol."+e)),u[e]}},b692:function(e,t){e.exports={functional:!0,render(e,t){const{_c:r,_v:n,data:o,children:i=[]}=t,{class:a,staticClass:s,style:c,staticStyle:l,attrs:u={},...p}=o;return r("svg",{class:[a,s],style:[c,l],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},u),...p},i.concat([r("path",{attrs:{"fill-rule":"evenodd",d:"M7 6h4V2l5 6-5 6v-4H7v2h2v4H0V0h9v4H7v2zm0 0V2H2v12h5v-4H4V6h3z"}})]))}}},b980:function(e,t,r){var n=r("d039"),o=r("5c6c");e.exports=!n((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},ba03:function(e,t,r){var n=r("f95b");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=r("35d6").default;e.exports.__inject__=function(e){o("2a38bb54",n,e)}},ba10:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,o="~";function i(){}function a(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function s(e,t,r,n,i){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new a(r,n||e,i),c=o?o+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function c(e,t){0==--e._eventsCount?e._events=new i:delete e._events[t]}function l(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(o=!1)),l.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)n.call(e,t)&&r.push(o?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},l.prototype.listeners=function(e){var t=o?o+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var n=0,i=r.length,a=new Array(i);n="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),n=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=c(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=c(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||n||i&&a||s||l}}e.exports=o;const i=r("e12f"),{re:a,t:s}=r("22c0"),c=r("54c2"),l=r("0d7c"),u=r("df02"),p=r("7b1f")},bf7e:function(e,t,r){"use strict";r.r(t);var n=r("b5b8");for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o)},c044:function(e,t,r){"use strict";r.r(t);var n=r("45bd");for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o)},c04e:function(e,t,r){var n=r("c65b"),o=r("861d"),i=r("d9b5"),a=r("dc4a"),s=r("485a"),c=r("b622"),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,c=a(e,u);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!o(r)||i(r))return r;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},c2a6:function(e,t,r){(t=r("24fb")(!1)).push([e.i,"/*! purgecss start ignore */.unraid_sc_loader_2,.unraid_sc_loader_4{-webkit-animation:mark_2 1.5s ease infinite;animation:mark_2 1.5s ease infinite}.unraid_sc_loader_3{-webkit-animation:mark_3 1.5s ease infinite;animation:mark_3 1.5s ease infinite}.unraid_sc_loader_6,.unraid_sc_loader_8{-webkit-animation:mark_6 1.5s ease infinite;animation:mark_6 1.5s ease infinite}.unraid_sc_loader_7{-webkit-animation:mark_7 1.5s ease infinite;animation:mark_7 1.5s ease infinite}@-webkit-keyframes mark_2{50%{-webkit-transform:translateY(-40px);transform:translateY(-40px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes mark_2{50%{-webkit-transform:translateY(-40px);transform:translateY(-40px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes mark_3{50%{-webkit-transform:translateY(-62px);transform:translateY(-62px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes mark_3{50%{-webkit-transform:translateY(-62px);transform:translateY(-62px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes mark_6{50%{-webkit-transform:translateY(40px);transform:translateY(40px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes mark_6{50%{-webkit-transform:translateY(40px);transform:translateY(40px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes mark_7{50%{-webkit-transform:translateY(62px);transform:translateY(62px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes mark_7{50%{-webkit-transform:translateY(62px);transform:translateY(62px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}\n\n/*! purgecss end ignore */",""]),e.exports=t},c38f:function(e,t,r){(t=r("24fb")(!1)).push([e.i,'/*! tailwindcss v2.2.17 | MIT License | https://tailwindcss.com */\n\n/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */html{-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji}hr{height:0;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}button{background-color:transparent;background-image:none}fieldset,ol,ul{margin:0;padding:0}ol,ul{list-style:none}html{font-family:nudista-web,-apple-system,BlinkMacSystemFont,“Segoe UI”,Roboto,Helvetica,Arial,sans-serif;line-height:1.5}body{font-family:inherit;line-height:inherit}*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{opacity:1;color:#a1a1aa}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#a1a1aa}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#a1a1aa}input::-ms-input-placeholder,textarea::-ms-input-placeholder{opacity:1;color:#a1a1aa}input::placeholder,textarea::placeholder{opacity:1;color:#a1a1aa}button{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}code,kbd,pre,samp{font-family:fira-mono,monospace}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:after,:before{--tw-border-opacity:1;border-color:rgba(218,225,231,var(--tw-border-opacity))}.prose{line-height:1.25}.prose p,.prose ul{margin:8px 0}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.top-0{top:0}.right-0{right:0}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.m-0{margin:0}.m-auto{margin:auto}.m-8px{margin:8px}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.mx-8px{margin-left:8px;margin-right:8px}.mx-12px{margin-left:12px;margin-right:12px}.my-0{margin-top:0;margin-bottom:0}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.my-8px{margin-top:8px;margin-bottom:8px}.my-16px{margin-top:16px;margin-bottom:16px}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-4px{margin-top:4px}.mt-8px{margin-top:8px}.mt-12px{margin-top:12px}.mt-16px{margin-top:16px}.mt-90px{margin-top:90px}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-8px{margin-right:8px}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-4px{margin-bottom:4px}.mb-8px{margin-bottom:8px}.ml-4{margin-left:1rem}.ml-4px{margin-left:4px}.ml-6px{margin-left:6px}.ml-8px{margin-left:8px}.ml-12px{margin-left:12px}.ml-16px{margin-left:16px}.block{display:block}.inline-block{display:inline-block}.flex{display:-webkit-box;display:-ms-flexbox;display:flex}.inline-flex{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.table{display:table}.hidden{display:none}.h-4{height:1rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.h-1px{height:1px}.h-2px{height:2px}.h-8px{height:8px}.h-12px{height:12px}.h-14px{height:14px}.h-24px{height:24px}.h-36px{height:36px}.w-4{width:1rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-7\\/20{width:35%}.w-13\\/20{width:65%}.w-full{width:100%}.w-2px{width:2px}.w-8px{width:8px}.w-12px{width:12px}.w-28px{width:28px}.w-36px{width:36px}.w-100px{width:100px}.min-w-310px{min-width:310px}.max-w-2xs{max-width:15rem}.max-w-xs{max-width:20rem}.max-w-lg{max-width:32rem}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-150px{max-width:150px}.max-w-160px{max-width:160px}.max-w-300px{max-width:300px}.max-w-640px{max-width:640px}.max-w-800px{max-width:800px}.flex-none{-webkit-box-flex:0;-ms-flex:none;flex:none}.flex-shrink-0{-ms-flex-negative:0;flex-shrink:0}.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;-webkit-transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-90{--tw-scale-x:.9;--tw-scale-y:.9}.focus\\:scale-110:focus,.hover\\:scale-110:hover{--tw-scale-x:1.1;--tw-scale-y:1.1}@-webkit-keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes ping{75%,to{-webkit-transform:scale(2);transform:scale(2);opacity:0}}@keyframes ping{75%,to{-webkit-transform:scale(2);transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,to{-webkit-transform:translateY(-25%);transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{-webkit-transform:none;transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes bounce{0%,to{-webkit-transform:translateY(-25%);transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{-webkit-transform:none;transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}.cursor-pointer{cursor:pointer}.cursor-not-allowed{cursor:not-allowed}.select-all{-webkit-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all}.list-disc{list-style-type:disc}.list-decimal{list-style-type:decimal}.flex-row{-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row}.flex-col,.flex-row{-webkit-box-direction:normal}.flex-col{-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.flex-wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.items-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.items-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.items-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.items-baseline{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}.justify-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.justify-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.justify-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.justify-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.gap-y-4{row-gap:1rem}.gap-y-6{row-gap:1.5rem}.gap-y-4px{row-gap:4px}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem*var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.overflow-y-scroll{overflow-y:scroll}.whitespace-normal{white-space:normal}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-full{border-radius:9999px}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.border-2{border-width:2px}.border{border-width:1px}.border-t-0{border-top-width:0}.border-r-0{border-right-width:0}.border-r-2{border-right-width:2px}.border-b-2{border-bottom-width:2px}.border-l-0{border-left-width:0}.border-none{border-style:none}.border-transparent{border-color:transparent}.border-grey-darkest{--tw-border-opacity:1;border-color:rgba(34,34,34,var(--tw-border-opacity))}.border-grey-mid{--tw-border-opacity:1;border-color:rgba(153,153,153,var(--tw-border-opacity))}.border-grey-light{--tw-border-opacity:1;border-color:rgba(218,225,231,var(--tw-border-opacity))}.border-grey-lighter{--tw-border-opacity:1;border-color:rgba(241,245,248,var(--tw-border-opacity))}.border-orange-dark{--tw-border-opacity:1;border-color:rgba(241,90,44,var(--tw-border-opacity))}.border-red{--tw-border-opacity:1;border-color:rgba(226,40,40,var(--tw-border-opacity))}.border-beta{border-color:var(--color-beta)}.focus\\:border-orange-dark:focus,.hover\\:border-orange-dark:hover{--tw-border-opacity:1;border-color:rgba(241,90,44,var(--tw-border-opacity))}.group:focus .group-focus\\:border-white{--tw-border-opacity:1;border-color:rgba(255,255,255,var(--tw-border-opacity))}.group:focus .group-focus\\:border-orange-dark{--tw-border-opacity:1;border-color:rgba(241,90,44,var(--tw-border-opacity))}.group:hover .group-hover\\:border-white{--tw-border-opacity:1;border-color:rgba(255,255,255,var(--tw-border-opacity))}.group:hover .group-hover\\:border-orange-dark{--tw-border-opacity:1;border-color:rgba(241,90,44,var(--tw-border-opacity))}@media (prefers-color-scheme:dark){.dark\\:border-grey-dark{--tw-border-opacity:1;border-color:rgba(56,55,53,var(--tw-border-opacity))}}.bg-transparent{background-color:transparent}.bg-black{--tw-bg-opacity:1;background-color:rgba(28,27,27,var(--tw-bg-opacity))}.bg-grey-darker{--tw-bg-opacity:1;background-color:rgba(96,111,123,var(--tw-bg-opacity))}.bg-grey-mid{--tw-bg-opacity:1;background-color:rgba(153,153,153,var(--tw-bg-opacity))}.bg-grey{--tw-bg-opacity:1;background-color:rgba(224,224,224,var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.bg-orange{--tw-bg-opacity:1;background-color:rgba(255,140,47,var(--tw-bg-opacity))}.bg-red{--tw-bg-opacity:1;background-color:rgba(226,40,40,var(--tw-bg-opacity))}.bg-green{--tw-bg-opacity:1;background-color:rgba(0,153,0,var(--tw-bg-opacity))}.bg-alpha{background-color:var(--color-alpha)}.bg-beta{background-color:var(--color-beta)}@media (prefers-color-scheme:dark){.dark\\:bg-black{--tw-bg-opacity:1;background-color:rgba(28,27,27,var(--tw-bg-opacity))}.dark\\:bg-grey-dark{--tw-bg-opacity:1;background-color:rgba(56,55,53,var(--tw-bg-opacity))}.dark\\:bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}}.bg-gradient-to-r{background-image:-webkit-gradient(linear,left top,right top,from(var(--tw-gradient-stops)));background-image:linear-gradient(90deg,var(--tw-gradient-stops))}@media (prefers-color-scheme:dark){.dark\\:bg-gradient-to-b{background-image:-webkit-gradient(linear,left top,left bottom,from(var(--tw-gradient-stops)));background-image:linear-gradient(180deg,var(--tw-gradient-stops))}}.from-red{--tw-gradient-from:#e22828;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(226,40,40,0))}@media (prefers-color-scheme:dark){.dark\\:from-black{--tw-gradient-from:#1c1b1b;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(28,27,27,0))}.dark\\:from-grey-darkest{--tw-gradient-from:#222;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(34,34,34,0))}}.to-orange{--tw-gradient-to:#ff8c2f}@media (prefers-color-scheme:dark){.dark\\:to-black{--tw-gradient-to:#1c1b1b}}.fill-current{fill:currentColor}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8px{padding:8px}.p-24px{padding:24px}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-4px{padding-left:4px;padding-right:4px}.px-6px{padding-left:6px;padding-right:6px}.px-8px{padding-left:8px;padding-right:8px}.px-12px{padding-left:12px;padding-right:12px}.px-16px{padding-left:16px;padding-right:16px}.px-24px{padding-left:24px;padding-right:24px}.py-0{padding-top:0;padding-bottom:0}.py-4{padding-top:1rem;padding-bottom:1rem}.py-2px{padding-top:2px;padding-bottom:2px}.py-4px{padding-top:4px;padding-bottom:4px}.py-8px{padding-top:8px;padding-bottom:8px}.py-16px{padding-top:16px;padding-bottom:16px}.pt-4px{padding-top:4px}.pt-16px{padding-top:16px}.pr-2{padding-right:.5rem}.pr-6{padding-right:1.5rem}.pr-12px{padding-right:12px}.pr-16px{padding-right:16px}.pl-4{padding-left:1rem}.pl-12px{padding-left:12px}.pl-80px{padding-left:80px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-sans{font-family:nudista-web,-apple-system,BlinkMacSystemFont,“Segoe UI”,Roboto,Helvetica,Arial,sans-serif}.font-mono{font-family:fira-mono,monospace}.text-xs{font-size:.75rem}.text-sm{font-size:.875rem}.text-lg{font-size:1.125rem}.text-2xl{font-size:1.5rem}.text-3xl{font-size:1.875rem}.text-10px{font-size:10px}.text-12px{font-size:12px}.text-14px{font-size:14px}.text-16px{font-size:16px}.text-18px{font-size:18px}.text-20px{font-size:20px}.text-24px{font-size:24px}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-8{line-height:2rem}.leading-none{line-height:1}.leading-tight{line-height:1.25}.leading-normal{line-height:1.5}.tracking-wide{letter-spacing:.025em}.text-black{--tw-text-opacity:1;color:rgba(28,27,27,var(--tw-text-opacity))}.text-grey-darker{--tw-text-opacity:1;color:rgba(96,111,123,var(--tw-text-opacity))}.text-grey-dark{--tw-text-opacity:1;color:rgba(56,55,53,var(--tw-text-opacity))}.text-grey-mid{--tw-text-opacity:1;color:rgba(153,153,153,var(--tw-text-opacity))}.text-grey-lightest{--tw-text-opacity:1;color:rgba(242,242,242,var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.text-orange-dark{--tw-text-opacity:1;color:rgba(241,90,44,var(--tw-text-opacity))}.text-orange{--tw-text-opacity:1;color:rgba(255,140,47,var(--tw-text-opacity))}.text-red{--tw-text-opacity:1;color:rgba(226,40,40,var(--tw-text-opacity))}.text-alpha{color:var(--color-alpha)}.text-beta{color:var(--color-beta)}.text-gamma{color:var(--color-gamma)}.hover\\:text-white:hover{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.hover\\:text-orange-dark:hover{--tw-text-opacity:1;color:rgba(241,90,44,var(--tw-text-opacity))}.hover\\:text-orange:hover{--tw-text-opacity:1;color:rgba(255,140,47,var(--tw-text-opacity))}.hover\\:text-alpha:hover{color:var(--color-alpha)}.focus\\:text-white:focus{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.focus\\:text-orange-dark:focus{--tw-text-opacity:1;color:rgba(241,90,44,var(--tw-text-opacity))}.focus\\:text-orange:focus{--tw-text-opacity:1;color:rgba(255,140,47,var(--tw-text-opacity))}.focus\\:text-alpha:focus{color:var(--color-alpha)}.group:focus .group-focus\\:text-white,.group:hover .group-hover\\:text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}@media (prefers-color-scheme:dark){.dark\\:text-black{--tw-text-opacity:1;color:rgba(28,27,27,var(--tw-text-opacity))}.dark\\:text-grey{--tw-text-opacity:1;color:rgba(224,224,224,var(--tw-text-opacity))}.dark\\:text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}}.hover\\:underline:hover,.underline{text-decoration:underline}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.focus\\:opacity-100:focus,.group:hover .group-hover\\:opacity-100,.hover\\:opacity-100:hover,.opacity-100{opacity:1}*,:after,:before{--tw-shadow:0 0 transparent}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06)}.shadow,.shadow-md{-webkit-box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05)}.shadow-lg,.shadow-none{-webkit-box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 transparent}.focus\\:outline-none:focus,.outline-none{outline:2px solid transparent;outline-offset:2px}*,:after,:before{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,0.5);--tw-ring-offset-shadow:0 0 transparent;--tw-ring-shadow:0 0 transparent}.filter{--tw-blur:var(--tw-empty,/*!*/ /*!*/);--tw-brightness:var(--tw-empty,/*!*/ /*!*/);--tw-contrast:var(--tw-empty,/*!*/ /*!*/);--tw-grayscale:var(--tw-empty,/*!*/ /*!*/);--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/);--tw-invert:var(--tw-empty,/*!*/ /*!*/);--tw-saturate:var(--tw-empty,/*!*/ /*!*/);--tw-sepia:var(--tw-empty,/*!*/ /*!*/);--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur{--tw-blur:blur(8px)}.transition-all{-webkit-transition-property:all;transition-property:all;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.15s;transition-duration:.15s}.transition{-webkit-transition-property:background-color,border-color,color,fill,stroke,opacity,-webkit-box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,-webkit-box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-box-shadow,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.15s;transition-duration:.15s}.transition-colors{-webkit-transition-property:background-color,border-color,color,fill,stroke;transition-property:background-color,border-color,color,fill,stroke;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.15s;transition-duration:.15s}.transition-opacity{-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-150,.transition-opacity{-webkit-transition-duration:.15s;transition-duration:.15s}.duration-200{-webkit-transition-duration:.2s;transition-duration:.2s}.ease-in-out{-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.TopBlip{margin-top:-3px}.TopBlip:before{position:absolute;z-index:20;display:block;content:"";width:0;height:0;top:-10px;right:32px;border-right:11px solid transparent;border-bottom:11px solid var(--color-alpha);border-left:11px solid transparent}.fade-enter-active,.fade-leave-active{-webkit-transition:opacity .15s ease-out;transition:opacity .15s ease-out}.fade-enter,.fade-leave-to{opacity:0}.slideVerticalFade-enter-active,.slideVerticalFade-leave-active{-webkit-transition:opacity .15s ease-out,-webkit-transform .15s ease-out;transition:opacity .15s ease-out,-webkit-transform .15s ease-out;transition:opacity .15s ease-out,transform .15s ease-out;transition:opacity .15s ease-out,transform .15s ease-out,-webkit-transform .15s ease-out}.slideVerticalFade-enter,.slideVerticalFade-leave-to{opacity:0;-webkit-transform:translateY(36px);transform:translateY(36px)}.slideHorizontalFade-enter-active,.slideHorizontalFade-leave-active{-webkit-transition:opacity 1s ease-out,-webkit-transform 1s ease-out;transition:opacity 1s ease-out,-webkit-transform 1s ease-out;transition:opacity 1s ease-out,transform 1s ease-out;transition:opacity 1s ease-out,transform 1s ease-out,-webkit-transform 1s ease-out}.slideHorizontalFade-enter,.slideHorizontalFade-leave-to{opacity:0;-webkit-transform:translateX(36px);transform:translateX(36px)}.button{--tw-text-opacity:1;color:rgba(255,140,47,var(--tw-text-opacity));font-weight:600;line-height:1;text-transform:uppercase;letter-spacing:.025em;text-align:center;text-decoration:none;background-color:transparent;background:-webkit-gradient(linear,left top,right top,from(#e03237),to(#fd8c3c)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,from(#e03237),to(#fd8c3c)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#e03237),to(#e03237)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#fd8c3c),to(#fd8c3c)) 100% 100% no-repeat;background:linear-gradient(90deg,#e03237 0,#fd8c3c) 0 0 no-repeat,linear-gradient(90deg,#e03237 0,#fd8c3c) 0 100% no-repeat,linear-gradient(0deg,#e03237 0,#e03237) 0 100% no-repeat,linear-gradient(0deg,#fd8c3c 0,#fd8c3c) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%;border:0}.button:active{-webkit-transform:scale(.975);transform:scale(.975)}.button:disabled{opacity:.5;cursor:not-allowed}.button:focus,.button:hover{-webkit-box-shadow:0;box-shadow:0}.button-alt,.button:focus,.button:hover{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));background:-webkit-gradient(linear,left top,right top,from(#e22828),to(#ff8c2f));background:linear-gradient(90deg,#e22828 0,#ff8c2f)}.button-alt{font-weight:600;line-height:1;text-transform:uppercase;letter-spacing:.025em;text-align:center;text-decoration:none;display:inline-block;border-radius:.125rem;-webkit-transition:none;transition:none}.button-alt:active{-webkit-transform:scale(.975);transform:scale(.975)}.button-alt:disabled{opacity:.5;cursor:not-allowed}.button-alt:focus,.button-alt:hover{background-color:transparent;--tw-text-opacity:1;color:rgba(255,140,47,var(--tw-text-opacity));background:-webkit-gradient(linear,left top,right top,from(#e03237),to(#fd8c3c)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,from(#e03237),to(#fd8c3c)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#e03237),to(#e03237)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,from(#fd8c3c),to(#fd8c3c)) 100% 100% no-repeat;background:linear-gradient(90deg,#e03237 0,#fd8c3c) 0 0 no-repeat,linear-gradient(90deg,#e03237 0,#fd8c3c) 0 100% no-repeat,linear-gradient(0deg,#e03237 0,#e03237) 0 100% no-repeat,linear-gradient(0deg,#fd8c3c 0,#fd8c3c) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%;border:0;-webkit-box-shadow:0;box-shadow:0}.button-fine-error{border-radius:.125rem;background-color:transparent;text-decoration:underline}.button-fine-error:focus,.button-fine-error:hover{--tw-bg-opacity:1;background-color:rgba(226,40,40,var(--tw-bg-opacity));--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity));text-decoration:none}.ActionRequired a,.ActionRequired button{padding-left:24px;padding-right:24px;padding-top:16px;padding-bottom:16px;font-size:14px}@media (min-width:576px){.sm\\:order-1{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.sm\\:order-2{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.sm\\:mb-0{margin-bottom:0}.sm\\:block{display:block}.sm\\:w-auto{width:auto}.sm\\:w-1\\/2{width:50%}.sm\\:max-w-200px{max-width:200px}.sm\\:max-w-11rem{max-width:11rem}.sm\\:flex-nowrap{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.sm\\:justify-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.sm\\:p-32px{padding:32px}.sm\\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}}@media (min-width:768px){.md\\:h-12{height:3rem}.md\\:w-12{width:3rem}.md\\:p-8{padding:2rem}.md\\:p-32px{padding:32px}.md\\:text-30px{font-size:30px}}@media (min-width:1024px){.lg\\:max-w-xl{max-width:36rem}.lg\\:px-10{padding-left:2.5rem;padding-right:2.5rem}.lg\\:px-40px{padding-left:40px;padding-right:40px}}@media (min-width:1450px){.xxl\\:text-18px{font-size:18px}}',""]),e.exports=t},c430:function(e,t){e.exports=!1},c5fb:function(e,t,r){const n=r("f06c");e.exports=(e,t,r)=>0===n(e,t,r)},c65b:function(e,t,r){var n=r("40d5"),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},c666:function(e,t,r){(function(t){!function(t,r){e.exports=r()}("undefined"!=typeof self&&self,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return{}.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,r,n){"use strict";function o(e){return"[object RegExp]"==={}.toString.call(e)}n.r(r),n.d(r,"Promise",(function(){return U})),n.d(r,"TYPES",(function(){return Xe})),n.d(r,"ProxyWindow",(function(){return Te})),n.d(r,"setup",(function(){return Ke})),n.d(r,"destroy",(function(){return Qe})),n.d(r,"serializeMessage",(function(){return We})),n.d(r,"deserializeMessage",(function(){return Ye})),n.d(r,"createProxyWindow",(function(){return He})),n.d(r,"toProxyWindow",(function(){return qe})),n.d(r,"on",(function(){return Ve})),n.d(r,"once",(function(){return Ge})),n.d(r,"send",(function(){return Be})),n.d(r,"markWindowKnown",(function(){return me})),n.d(r,"cleanUpWindow",(function(){return Je})),n.d(r,"bridge",(function(){}));var i="Call was rejected by callee.\r\n";function a(e){return void 0===e&&(e=window),e.location.protocol}function s(e){if(void 0===e&&(e=window),e.mockDomain){var t=e.mockDomain.split("//")[0];if(t)return t}return a(e)}function c(e){return void 0===e&&(e=window),"about:"===s(e)}function l(e){if(void 0===e&&(e=window),e)try{if(e.parent&&e.parent!==e)return e.parent}catch(e){}}function u(e){if(void 0===e&&(e=window),e&&!l(e))try{return e.opener}catch(e){}}function p(e){try{return!0}catch(e){}return!1}function d(e){void 0===e&&(e=window);var t=e.location;if(!t)throw new Error("Can not read window location");var r=a(e);if(!r)throw new Error("Can not read window protocol");if("file:"===r)return"file://";if("about:"===r){var n=l(e);return n&&p()?d(n):"about://"}var o=t.host;if(!o)throw new Error("Can not read window host");return r+"//"+o}function f(e){void 0===e&&(e=window);var t=d(e);return t&&e.mockDomain&&0===e.mockDomain.indexOf("mock:")?e.mockDomain:t}function h(e){if(!function(e){try{if(e===window)return!0}catch(e){}try{var t=Object.getOwnPropertyDescriptor(e,"location");if(t&&!1===t.enumerable)return!1}catch(e){}try{if(c(e)&&p())return!0}catch(e){}try{if(function(e){return void 0===e&&(e=window),"mock:"===s(e)}(e)&&p())return!0}catch(e){}try{if(d(e)===d(window))return!0}catch(e){}return!1}(e))return!1;try{if(e===window)return!0;if(c(e)&&p())return!0;if(f(window)===f(e))return!0}catch(e){}return!1}function m(e){if(!h(e))throw new Error("Expected window to be same domain");return e}function g(e,t){if(!e||!t)return!1;var r=l(t);return r?r===e:-1!==function(e){var t=[];try{for(;e.parent!==e;)t.push(e.parent),e=e.parent}catch(e){}return t}(t).indexOf(e)}function v(e){var t,r,n=[];try{t=e.frames}catch(r){t=e}try{r=t.length}catch(e){}if(0===r)return n;if(r){for(var o=0;o>>0)+"__",function(){if("undefined"==typeof WeakMap)return!1;if(void 0===Object.freeze)return!1;try{var e=new WeakMap,t={};return Object.freeze(t),e.set(t,"__testvalue__"),"__testvalue__"===e.get(t)}catch(e){return!1}}())try{this.weakmap=new WeakMap}catch(e){}this.keys=[],this.values=[]}var t=e.prototype;return t._cleanupClosedWindows=function(){for(var e=this.weakmap,t=this.keys,r=0;r=3)return"stringifyError stack overflow";try{if(!e)return"";if("string"==typeof e)return e;if(e instanceof Error){var r=e&&e.stack,n=e&&e.message;if(r&&n)return-1!==r.indexOf(n)?r:n+"\n"+r;if(r)return r;if(n)return n}return e&&e.toString&&"function"==typeof e.toString?e.toString():{}.toString.call(e)}catch(e){return"Error while stringifying error: "+q(e,t+1)}}function K(e){return"string"==typeof e?e:e&&e.toString&&"function"==typeof e.toString?e.toString():{}.toString.call(e)}function Q(e){return"[object RegExp]"==={}.toString.call(e)}function X(e,t,r){if(e.hasOwnProperty(t))return e[t];var n=r();return e[t]=n,n}function J(){var e=document.body;if(!e)throw new Error("Body element not found");return e}function Z(){return Boolean(document.body)&&"complete"===document.readyState}function ee(){return Boolean(document.body)&&"interactive"===document.readyState}W.clear=function(){B=G},W((function(e){if(Object.values)return Object.values(e);var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t})),Error,W((function(){return new U((function(e){if(Z()||ee())return e();var t=setInterval((function(){if(Z()||ee())return clearInterval(t),e()}),10)}))}));var te="undefined"!=typeof document?document.currentScript:null,re=W((function(){if(te)return te;if(te=function(){try{var e=function(){try{throw new Error("_")}catch(e){return e.stack||""}}(),t=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(e),r=t&&t[1];if(!r)return;for(var n=0,o=[].slice.call(document.getElementsByTagName("script")).reverse();n { ... }":"<"+typeof e+">"})).join(", ");var t}(n.args)+") failed\n\n"+e.stack),e}))})).then((function(e){return{result:e,id:o,name:i}}))}))}));var c=r.__id__||$();e=Te.unwrap(e);var l=r.__name__||r.name||n;return"string"==typeof l&&"function"==typeof l.indexOf&&0===l.indexOf("anonymous::")&&(l=l.replace("anonymous::",n+"::")),Te.isProxyWindow(e)?(Oe(c,r,l,e,t),e.awaitWindow().then((function(e){Oe(c,r,l,e,t)}))):Oe(c,r,l,e,t),be("cross_domain_function",{id:c,name:l})}function Ae(e,t,r,n){var o,i=n.on,a=n.send;return function(e,t){void 0===t&&(t=xe);var r=JSON.stringify(e,(function(e){var r=this[e];if(ge(this))return r;var n=ve(r);if(!n)return r;var o=t[n]||we[n];return o?o(r,e):r}));return void 0===r?"undefined":r}(r,((o={}).promise=function(r,n){return function(e,t,r,n,o){return be("cross_domain_zalgo_promise",{then:Ie(e,t,(function(e,t){return r.then(e,t)}),n,{on:o.on,send:o.send})})}(e,t,r,n,{on:i,send:a})},o.function=function(r,n){return Ie(e,t,r,n,{on:i,send:a})},o.object=function(e){return E(e)||Te.isProxyWindow(e)?be("cross_domain_window",Te.serialize(e,{send:a})):e},o))}function Ce(e,t,r,n){var o,i=n.send;return function(e,t){if(void 0===t&&(t=Ee),"undefined"!==e)return JSON.parse(e,(function(e,r){if(ge(this))return r;var n,o;if(ge(r)?(n=r.__type__,o=r.__val__):(n=ve(r),o=r),!n)return o;var i=t[n]||_e[n];return i?i(o,e):o}))}(r,((o={}).cross_domain_zalgo_promise=function(e){return function(e,t,r){return new U(r.then)}(0,0,e)},o.cross_domain_function=function(r){return function(e,t,r,n){var o=r.id,i=r.name,a=n.send,s=function(r){function n(){var s=arguments;return Te.toProxyWindow(e,{send:a}).awaitWindow().then((function(e){var c=Re(e,o);if(c&&c.val!==n)return c.val.apply({source:window,origin:f()},s);var l=[].slice.call(s);return r.fireAndForget?a(e,"postrobot_method",{id:o,name:i,args:l},{domain:t,fireAndForget:!0}):a(e,"postrobot_method",{id:o,name:i,args:l},{domain:t,fireAndForget:!1}).then((function(e){return e.data.result}))})).catch((function(e){throw e}))}return void 0===r&&(r={}),n.__name__=i,n.__origin__=t,n.__source__=e,n.__id__=o,n.origin=t,n},c=s();return c.fireAndForget=s({fireAndForget:!0}),c}(e,t,r,{send:i})},o.cross_domain_window=function(e){return Te.deserialize(e,{send:i})},o))}var Pe={};function Ne(e,t,r,n){var o=n.on,i=n.send;return U.try((function(){var n=ue().getOrSet(e,(function(){return{}}));return n.buffer=n.buffer||[],n.buffer.push(r),n.flush=n.flush||U.flush().then((function(){if(w(e))throw new Error("Window is closed");var r,a=Ae(e,t,((r={}).__post_robot_10_0_46__=n.buffer||[],r),{on:o,send:i});delete n.buffer;for(var s=Object.keys(Pe),c=[],l=0;ll;)o(n,r=t[l++])&&(~a(u,r)||c(u,r));return u}},cb2d:function(e,t,r){var n=r("1626"),o=r("9bf2"),i=r("13d2"),a=r("6374");e.exports=function(e,t,r,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:t;if(n(r)&&i(r,l,s),s.global)c?e[t]=r:a(t,r);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},cc12:function(e,t,r){var n=r("da84"),o=r("861d"),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},ccfa:function(e,t,r){"use strict";r.r(t);var n=r("f79d");for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o)},cdce:function(e,t,r){var n=r("da84"),o=r("1626"),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},d066:function(e,t,r){var n=r("da84"),o=r("1626"),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}},d1e7:function(e,t,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},d2bb:function(e,t,r){var n=r("e330"),o=r("825a"),i=r("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return o(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},d58f:function(e,t,r){var n=r("59ed"),o=r("7b0b"),i=r("44ad"),a=r("07fa"),s=TypeError,c=function(e){return function(t,r,c,l){n(r);var u=o(t),p=i(u),d=a(u),f=e?d-1:0,h=e?-1:1;if(c<2)for(;;){if(f in p){l=p[f],f+=h;break}if(f+=h,e?f<0:d<=f)throw s("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=h)f in p&&(l=r(l,p[f],f,u));return l}};e.exports={left:c(!1),right:c(!0)}},d987:function(e,t,r){(t=r("24fb")(!1)).push([e.i,".button[data-v-298a1336]{font-family:clear-sans;font-size:1.1rem;font-weight:700;letter-spacing:1.8px;text-transform:uppercase;min-width:86px;margin:0 12px 10px 0;padding:8px;text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer;outline:none;border-radius:4px;border:none;color:#ff8c2f;background:-webkit-gradient(linear,left top,right top,color-stop(0,#e22828),to(#ff8c2f)) 0 0 no-repeat,-webkit-gradient(linear,left top,right top,color-stop(0,#e22828),to(#ff8c2f)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,color-stop(0,#e22828),to(#e22828)) 0 100% no-repeat,-webkit-gradient(linear,left bottom,left top,color-stop(0,#ff8c2f),to(#ff8c2f)) 100% 100% no-repeat;background:linear-gradient(90deg,#e22828,#ff8c2f) 0 0 no-repeat,linear-gradient(90deg,#e22828,#ff8c2f) 0 100% no-repeat,linear-gradient(0deg,#e22828,#e22828) 0 100% no-repeat,linear-gradient(0deg,#ff8c2f,#ff8c2f) 100% 100% no-repeat;background-size:100% 2px,100% 2px,2px 100%,2px 100%}.button[data-v-298a1336]:hover{color:#f2f2f2;background:-webkit-gradient(linear,left top,right top,color-stop(0,#e22828),to(#ff8c2f));background:linear-gradient(90deg,#e22828,#ff8c2f)}\n\n/*! purgecss start ignore */.fade-enter-active[data-v-298a1336],.fade-leave-active[data-v-298a1336]{-webkit-transition:opacity .15s ease-out;transition:opacity .15s ease-out}.fade-enter[data-v-298a1336],.fade-leave-to[data-v-298a1336]{opacity:0}@media (prefers-reduced-motion){*[data-v-298a1336]{-webkit-transition-duration:0!important;transition-duration:0!important}}[v-cloak][data-v-298a1336]{display:none}\n\n/*! purgecss end ignore */",""]),e.exports=t},d9b5:function(e,t,r){var n=r("d066"),o=r("1626"),i=r("3a9b"),a=r("fdbf"),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,s(e))}},d9e2:function(e,t,r){var n=r("23e7"),o=r("da84"),i=r("2ba4"),a=r("e5cb"),s="WebAssembly",c=o[s],l=7!==Error("e",{cause:7}).cause,u=function(e,t){var r={};r[e]=a(e,t,l),n({global:!0,constructor:!0,arity:1,forced:l},r)},p=function(e,t){if(c&&c[e]){var r={};r[e]=a(s+"."+e,t,l),n({target:s,stat:!0,constructor:!0,arity:1,forced:l},r)}};u("Error",(function(e){return function(t){return i(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return i(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return i(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return i(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return i(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return i(e,this,arguments)}})),u("URIError",(function(e){return function(t){return i(e,this,arguments)}})),p("CompileError",(function(e){return function(t){return i(e,this,arguments)}})),p("LinkError",(function(e){return function(t){return i(e,this,arguments)}})),p("RuntimeError",(function(e){return function(t){return i(e,this,arguments)}}))},da84:function(e,t,r){(function(t){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,r("c8ba"))},dc4a:function(e,t,r){var n=r("59ed"),o=r("7234");e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},dd40:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},df02:function(e,t,r){const n=r("0d7c"),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=r("fe45"),{re:a,t:s}=r("22c0"),c=r("e12f"),{compareIdentifiers:l}=r("2874");class u{constructor(e,t){if(t=c(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?a[s.LOOSE]:a[s.FULL]);if(!r)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===l(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this}}e.exports=u},df7c:function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var o=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n=-1&&!o;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,o="/"===a.charAt(0))}return(o?"/":"")+(t=r(n(t.split("/"),(function(e){return!!e})),!o).join("/"))||"."},t.normalize=function(e){var i=t.isAbsolute(e),a="/"===o(e,-1);return(e=r(n(e.split("/"),(function(e){return!!e})),!i).join("/"))||i||(e="."),e&&a&&(e+="/"),(i?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(n(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var o=n(e.split("/")),i=n(r.split("/")),a=Math.min(o.length,i.length),s=a,c=0;c=1;--i)if(47===(t=e.charCodeAt(i))){if(!o){n=i;break}}else o=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=function(e){"string"!=typeof e&&(e+="");var t,r=0,n=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){r=t+1;break}}else-1===n&&(o=!1,n=t+1);return-1===n?"":e.slice(r,n)}(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,r=0,n=-1,o=!0,i=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===n&&(o=!1,n=a+1),46===s?-1===t?t=a:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){r=a+1;break}}return-1===t||-1===n||0===i||1===i&&t===n-1&&t===r+1?"":e.slice(t,n)};var o="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r("4362"))},e072:function(e,t,r){e.exports=function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};return t.default.locale(r,null,!0),r}(r("5a0c"))},e12f:function(e,t){const r=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter(t=>e[t]).reduce((e,t)=>(e[t]=!0,e),{}):{}},e330:function(e,t,r){var n=r("40d5"),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);e.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}},e391:function(e,t,r){var n=r("577e");e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},e3db:function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},e5b7:function(e,t,r){e.exports=function(e){"use strict";var t=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(e),r={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return e+(1===e?"er":"")}};return t.default.locale(r,null,!0),r}(r("5a0c"))},e5cb:function(e,t,r){"use strict";var n=r("d066"),o=r("1a2d"),i=r("9112"),a=r("3a9b"),s=r("d2bb"),c=r("e893"),l=r("aeb0"),u=r("7156"),p=r("e391"),d=r("ab36"),f=r("6f19"),h=r("83ab"),m=r("c430");e.exports=function(e,t,r,g){var v="stackTraceLimit",b=g?2:1,y=e.split("."),w=y[y.length-1],x=n.apply(null,y);if(x){var _=x.prototype;if(!m&&o(_,"cause")&&delete _.cause,!r)return x;var E=n("Error"),k=t((function(e,t){var r=p(g?t:e,void 0),n=g?new x(e):new x;return void 0!==r&&i(n,"message",r),f(n,k,n.stack,2),this&&a(_,this)&&u(n,this,k),arguments.length>b&&d(n,arguments[b]),n}));if(k.prototype=_,"Error"!==w?s?s(k,E):c(k,E,{name:!0}):h&&v in x&&(l(k,x,v),l(k,x,"prepareStackTrace")),c(k,x),!m)try{_.name!==w&&i(_,"name",w),_.constructor=k}catch(e){}return k}}},e728:function(e,t,r){"use strict";r.r(t);var n=r("6dd2");for(var o in n)["default"].indexOf(o)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(o)},e893:function(e,t,r){var n=r("1a2d"),o=r("56ef"),i=r("06cf"),a=r("9bf2");e.exports=function(e,t,r){for(var s=o(t),c=a.f,l=i.f,u=0;un(e,t,r)>0},f06c:function(e,t,r){const n=r("df02");e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},f558:function(e,t,r){var n=r("743c");n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=r("35d6").default;e.exports.__inject__=function(e){o("4ec8b878",n,e)}},f5df:function(e,t,r){var n=r("00ee"),o=r("1626"),i=r("c6b6"),a=r("b622")("toStringTag"),s=Object,c="Arguments"==i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?r:c?i(t):"Object"==(n=i(t))&&o(t.callee)?"Arguments":n}},f6fd:function(e,t){!function(e){var t="currentScript",r=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(n){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(n.stack)||[!1])[1];for(e in r)if(r[e].src==t||"interactive"==r[e].readyState)return r[e];return null}}})}(document)},f71e:function(e,t,r){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&function(e){return function(t){return function(r,n){var o={key:r,value:t[r]},i={key:n,value:t[n]};return e(o,i)}}}(t.cmp),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var i,a;if(Array.isArray(t)){for(a="[",i=0;i0)for(var r=0,o=arguments.length;r1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var o=0;null!==n;o++)r=e(r,n.value,o),n=n.next;return r},n.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var o=this.length-1;null!==n;o--)r=e(r,n.value,o),n=n.prev;return r},n.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},n.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},n.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(tthis.length&&(t=this.length);for(var o=0,i=this.head;null!==i&&othis.length&&(t=this.length);for(var o=this.length,i=this.tail;null!==i&&o>t;o--)i=i.prev;for(;null!==i&&o>e;o--,i=i.prev)r.push(i.value);return r},n.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,i=this.head;null!==i&&n"._('Your hardware does not have Intel VT-x or AMD-V capability').". "._('This is required to create VMs in KVM').". "._('Please disable the VM function').". ";
- echo " "._('Click here to see the Unraid Wiki for more information')."