var WPRecipeMaker;!function(){var e={55243:function(e,t,n){"use strict";var r="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r&&r,o="URLSearchParams"in r,i="Symbol"in r&&"iterator"in Symbol,a="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(j){return!1}}(),c="FormData"in r,s="ArrayBuffer"in r;if(s)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],p=ArrayBuffer.isView||function(e){return e&&u.indexOf(Object.prototype.toString.call(e))>-1};function l(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function f(e){return"string"!=typeof e&&(e=String(e)),e}function d(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function v(e){this.map={},e instanceof v?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function h(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function m(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function w(e){var t=new FileReader,n=m(t);return t.readAsArrayBuffer(e),n}function y(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:a&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:c&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:o&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():s&&a&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=y(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(e)||p(e))?this._bodyArrayBuffer=y(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a&&(this.blob=function(){var e=h(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=h(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(w)}),this.text=function(){var e,t,n,r=h(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=m(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function k(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function P(e,t){if(!(this instanceof P))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new v(t.headers),this.url=t.url||"",this._initBody(e)}x.prototype.clone=function(){return new x(this,{body:this._bodyInit})},g.call(x.prototype),g.call(P.prototype),P.prototype.clone=function(){return new P(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new v(this.headers),url:this.url})},P.error=function(){var e=new P(null,{status:0,statusText:""});return e.type="error",e};var O=[301,302,303,307,308];P.redirect=function(e,t){if(-1===O.indexOf(t))throw new RangeError("Invalid status code");return new P(null,{status:t,headers:{location:e}})};var M=r.DOMException;try{new M}catch(sn){(M=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),M.prototype.constructor=M}function E(e,t){return new Promise((function(n,o){var i=new x(e,t);if(i.signal&&i.signal.aborted)return o(new M("Aborted","AbortError"));var c=new XMLHttpRequest;function u(){c.abort()}c.onload=function(){var e,t,r={status:c.status,statusText:c.statusText,headers:(e=c.getAllResponseHeaders()||"",t=new v,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};r.url="responseURL"in c?c.responseURL:r.headers.get("X-Request-URL");var o="response"in c?c.response:c.responseText;setTimeout((function(){n(new P(o,r))}),0)},c.onerror=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},c.ontimeout=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},c.onabort=function(){setTimeout((function(){o(new M("Aborted","AbortError"))}),0)},c.open(i.method,function(e){try{return""===e&&r.location.href?r.location.href:e}catch(j){return e}}(i.url),!0),"include"===i.credentials?c.withCredentials=!0:"omit"===i.credentials&&(c.withCredentials=!1),"responseType"in c&&(a?c.responseType="blob":s&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(c.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof v?i.headers.forEach((function(e,t){c.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){c.setRequestHeader(e,f(t.headers[e]))})),i.signal&&(i.signal.addEventListener("abort",u),c.onreadystatechange=function(){4===c.readyState&&i.signal.removeEventListener("abort",u)}),c.send(void 0===i._bodyInit?null:i._bodyInit)}))}E.polyfill=!0,r.fetch||(r.fetch=E,r.Headers=v,r.Request=x,r.Response=P);var R;n(35054),n(39275),n(22321),n(75668);function S(e){var t=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return t?t.pop():""}window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.analytics={init:()=>{(wprm_public.settings.analytics_enabled||wprm_public.settings.google_analytics_enabled)&&document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this&&!window.WPRecipeMaker.analytics.checkClick(t,e);t=t.parentNode);}),!1)},checkClick:(e,t)=>{if(e.matches(".wprm-recipe-jump")){var n=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return n&&window.WPRecipeMaker.analytics.registerAction(n,wprm_public.post_id,"jump-to-recipe"),!0}if(e.matches(".wprm-recipe-jump-video")){var r=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return r&&window.WPRecipeMaker.analytics.registerAction(r,wprm_public.post_id,"jump-to-video"),!0}if(e.matches(".wprm-recipe-pin")){var o=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return o&&window.WPRecipeMaker.analytics.registerAction(o,wprm_public.post_id,"pin-button"),!0}if(e.matches(".wprm-recipe-facebook-share")){var i=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return i&&window.WPRecipeMaker.analytics.registerAction(i,wprm_public.post_id,"facebook-share-button"),!0}if(e.matches(".wprm-recipe-twitter-share")){var a=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return a&&window.WPRecipeMaker.analytics.registerAction(a,wprm_public.post_id,"twitter-share-button"),!0}if(e.matches(".wprm-recipe-text-share")){var c=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return c&&window.WPRecipeMaker.analytics.registerAction(c,wprm_public.post_id,"text-share-button"),!0}if(e.matches(".wprm-recipe-email-share")){var s=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return s&&window.WPRecipeMaker.analytics.registerAction(s,wprm_public.post_id,"email-share-button"),!0}if(e.matches(".wprm-recipe-add-to-collection-recipe")){var u=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipeId;return u&&window.WPRecipeMaker.analytics.registerAction(u,wprm_public.post_id,"add-to-collections-button"),!0}if(e.matches(".wprm-recipe-add-to-shopping-list")){var p=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipeId;return p&&window.WPRecipeMaker.analytics.registerAction(p,wprm_public.post_id,"add-to-shopping-list-button"),!0}if(e.matches(".wprm-recipe-equipment a")){var l=e.closest(".wprm-recipe-equipment-container");if(l){var f=e.closest(".wprm-recipe-equipment-item"),d=f&&f.classList.contains("wprm-recipe-equipment-item-has-image")?"image":"text",v=f?f.querySelector(".wprm-recipe-equipment-name"):e,h=l.dataset.recipe;h&&window.WPRecipeMaker.analytics.registerAction(h,wprm_public.post_id,"equipment-link",{url:e.href,type:d,name:v?v.innerText:"unknown"})}return!0}if(e.matches(".wprm-recipe-ingredient a")){var m=e.closest(".wprm-recipe-ingredients-container"),w=!1,y=e.closest(".wprm-recipe-ingredient");if(y&&(w=y.querySelector(".wprm-recipe-ingredient-name")),m){var g=m.dataset.recipe;g&&window.WPRecipeMaker.analytics.registerAction(g,wprm_public.post_id,"ingredient-link",{url:e.href,name:w?w.innerText:"unknown"})}return!0}if(e.matches(".wprm-recipe-instruction a")){var b=e.closest(".wprm-recipe-instructions-container");if(b){var x=b.dataset.recipe;x&&window.WPRecipeMaker.analytics.registerAction(x,wprm_public.post_id,"instruction-link",{url:e.href})}return!0}return!1},registerAction:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};window.WPRecipeMaker.analytics.registerActionLocal(e,t,n,r),window.WPRecipeMaker.analytics.registerActionGoogleAnalytics(e,t,n,r)},registerActionOnce:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};window.WPRecipeMaker.analytics.registeredActions.hasOwnProperty("recipe-".concat(e))&&window.WPRecipeMaker.analytics.registeredActions["recipe-".concat(e)].hasOwnProperty(n)||(window.WPRecipeMaker.analytics.registeredActions.hasOwnProperty("recipe-".concat(e))||(window.WPRecipeMaker.analytics.registeredActions["recipe-".concat(e)]={}),window.WPRecipeMaker.analytics.registeredActions["recipe-".concat(e)][n]=!0,window.WPRecipeMaker.analytics.registerAction(e,t,n,r))},registerActionLocal:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(wprm_public.settings.analytics_enabled){if("comment-rating"===n||"user-rating"===n)return;fetch(wprm_public.endpoints.analytics,{method:"POST",headers:{"X-WP-Nonce":wprm_public.api_nonce,Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify({recipeId:e,postId:t,type:n,meta:r,uid:S("wprm_analytics_visitor"),nonce:wprm_public.nonce})})}},registerActionGoogleAnalytics:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(wprm_public.settings.google_analytics_enabled&&window.hasOwnProperty("gtag")){var o="wprm_"+n.replace(/-/g,"_"),i=n.replace(/-/g," "),a={event_category:"wprecipemaker",event_label:"WPRM "+i.charAt(0).toUpperCase()+i.slice(1),wprm_recipe_id:""+e,wprm_post_id:""+t};if("comment-rating"!==n&&"user-rating"!==n||!r.hasOwnProperty("rating")||(a.value=r.rating,delete r.rating),0{window.WPRecipeMaker.analytics.init()},"loading"!=document.readyState?R():document.addEventListener("DOMContentLoaded",R);n(38472);window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.rating={init(){var e=document.querySelector(".comment-form-wprm-rating");if(e){var t=document.querySelectorAll(".wprm-recipe-container"),n=document.querySelector("body.wp-admin");t.length>0||n?e.style.display="":e.style.display="none"}},settings:{enabled:void 0!==window.wprm_public?wprm_public.settings.features_comment_ratings:wprm_admin.settings.features_comment_ratings},onClick(e){var t=e.closest(".wprm-comment-ratings-container, .wprm-user-ratings-modal-stars"),n=t?parseInt(t.dataset.currentRating):0,r=parseInt(e.value);if(r===n)e.checked=!1,document.querySelector('input[name="'+e.name+'"][value="0"]').checked=!0,t.dataset.currentRating=0;else if(t.dataset.currentRating=r,window.WPRecipeMaker.hasOwnProperty("analytics")){var o=0,i=document.querySelector(".wprm-recipe-container");i&&i.dataset.hasOwnProperty("recipeId")&&(o=parseInt(i.dataset.recipeId)),window.WPRecipeMaker.analytics.registerAction(o,wprm_public.post_id,"comment-rating",{rating:r})}window.WPRecipeMaker.hasOwnProperty("comments")&&window.WPRecipeMaker.comments.hasOwnProperty("change")&&window.WPRecipeMaker.comments.change(t),document.dispatchEvent(new CustomEvent("wprm-comment-rating-change",{detail:{el:e,container:t,rating:r}}))}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.rating.init()}));n(54883),n(68995);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{window.growMe||(window.growMe=function(e){window.growMe._.push(e)},window.growMe._=[]),document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode){if(t.matches(".wprm-recipe-grow-not-saved")){WPRecipeMaker.grow.onClickSave(t,e);break}if(t.matches(".wprm-recipe-grow-saved")){WPRecipeMaker.grow.onClickSaved(t,e);break}}}),!1);window.growMe((()=>{window.growMe.getIsBookmarked(),window.growMe.on("isBookmarkedChanged",(e=>{e.isBookmarked&&WPRecipeMaker.grow.markAsSaved(!1,!0)}))}))},onClickSave:(e,t)=>{t.preventDefault();var n={source:"wprm_save_btn"},r=parseInt(e.dataset.recipeId),o=e.closest(".wprm-recipe-grow-container");o&&(n.tooltipReferenceElement=o),window.growMe.addBookmark(n).then((function(e){WPRecipeMaker.grow.markAsSaved(r)})).catch((function(e){WPRecipeMaker.grow.markAsSaved(r)}))},onClickSaved:(e,t)=>{t.preventDefault()},markAsSaved:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.querySelectorAll(".wprm-recipe-grow");for(var r of n)(t||e===parseInt(r.dataset.recipeId))&&(r.classList.contains("wprm-recipe-grow-not-saved")?r.style.display="none":r.classList.contains("wprm-recipe-grow-saved")&&(r.style.display=""))}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.grow.init()})),window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.manager={init:()=>{},recipes:{},getRecipe:e=>(e=parseInt(e),window.WPRecipeMaker.manager.recipes.hasOwnProperty("recipe-".concat(e))?Promise.resolve(window.WPRecipeMaker.manager.recipes["recipe-".concat(e)]):window.WPRecipeMaker.manager.loadRecipe(e)),loadRecipe:e=>new Promise(((t,n)=>{new Promise(((t,n)=>{window.hasOwnProperty("wprm_recipes")&&window.wprm_recipes.hasOwnProperty("recipe-".concat(e))?t(window.wprm_recipes["recipe-".concat(e)]):window.WPRecipeMaker.manager.loadRecipeDataFromAPI(e).then((e=>{t(e)}))})).then((n=>{var r=!1;n&&(r=window.WPRecipeMaker.manager.loadRecipeObject(e,n)),window.WPRecipeMaker.manager.recipes["recipe-".concat(e)]=r,t(r)}))})),loadRecipeDataFromAPI:e=>{var t={Accept:"application/json","Content-Type":"application/json"};return 0{fetch("".concat(wprm_public.endpoints.manage,"/recipe/").concat(e),{method:"POST",headers:t,credentials:"same-origin",body:JSON.stringify({format:"frontend"})}).then((e=>!!e.ok&&e.json())).then((e=>{n(e)}))}))},loadRecipeObject:(e,t)=>{var n={id:e,data:t,setServings:function(){},setAdvancedServings:function(){},setUnitSystem:function(){},addRating:function(){}};return window.WPRecipeMaker.hasOwnProperty("managerPremium")&&(n=window.WPRecipeMaker.managerPremium.loadRecipeObject(e,n)),n},triggerChangeEvent:(e,t)=>{document.dispatchEvent(new CustomEvent("wprm-recipe-change",{detail:{id:e,type:t}}))},changeRecipeData:(e,t)=>{window.WPRecipeMaker.manager.recipes.hasOwnProperty("recipe-".concat(e))&&(window.WPRecipeMaker.manager.recipes["recipe-".concat(e)].data=T(T({},window.WPRecipeMaker.manager.recipes["recipe-".concat(e)].data),t),document.dispatchEvent(new CustomEvent("wprm-recipe-change-data",{detail:{id:e}})))}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.manager.init()}));var C,I,D,B,N,F=(C=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],I=function(){function e(t){var n=t.targetModal,r=t.triggers,o=void 0===r?[]:r,i=t.onShow,a=void 0===i?function(){}:i,c=t.onClose,s=void 0===c?function(){}:c,u=t.openTrigger,p=void 0===u?"data-micromodal-trigger":u,l=t.closeTrigger,f=void 0===l?"data-micromodal-close":l,d=t.openClass,v=void 0===d?"is-open":d,h=t.disableScroll,m=void 0!==h&&h,w=t.disableFocus,y=void 0!==w&&w,g=t.awaitCloseAnimation,b=void 0!==g&&g,x=t.awaitOpenAnimation,k=void 0!==x&&x,P=t.debugMode,O=void 0!==P&&P;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modal=document.getElementById(n),this.config={debugMode:O,disableScroll:m,openTrigger:p,closeTrigger:f,openClass:v,onShow:a,onClose:s,awaitCloseAnimation:b,awaitOpenAnimation:k,disableFocus:y},o.length>0&&this.registerTriggers.apply(this,_(o)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var t,n;return t=e,(n=[{key:"registerTriggers",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r0&&void 0!==arguments[0]?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){this.modal.addEventListener("animationend",(function t(){e.modal.removeEventListener("animationend",t,!1),e.setFocusToFirstNode()}),!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,t)}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var n=this.config.openClass;this.modal.addEventListener("animationend",(function e(){t.classList.remove(n),t.removeEventListener("animationend",e,!1)}),!1)}else t.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(e){this.modal=document.getElementById(e),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var t=document.querySelector("body");switch(e){case"enable":Object.assign(t.style,{overflow:""});break;case"disable":Object.assign(t.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(e){(e.target.hasAttribute(this.config.closeTrigger)||e.target.parentNode.hasAttribute(this.config.closeTrigger))&&(e.preventDefault(),e.stopPropagation(),this.closeModal(e))}},{key:"onKeydown",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e)}},{key:"getFocusableNodes",value:function(){var e=this.modal.querySelectorAll(C);return Array.apply(void 0,_(e))}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var n=t.filter((function(t){return!t.hasAttribute(e.config.closeTrigger)}));n.length>0&&n[0].focus(),0===n.length&&t[0].focus()}}}},{key:"retainFocus",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter((function(e){return null!==e.offsetParent})),this.modal.contains(document.activeElement)){var n=t.indexOf(document.activeElement);e.shiftKey&&0===n&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&n===t.length-1&&(t[0].focus(),e.preventDefault())}else t[0].focus()}}])&&j(t.prototype,n),e}(),D=null,B=function(e){if(!document.getElementById(e))return console.warn("MicroModal: ❗Seems like you have missed %c'".concat(e,"'"),"background-color: #f8f9fa;color: #50596c;font-weight: bold;","ID somewhere in your code. Refer example below to resolve it."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'')),!1},N=function(e,t){if(function(e){e.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",''))}(e),!t)return!0;for(var n in t)B(n);return!0},{init:function(e){var t=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),n=_(document.querySelectorAll("[".concat(t.openTrigger,"]"))),r=function(e,t){var n=[];return e.forEach((function(e){var r=e.attributes[t].value;void 0===n[r]&&(n[r]=[]),n[r].push(e)})),n}(n,t.openTrigger);if(!0!==t.debugMode||!1!==N(n,r))for(var o in r){var i=r[o];t.targetModal=o,t.triggers=_(i),D=new I(t)}},show:function(e,t){var n=t||{};n.targetModal=e,!0===n.debugMode&&!1===B(e)||(D&&D.removeEventListeners(),(D=new I(n)).showModal())},close:function(e){e?D.closeModalById(e):D.closeModal()}});"undefined"!=typeof window&&(window.MicroModal=F);var U=F;window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.modal={open(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};U.show("wprm-popup-modal-"+e,{onShow:n=>{var r=n.dataset.type;document.dispatchEvent(new CustomEvent("wprm-modal-open",{detail:{type:r,uid:e,modal:n,data:t}}))},awaitCloseAnimation:!0})},close(e){U.close("wprm-popup-modal-"+e)}},window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.media={init:()=>{document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode)if(t.matches(".wprm-recipe-media-toggle")){WPRecipeMaker.media.onClick(t,e);break}}),!1),WPRecipeMaker.media.setState(wprm_public.settings.instruction_media_toggle_default)},onClick:(e,t)=>{t.preventDefault();var n=e.dataset.state;WPRecipeMaker.media.setState(n,e)},setState:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=WPRecipeMaker.media.state;if(("on"===e||"off"===e)&&e!==n){var r=0;t&&(r=window.pageYOffset+t.getBoundingClientRect().top);var o=document.querySelectorAll(".wprm-recipe-instruction-media");for(var i of o)i.style.display="off"===e?"none":"";var a=0;t&&(a=window.pageYOffset+t.getBoundingClientRect().top);var c=a-r;c&&scrollBy(0,c);var s=document.querySelectorAll(".wprm-recipe-media-toggle");for(var u of s)e===u.dataset.state?u.classList.add("wprm-toggle-active"):u.classList.remove("wprm-toggle-active");WPRecipeMaker.media.state=e}},state:"on"},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.media.init()}));n(86632);window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.pinterest={init(){document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode)if(t.matches(".wprm-recipe-pin")){WPRecipeMaker.pinterest.onClick(t,e);break}}),!1)},onClick(e,t){t.preventDefault();var n=this.getPinUtils();if(n){var r=e.dataset.url,o=e.dataset.media,i=e.dataset.description,a=e.dataset.repin;a?PinUtils.repin(a):n.pinOne({url:r,media:o,description:i})}else window.open(e.href,"targetWindow","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=500,height=500")},getPinUtils(){return!!window.hasOwnProperty("PinUtils")&&window.PinUtils}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.pinterest.init()}));var H,q,V,z,G,$;n(67838);function Y(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(u){return void n(u)}c.done?t(s):Promise.resolve(s).then(r,o)}function K(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Y(i,r,o,a,c,"next",e)}function c(e){Y(i,r,o,a,c,"throw",e)}a(void 0)}))}}window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.print={init:()=>{document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode)if(t.matches(".wprm-recipe-print, .wprm-print-recipe-shortcode")){WPRecipeMaker.print.onClick(t,e);break}}),!1)},onClick:(e,t)=>{var n=e.dataset.recipeId;if(!n){var r=e.closest(".wprm-recipe-container");r&&(n=r.dataset.recipeId)}if(n){t.preventDefault(),n=parseInt(n);var o=e.dataset.hasOwnProperty("template")?e.dataset.template:"",i="other",a=e.closest(".wprm-recipe");a&&(i=a.classList.contains("wprm-recipe-snippet")?"snippet":a.classList.contains("wprm-recipe-roundup-item")?"roundup":"recipe"),window.WPRecipeMaker.analytics.registerAction(n,wprm_public.post_id,"print",{location:i}),WPRecipeMaker.print.recipeAsIs(n,o)}},recipeAsIs:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!1,r=1,o=!1;if(window.WPRecipeMaker.hasOwnProperty("quantities")){var i=WPRecipeMaker.quantities.getRecipe(e);i&&(r=i.system,i.servings!==i.originalServings&&(n=i.servings))}window.WPRecipeMaker.hasOwnProperty("advancedServings")&&(o=WPRecipeMaker.advancedServings.getRecipe(e)),WPRecipeMaker.print.recipe(e,n,r,o,t)},recipe:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",i=e;o&&(i+="/".concat(o));var a=WPRecipeMaker.print.getUrl(i),c=wprm_public.settings.print_new_tab?"_blank":"_self",s={id:e,system:n,servings:t,advancedServings:r};localStorage.setItem("wprmPrintArgs",JSON.stringify(s));var u=window.open(a,c);"_blank"===c&&(u.onload=()=>{u.focus()})},getUrl:e=>{var t=wprm_public.home_url.split(/\?(.+)/),n=t[0];return wprm_public.permalinks?(n+=wprm_public.print_slug+"/"+e,t[1]&&(n+="?"+t[1])):(n+="?"+wprm_public.print_slug+"="+e,t[1]&&(n+="&"+t[1])),n}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.print.init()})),window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.recipe={init:()=>{window.addEventListener("wpupgInitReady",(function(e){var t=e.detail;window.WPRecipeMaker.recipe.wpupgGridCompatibility(t)}))},wpupgGridCompatibility:e=>{e&&e.on("itemsLoaded",(()=>{window.WPRecipeMaker.recipe.initFeatures()}))},initFeatures:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(window.WPRecipeMaker){if(window.WPRecipeMaker.hasOwnProperty("advancedServings")&&window.WPRecipeMaker.advancedServings.init(),window.WPRecipeMaker.hasOwnProperty("quantities")&&(window.WPRecipeMaker.quantities.init(),e.hasOwnProperty("id")&&(window.WPRecipeMaker.quantities.initRecipe(e.id),e.hasOwnProperty("servings")))){var t=parseInt(e.servings);t&&window.WPRecipeMaker.quantities.setServings(e.id,t)}window.WPRecipeMaker.hasOwnProperty("timer")&&window.WPRecipeMaker.timer.init(),window.WPRecipeMaker.hasOwnProperty("preventSleep")&&window.WPRecipeMaker.preventSleep.init(),window.WPRecipeMaker.hasOwnProperty("privateNotes")&&window.WPRecipeMaker.privateNotes.init(),window.WPRecipeMaker.hasOwnProperty("tooltip")&&window.WPRecipeMaker.tooltip.init(),window.WPRecipeMaker.hasOwnProperty("video")&&wprm_public.settings.video_force_ratio&&window.WPRecipeMaker.video.init()}document.dispatchEvent(new CustomEvent("wprmRecipeInit",{detail:e}))}},window.WPRecipeMaker.recipe.init(),window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.slickstream={init:()=>{document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode){if(t.matches(".wprm-recipe-slickstream-not-saved")){WPRecipeMaker.slickstream.onClickSave(t,e);break}if(t.matches(".wprm-recipe-slickstream-saved")){WPRecipeMaker.slickstream.onClickSaved(t,e);break}}}),!1),document.addEventListener("slickstream-favorite-change",(()=>{WPRecipeMaker.slickstream.favoriteChanged()})),WPRecipeMaker.slickstream.favoriteChanged(),WPRecipeMaker.slickstream.show()},show:($=K((function*(){if(yield WPRecipeMaker.slickstream.getSlickstream()){var e=document.querySelectorAll(".wprm-recipe-slickstream");for(var t of e)t.style.visibility=""}})),function(){return $.apply(this,arguments)}),getSlickstream:(G=K((function*(){return window.slickstream?window.slickstream.v1:new Promise(((e,t)=>{document.addEventListener("slickstream-ready",(()=>{e(window.slickstream.v1)}))}))})),function(){return G.apply(this,arguments)}),onClickSave:(z=K((function*(e,t){t.preventDefault(),WPRecipeMaker.slickstream.setFavoriteStatus(!0)})),function(e,t){return z.apply(this,arguments)}),onClickSaved:(V=K((function*(e,t){t.preventDefault(),WPRecipeMaker.slickstream.setFavoriteStatus(!1)})),function(e,t){return V.apply(this,arguments)}),favoriteChanged:(q=K((function*(){var e=(yield WPRecipeMaker.slickstream.getSlickstream()).favorites.getState(),t=document.querySelectorAll(".wprm-recipe-slickstream");for(var n of t)n.classList.contains("wprm-recipe-slickstream-not-saved")?n.style.display=!0===e?"none":"":n.classList.contains("wprm-recipe-slickstream-saved")&&(n.style.display=!0===e?"":"none")})),function(){return q.apply(this,arguments)}),setFavoriteStatus:(H=K((function*(e){(yield WPRecipeMaker.slickstream.getSlickstream()).favorites.setState(e)})),function(e){return H.apply(this,arguments)})},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.slickstream.init()}));var X=n(23362),J=n.n(X);function Q(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Z(e){return e instanceof Q(e).Element||e instanceof Element}function ee(e){return e instanceof Q(e).HTMLElement||e instanceof HTMLElement}function te(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Q(e).ShadowRoot||e instanceof ShadowRoot)}window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.jump={init:()=>{document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode)if(t.matches(".wprm-jump-smooth-scroll")){WPRecipeMaker.jump.onClick(t,e);break}}),!1)},onClick:(e,t)=>{t.preventDefault();var n=e.getAttribute("href"),r=parseInt(e.dataset.smoothScroll);r<0&&(r=500),J()(document.querySelector(n),{verticalOffset:-100,speed:r})}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.jump.init()})),window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.temperature={getTemperatures(){var e=[],t=document.querySelectorAll(".wprm-temperature-container");for(var n of t)e.push(WPRecipeMaker.temperature.getData(n));return e},getData(e){return{container:e,value:e.dataset.value,unit:e.dataset.unit,help:e.dataset.tooltip}}};var ne=Math.max,re=Math.min,oe=Math.round;function ie(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(ee(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=oe(n.width)/a||1),i>0&&(o=oe(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function ae(e){var t=Q(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ce(e){return e?(e.nodeName||"").toLowerCase():null}function se(e){return((Z(e)?e.ownerDocument:e.document)||window.document).documentElement}function ue(e){return ie(se(e)).left+ae(e).scrollLeft}function pe(e){return Q(e).getComputedStyle(e)}function le(e){var t=pe(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function fe(e,t,n){void 0===n&&(n=!1);var r,o,i=ee(t),a=ee(t)&&function(e){var t=e.getBoundingClientRect(),n=oe(t.width)/e.offsetWidth||1,r=oe(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),c=se(t),s=ie(e,a),u={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(i||!i&&!n)&&(("body"!==ce(t)||le(c))&&(u=(r=t)!==Q(r)&&ee(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:ae(r)),ee(t)?((p=ie(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):c&&(p.x=ue(c))),{x:s.left+u.scrollLeft-p.x,y:s.top+u.scrollTop-p.y,width:s.width,height:s.height}}function de(e){var t=ie(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ve(e){return"html"===ce(e)?e:e.assignedSlot||e.parentNode||(te(e)?e.host:null)||se(e)}function he(e){return["html","body","#document"].indexOf(ce(e))>=0?e.ownerDocument.body:ee(e)&&le(e)?e:he(ve(e))}function me(e,t){var n;void 0===t&&(t=[]);var r=he(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Q(r),a=o?[i].concat(i.visualViewport||[],le(r)?r:[]):r,c=t.concat(a);return o?c:c.concat(me(ve(a)))}function we(e){return["table","td","th"].indexOf(ce(e))>=0}function ye(e){return ee(e)&&"fixed"!==pe(e).position?e.offsetParent:null}function ge(e){for(var t=Q(e),n=ye(e);n&&we(n)&&"static"===pe(n).position;)n=ye(n);return n&&("html"===ce(n)||"body"===ce(n)&&"static"===pe(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&ee(e)&&"fixed"===pe(e).position)return null;var n=ve(e);for(te(n)&&(n=n.host);ee(n)&&["html","body"].indexOf(ce(n))<0;){var r=pe(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var be="top",xe="bottom",ke="right",Pe="left",Oe="auto",Me=[be,xe,ke,Pe],Ee="start",Re="end",Se="clippingParents",Ae="viewport",Te="popper",We="reference",je=Me.reduce((function(e,t){return e.concat([t+"-"+Ee,t+"-"+Re])}),[]),_e=[].concat(Me,[Oe]).reduce((function(e,t){return e.concat([t,t+"-"+Ee,t+"-"+Re])}),[]),Le=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ce(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function Ie(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var De={placement:"bottom",modifiers:[],strategy:"absolute"};function Be(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function Ve(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Ue(o):null,a=o?He(o):null,c=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case be:t={x:c,y:n.y-r.height};break;case xe:t={x:c,y:n.y+n.height};break;case ke:t={x:n.x+n.width,y:s};break;case Pe:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=i?qe(i):null;if(null!=u){var p="y"===u?"height":"width";switch(a){case Ee:t[u]=t[u]-(n[p]/2-r[p]/2);break;case Re:t[u]=t[u]+(n[p]/2-r[p]/2)}}return t}var ze={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ge(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,c=e.position,s=e.gpuAcceleration,u=e.adaptive,p=e.roundOffsets,l=e.isFixed,f=a.x,d=void 0===f?0:f,v=a.y,h=void 0===v?0:v,m="function"==typeof p?p({x:d,y:h}):{x:d,y:h};d=m.x,h=m.y;var w=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),g=Pe,b=be,x=window;if(u){var k=ge(n),P="clientHeight",O="clientWidth";if(k===Q(n)&&"static"!==pe(k=se(n)).position&&"absolute"===c&&(P="scrollHeight",O="scrollWidth"),o===be||(o===Pe||o===ke)&&i===Re)b=xe,h-=(l&&k===x&&x.visualViewport?x.visualViewport.height:k[P])-r.height,h*=s?1:-1;if(o===Pe||(o===be||o===xe)&&i===Re)g=ke,d-=(l&&k===x&&x.visualViewport?x.visualViewport.width:k[O])-r.width,d*=s?1:-1}var M,E=Object.assign({position:c},u&&ze),R=!0===p?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:oe(t*r)/r||0,y:oe(n*r)/r||0}}({x:d,y:h}):{x:d,y:h};return d=R.x,h=R.y,s?Object.assign({},E,((M={})[b]=y?"0":"",M[g]=w?"0":"",M.transform=(x.devicePixelRatio||1)<=1?"translate("+d+"px, "+h+"px)":"translate3d("+d+"px, "+h+"px, 0)",M)):Object.assign({},E,((t={})[b]=y?h+"px":"",t[g]=w?d+"px":"",t.transform="",t))}var $e={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];ee(o)&&ce(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});ee(r)&&ce(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var Ye={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=_e.reduce((function(e,n){return e[n]=function(e,t,n){var r=Ue(e),o=[Pe,be].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],c=i[1];return a=a||0,c=(c||0)*o,[Pe,ke].indexOf(r)>=0?{x:c,y:a}:{x:a,y:c}}(n,t.rects,i),e}),{}),c=a[t.placement],s=c.x,u=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},Ke={left:"right",right:"left",bottom:"top",top:"bottom"};function Xe(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ke[e]}))}var Je={start:"end",end:"start"};function Qe(e){return e.replace(/start|end/g,(function(e){return Je[e]}))}function Ze(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&te(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function et(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function tt(e,t){return t===Ae?et(function(e){var t=Q(e),n=se(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,c=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,c=r.offsetTop)),{width:o,height:i,x:a+ue(e),y:c}}(e)):Z(t)?function(e){var t=ie(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):et(function(e){var t,n=se(e),r=ae(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=ne(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=ne(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+ue(e),s=-r.scrollTop;return"rtl"===pe(o||n).direction&&(c+=ne(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:c,y:s}}(se(e)))}function nt(e,t,n){var r="clippingParents"===t?function(e){var t=me(ve(e)),n=["absolute","fixed"].indexOf(pe(e).position)>=0&&ee(e)?ge(e):e;return Z(n)?t.filter((function(e){return Z(e)&&Ze(e,n)&&"body"!==ce(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=tt(e,n);return t.top=ne(r.top,t.top),t.right=re(r.right,t.right),t.bottom=re(r.bottom,t.bottom),t.left=ne(r.left,t.left),t}),tt(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function rt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ot(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function it(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?Se:i,c=n.rootBoundary,s=void 0===c?Ae:c,u=n.elementContext,p=void 0===u?Te:u,l=n.altBoundary,f=void 0!==l&&l,d=n.padding,v=void 0===d?0:d,h=rt("number"!=typeof v?v:ot(v,Me)),m=p===Te?We:Te,w=e.rects.popper,y=e.elements[f?m:p],g=nt(Z(y)?y:y.contextElement||se(e.elements.popper),a,s),b=ie(e.elements.reference),x=Ve({reference:b,element:w,strategy:"absolute",placement:o}),k=et(Object.assign({},w,x)),P=p===Te?k:b,O={top:g.top-P.top+h.top,bottom:P.bottom-g.bottom+h.bottom,left:g.left-P.left+h.left,right:P.right-g.right+h.right},M=e.modifiersData.offset;if(p===Te&&M){var E=M[o];Object.keys(O).forEach((function(e){var t=[ke,xe].indexOf(e)>=0?1:-1,n=[be,xe].indexOf(e)>=0?"y":"x";O[e]+=E[n]*t}))}return O}var at={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,c=void 0===a||a,s=n.fallbackPlacements,u=n.padding,p=n.boundary,l=n.rootBoundary,f=n.altBoundary,d=n.flipVariations,v=void 0===d||d,h=n.allowedAutoPlacements,m=t.options.placement,w=Ue(m),y=s||(w===m||!v?[Xe(m)]:function(e){if(Ue(e)===Oe)return[];var t=Xe(e);return[Qe(e),t,Qe(t)]}(m)),g=[m].concat(y).reduce((function(e,n){return e.concat(Ue(n)===Oe?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,c=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?_e:s,p=He(r),l=p?c?je:je.filter((function(e){return He(e)===p})):Me,f=l.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=l);var d=f.reduce((function(t,n){return t[n]=it(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Ue(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:p,rootBoundary:l,padding:u,flipVariations:v,allowedAutoPlacements:h}):n)}),[]),b=t.rects.reference,x=t.rects.popper,k=new Map,P=!0,O=g[0],M=0;M=0,T=A?"width":"height",W=it(t,{placement:E,boundary:p,rootBoundary:l,altBoundary:f,padding:u}),j=A?S?ke:Pe:S?xe:be;b[T]>x[T]&&(j=Xe(j));var _=Xe(j),L=[];if(i&&L.push(W[R]<=0),c&&L.push(W[j]<=0,W[_]<=0),L.every((function(e){return e}))){O=E,P=!1;break}k.set(E,L)}if(P)for(var C=function(e){var t=g.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},I=v?3:1;I>0;I--){if("break"===C(I))break}t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ct(e,t,n){return ne(e,re(t,n))}var st={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,c=void 0!==a&&a,s=n.boundary,u=n.rootBoundary,p=n.altBoundary,l=n.padding,f=n.tether,d=void 0===f||f,v=n.tetherOffset,h=void 0===v?0:v,m=it(t,{boundary:s,rootBoundary:u,padding:l,altBoundary:p}),w=Ue(t.placement),y=He(t.placement),g=!y,b=qe(w),x="x"===b?"y":"x",k=t.modifiersData.popperOffsets,P=t.rects.reference,O=t.rects.popper,M="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,E="number"==typeof M?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(k){if(i){var A,T="y"===b?be:Pe,W="y"===b?xe:ke,j="y"===b?"height":"width",_=k[b],L=_+m[T],C=_-m[W],I=d?-O[j]/2:0,D=y===Ee?P[j]:O[j],B=y===Ee?-O[j]:-P[j],N=t.elements.arrow,F=d&&N?de(N):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},H=U[T],q=U[W],V=ct(0,P[j],F[j]),z=g?P[j]/2-I-V-H-E.mainAxis:D-V-H-E.mainAxis,G=g?-P[j]/2+I+V+q+E.mainAxis:B+V+q+E.mainAxis,$=t.elements.arrow&&ge(t.elements.arrow),Y=$?"y"===b?$.clientTop||0:$.clientLeft||0:0,K=null!=(A=null==R?void 0:R[b])?A:0,X=_+G-K,J=ct(d?re(L,_+z-K-Y):L,_,d?ne(C,X):C);k[b]=J,S[b]=J-_}if(c){var Q,Z="x"===b?be:Pe,ee="x"===b?xe:ke,te=k[x],oe="y"===x?"height":"width",ie=te+m[Z],ae=te-m[ee],ce=-1!==[be,Pe].indexOf(w),se=null!=(Q=null==R?void 0:R[x])?Q:0,ue=ce?ie:te-P[oe]-O[oe]-se+E.altAxis,pe=ce?te+P[oe]+O[oe]-se-E.altAxis:ae,le=d&&ce?function(e,t,n){var r=ct(e,t,n);return r>n?n:r}(ue,te,pe):ct(d?ue:ie,te,d?pe:ae);k[x]=le,S[x]=le-te}t.modifiersData[r]=S}},requiresIfExists:["offset"]};var ut={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,c=Ue(n.placement),s=qe(c),u=[Pe,ke].indexOf(c)>=0?"height":"width";if(i&&a){var p=function(e,t){return rt("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ot(e,Me))}(o.padding,n),l=de(i),f="y"===s?be:Pe,d="y"===s?xe:ke,v=n.rects.reference[u]+n.rects.reference[s]-a[s]-n.rects.popper[u],h=a[s]-n.rects.reference[s],m=ge(i),w=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,y=v/2-h/2,g=p[f],b=w-l[u]-p[d],x=w/2-l[u]/2+y,k=ct(g,x,b),P=s;n.modifiersData[r]=((t={})[P]=k,t.centerOffset=k-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Ze(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pt(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function lt(e){return[be,ke,xe,Pe].some((function(t){return e[t]>=0}))}var ft=Ne({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,c=void 0===a||a,s=Q(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,Fe)})),c&&s.addEventListener("resize",n.update,Fe),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,Fe)})),c&&s.removeEventListener("resize",n.update,Fe)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Ve({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,c=n.roundOffsets,s=void 0===c||c,u={placement:Ue(t.placement),variation:He(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ge(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ge(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},$e,Ye,at,st,ut,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=it(t,{elementContext:"reference"}),c=it(t,{altBoundary:!0}),s=pt(a,r),u=pt(c,o,i),p=lt(s),l=lt(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:l},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":l})}}]}),dt="tippy-content",vt="tippy-backdrop",ht="tippy-arrow",mt="tippy-svg-arrow",wt={passive:!0,capture:!0},yt=function(){return document.body};function gt(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function bt(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function xt(e,t){return"function"==typeof e?e.apply(void 0,t):e}function kt(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Pt(e){return[].concat(e)}function Ot(e,t){-1===e.indexOf(t)&&e.push(t)}function Mt(e){return e.split("-")[0]}function Et(e){return[].slice.call(e)}function Rt(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function St(){return document.createElement("div")}function At(e){return["Element","Fragment"].some((function(t){return bt(e,t)}))}function Tt(e){return bt(e,"MouseEvent")}function Wt(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function jt(e){return At(e)?[e]:function(e){return bt(e,"NodeList")}(e)?Et(e):Array.isArray(e)?e:Et(document.querySelectorAll(e))}function _t(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Lt(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Ct(e){var t,n=Pt(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function It(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function Dt(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var Bt={isTouch:!1},Nt=0;function Ft(){Bt.isTouch||(Bt.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ut))}function Ut(){var e=performance.now();e-Nt<20&&(Bt.isTouch=!1,document.removeEventListener("mousemove",Ut)),Nt=e}function Ht(){var e=document.activeElement;if(Wt(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var qt=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var Vt={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},zt=Object.assign({appendTo:yt,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Vt,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Gt=Object.keys(zt);function $t(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,i=n.defaultValue;o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=zt[o])?r:i);return t}),{});return Object.assign({},e,t)}function Yt(e,t){var n=Object.assign({},t,{content:xt(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys($t(Object.assign({},zt,{plugins:t}))):Gt).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(j){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},zt.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}var Kt=function(){return"innerHTML"};function Xt(e,t){e[Kt()]=t}function Jt(e){var t=St();return!0===e?t.className=ht:(t.className=mt,At(e)?t.appendChild(e):Xt(t,e)),t}function Qt(e,t){At(t.content)?(Xt(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Xt(e,t.content):e.textContent=t.content)}function Zt(e){var t=e.firstElementChild,n=Et(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(dt)})),arrow:n.find((function(e){return e.classList.contains(ht)||e.classList.contains(mt)})),backdrop:n.find((function(e){return e.classList.contains(vt)}))}}function en(e){var t=St(),n=St();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=St();function o(n,r){var o=Zt(t),i=o.box,a=o.content,c=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Qt(a,e.props),r.arrow?c?n.arrow!==r.arrow&&(i.removeChild(c),i.appendChild(Jt(r.arrow))):i.appendChild(Jt(r.arrow)):c&&i.removeChild(c)}return r.className=dt,r.setAttribute("data-state","hidden"),Qt(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}en.$$tippy=!0;var tn=1,nn=[],rn=[];function on(e,t){var n,r,o,i,a,c,s,u,p=Yt(e,Object.assign({},zt,$t(Rt(t)))),l=!1,f=!1,d=!1,v=!1,h=[],m=kt($,p.interactiveDebounce),w=tn++,y=(u=p.plugins).filter((function(e,t){return u.indexOf(e)===t})),g={id:w,reference:e,popper:St(),popperInstance:null,props:p,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){0;if(g.state.isDestroyed)return;_("onBeforeUpdate",[g,t]),z();var n=g.props,r=Yt(e,Object.assign({},n,Rt(t),{ignoreAttributes:!0}));g.props=r,V(),n.interactiveDebounce!==r.interactiveDebounce&&(I(),m=kt($,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Pt(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");C(),j(),k&&k(n,r);g.popperInstance&&(J(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));_("onAfterUpdate",[g,t])},setContent:function(e){g.setProps({content:e})},show:function(){0;var e=g.state.isVisible,t=g.state.isDestroyed,n=!g.state.isEnabled,r=Bt.isTouch&&!g.props.touch,o=gt(g.props.duration,0,zt.duration);if(e||t||n||r)return;if(S().hasAttribute("disabled"))return;if(_("onShow",[g],!1),!1===g.props.onShow(g))return;g.state.isVisible=!0,R()&&(x.style.visibility="visible");j(),F(),g.state.isMounted||(x.style.transition="none");if(R()){var i=T();_t([i.box,i.content],0)}c=function(){var e;if(g.state.isVisible&&!v){if(v=!0,x.offsetHeight,x.style.transition=g.props.moveTransition,R()&&g.props.animation){var t=T(),n=t.box,r=t.content;_t([n,r],o),Lt([n,r],"visible")}L(),C(),Ot(rn,g),null==(e=g.popperInstance)||e.forceUpdate(),_("onMount",[g]),g.props.animation&&R()&&function(e,t){H(e,t)}(o,(function(){g.state.isShown=!0,_("onShown",[g])}))}},function(){var e,t=g.props.appendTo,n=S();e=g.props.interactive&&t===yt||"parent"===t?n.parentNode:xt(t,[n]);e.contains(x)||e.appendChild(x);g.state.isMounted=!0,J(),!1}()},hide:function(){0;var e=!g.state.isVisible,t=g.state.isDestroyed,n=!g.state.isEnabled,r=gt(g.props.duration,1,zt.duration);if(e||t||n)return;if(_("onHide",[g],!1),!1===g.props.onHide(g))return;g.state.isVisible=!1,g.state.isShown=!1,v=!1,l=!1,R()&&(x.style.visibility="hidden");if(I(),U(),j(!0),R()){var o=T(),i=o.box,a=o.content;g.props.animation&&(_t([i,a],r),Lt([i,a],"hidden"))}L(),C(),g.props.animation?R()&&function(e,t){H(e,(function(){!g.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()}))}(r,g.unmount):g.unmount()},hideWithInteractivity:function(e){0;A().addEventListener("mousemove",m),Ot(nn,m),m(e)},enable:function(){g.state.isEnabled=!0},disable:function(){g.hide(),g.state.isEnabled=!1},unmount:function(){0;g.state.isVisible&&g.hide();if(!g.state.isMounted)return;Q(),Z().forEach((function(e){e._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x);rn=rn.filter((function(e){return e!==g})),g.state.isMounted=!1,_("onHidden",[g])},destroy:function(){0;if(g.state.isDestroyed)return;g.clearDelayTimeouts(),g.unmount(),z(),delete e._tippy,g.state.isDestroyed=!0,_("onDestroy",[g])}};if(!p.render)return g;var b=p.render(g),x=b.popper,k=b.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+g.id,g.popper=x,e._tippy=g,x._tippy=g;var P=y.map((function(e){return e.fn(g)})),O=e.hasAttribute("aria-expanded");return V(),C(),j(),_("onCreate",[g]),p.showOnCreate&&ee(),x.addEventListener("mouseenter",(function(){g.props.interactive&&g.state.isVisible&&g.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){g.props.interactive&&g.props.trigger.indexOf("mouseenter")>=0&&A().addEventListener("mousemove",m)})),g;function M(){var e=g.props.touch;return Array.isArray(e)?e:[e,0]}function E(){return"hold"===M()[0]}function R(){var e;return!(null==(e=g.props.render)||!e.$$tippy)}function S(){return s||e}function A(){var e=S().parentNode;return e?Ct(e):document}function T(){return Zt(x)}function W(e){return g.state.isMounted&&!g.state.isVisible||Bt.isTouch||i&&"focus"===i.type?0:gt(g.props.delay,e?0:1,zt.delay)}function j(e){void 0===e&&(e=!1),x.style.pointerEvents=g.props.interactive&&!e?"":"none",x.style.zIndex=""+g.props.zIndex}function _(e,t,n){var r;(void 0===n&&(n=!0),P.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(r=g.props)[e].apply(r,t)}function L(){var t=g.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;Pt(g.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(g.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function C(){!O&&g.props.aria.expanded&&Pt(g.props.triggerTarget||e).forEach((function(e){g.props.interactive?e.setAttribute("aria-expanded",g.state.isVisible&&e===S()?"true":"false"):e.removeAttribute("aria-expanded")}))}function I(){A().removeEventListener("mousemove",m),nn=nn.filter((function(e){return e!==m}))}function D(t){if(!Bt.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!g.props.interactive||!Dt(x,n)){if(Pt(g.props.triggerTarget||e).some((function(e){return Dt(e,n)}))){if(Bt.isTouch)return;if(g.state.isVisible&&g.props.trigger.indexOf("click")>=0)return}else _("onClickOutside",[g,t]);!0===g.props.hideOnClick&&(g.clearDelayTimeouts(),g.hide(),f=!0,setTimeout((function(){f=!1})),g.state.isMounted||U())}}}function B(){d=!0}function N(){d=!1}function F(){var e=A();e.addEventListener("mousedown",D,!0),e.addEventListener("touchend",D,wt),e.addEventListener("touchstart",N,wt),e.addEventListener("touchmove",B,wt)}function U(){var e=A();e.removeEventListener("mousedown",D,!0),e.removeEventListener("touchend",D,wt),e.removeEventListener("touchstart",N,wt),e.removeEventListener("touchmove",B,wt)}function H(e,t){var n=T().box;function r(e){e.target===n&&(It(n,"remove",r),t())}if(0===e)return t();It(n,"remove",a),It(n,"add",r),a=r}function q(t,n,r){void 0===r&&(r=!1),Pt(g.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),h.push({node:e,eventType:t,handler:n,options:r})}))}function V(){var e;E()&&(q("touchstart",G,{passive:!0}),q("touchend",Y,{passive:!0})),(e=g.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(q(e,G),e){case"mouseenter":q("mouseleave",Y);break;case"focus":q(qt?"focusout":"blur",K);break;case"focusin":q("focusout",K)}}))}function z(){h.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),h=[]}function G(e){var t,n=!1;if(g.state.isEnabled&&!X(e)&&!f){var r="focus"===(null==(t=i)?void 0:t.type);i=e,s=e.currentTarget,C(),!g.state.isVisible&&Tt(e)&&nn.forEach((function(t){return t(e)})),"click"===e.type&&(g.props.trigger.indexOf("mouseenter")<0||l)&&!1!==g.props.hideOnClick&&g.state.isVisible?n=!0:ee(e),"click"===e.type&&(l=!n),n&&!r&&te(e)}}function $(e){var t=e.target,n=S().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Z().concat(x).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:p}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=Mt(o.placement),c=o.modifiersData.offset;if(!c)return!0;var s="bottom"===a?c.top.y:0,u="top"===a?c.bottom.y:0,p="right"===a?c.left.x:0,l="left"===a?c.right.x:0,f=t.top-r+s>i,d=r-t.bottom-u>i,v=t.left-n+p>i,h=n-t.right-l>i;return f||d||v||h}))})(r,e)&&(I(),te(e))}}function Y(e){X(e)||g.props.trigger.indexOf("click")>=0&&l||(g.props.interactive?g.hideWithInteractivity(e):te(e))}function K(e){g.props.trigger.indexOf("focusin")<0&&e.target!==S()||g.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function X(e){return!!Bt.isTouch&&E()!==e.type.indexOf("touch")>=0}function J(){Q();var t=g.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,s=R()?Zt(x).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||S()}:e,p={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(R()){var n=T().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}},l=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},p];R()&&s&&l.push({name:"arrow",options:{element:s,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),g.popperInstance=ft(u,x,Object.assign({},n,{placement:r,onFirstUpdate:c,modifiers:l}))}function Q(){g.popperInstance&&(g.popperInstance.destroy(),g.popperInstance=null)}function Z(){return Et(x.querySelectorAll("[data-tippy-root]"))}function ee(e){g.clearDelayTimeouts(),e&&_("onTrigger",[g,e]),F();var t=W(!0),r=M(),o=r[0],i=r[1];Bt.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout((function(){g.show()}),t):g.show()}function te(e){if(g.clearDelayTimeouts(),_("onUntrigger",[g,e]),g.state.isVisible){if(!(g.props.trigger.indexOf("mouseenter")>=0&&g.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&l)){var t=W(!1);t?r=setTimeout((function(){g.state.isVisible&&g.hide()}),t):o=requestAnimationFrame((function(){g.hide()}))}}else U()}}function an(e,t){void 0===t&&(t={});var n=zt.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Ft,wt),window.addEventListener("blur",Ht);var r=Object.assign({},t,{plugins:n}),o=jt(e).reduce((function(e,t){var n=t&&on(t,r);return n&&e.push(n),e}),[]);return At(e)?o[0]:o}an.defaultProps=zt,an.setDefaultProps=function(e){Object.keys(e).forEach((function(t){zt[t]=e[t]}))},an.currentInput=Bt;Object.assign({},$e,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});an.setDefaultProps({render:en});var cn=an;window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.tooltip={init(){WPRecipeMaker.tooltip.addTooltips()},addTooltips(){var e=document.querySelectorAll(".wprm-tooltip");for(var t of e){var n=t._tippy;n&&n.destroy();var r=!!t.dataset.hasOwnProperty("tooltip")&&t.dataset.tooltip;r&&(t.role="button",cn(t,{theme:"wprm",content:r,allowHTML:!0,interactive:!0,onCreate(e){e.popper.style.display="inline-block"}}))}}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.tooltip.init()}));n(16835)},16835:function(){var e;window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.video={load(){window.addEventListener("resize",function(){this.forceRatio()}.bind(this)),window.WPRecipeMaker.video.init()},init(){this.forceRatio()},forceRatio(){document.querySelectorAll(".wprm-recipe iframe, .wprm-recipe object, .wprm-recipe video, .wprm-recipe-video-container iframe, .wprm-recipe-video-container object, .wprm-recipe-video-container video").forEach((function(e){var t,n,r=e.parentNode;if(e.classList.contains("intrinsic-ignore")||e.parentNode.classList.contains("intrinsic-ignore"))return!0;e.dataset.origwidth||(e.setAttribute("data-origwidth",e.width),e.setAttribute("data-origheight",e.height)),t=(n=r.offsetWidth)/e.dataset.origwidth,e.style.width=n+"px",e.style.height=e.dataset.origheight*t+"px"}))}},e=()=>{wprm_public.settings.video_force_ratio&&window.WPRecipeMaker.video.load()},"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)},23362:function(e,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&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&&(t&&s.cancelMethods[n](),s.elements.splice(n,1),s.cancelMethods.splice(n,1))}},u="undefined"!=typeof window,p={cancelOnUserAction:!0,easing:function(e){return--e*e*e+1},elementToScroll:u?window:null,horizontalOffset:0,maxDuration:3e3,minDuration:250,speed:500,verticalOffset:0};t.default=function(e,t){return void 0===t&&(t={}),r(this,void 0,void 0,(function(){var r,i,l,f,d,v,h,m,w,y,g,b,x,k,P,O,M;return o(this,(function(o){if(!u)return[2,new Promise((function(e){e(!1)}))];if(!window.Promise)throw"Browser doesn't support Promises, and animated-scroll-to depends on it, please provide a polyfill.";if(f=n(n({},p),t),d=f.elementToScroll===window,v=!!f.elementToScroll.nodeName,!d&&!v)throw"Element to scroll needs to be either window or DOM element.";if(h=d?document.documentElement:f.elementToScroll,"smooth"===getComputedStyle(h).getPropertyValue("scroll-behavior")&&console.warn(h.tagName+' has "scroll-behavior: smooth" which can mess up with animated-scroll-to\'s animations'),m=d?new c:new a(f.elementToScroll),e instanceof Element){if(l=e,v&&(!f.elementToScroll.contains(l)||f.elementToScroll.isSameNode(l)))throw"options.elementToScroll has to be a parent of scrollToElement";r=m.getHorizontalElementScrollOffset(l,f.elementToScroll),i=m.getVerticalElementScrollOffset(l,f.elementToScroll)}else if("number"==typeof e)r=m.getHorizontalScroll(),i=e;else{if(!Array.isArray(e)||2!==e.length)throw"Wrong function signature. Check documentation.\nAvailable method signatures are:\n animateScrollTo(y:number, options)\n animateScrollTo([x:number | null, y:number | null], options)\n animateScrollTo(scrollToElement:Element, options)";r=null===e[0]?m.getHorizontalScroll():e[0],i=null===e[1]?m.getVerticalScroll():e[1]}return r+=f.horizontalOffset,i+=f.verticalOffset,w=m.getMaxHorizontalScroll(),y=m.getHorizontalScroll(),r>w&&(r=w),g=r-y,b=m.getMaxVerticalScroll(),x=m.getVerticalScroll(),i>b&&(i=b),k=i-x,P=Math.abs(Math.round(g/1e3*f.speed)),O=Math.abs(Math.round(k/1e3*f.speed)),(M=P>O?P:O)f.maxDuration&&(M=f.maxDuration),[2,new Promise((function(e,t){var n;0===g&&0===k&&e(!0),s.remove(f.elementToScroll,!0);var o=function(){p(),cancelAnimationFrame(n),e(!1)};s.add(f.elementToScroll,o);var a=f.cancelOnUserAction?o:function(e){return e.preventDefault()},c=f.cancelOnUserAction?{passive:!0}:{passive:!1},u=["wheel","touchstart","keydown","mousedown"],p=function(){u.forEach((function(e){f.elementToScroll.removeEventListener(e,a,c)}))};u.forEach((function(e){f.elementToScroll.addEventListener(e,a,c)}));var l=Date.now(),d=function(){var t=Date.now()-l,o=t/M,a=Math.round(y+g*f.easing(o)),c=Math.round(x+k*f.easing(o));tp;)if((c=s[p++])!=c)return!0}else for(;u>p;p++)if((e||p in s)&&s[p]===n)return e||p||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},58990:function(e,t,n){var r=n(32565),o=n(47046),i=n(35039),a=Array,c=Math.max;e.exports=function(e,t,n){for(var s=o(e),u=r(t,s),p=r(void 0===n?s:n,s),l=a(c(p-u,0)),f=0;u0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},48869:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},19882:function(e,t,n){var r=n(98363),o=n(66012).f,i=n(45899),a=n(50403),c=n(62359),s=n(73870),u=n(86291);e.exports=function(e,t){var n,p,l,f,d,v=e.target,h=e.global,m=e.stat;if(n=h?r:m?r[v]||c(v,{}):(r[v]||{}).prototype)for(p in t){if(f=t[p],l=e.dontCallGetSet?(d=o(n,p))&&d.value:n[p],!u(h?p:v+(m?".":"#")+p,e.forced)&&void 0!==l){if(typeof f==typeof l)continue;s(f,l)}(e.sham||l&&l.sham)&&i(f,"sham",!0),a(n,p,f,e)}}},79044:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},81492:function(e,t,n){"use strict";n(39275);var r=n(88697),o=n(50403),i=n(99749),a=n(79044),c=n(52280),s=n(45899),u=c("species"),p=RegExp.prototype;e.exports=function(e,t,n,l){var f=c(e),d=!a((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),v=d&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!d||!v||n){var h=r(/./[f]),m=t(f,""[e],(function(e,t,n,o,a){var c=r(e),s=t.exec;return s===i||s===p.exec?d&&!a?{done:!0,value:h(t,n,o)}:{done:!0,value:c(n,t,o)}:{done:!1}}));o(String.prototype,e,m[0]),o(p,f,m[1])}l&&s(p[f],"sham",!0)}},63530:function(e,t,n){var r=n(23996),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},98166:function(e,t,n){var r=n(88697),o=n(97676),i=n(23996),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},23996:function(e,t,n){var r=n(79044);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},79611:function(e,t,n){var r=n(23996),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},55316:function(e,t,n){var r=n(7493),o=n(24792),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,c=o(i,"name"),s=c&&"something"===function(){}.name,u=c&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:c,PROPER:s,CONFIGURABLE:u}},88697:function(e,t,n){var r=n(23996),o=Function.prototype,i=o.bind,a=o.call,c=r&&i.bind(a,a);e.exports=r?function(e){return e&&c(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}},22773:function(e,t,n){var r=n(98363),o=n(75277);e.exports=function(e,t){return arguments.length<2?(n=r[e],o(n)?n:void 0):r[e]&&r[e][t];var n}},77193:function(e,t,n){var r=n(36994),o=n(97219),i=n(44818),a=n(52280)("iterator");e.exports=function(e){if(null!=e)return o(e,a)||o(e,"@@iterator")||i[r(e)]}},11805:function(e,t,n){var r=n(79611),o=n(97676),i=n(83875),a=n(28768),c=n(77193),s=TypeError;e.exports=function(e,t){var n=arguments.length<2?c(e):t;if(o(n))return i(r(n,e));throw s(a(e)+" is not iterable")}},97219:function(e,t,n){var r=n(97676);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},81373:function(e,t,n){var r=n(88697),o=n(30744),i=Math.floor,a=r("".charAt),c=r("".replace),s=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,p=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,l,f){var d=n+e.length,v=r.length,h=p;return void 0!==l&&(l=o(l),h=u),c(f,h,(function(o,c){var u;switch(a(c,0)){case"$":return"$";case"&":return e;case"`":return s(t,0,n);case"'":return s(t,d);case"<":u=l[s(c,1,-1)];break;default:var p=+c;if(0===p)return o;if(p>v){var f=i(p/10);return 0===f?o:f<=v?void 0===r[f-1]?a(c,1):r[f-1]+a(c,1):o}u=r[p-1]}return void 0===u?"":u}))}},98363:function(e,t,n){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 n.g&&n.g)||function(){return this}()||Function("return this")()},24792:function(e,t,n){var r=n(88697),o=n(30744),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},47505:function(e){e.exports={}},46271:function(e,t,n){var r=n(98363);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},47055:function(e,t,n){var r=n(22773);e.exports=r("document","documentElement")},67548:function(e,t,n){var r=n(7493),o=n(79044),i=n(92750);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},78609:function(e,t,n){var r=n(88697),o=n(79044),i=n(79159),a=Object,c=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?c(e,""):a(e)}:a},56429:function(e,t,n){var r=n(88697),o=n(75277),i=n(49415),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},20821:function(e,t,n){var r,o,i,a=n(36830),c=n(98363),s=n(88697),u=n(52786),p=n(45899),l=n(24792),f=n(49415),d=n(50466),v=n(47505),h="Object already initialized",m=c.TypeError,w=c.WeakMap;if(a||f.state){var y=f.state||(f.state=new w),g=s(y.get),b=s(y.has),x=s(y.set);r=function(e,t){if(b(y,e))throw new m(h);return t.facade=e,x(y,e,t),t},o=function(e){return g(y,e)||{}},i=function(e){return b(y,e)}}else{var k=d("state");v[k]=!0,r=function(e,t){if(l(e,k))throw new m(h);return t.facade=e,p(e,k,t),t},o=function(e){return l(e,k)?e[k]:{}},i=function(e){return l(e,k)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=o(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},68089:function(e,t,n){var r=n(52280),o=n(44818),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},75277:function(e){e.exports=function(e){return"function"==typeof e}},31536:function(e,t,n){var r=n(88697),o=n(79044),i=n(75277),a=n(36994),c=n(22773),s=n(56429),u=function(){},p=[],l=c("Reflect","construct"),f=/^\s*(?:class|function)\b/,d=r(f.exec),v=!f.exec(u),h=function(e){if(!i(e))return!1;try{return l(u,p,e),!0}catch(t){return!1}},m=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!d(f,s(e))}catch(t){return!0}};m.sham=!0,e.exports=!l||o((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?m:h},86291:function(e,t,n){var r=n(79044),o=n(75277),i=/#|\.prototype\./,a=function(e,t){var n=s[c(e)];return n==p||n!=u&&(o(t)?r(t):!!t)},c=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=a.data={},u=a.NATIVE="N",p=a.POLYFILL="P";e.exports=a},52786:function(e,t,n){var r=n(75277);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},21178:function(e){e.exports=!1},42622:function(e,t,n){var r=n(52786),o=n(79159),i=n(52280)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},66681:function(e,t,n){var r=n(22773),o=n(75277),i=n(32010),a=n(189),c=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,c(e))}},5166:function(e,t,n){var r=n(98166),o=n(79611),i=n(83875),a=n(28768),c=n(68089),s=n(47046),u=n(32010),p=n(11805),l=n(77193),f=n(18744),d=TypeError,v=function(e,t){this.stopped=e,this.result=t},h=v.prototype;e.exports=function(e,t,n){var m,w,y,g,b,x,k,P=n&&n.that,O=!(!n||!n.AS_ENTRIES),M=!(!n||!n.IS_ITERATOR),E=!(!n||!n.INTERRUPTED),R=r(t,P),S=function(e){return m&&f(m,"normal",e),new v(!0,e)},A=function(e){return O?(i(e),E?R(e[0],e[1],S):R(e[0],e[1])):E?R(e,S):R(e)};if(M)m=e;else{if(!(w=l(e)))throw d(a(e)+" is not iterable");if(c(w)){for(y=0,g=s(e);g>y;y++)if((b=A(e[y]))&&u(h,b))return b;return new v(!1)}m=p(e,w)}for(x=m.next;!(k=o(x,m)).done;){try{b=A(k.value)}catch(T){f(m,"throw",T)}if("object"==typeof b&&b&&u(h,b))return b}return new v(!1)}},18744:function(e,t,n){var r=n(79611),o=n(83875),i=n(97219);e.exports=function(e,t,n){var a,c;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(s){c=!0,a=s}if("throw"===t)throw n;if(c)throw a;return o(a),n}},97022:function(e,t,n){"use strict";var r,o,i,a=n(79044),c=n(75277),s=n(51569),u=n(12654),p=n(50403),l=n(52280),f=n(21178),d=l("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):v=!0),null==r||a((function(){var e={};return r[d].call(e)!==e}))?r={}:f&&(r=s(r)),c(r[d])||p(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}},44818:function(e){e.exports={}},47046:function(e,t,n){var r=n(35108);e.exports=function(e){return r(e.length)}},20833:function(e,t,n){var r=n(79044),o=n(75277),i=n(24792),a=n(7493),c=n(55316).CONFIGURABLE,s=n(56429),u=n(20821),p=u.enforce,l=u.get,f=Object.defineProperty,d=a&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),v=String(String).split("String"),h=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||c&&e.name!==t)&&f(e,"name",{value:t,configurable:!0}),d&&n&&i(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var r=p(e);return i(r,"source")||(r.source=v.join("string"==typeof t?t:"")),e};Function.prototype.toString=h((function(){return o(this)&&l(this).source||s(this)}),"toString")},78300:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},71800:function(e,t,n){var r,o,i,a,c,s,u,p,l=n(98363),f=n(98166),d=n(66012).f,v=n(84643).set,h=n(53121),m=n(55357),w=n(14402),y=n(93921),g=l.MutationObserver||l.WebKitMutationObserver,b=l.document,x=l.process,k=l.Promise,P=d(l,"queueMicrotask"),O=P&&P.value;O||(r=function(){var e,t;for(y&&(e=x.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(n){throw o?a():i=void 0,n}}i=void 0,e&&e.enter()},h||y||w||!g||!b?!m&&k&&k.resolve?((u=k.resolve(void 0)).constructor=k,p=f(u.then,u),a=function(){p(r)}):y?a=function(){x.nextTick(r)}:(v=f(v,l),a=function(){v(r)}):(c=!0,s=b.createTextNode(""),new g(r).observe(s,{characterData:!0}),a=function(){s.data=c=!c})),e.exports=O||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},3850:function(e,t,n){var r=n(11197),o=n(79044);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},36830:function(e,t,n){var r=n(98363),o=n(75277),i=n(56429),a=r.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},29269:function(e,t,n){"use strict";var r=n(97676),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},35399:function(e,t,n){var r=n(98363),o=n(79044),i=n(88697),a=n(28967),c=n(10287).trim,s=n(2569),u=r.parseInt,p=r.Symbol,l=p&&p.iterator,f=/^[+-]?0x/i,d=i(f.exec),v=8!==u(s+"08")||22!==u(s+"0x16")||l&&!o((function(){u(Object(l))}));e.exports=v?function(e,t){var n=c(a(e));return u(n,t>>>0||(d(f,n)?16:10))}:u},51569:function(e,t,n){var r,o=n(83875),i=n(17840),a=n(48869),c=n(47505),s=n(47055),u=n(92750),p=n(50466),l="prototype",f="script",d=p("IE_PROTO"),v=function(){},h=function(e){return"<"+f+">"+e+""},m=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},w=function(){try{r=new ActiveXObject("htmlfile")}catch(i){}var e,t,n;w="undefined"!=typeof document?document.domain&&r?m(r):(t=u("iframe"),n="java"+f+":",t.style.display="none",s.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):m(r);for(var o=a.length;o--;)delete w[l][a[o]];return w()};c[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(v[l]=o(e),n=new v,v[l]=null,n[d]=e):n=w(),void 0===t?n:i.f(n,t)}},17840:function(e,t,n){var r=n(7493),o=n(51010),i=n(86385),a=n(83875),c=n(29580),s=n(60667);t.f=r&&!o?Object.defineProperties:function(e,t){a(e);for(var n,r=c(t),o=s(t),u=o.length,p=0;u>p;)i.f(e,n=o[p++],r[n]);return e}},86385:function(e,t,n){var r=n(7493),o=n(67548),i=n(51010),a=n(83875),c=n(383),s=TypeError,u=Object.defineProperty,p=Object.getOwnPropertyDescriptor,l="enumerable",f="configurable",d="writable";t.f=r?i?function(e,t,n){if(a(e),t=c(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]){var r=p(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:l in n?n[l]:r[l],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(a(e),t=c(t),a(n),o)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw s("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},66012:function(e,t,n){var r=n(7493),o=n(79611),i=n(81513),a=n(69199),c=n(29580),s=n(383),u=n(24792),p=n(67548),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=c(e),t=s(t),p)try{return l(e,t)}catch(n){}if(u(e,t))return a(!o(i.f,e,t),e[t])}},87994:function(e,t,n){var r=n(18794),o=n(48869).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},89612:function(e,t){t.f=Object.getOwnPropertySymbols},12654:function(e,t,n){var r=n(24792),o=n(75277),i=n(30744),a=n(50466),c=n(25115),s=a("IE_PROTO"),u=Object,p=u.prototype;e.exports=c?u.getPrototypeOf:function(e){var t=i(e);if(r(t,s))return t[s];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof u?p:null}},32010:function(e,t,n){var r=n(88697);e.exports=r({}.isPrototypeOf)},18794:function(e,t,n){var r=n(88697),o=n(24792),i=n(29580),a=n(37190).indexOf,c=n(47505),s=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,p=[];for(n in r)!o(c,n)&&o(r,n)&&s(p,n);for(;t.length>u;)o(r,n=t[u++])&&(~a(p,n)||s(p,n));return p}},60667:function(e,t,n){var r=n(18794),o=n(48869);e.exports=Object.keys||function(e){return r(e,o)}},81513:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},22412:function(e,t,n){var r=n(88697),o=n(83875),i=n(75017);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(a){}return function(n,r){return o(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},17141:function(e,t,n){var r=n(79611),o=n(75277),i=n(52786),a=TypeError;e.exports=function(e,t){var n,c;if("string"===t&&o(n=e.toString)&&!i(c=r(n,e)))return c;if(o(n=e.valueOf)&&!i(c=r(n,e)))return c;if("string"!==t&&o(n=e.toString)&&!i(c=r(n,e)))return c;throw a("Can't convert object to primitive value")}},31561:function(e,t,n){var r=n(22773),o=n(88697),i=n(87994),a=n(89612),c=n(83875),s=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(c(e)),n=a.f;return n?s(t,n(e)):t}},74443:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},35182:function(e,t,n){var r=n(98363),o=n(25988),i=n(75277),a=n(86291),c=n(56429),s=n(52280),u=n(47923),p=n(21178),l=n(11197),f=o&&o.prototype,d=s("species"),v=!1,h=i(r.PromiseRejectionEvent),m=a("Promise",(function(){var e=c(o),t=e!==String(o);if(!t&&66===l)return!0;if(p&&(!f.catch||!f.finally))return!0;if(l>=51&&/native code/.test(e))return!1;var n=new o((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[d]=r,!(v=n.then((function(){}))instanceof r)||!t&&u&&!h}));e.exports={CONSTRUCTOR:m,REJECTION_EVENT:h,SUBCLASSING:v}},25988:function(e,t,n){var r=n(98363);e.exports=r.Promise},11621:function(e,t,n){var r=n(83875),o=n(52786),i=n(29269);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},99581:function(e,t,n){var r=n(25988),o=n(8662),i=n(35182).CONSTRUCTOR;e.exports=i||!o((function(e){r.all(e).then(void 0,(function(){}))}))},12423:function(e){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=t},94088:function(e,t,n){var r=n(79611),o=n(83875),i=n(75277),a=n(79159),c=n(99749),s=TypeError;e.exports=function(e,t){var n=e.exec;if(i(n)){var u=r(n,e,t);return null!==u&&o(u),u}if("RegExp"===a(e))return r(c,e,t);throw s("RegExp#exec called on incompatible receiver")}},99749:function(e,t,n){"use strict";var r,o,i=n(79611),a=n(88697),c=n(28967),s=n(58083),u=n(97047),p=n(53580),l=n(51569),f=n(20821).get,d=n(41669),v=n(1638),h=p("native-string-replace",String.prototype.replace),m=RegExp.prototype.exec,w=m,y=a("".charAt),g=a("".indexOf),b=a("".replace),x=a("".slice),k=(o=/b*/g,i(m,r=/a/,"a"),i(m,o,"a"),0!==r.lastIndex||0!==o.lastIndex),P=u.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(k||O||P||d||v)&&(w=function(e){var t,n,r,o,a,u,p,d=this,v=f(d),M=c(e),E=v.raw;if(E)return E.lastIndex=d.lastIndex,t=i(w,E,M),d.lastIndex=E.lastIndex,t;var R=v.groups,S=P&&d.sticky,A=i(s,d),T=d.source,W=0,j=M;if(S&&(A=b(A,"y",""),-1===g(A,"g")&&(A+="g"),j=x(M,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==y(M,d.lastIndex-1))&&(T="(?: "+T+")",j=" "+j,W++),n=new RegExp("^(?:"+T+")",A)),O&&(n=new RegExp("^"+T+"$(?!\\s)",A)),k&&(r=d.lastIndex),o=i(m,S?n:d,j),S?o?(o.input=x(o.input,W),o[0]=x(o[0],W),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:k&&o&&(d.lastIndex=d.global?o.index+o[0].length:r),O&&o&&o.length>1&&i(h,o[0],n,(function(){for(a=1;ab)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},96411:function(e){var t=TypeError;e.exports=function(e){if(null==e)throw t("Can't call method on "+e);return e}},57323:function(e,t,n){"use strict";var r=n(22773),o=n(86385),i=n(52280),a=n(7493),c=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[c]&&n(t,c,{configurable:!0,get:function(){return this}})}},60878:function(e,t,n){var r=n(86385).f,o=n(24792),i=n(52280)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:t})}},50466:function(e,t,n){var r=n(53580),o=n(34524),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},49415:function(e,t,n){var r=n(98363),o=n(62359),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},53580:function(e,t,n){var r=n(21178),o=n(49415);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.23.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.23.1/LICENSE",source:"https://github.com/zloirock/core-js"})},7270:function(e,t,n){var r=n(83875),o=n(43327),i=n(52280)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},91140:function(e,t,n){var r=n(88697),o=n(14229),i=n(28967),a=n(96411),c=r("".charAt),s=r("".charCodeAt),u=r("".slice),p=function(e){return function(t,n){var r,p,l=i(a(t)),f=o(n),d=l.length;return f<0||f>=d?e?"":void 0:(r=s(l,f))<55296||r>56319||f+1===d||(p=s(l,f+1))<56320||p>57343?e?c(l,f):r:e?u(l,f,f+2):p-56320+(r-55296<<10)+65536}};e.exports={codeAt:p(!1),charAt:p(!0)}},10287:function(e,t,n){var r=n(88697),o=n(96411),i=n(28967),a=n(2569),c=r("".replace),s="["+a+"]",u=RegExp("^"+s+s+"*"),p=RegExp(s+s+"*$"),l=function(e){return function(t){var n=i(o(t));return 1&e&&(n=c(n,u,"")),2&e&&(n=c(n,p,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},84643:function(e,t,n){var r,o,i,a,c=n(98363),s=n(63530),u=n(98166),p=n(75277),l=n(24792),f=n(79044),d=n(47055),v=n(15629),h=n(92750),m=n(27687),w=n(53121),y=n(93921),g=c.setImmediate,b=c.clearImmediate,x=c.process,k=c.Dispatch,P=c.Function,O=c.MessageChannel,M=c.String,E=0,R={},S="onreadystatechange";try{r=c.location}catch(_){}var A=function(e){if(l(R,e)){var t=R[e];delete R[e],t()}},T=function(e){return function(){A(e)}},W=function(e){A(e.data)},j=function(e){c.postMessage(M(e),r.protocol+"//"+r.host)};g&&b||(g=function(e){m(arguments.length,1);var t=p(e)?e:P(e),n=v(arguments,1);return R[++E]=function(){s(t,void 0,n)},o(E),E},b=function(e){delete R[e]},y?o=function(e){x.nextTick(T(e))}:k&&k.now?o=function(e){k.now(T(e))}:O&&!w?(a=(i=new O).port2,i.port1.onmessage=W,o=u(a.postMessage,a)):c.addEventListener&&p(c.postMessage)&&!c.importScripts&&r&&"file:"!==r.protocol&&!f(j)?(o=j,c.addEventListener("message",W,!1)):o=S in h("script")?function(e){d.appendChild(h("script"))[S]=function(){d.removeChild(this),A(e)}}:function(e){setTimeout(T(e),0)}),e.exports={set:g,clear:b}},32565:function(e,t,n){var r=n(14229),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},29580:function(e,t,n){var r=n(78609),o=n(96411);e.exports=function(e){return r(o(e))}},14229:function(e,t,n){var r=n(78300);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},35108:function(e,t,n){var r=n(14229),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},30744:function(e,t,n){var r=n(96411),o=Object;e.exports=function(e){return o(r(e))}},21893:function(e,t,n){var r=n(79611),o=n(52786),i=n(66681),a=n(97219),c=n(17141),s=n(52280),u=TypeError,p=s("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,s=a(e,p);if(s){if(void 0===t&&(t="default"),n=r(s,e,t),!o(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},383:function(e,t,n){var r=n(21893),o=n(66681);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},57301:function(e,t,n){var r={};r[n(52280)("toStringTag")]="z",e.exports="[object z]"===String(r)},28967:function(e,t,n){var r=n(36994),o=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},28768:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},34524:function(e,t,n){var r=n(88697),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},189:function(e,t,n){var r=n(3850);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},51010:function(e,t,n){var r=n(7493),o=n(79044);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},27687:function(e){var t=TypeError;e.exports=function(e,n){if(e=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");var v=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!u&&p&&"values"!==v.name)try{c(v,"name",{value:"values"})}catch(h){}},38472:function(e,t,n){var r=n(19882),o=n(35399);r({global:!0,forced:parseInt!=o},{parseInt:o})},1321:function(e,t,n){"use strict";var r=n(19882),o=n(79611),i=n(97676),a=n(29269),c=n(74443),s=n(5166);r({target:"Promise",stat:!0,forced:n(99581)},{all:function(e){var t=this,n=a.f(t),r=n.resolve,u=n.reject,p=c((function(){var n=i(t.resolve),a=[],c=0,p=1;s(e,(function(e){var i=c++,s=!1;p++,o(n,t,e).then((function(e){s||(s=!0,a[i]=e,--p||r(a))}),u)})),--p||r(a)}));return p.error&&u(p.value),n.promise}})},10865:function(e,t,n){"use strict";var r=n(19882),o=n(21178),i=n(35182).CONSTRUCTOR,a=n(25988),c=n(22773),s=n(75277),u=n(50403),p=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&s(a)){var l=c("Promise").prototype.catch;p.catch!==l&&u(p,"catch",l,{unsafe:!0})}},95999:function(e,t,n){"use strict";var r,o,i,a=n(19882),c=n(21178),s=n(93921),u=n(98363),p=n(79611),l=n(50403),f=n(22412),d=n(60878),v=n(57323),h=n(97676),m=n(75277),w=n(52786),y=n(9519),g=n(7270),b=n(84643).set,x=n(71800),k=n(46271),P=n(74443),O=n(12423),M=n(20821),E=n(25988),R=n(35182),S=n(29269),A="Promise",T=R.CONSTRUCTOR,W=R.REJECTION_EVENT,j=R.SUBCLASSING,_=M.getterFor(A),L=M.set,C=E&&E.prototype,I=E,D=C,B=u.TypeError,N=u.document,F=u.process,U=S.f,H=U,q=!!(N&&N.createEvent&&u.dispatchEvent),V="unhandledrejection",z=function(e){var t;return!(!w(e)||!m(t=e.then))&&t},G=function(e,t){var n,r,o,i=t.value,a=1==t.state,c=a?e.ok:e.fail,s=e.resolve,u=e.reject,l=e.domain;try{c?(a||(2===t.rejection&&J(t),t.rejection=1),!0===c?n=i:(l&&l.enter(),n=c(i),l&&(l.exit(),o=!0)),n===e.promise?u(B("Promise-chain cycle")):(r=z(n))?p(r,n,s,u):s(n)):u(i)}catch(f){l&&!o&&l.exit(),u(f)}},$=function(e,t){e.notified||(e.notified=!0,x((function(){for(var n,r=e.reactions;n=r.get();)G(n,e);e.notified=!1,t&&!e.rejection&&K(e)})))},Y=function(e,t,n){var r,o;q?((r=N.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},!W&&(o=u["on"+e])?o(r):e===V&&k("Unhandled promise rejection",n)},K=function(e){p(b,u,(function(){var t,n=e.facade,r=e.value;if(X(e)&&(t=P((function(){s?F.emit("unhandledRejection",r,n):Y(V,n,r)})),e.rejection=s||X(e)?2:1,t.error))throw t.value}))},X=function(e){return 1!==e.rejection&&!e.parent},J=function(e){p(b,u,(function(){var t=e.facade;s?F.emit("rejectionHandled",t):Y("rejectionhandled",t,e.value)}))},Q=function(e,t,n){return function(r){e(t,r,n)}},Z=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,$(e,!0))},ee=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw B("Promise can't be resolved itself");var r=z(t);r?x((function(){var n={done:!1};try{p(r,t,Q(ee,n,e),Q(Z,n,e))}catch(o){Z(n,o,e)}})):(e.value=t,e.state=1,$(e,!1))}catch(o){Z({done:!1},o,e)}}};if(T&&(D=(I=function(e){y(this,D),h(e),p(r,this);var t=_(this);try{e(Q(ee,t),Q(Z,t))}catch(n){Z(t,n)}}).prototype,(r=function(e){L(this,{type:A,done:!1,notified:!1,parent:!1,reactions:new O,rejection:!1,state:0,value:void 0})}).prototype=l(D,"then",(function(e,t){var n=_(this),r=U(g(this,I));return n.parent=!0,r.ok=!m(e)||e,r.fail=m(t)&&t,r.domain=s?F.domain:void 0,0==n.state?n.reactions.add(r):x((function(){G(r,n)})),r.promise})),o=function(){var e=new r,t=_(e);this.promise=e,this.resolve=Q(ee,t),this.reject=Q(Z,t)},S.f=U=function(e){return e===I||undefined===e?new o(e):H(e)},!c&&m(E)&&C!==Object.prototype)){i=C.then,j||l(C,"then",(function(e,t){var n=this;return new I((function(e,t){p(i,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete C.constructor}catch(te){}f&&f(C,D)}a({global:!0,constructor:!0,wrap:!0,forced:T},{Promise:I}),d(I,A,!1,!0),v(A)},35054:function(e,t,n){n(95999),n(1321),n(10865),n(77688),n(36055),n(9240)},77688:function(e,t,n){"use strict";var r=n(19882),o=n(79611),i=n(97676),a=n(29269),c=n(74443),s=n(5166);r({target:"Promise",stat:!0,forced:n(99581)},{race:function(e){var t=this,n=a.f(t),r=n.reject,u=c((function(){var a=i(t.resolve);s(e,(function(e){o(a,t,e).then(n.resolve,r)}))}));return u.error&&r(u.value),n.promise}})},36055:function(e,t,n){"use strict";var r=n(19882),o=n(79611),i=n(29269);r({target:"Promise",stat:!0,forced:n(35182).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return o(t.reject,void 0,e),t.promise}})},9240:function(e,t,n){"use strict";var r=n(19882),o=n(22773),i=n(21178),a=n(25988),c=n(35182).CONSTRUCTOR,s=n(11621),u=o("Promise"),p=i&&!c;r({target:"Promise",stat:!0,forced:i||c},{resolve:function(e){return s(p&&this===u?a:this,e)}})},39275:function(e,t,n){"use strict";var r=n(19882),o=n(99749);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},75668:function(e,t,n){"use strict";var r=n(79611),o=n(81492),i=n(83875),a=n(35108),c=n(28967),s=n(96411),u=n(97219),p=n(13350),l=n(94088);o("match",(function(e,t,n){return[function(t){var n=s(this),o=null==t?void 0:u(t,e);return o?r(o,t,n):new RegExp(t)[e](c(n))},function(e){var r=i(this),o=c(e),s=n(t,r,o);if(s.done)return s.value;if(!r.global)return l(r,o);var u=r.unicode;r.lastIndex=0;for(var f,d=[],v=0;null!==(f=l(r,o));){var h=c(f[0]);d[v]=h,""===h&&(r.lastIndex=p(o,a(r.lastIndex),u)),v++}return 0===v?null:d}]}))},22321:function(e,t,n){"use strict";var r=n(63530),o=n(79611),i=n(88697),a=n(81492),c=n(79044),s=n(83875),u=n(75277),p=n(14229),l=n(35108),f=n(28967),d=n(96411),v=n(13350),h=n(97219),m=n(81373),w=n(94088),y=n(52280)("replace"),g=Math.max,b=Math.min,x=i([].concat),k=i([].push),P=i("".indexOf),O=i("".slice),M="$0"==="a".replace(/./,"$0"),E=!!/./[y]&&""===/./[y]("a","$0");a("replace",(function(e,t,n){var i=E?"$":"$0";return[function(e,n){var r=d(this),i=null==e?void 0:h(e,y);return i?o(i,e,r,n):o(t,f(r),e,n)},function(e,o){var a=s(this),c=f(e);if("string"==typeof o&&-1===P(o,i)&&-1===P(o,"$<")){var d=n(t,a,c,o);if(d.done)return d.value}var h=u(o);h||(o=f(o));var y=a.global;if(y){var M=a.unicode;a.lastIndex=0}for(var E=[];;){var R=w(a,c);if(null===R)break;if(k(E,R),!y)break;""===f(R[0])&&(a.lastIndex=v(c,l(a.lastIndex),M))}for(var S,A="",T=0,W=0;W=T&&(A+=O(c,T,_)+B,T=_+j.length)}return A+O(c,T)}]}),!!c((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!M||E)},67838:function(e,t,n){"use strict";var r=n(63530),o=n(79611),i=n(88697),a=n(81492),c=n(42622),s=n(83875),u=n(96411),p=n(7270),l=n(13350),f=n(35108),d=n(28967),v=n(97219),h=n(58990),m=n(94088),w=n(99749),y=n(97047),g=n(79044),b=y.UNSUPPORTED_Y,x=4294967295,k=Math.min,P=[].push,O=i(/./.exec),M=i(P),E=i("".slice),R=!g((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));a("split",(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=d(u(this)),a=void 0===n?x:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!c(e))return o(t,i,e,a);for(var s,p,l,f=[],v=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,y=new RegExp(e.source,v+"g");(s=o(w,y,i))&&!((p=y.lastIndex)>m&&(M(f,E(i,m,s.index)),s.length>1&&s.index=a));)y.lastIndex===s.index&&y.lastIndex++;return m===i.length?!l&&O(y,"")||M(f,""):M(f,E(i,m)),f.length>a?h(f,0,a):f}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:o(t,this,e,n)}:t,[function(t,n){var r=u(this),a=null==t?void 0:v(t,e);return a?o(a,t,r,n):o(i,d(r),t,n)},function(e,r){var o=s(this),a=d(e),c=n(i,o,a,r,i!==t);if(c.done)return c.value;var u=p(o,RegExp),v=o.unicode,h=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(b?"g":"y"),w=new u(b?"^(?:"+o.source+")":o,h),y=void 0===r?x:r>>>0;if(0===y)return[];if(0===a.length)return null===m(w,a)?[a]:[];for(var g=0,P=0,O=[];P{WPRecipeMaker.advancedServings.adjustedServingsDirectly(e.detail)})),window.WPRecipeMaker.advancedServings.init()},init(){if(!document.querySelector("body").classList.contains("wprm-print")){var e=document.querySelectorAll("span.wprm-recipe-advanced-servings-input");for(var t of e){var r=document.createElement("a");r.innerHTML=t.innerHTML,r.setAttribute("href","#"),r.setAttribute("role","button");var n=[...t.attributes].reduce(((e,t)=>(e[t.name]=t.value,e)),{});for(var o of Object.keys(n))r.setAttribute(o,n[o]);t.parentNode.replaceChild(r,t),r.onclick=e=>{e.preventDefault(),WPRecipeMaker.advancedServings.onClickInput(e.target)},n.hasOwnProperty("aria-label")&&(0,i.ZP)(r,{theme:"wprm",content:n["aria-label"]})}}},onClickInput(e){e.classList.contains("wprm-recipe-advanced-servings-input-shape")?WPRecipeMaker.advancedServings.toggleShape(e):e.classList.contains("wprm-recipe-advanced-servings-input-unit")?WPRecipeMaker.advancedServings.toggleUnit(e):WPRecipeMaker.advancedServings.changeNumber(e)},changeNumber(e){var t=WPRecipeMaker.advancedServings.getRecipeFromElem(e);if(t){var r=e.getAttribute("aria-label"),n=e.innerText,i=prompt("".concat(r,":"),n);if(i){var o=WPRecipeMaker.advancedServings.parse(i);if(o&&0{window.WPRecipeMaker.advancedServings.load()},"loading"!=document.readyState?n():document.addEventListener("DOMContentLoaded",n),window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.checkboxes={initModern:()=>{document.addEventListener("change",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode)if(t.matches(".wprm-checkbox")){window.WPRecipeMaker.checkboxes.toggle(t,e);break}}),!1)},toggle:(e,t)=>{t.preventDefault();for(var r=e.parentNode;r&&r!=document;r=r.parentNode)if(r.matches("li")){r.classList.toggle("wprm-checkbox-is-checked");break}},initLegacy:()=>{var e="";e="checkbox"==wprmp_public.settings.template_ingredient_list_style&&"checkbox"==wprmp_public.settings.template_instruction_list_style?"li.wprm-recipe-ingredient, li.wprm-recipe-instruction":"checkbox"==wprmp_public.settings.template_ingredient_list_style?"li.wprm-recipe-ingredient":"li.wprm-recipe-instruction";var t=document.querySelectorAll(e);for(var r of t){r.classList.add("wprm-list-checkbox-container");var n=document.createElement("span");n.classList.add("wprm-list-checkbox"),r.insertBefore(n,r.firstChild)}document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode)if(t.matches(".wprm-list-checkbox")){window.WPRecipeMaker.checkboxes.click(t,e);break}}),!1)},click:(e,t)=>{t.preventDefault();for(var r=e.parentNode;r&&r!=document;r=r.parentNode)if(r.matches(".wprm-list-checkbox-container")){e.classList.toggle("wprm-list-checkbox-checked"),r.classList.toggle("wprm-list-checkbox-checked");break}}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{"legacy"!==wprmp_public.settings.recipe_template_mode||"checkbox"!=wprmp_public.settings.template_ingredient_list_style&&"checkbox"!=wprmp_public.settings.template_instruction_list_style||window.WPRecipeMaker.checkboxes.initLegacy(),"modern"===wprmp_public.settings.recipe_template_mode&&window.WPRecipeMaker.checkboxes.initModern()}));r(55150),r(35054);function u(e,t,r,n,i,o,a){try{var c=e[o](a),s=c.value}catch(u){return void r(u)}c.done?t(s):Promise.resolve(s).then(n,i)}window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.preventSleep={wakeLockApi:!1,wakeLock:!1,init(){if("wakeLock"in navigator&&"request"in navigator.wakeLock&&(this.wakeLockApi=navigator.wakeLock),this.wakeLockApi){var e=document.querySelectorAll(".wprm-prevent-sleep");if(0{e.wakeLock=!1,e.setCheckboxesState(!1)})),e.setCheckboxesState(!0)}catch(t){e.setCheckboxesState(!1)}}))()},unlock(){this.wakeLock&&(this.wakeLock.release(),this.wakeLock=!1),this.setCheckboxesState(!1)}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.preventSleep.init()}));r(29897);window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.privateNotes={load:()=>{document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode)if(t.matches(".wprm-private-notes-container:not(.wprm-private-notes-container-disabled)")){window.WPRecipeMaker.privateNotes.click(t,e);break}}),!1),window.WPRecipeMaker.privateNotes.init()},init:()=>{var e=document.querySelectorAll(".wprm-private-notes-container");for(var t of e)window.WPRecipeMaker.privateNotes.showNotes(t)},currentlyEditing:!1,click:(e,t)=>{t.preventDefault(),window.WPRecipeMaker.privateNotes.startEditing(e)},startEditing:e=>{if(parseInt(e.dataset.recipe)&&!window.WPRecipeMaker.privateNotes.currentlyEditing){window.WPRecipeMaker.privateNotes.currentlyEditing=!0,e.classList.add("wprm-private-notes-editing");var t=e.querySelector("textarea"),r=t.scrollHeight<100?100:t.scrollHeight;t.style.height=r+"px",window.onbeforeunload=()=>{window.WPRecipeMaker.privateNotes.stopEditing(e)},t.addEventListener("blur",(()=>{window.WPRecipeMaker.privateNotes.stopEditing(e)}),!1),t.addEventListener("input",(()=>{var e=t.scrollHeight<100?100:t.scrollHeight;t.style.height=e+"px"}),!1),t.focus(),t.setSelectionRange(t.value.length,t.value.length)}},stopEditing:e=>{window.WPRecipeMaker.privateNotes.currentlyEditing=!1;var t=e.querySelector("textarea"),r=t.value.trim(),n=t.cloneNode(!0);t.parentNode.replaceChild(n,t),e.classList.remove("wprm-private-notes-editing");var i=parseInt(e.dataset.recipe);window.WPRecipeMaker.privateNotes.saveNotes(i,r),window.WPRecipeMaker.privateNotes.showNotes(e)},showNotes:e=>{var t=parseInt(e.dataset.recipe);if(t){var r=window.WPRecipeMaker.privateNotes.getNotes(t,e),n=e.querySelector("textarea");n&&(n.value=r),r?e.classList.add("wprm-private-notes-has-notes"):e.classList.remove("wprm-private-notes-has-notes");var i=e.querySelector(".wprm-private-notes-user");i&&(i.innerHTML=r)}},recipeNotes:{},getNotes:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r="";if(window.WPRecipeMaker.privateNotes.recipeNotes.hasOwnProperty("recipe-".concat(e)))return r=window.WPRecipeMaker.privateNotes.recipeNotes["recipe-".concat(e)];if(t){var n=t.querySelector("textarea");n&&(r=n.value)}if(!r){var i=localStorage.getItem("wprm-recipe-private-notes-".concat(e));i&&(r=i)}return r},saveNotes:(e,t)=>{e&&(window.WPRecipeMaker.privateNotes.recipeNotes["recipe-".concat(e)]=t,0!!e.ok&&e.json())).then((r=>{!1===r?window.WPRecipeMaker.privateNotes.saveNotesInLocalStorage(e,t):window.WPRecipeMaker.privateNotes.saveNotesInLocalStorage(e,!1)})):window.WPRecipeMaker.privateNotes.saveNotesInLocalStorage(e,t))},saveNotesInLocalStorage:(e,t)=>{t?localStorage.setItem("wprm-recipe-private-notes-".concat(e),t):localStorage.removeItem("wprm-recipe-private-notes-".concat(e))},hideEmpty:()=>{var e=document.querySelectorAll(".wprm-private-notes-container");for(var t of e){var r=parseInt(t.dataset.recipe);if(r)if(!window.WPRecipeMaker.privateNotes.getNotes(r,t)){var n=t.previousElementSibling;n&&n.classList.contains("wprm-recipe-private-notes-header")&&n.remove(),t.remove()}}}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.privateNotes.load()}));r(39275),r(67838),r(33290),r(22321),r(72975);var p=r(52082);window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.quantities={load(){document.addEventListener("input",(function(e){e.target.matches("input.wprm-recipe-servings")&&WPRecipeMaker.quantities.inputChange(e.target)}),!1),document.addEventListener("change",(function(e){e.target.matches("input.wprm-recipe-servings")&&WPRecipeMaker.quantities.inputChange(e.target)}),!1),document.addEventListener("click",(function(e){e.target.matches(".wprm-recipe-servings-change")&&WPRecipeMaker.quantities.changeClick(e.target),e.target.matches(".wprm-recipe-adjustable-servings")&&WPRecipeMaker.quantities.multiplierClick(e.target)}),!1),document.addEventListener("keypress",(function(e){if(e.target.matches(".wprm-recipe-servings-change")){var t=e.which||e.keyCode||0;13!==t&&32!==t||(WPRecipeMaker.quantities.changeClick(e.target),e.preventDefault())}}),!1),window.WPRecipeMaker.quantities.init()},init(){var e=!1,t=[],r=document.querySelectorAll(".wprm-recipe-servings");for(var n of r)if(!n.dataset.hasOwnProperty("servings")){var i=n.dataset.hasOwnProperty("initialServings")?parseFloat(n.dataset.initialServings):0,o=n.dataset.recipe;!isNaN(i)&&0parseInt(e))),t=[...new Set(t)],e)for(var c of t)this.setServings(c,e)},initTextInput(e){var t=e.dataset.servings,r=e.dataset.recipe,n=e.getAttribute("aria-label");if(!r)for(var i=e.parentNode;i&&i!=document;i=i.parentNode)if(i.matches(".wprm-recipe-container")){r=i.dataset.recipeId;break}if(r){var o='';e.outerHTML=o}},initTextButtonsInput(e){var t=e.dataset.servings,r=e.dataset.recipe,n=e.getAttribute("aria-label");if(!r)for(var i=e.parentNode;i&&i!=document;i=i.parentNode)if(i.matches(".wprm-recipe-container")){r=i.dataset.recipeId;break}if(r){var o="";o+="background-color: "+e.dataset.buttonBackground+";",o+="border-color: "+e.dataset.buttonBackground+";",o+="color: "+e.dataset.buttonAccent+";",o+="border-radius: "+e.dataset.buttonRadius+";";var a="";a+="border-color: "+e.dataset.buttonBackground+";";var c='',s='',u='+';e.outerHTML=''+c+s+u+""}},initTooltipSlider(e){var t=e.dataset.recipe,r=e.getAttribute("aria-label");if(!t)for(var n=e.parentNode;n&&n!=document;n=n.parentNode)if(n.matches(".wprm-recipe-container")){t=n.dataset.recipeId;break}if(t){var o=document.createElement("a");o.href="#",o.classList.add("wprm-recipe-servings-link"),o.setAttribute("aria-label",r),e.parentNode.insertBefore(o,e),o.appendChild(e);var a=(0,i.ZP)(o,{theme:"wprm",content:"",onShow(e){var n=WPRecipeMaker.quantities.getRecipe(t);if(!n)return!1;var i,o=n.servings,a=20<2*o?2*o:20,c=(i=o,Math.floor(i)===i?0:i.toString().split(".")[1].length||0),s=1/Math.pow(10,c);e.setContent(''))},allowHTML:!0,interactive:!0,delay:[0,250]});o.onclick=e=>{e.preventDefault(),a.show(),setTimeout((()=>{var e=document.getElementById("wprm-recipe-servings-slider-input");e&&e.focus()}),250)}}},inputChange(e){var t=e.value,r=e.dataset.recipe;if(t){var n=e.classList.contains("wprm-recipe-servings-slider")?"slider":"input";window.WPRecipeMaker.analytics.registerActionOnce(r,wprm_public.post_id,"adjust-servings",{type:n}),this.setServings(r,t)}},changeClick(e){var t=e.closest(".wprm-recipe-servings-text-buttons-container");if(t){var r=t.querySelector("input"),n=this.parse(r.value),i=n;e.classList.contains("wprm-recipe-servings-decrement")&&n>1?i--:e.classList.contains("wprm-recipe-servings-increment")&&i++,i!==n&&(r.value=i,this.inputChange(r))}},multiplierClick(e){if(!e.classList.contains("wprm-toggle-active")||"?"===e.dataset.multiplier){var t=e.dataset.multiplier,r=e.dataset.recipe,n=e.dataset.servings,i=!1;"?"===t?(i=prompt(e.getAttribute("aria-label")))&&(i=this.parse(i)):i=this.parse(n)*this.parse(t),i&&(window.WPRecipeMaker.analytics.registerActionOnce(r,wprm_public.post_id,"adjust-servings",{type:"button"}),this.setServings(r,i))}},setServings(e,t){var r=this.getRecipe(e);r&&(r.servingsRaw=t,r.servings=this.parse(t),this.updateRecipe(r))},initRecipe(e){var t=this;if(e=parseInt(e)){var r=1,n=!1,i=[],o=document.querySelectorAll("#wprm-recipe-container-".concat(e,", .wprm-recipe-roundup-item-").concat(e,", .wprm-print-recipe-").concat(e,", .wprm-recipe-").concat(e,"-ingredients-container, .wprm-recipe-").concat(e,"-instructions-container"));for(var a of o){if(a.dataset.hasOwnProperty("servings"))0'+p+"";else{var l="¼½¾⅐⅑⅒⅓⅔⅕⅖⅗⅘⅙⅚⅛⅜⅝⅞",d="[\\d"+l+"]([\\d"+l+".,\\/\\s]*[\\d"+l+"])?";p=p.replace(new RegExp(d,"g"),'$&'),u.innerHTML=p}}var f=c.querySelectorAll(".wpurp-adjustable-quantity");for(var v of f)v.classList.add("wprm-adjustable");var m=c.querySelectorAll(".wprm-adjustable"),g=function(e){if(-1!==i.findIndex((t=>t.elem===e)))return"continue";var n=e.closest(".wprm-recipe-ingredient"),o=!1,a=!1,c=!1;if(n){var s=n.querySelector(".wprm-recipe-ingredient-name");(o=s||!1)&&(a=o.innerHTML),n.dataset.hasOwnProperty("uid")&&(c=parseInt(n.dataset.uid))}i.push({elem:e,original:e.innerText,unitQuantity:t.parse(e.innerText)/r,parentIngredient:n,linkedIngredientName:o,linkedIngredientNameOriginal:a,ingredientUid:c})};for(var w of m)g(w)}this.recipes["recipe-".concat(e)]={id:e,servings:r,servingsRaw:r,originalServings:r,originalServingsKnown:n,adjustables:i,system:1,originalSystem:1}}},getRecipe(e){return!!(e=parseInt(e))&&(this.recipes.hasOwnProperty("recipe-".concat(e))||this.initRecipe(e),this.recipes["recipe-".concat(e)])},updateIngredients(e){for(var t of e.adjustables){if(t.linkedIngredientName){var r=!!t.linkedIngredientName.dataset.hasOwnProperty("nameSingular")&&t.linkedIngredientName.dataset.nameSingular,n=!!t.linkedIngredientName.dataset.hasOwnProperty("namePlural")&&t.linkedIngredientName.dataset.namePlural;if(e.servings===e.originalServings)(r||n)&&(t.linkedIngredientName.innerHTML=t.linkedIngredientNameOriginal);else{var i=e.servings*t.unitQuantity;if(!isNaN(i)&&r&&n){var o=n;i<=1&&(o=r);var a=t.linkedIngredientName.querySelector("a");a?a.innerText=o:t.linkedIngredientName.innerText=o}}}if(t.parentIngredient&&!1!==t.ingredientUid){var c=document.querySelectorAll(".wprm-inline-ingredient-"+e.id+"-"+t.ingredientUid+", .wprm-recipe-instruction-ingredient-"+e.id+"-"+t.ingredientUid);if(01&&void 0!==arguments[1])||arguments[1];return(0,o.o)(e,wprmp_public.settings.adjustable_servings_round_to_decimals,t)}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.quantities.load()})),window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.timer={init:()=>{var e=document.querySelector("body");if(!e||!e.classList.contains("wprm-print")){var t=document.querySelectorAll(".wprm-timer"),r=function(e){var t=e.dataset.seconds;if(t>0){var r=document.createElement("a");r.href="#",r.classList.add("wprm-timer-link"),r.onclick=e=>{e.preventDefault(),e.stopPropagation(),window.WPRecipeMaker.timer.start(t)},e.parentNode.insertBefore(r,e),r.appendChild(e),(0,i.ZP)(r,{theme:"wprm",content:wprmp_public.timer.text.start_timer})}};for(var n of t)r(n)}},runningTimer:!1,runningTotal:0,runningRemaining:0,lastUpdated:0,update:()=>{var e=Date.now()-window.WPRecipeMaker.timer.lastUpdated;window.WPRecipeMaker.timer.runningRemaining-=e,window.WPRecipeMaker.timer.lastUpdated=Date.now();var t=window.WPRecipeMaker.timer.runningTotal,r=window.WPRecipeMaker.timer.runningRemaining;r<=0&&(r=0,window.WPRecipeMaker.timer.finished()),window.WPRecipeMaker.timer.showTime(Math.round(r/1e3));var n=100*(t-r)/t;document.querySelector("#wprm-timer-bar-elapsed").style.width=n+"%"},start:e=>{window.WPRecipeMaker.timer.stop((()=>{window.WPRecipeMaker.timer.createContainer(),window.WPRecipeMaker.timer.runningTotal=1e3*e,window.WPRecipeMaker.timer.runningRemaining=1e3*e,window.WPRecipeMaker.timer.showTime(e),window.WPRecipeMaker.timer.play()}))},play:()=>{document.querySelector("#wprm-timer-play").style.display="none",document.querySelector("#wprm-timer-pause").style.display="",window.WPRecipeMaker.timer.interval&&clearInterval(window.WPRecipeMaker.timer.interval),window.WPRecipeMaker.timer.interval=setInterval(window.WPRecipeMaker.timer.update,1e3),window.WPRecipeMaker.timer.lastUpdated=Date.now()},pauze:()=>{document.querySelector("#wprm-timer-play").style.display="",document.querySelector("#wprm-timer-pause").style.display="none",window.WPRecipeMaker.timer.interval&&clearInterval(window.WPRecipeMaker.timer.interval)},stop:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];window.WPRecipeMaker.timer.interval&&clearInterval(window.WPRecipeMaker.timer.interval);var t=document.querySelector("#wprm-timer-container");t&&t.parentNode.removeChild(t),e&&e()},finished:()=>{window.WPRecipeMaker.timer.pauze(),new Audio(wprmp_public.timer.sound_file).play(),document.querySelector("#wprm-timer-container").classList.add("wprm-timer-finished")},createContainer:()=>{var e=document.createElement("div");e.id="wprm-timer-container",e.innerHTML=''+wprmp_public.timer.icons.play+"",e.innerHTML+=''+wprmp_public.timer.icons.pause+"",e.innerHTML+='',e.innerHTML+='',e.innerHTML+=''+wprmp_public.timer.icons.close+"",document.querySelector("body").appendChild(e)},showTime:e=>{var t=Math.floor(e/3600);e-=3600*t;var r=Math.floor(e/60),n=(t<10?"0"+t:t)+":"+(r<10?"0"+r:r)+":"+((e-=60*r)<10?"0"+e:e);document.querySelector("#wprm-timer-remaining").textContent=n}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.timer.init()}));r(4227);window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.userRatingModal={init(){document.addEventListener("wprm-modal-open",(e=>{"user-rating"===e.detail.type&&window.WPRecipeMaker.userRatingModal.opened(e.detail.uid,e.detail.modal,e.detail.data)})),document.addEventListener("wprm-comment-rating-change",(e=>{e.detail.hasOwnProperty("container")&&e.detail.container.classList.contains("wprm-user-ratings-modal-stars")&&window.WPRecipeMaker.userRatingModal.ratingChange(e.detail.rating)}))},modalUid:!1,opened(e,t,r){window.WPRecipeMaker.userRatingModal.modalUid=e,window.WPRecipeMaker.userRatingModal.displayMessage('
');var n=t.querySelector(".wprm-user-ratings-modal-stars-container").querySelectorAll("input");if(n[0].click(),r.hasOwnProperty("rating")){var i=parseInt(r.rating);for(var o of n)if(i===parseInt(o.value)){o.click();break}}var a=t.querySelector('input[name="wprm-user-rating-recipe-id"]');a.value=r.hasOwnProperty("recipe")?r.recipe:0,window.WPRecipeMaker.manager.getRecipe(a.value).then((e=>{window.WPRecipeMaker.userRatingModal.displayMessage(!1);var r=t.querySelector(".wprm-user-rating-modal-comment");r.value="",window.WPRecipeMaker.userRatingModal.commentChange(r),window.WPRecipeMaker.userRatingModal.displayError(!1),window.WPRecipeMaker.userRatingModal.displayWaiting(!1),t.querySelector(".wprm-user-ratings-modal-recipe-name").innerHTML=e?e.data.name:""}))},ratingChange(e){var t=document.querySelector(".wprm-user-rating-modal-comment");window.WPRecipeMaker.userRatingModal.commentChange(t)},commentChange(e){var t=e.value.length>0,r=05)return window.WPRecipeMaker.userRatingModal.displayError("rating"),!1;if(o&&0===parseInt(wprmp_public.user)&&(!a||!c))return window.WPRecipeMaker.userRatingModal.displayError("meta"),!1;window.WPRecipeMaker.userRatingModal.displayError(!1),window.WPRecipeMaker.userRatingModal.displayWaiting(!0);var s={post_id:wprm_public.post_id,rating:i,comment:o,name:a,email:c};window.WPRecipeMaker.manager.getRecipe(n).then((e=>{var t=e=>{var t="";(t=!1===e?wprmp_public.settings.user_ratings_problem_message:wprmp_public.settings.user_ratings_thank_you_message)?window.WPRecipeMaker.userRatingModal.displayMessage(t):window.WPRecipeMaker.modal.close(window.WPRecipeMaker.userRatingModal.modalUid)};e?e.addRating(s).then((e=>{window.WPRecipeMaker.userRatingModal.displayWaiting(!1),t(e)})):t(!1)}))},displayError(e){var t=document.querySelector("#wprm-user-rating-modal-errors");t&&t.querySelectorAll("div").forEach((t=>{e&&t.id==="wprm-user-rating-modal-error-"+e?t.style.display="block":t.style.display=""}))},displayWaiting(e){var t=document.querySelector("#wprm-user-rating-modal-waiting");t&&(t.style.display=e?"inline-block":"");var r=document.querySelectorAll(".wprm-user-rating-modal-submit-rating, .wprm-user-rating-modal-submit-comment");for(var n of r)n.disabled=e},displayMessage(e){var t=document.querySelector("#wprm-user-ratings-modal-stars-form"),r=document.querySelector("#wprm-user-ratings-modal-message");!1===e?(t.style.display="block",r.style.display="none"):(t.style.display="none",r.innerHTML=e,r.style.display="block")}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.userRatingModal.init()}));r(12798);var l=r(23362),d=r.n(l);window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.userRating={init(){document.addEventListener("wprm-recipe-change",(e=>{if("rating"===e.detail.type){var t=e.detail.id;window.WPRecipeMaker.manager.getRecipe(t).then((e=>{e&&window.WPRecipeMaker.userRating.updateRatingDisplay(t,e.data.rating)}))}}))},settings:{color:wprmp_public.settings.template_color_icon},enter(e){e.parentNode.classList.add("wprm-user-rating-voting");var t=window.WPRecipeMaker.userRating.settings.color;"modern"===wprmp_public.settings.recipe_template_mode&&e.dataset.color&&(t=e.dataset.color);for(var r=e;r;){r.classList.add("wprm-rating-star-selecting-filled");var n=r.querySelectorAll("polygon");for(var i of n)i.style.fill=t;r=r.previousSibling}for(var o=e.nextSibling;o;){o.classList.add("wprm-rating-star-selecting-empty");var a=o.querySelectorAll("polygon");for(var c of a)c.style.fill="none";o=o.nextSibling}},leave(e){e.parentNode.classList.remove("wprm-user-rating-voting");for(var t=e.parentNode.firstChild;t;){t.classList.remove("wprm-rating-star-selecting-filled"),t.classList.remove("wprm-rating-star-selecting-empty");var r=t.querySelectorAll("polygon");for(var n of r)n.style.fill="";t=t.nextSibling}},click(e,t){var r=t.which||t.keyCode||0;if("click"===t.type||13===r||32===r){t.preventDefault();var n=e.parentNode,i=parseInt(e.dataset.rating),o=parseInt(n.dataset.recipe);if(!o)for(var a=e.parentNode;a&&a!=document;a=a.parentNode)if(a.matches(".wprm-recipe-container")){o=parseInt(a.dataset.recipeId);break}if("modal"===wprmp_public.settings.user_ratings_mode){var c=n.dataset.modalUid;window.WPRecipeMaker.modal.open(c,{recipe:o,rating:i})}else window.WPRecipeMaker.userRating.canJumpToComments()&&window.WPRecipeMaker.userRating.isCommentRequired(i)?(console.log("jump"),window.WPRecipeMaker.userRating.jumpToCommentRating(i)):(console.log("regular rating"),window.WPRecipeMaker.userRating.rate(o,e,n,i))}},isCommentRequired(e){if("never"!==wprmp_public.settings.user_ratings_force_comment){var t={"1_star":1,"2_star":2,"3_star":3,"4_star":4,always:5};if(t.hasOwnProperty(wprmp_public.settings.user_ratings_force_comment)&&e<=t[wprmp_public.settings.user_ratings_force_comment])return!0}return!1},canJumpToComments(){return!!wprmp_public.settings.features_comment_ratings&&!!document.querySelector(".comment-form-wprm-rating")},rate(e,t,r,n){var o={post_id:wprm_public.post_id,rating:n};window.WPRecipeMaker.manager.getRecipe(e).then((e=>{var r=e=>{var r="";(r=!1===e?wprmp_public.settings.user_ratings_problem_message:wprmp_public.settings.user_ratings_thank_you_message).trim()&&(0,i.ZP)(t,{theme:"wprm",trigger:"manual",showOnCreate:!0,content:r,allowHTML:!0,interactive:!0,onShow(e){setTimeout((()=>{e.destroy()}),3e3)}})};e?e.addRating(o).then((e=>{r(e)})):r(!1)}))},updateRatingDisplay(e,t){var r=document.querySelectorAll(".wprm-recipe-rating-recipe-"+e);for(var n of r){var i=n.dataset.hasOwnProperty("decimals")?parseInt(n.dataset.decimals):2;i=0<=i?i:2,t.roundedAverage=Number(t.average.toFixed(i)),t.formattedAverage=(0,o.o)(t.average,i);var a=n.querySelector(".wprm-recipe-rating-details");if(a)a.innerHTML=window.WPRecipeMaker.userRating.getRatingDetailsText(t);else{var c=n.querySelector(".wprm-recipe-rating-average"),s=n.querySelector(".wprm-recipe-rating-count");c&&(c.innerText=t.formattedAverage),s&&(s.innerText=t.count)}for(var u=t.roundedAverage,p=1;p<=5;p++){var l=n.querySelector(".wprm-rating-star-"+p);if(l)if(l.classList.remove("wprm-rating-star-full"),l.classList.remove("wprm-rating-star-empty"),l.classList.remove("wprm-rating-star-33"),l.classList.remove("wprm-rating-star-50"),l.classList.remove("wprm-rating-star-66"),p<=u)l.classList.add("wprm-rating-star-full");else{var d=0+u-p+1;0'+e.formattedAverage+"")).replace("%votes%",''+e.count+"")).replace("%user%",''+e.user+"")).trim()},addRatingForRecipe(e,t){var r={Accept:"application/json","Content-Type":"application/json"};return 0!!e.ok&&e.json())).then((e=>e))},jumpToCommentRating(e){var t=document.querySelector(".comment-form-wprm-rating");if(t){var r=t.querySelectorAll("input");for(var n of r)if(e===parseInt(n.value)){n.click();break}}var i=t;wprmp_public.settings.user_ratings_force_comment_scroll_to&&document.querySelector(wprmp_public.settings.user_ratings_force_comment_scroll_to)&&(i=document.querySelector(wprmp_public.settings.user_ratings_force_comment_scroll_to)),i&&d()(i,{verticalOffset:-100,speed:250}).then((()=>{var e=document.getElementById("comment");e&&e.focus()}))}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.userRating.init()}))},55150:function(){function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function t(t){for(var n=1;nt(t({},r),{},{data:t(t({},r.data),{},{currentServings:r.data.servings}),addRating:t=>(window.WPRecipeMaker.hasOwnProperty("analytics")&&window.WPRecipeMaker.analytics.registerAction(e,wprm_public.post_id,"user-rating",{rating:t.rating}),window.WPRecipeMaker.userRating.addRatingForRecipe(t,e).then((t=>!1!==t&&(window.WPRecipeMaker.manager.changeRecipeData(e,{rating:t}),window.WPRecipeMaker.manager.triggerChangeEvent(e,"rating"),!0)))),setServings:t=>{window.WPRecipeMaker.manager.changeRecipeData(e,{currentServings:t}),window.WPRecipeMaker.manager.triggerChangeEvent(e,"servings")}})}},5831:function(e,t,r){"use strict";r.d(t,{L:function(){return c},o:function(){return a}});r(38472),r(54883),r(68995),r(39275),r(22321),r(29897),r(11592),r(12798),r(67838);var n=r(6),i=r.n(n),o={"¼":"1/4","½":"1/2","¾":"3/4","⅐":"1/7","⅑":"1/9","⅒":"1/10","⅓":"1/3","⅔":"2/3","⅕":"1/5","⅖":"2/5","⅗":"3/5","⅘":"4/5","⅙":"1/6","⅚":"5/6","⅛":"1/8","⅜":"3/8","⅝":"5/8","⅞":"7/8"};function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=e,n=!1;if(arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&(void 0!==window.wprmp_public?wprmp_public.settings.fractions_enabled:wprmp_admin.settings.fractions_enabled)){var a=void 0!==window.wprmp_public?wprmp_public.settings.fractions_use_mixed:wprmp_admin.settings.fractions_use_mixed,c=void 0!==window.wprmp_public?wprmp_public.settings.fractions_use_symbols:wprmp_admin.settings.fractions_use_symbols,s=parseInt(void 0!==window.wprmp_public?wprmp_public.settings.fractions_max_denominator:wprmp_admin.settings.fractions_max_denominator);s=s>1?s:8;var u=i()(e,s,a);if(u&&3===u.length&&!isNaN(u[0])&&!isNaN(u[1])&&!isNaN(u[2])){var p="";if(0]+)>)/gi,"")).replace(/(\[([^\]]+)\])/gi,"")).replace(/[^\d\s\.\/-]/gi,"")).trim()).split(" "),r=!1;if(""!==e){r=0;for(var n=0;n0&&(o=(0,i.NM)(r.width)/s||1),c>0&&(a=(0,i.NM)(r.height)/c||1)}return{width:r.width/o,height:r.height/a,top:r.top/a,right:r.right/o,bottom:r.bottom/a,left:r.left/o,x:r.left/o,y:r.top/a}}},3315:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}});var n=r(89670),i=r(55764),o=r(24646),a=r(24534),c=r(31022),s=r(27306),u=r(6401),p=r(39818),l=r(22801),d=r(72987),f=r(58751),v=r(94870),m=r(92505),g=r(73416);function w(e,t){return t===n.Pj?(0,m.Z)((0,i.Z)(e)):(0,p.kK)(t)?function(e){var t=(0,l.Z)(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):(0,m.Z)((0,o.Z)((0,s.Z)(e)))}function h(e,t,r){var n="clippingParents"===t?function(e){var t=(0,a.Z)((0,d.Z)(e)),r=["absolute","fixed"].indexOf((0,u.Z)(e).position)>=0&&(0,p.Re)(e)?(0,c.Z)(e):e;return(0,p.kK)(r)?t.filter((function(e){return(0,p.kK)(e)&&(0,f.Z)(e,r)&&"body"!==(0,v.Z)(e)})):[]}(e):[].concat(t),i=[].concat(n,[r]),o=i[0],s=i.reduce((function(t,r){var n=w(e,r);return t.top=(0,g.Fp)(n.top,t.top),t.right=(0,g.VV)(n.right,t.right),t.bottom=(0,g.VV)(n.bottom,t.bottom),t.left=(0,g.Fp)(n.left,t.left),t}),w(e,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}},16329:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(22801),i=r(52189),o=r(94870),a=r(39818),c=r(83345),s=r(27306),u=r(54653),p=r(73416);function l(e,t,r){void 0===r&&(r=!1);var l=(0,a.Re)(t),d=(0,a.Re)(t)&&function(e){var t=e.getBoundingClientRect(),r=(0,p.NM)(t.width)/e.offsetWidth||1,n=(0,p.NM)(t.height)/e.offsetHeight||1;return 1!==r||1!==n}(t),f=(0,s.Z)(t),v=(0,n.Z)(e,d),m={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(l||!l&&!r)&&(("body"!==(0,o.Z)(t)||(0,u.Z)(f))&&(m=(0,i.Z)(t)),(0,a.Re)(t)?((g=(0,n.Z)(t,!0)).x+=t.clientLeft,g.y+=t.clientTop):f&&(g.x=(0,c.Z)(f))),{x:v.left+m.scrollLeft-g.x,y:v.top+m.scrollTop-g.y,width:v.width,height:v.height}}},6401:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(73432);function i(e){return(0,n.Z)(e).getComputedStyle(e)}},27306:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(39818);function i(e){return(((0,n.kK)(e)?e.ownerDocument:e.document)||window.document).documentElement}},24646:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(27306),i=r(6401),o=r(83345),a=r(53219),c=r(73416);function s(e){var t,r=(0,n.Z)(e),s=(0,a.Z)(e),u=null==(t=e.ownerDocument)?void 0:t.body,p=(0,c.Fp)(r.scrollWidth,r.clientWidth,u?u.scrollWidth:0,u?u.clientWidth:0),l=(0,c.Fp)(r.scrollHeight,r.clientHeight,u?u.scrollHeight:0,u?u.clientHeight:0),d=-s.scrollLeft+(0,o.Z)(e),f=-s.scrollTop;return"rtl"===(0,i.Z)(u||r).direction&&(d+=(0,c.Fp)(r.clientWidth,u?u.clientWidth:0)-p),{width:p,height:l,x:d,y:f}}},8331:function(e,t,r){"use strict";function n(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}r.d(t,{Z:function(){return n}})},210:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(22801);function i(e){var t=(0,n.Z)(e),r=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:i}}},94870:function(e,t,r){"use strict";function n(e){return e?(e.nodeName||"").toLowerCase():null}r.d(t,{Z:function(){return n}})},52189:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(53219),i=r(73432),o=r(39818),a=r(8331);function c(e){return e!==(0,i.Z)(e)&&(0,o.Re)(e)?(0,a.Z)(e):(0,n.Z)(e)}},31022:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var n=r(73432),i=r(94870),o=r(6401),a=r(39818),c=r(29777),s=r(72987);function u(e){return(0,a.Re)(e)&&"fixed"!==(0,o.Z)(e).position?e.offsetParent:null}function p(e){for(var t=(0,n.Z)(e),r=u(e);r&&(0,c.Z)(r)&&"static"===(0,o.Z)(r).position;)r=u(r);return r&&("html"===(0,i.Z)(r)||"body"===(0,i.Z)(r)&&"static"===(0,o.Z)(r).position)?t:r||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&(0,a.Re)(e)&&"fixed"===(0,o.Z)(e).position)return null;var r=(0,s.Z)(e);for((0,a.Zq)(r)&&(r=r.host);(0,a.Re)(r)&&["html","body"].indexOf((0,i.Z)(r))<0;){var n=(0,o.Z)(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}},72987:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(94870),i=r(27306),o=r(39818);function a(e){return"html"===(0,n.Z)(e)?e:e.assignedSlot||e.parentNode||((0,o.Zq)(e)?e.host:null)||(0,i.Z)(e)}},82513:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(72987),i=r(54653),o=r(94870),a=r(39818);function c(e){return["html","body","#document"].indexOf((0,o.Z)(e))>=0?e.ownerDocument.body:(0,a.Re)(e)&&(0,i.Z)(e)?e:c((0,n.Z)(e))}},55764:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(73432),i=r(27306),o=r(83345);function a(e){var t=(0,n.Z)(e),r=(0,i.Z)(e),a=t.visualViewport,c=r.clientWidth,s=r.clientHeight,u=0,p=0;return a&&(c=a.width,s=a.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(u=a.offsetLeft,p=a.offsetTop)),{width:c,height:s,x:u+(0,o.Z)(e),y:p}}},73432:function(e,t,r){"use strict";function n(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}r.d(t,{Z:function(){return n}})},53219:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(73432);function i(e){var t=(0,n.Z)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},83345:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(22801),i=r(27306),o=r(53219);function a(e){return(0,n.Z)((0,i.Z)(e)).left+(0,o.Z)(e).scrollLeft}},39818:function(e,t,r){"use strict";r.d(t,{Re:function(){return o},Zq:function(){return a},kK:function(){return i}});var n=r(73432);function i(e){return e instanceof(0,n.Z)(e).Element||e instanceof Element}function o(e){return e instanceof(0,n.Z)(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof(0,n.Z)(e).ShadowRoot||e instanceof ShadowRoot)}},54653:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(6401);function i(e){var t=(0,n.Z)(e),r=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+i)}},29777:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(94870);function i(e){return["table","td","th"].indexOf((0,n.Z)(e))>=0}},24534:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(82513),i=r(72987),o=r(73432),a=r(54653);function c(e,t){var r;void 0===t&&(t=[]);var s=(0,n.Z)(e),u=s===(null==(r=e.ownerDocument)?void 0:r.body),p=(0,o.Z)(s),l=u?[p].concat(p.visualViewport||[],(0,a.Z)(s)?s:[]):s,d=t.concat(l);return u?d:d.concat(c((0,i.Z)(l)))}},89670:function(e,t,r){"use strict";r.d(t,{BL:function(){return u},Ct:function(){return g},F2:function(){return o},I:function(){return i},Pj:function(){return d},YP:function(){return v},bw:function(){return m},d7:function(){return c},k5:function(){return f},mv:function(){return s},t$:function(){return a},ut:function(){return p},we:function(){return n},xs:function(){return w},zV:function(){return l}});var n="top",i="bottom",o="right",a="left",c="auto",s=[n,i,o,a],u="start",p="end",l="clippingParents",d="viewport",f="popper",v="reference",m=s.reduce((function(e,t){return e.concat([t+"-"+u,t+"-"+p])}),[]),g=[].concat(s,[c]).reduce((function(e,t){return e.concat([t,t+"-"+u,t+"-"+p])}),[]),w=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},19826:function(e,t,r){"use strict";var n=r(94870),i=r(39818);t.Z={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},o=t.attributes[e]||{},a=t.elements[e];(0,i.Re)(a)&&(0,n.Z)(a)&&(Object.assign(a.style,r),Object.keys(o).forEach((function(e){var t=o[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],a=t.attributes[e]||{},c=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});(0,i.Re)(o)&&(0,n.Z)(o)&&(Object.assign(o.style,c),Object.keys(a).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]}},97364:function(e,t,r){"use strict";var n=r(37441),i=r(210),o=r(58751),a=r(31022),c=r(80082),s=r(78889),u=r(20661),p=r(14986),l=r(89670);t.Z={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,o=e.name,d=e.options,f=r.elements.arrow,v=r.modifiersData.popperOffsets,m=(0,n.Z)(r.placement),g=(0,c.Z)(m),w=[l.t$,l.F2].indexOf(m)>=0?"height":"width";if(f&&v){var h=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,(0,u.Z)("number"!=typeof e?e:(0,p.Z)(e,l.mv))}(d.padding,r),y=(0,i.Z)(f),b="y"===g?l.we:l.t$,x="y"===g?l.I:l.F2,k=r.rects.reference[w]+r.rects.reference[g]-v[g]-r.rects.popper[w],R=v[g]-r.rects.reference[g],S=(0,a.Z)(f),P=S?"y"===g?S.clientHeight||0:S.clientWidth||0:0,M=k/2-R/2,O=h[b],_=P-y[w]-h[x],E=P/2-y[w]/2+M,L=(0,s.u)(O,E,_),W=g;r.modifiersData[o]=((t={})[W]=L,t.centerOffset=L-E,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&(0,o.Z)(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},73730:function(e,t,r){"use strict";var n=r(89670),i=r(31022),o=r(73432),a=r(27306),c=r(6401),s=r(37441),u=r(13605),p=r(73416),l={top:"auto",right:"auto",bottom:"auto",left:"auto"};function d(e){var t,r=e.popper,s=e.popperRect,u=e.placement,d=e.variation,f=e.offsets,v=e.position,m=e.gpuAcceleration,g=e.adaptive,w=e.roundOffsets,h=e.isFixed,y=f.x,b=void 0===y?0:y,x=f.y,k=void 0===x?0:x,R="function"==typeof w?w({x:b,y:k}):{x:b,y:k};b=R.x,k=R.y;var S=f.hasOwnProperty("x"),P=f.hasOwnProperty("y"),M=n.t$,O=n.we,_=window;if(g){var E=(0,i.Z)(r),L="clientHeight",W="clientWidth";if(E===(0,o.Z)(r)&&(E=(0,a.Z)(r),"static"!==(0,c.Z)(E).position&&"absolute"===v&&(L="scrollHeight",W="scrollWidth")),u===n.we||(u===n.t$||u===n.F2)&&d===n.ut)O=n.I,k-=(h&&E===_&&_.visualViewport?_.visualViewport.height:E[L])-s.height,k*=m?1:-1;if(u===n.t$||(u===n.we||u===n.I)&&d===n.ut)M=n.F2,b-=(h&&E===_&&_.visualViewport?_.visualViewport.width:E[W])-s.width,b*=m?1:-1}var T,j=Object.assign({position:v},g&&l),A=!0===w?function(e){var t=e.x,r=e.y,n=window.devicePixelRatio||1;return{x:(0,p.NM)(t*n)/n||0,y:(0,p.NM)(r*n)/n||0}}({x:b,y:k}):{x:b,y:k};return b=A.x,k=A.y,m?Object.assign({},j,((T={})[O]=P?"0":"",T[M]=S?"0":"",T.transform=(_.devicePixelRatio||1)<=1?"translate("+b+"px, "+k+"px)":"translate3d("+b+"px, "+k+"px, 0)",T)):Object.assign({},j,((t={})[O]=P?k+"px":"",t[M]=S?b+"px":"",t.transform="",t))}t.Z={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=void 0===n||n,o=r.adaptive,a=void 0===o||o,c=r.roundOffsets,p=void 0===c||c,l={placement:(0,s.Z)(t.placement),variation:(0,u.Z)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,d(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:p})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,d(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:p})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}}},93570:function(e,t,r){"use strict";var n=r(73432),i={passive:!0};t.Z={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,o=e.options,a=o.scroll,c=void 0===a||a,s=o.resize,u=void 0===s||s,p=(0,n.Z)(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return c&&l.forEach((function(e){e.addEventListener("scroll",r.update,i)})),u&&p.addEventListener("resize",r.update,i),function(){c&&l.forEach((function(e){e.removeEventListener("scroll",r.update,i)})),u&&p.removeEventListener("resize",r.update,i)}},data:{}}},49640:function(e,t,r){"use strict";var n=r(6448),i=r(37441),o=r(27640),a=r(7550),c=r(47240),s=r(89670),u=r(13605);t.Z={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,p=e.name;if(!t.modifiersData[p]._skip){for(var l=r.mainAxis,d=void 0===l||l,f=r.altAxis,v=void 0===f||f,m=r.fallbackPlacements,g=r.padding,w=r.boundary,h=r.rootBoundary,y=r.altBoundary,b=r.flipVariations,x=void 0===b||b,k=r.allowedAutoPlacements,R=t.options.placement,S=(0,i.Z)(R),P=m||(S===R||!x?[(0,n.Z)(R)]:function(e){if((0,i.Z)(e)===s.d7)return[];var t=(0,n.Z)(e);return[(0,o.Z)(e),t,(0,o.Z)(t)]}(R)),M=[R].concat(P).reduce((function(e,r){return e.concat((0,i.Z)(r)===s.d7?(0,c.Z)(t,{placement:r,boundary:w,rootBoundary:h,padding:g,flipVariations:x,allowedAutoPlacements:k}):r)}),[]),O=t.rects.reference,_=t.rects.popper,E=new Map,L=!0,W=M[0],T=0;T=0,N=I?"width":"height",C=(0,a.Z)(t,{placement:j,boundary:w,rootBoundary:h,altBoundary:y,padding:g}),q=I?Z?s.F2:s.t$:Z?s.I:s.we;O[N]>_[N]&&(q=(0,n.Z)(q));var D=(0,n.Z)(q),H=[];if(d&&H.push(C[A]<=0),v&&H.push(C[q]<=0,C[D]<=0),H.every((function(e){return e}))){W=j,L=!1;break}E.set(j,H)}if(L)for(var F=function(e){var t=M.find((function(t){var r=E.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return W=t,"break"},U=x?3:1;U>0;U--){if("break"===F(U))break}t.placement!==W&&(t.modifiersData[p]._skip=!0,t.placement=W,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}}},78307:function(e,t,r){"use strict";var n=r(89670),i=r(7550);function o(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function a(e){return[n.we,n.F2,n.I,n.t$].some((function(t){return e[t]>=0}))}t.Z={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,c=t.rects.popper,s=t.modifiersData.preventOverflow,u=(0,i.Z)(t,{elementContext:"reference"}),p=(0,i.Z)(t,{altBoundary:!0}),l=o(u,n),d=o(p,c,s),f=a(l),v=a(d);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:f,hasPopperEscaped:v},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":v})}}},25900:function(e,t,r){"use strict";var n=r(37441),i=r(89670);t.Z={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,o=e.name,a=r.offset,c=void 0===a?[0,0]:a,s=i.Ct.reduce((function(e,r){return e[r]=function(e,t,r){var o=(0,n.Z)(e),a=[i.t$,i.we].indexOf(o)>=0?-1:1,c="function"==typeof r?r(Object.assign({},t,{placement:e})):r,s=c[0],u=c[1];return s=s||0,u=(u||0)*a,[i.t$,i.F2].indexOf(o)>=0?{x:u,y:s}:{x:s,y:u}}(r,t.rects,c),e}),{}),u=s[t.placement],p=u.x,l=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=p,t.modifiersData.popperOffsets.y+=l),t.modifiersData[o]=s}}},25196:function(e,t,r){"use strict";var n=r(86852);t.Z={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=(0,n.Z)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}}},12789:function(e,t,r){"use strict";var n=r(89670),i=r(37441),o=r(80082),a=r(72243),c=r(78889),s=r(210),u=r(31022),p=r(7550),l=r(13605),d=r(48388),f=r(73416);t.Z={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,v=e.name,m=r.mainAxis,g=void 0===m||m,w=r.altAxis,h=void 0!==w&&w,y=r.boundary,b=r.rootBoundary,x=r.altBoundary,k=r.padding,R=r.tether,S=void 0===R||R,P=r.tetherOffset,M=void 0===P?0:P,O=(0,p.Z)(t,{boundary:y,rootBoundary:b,padding:k,altBoundary:x}),_=(0,i.Z)(t.placement),E=(0,l.Z)(t.placement),L=!E,W=(0,o.Z)(_),T=(0,a.Z)(W),j=t.modifiersData.popperOffsets,A=t.rects.reference,Z=t.rects.popper,I="function"==typeof M?M(Object.assign({},t.rects,{placement:t.placement})):M,N="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,q={x:0,y:0};if(j){if(g){var D,H="y"===W?n.we:n.t$,F="y"===W?n.I:n.F2,U="y"===W?"height":"width",V=j[W],B=V+O[H],$=V-O[F],z=S?-Z[U]/2:0,G=E===n.BL?A[U]:Z[U],Y=E===n.BL?-Z[U]:-A[U],K=t.elements.arrow,X=S&&K?(0,s.Z)(K):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,d.Z)(),Q=J[H],ee=J[F],te=(0,c.u)(0,A[U],X[U]),re=L?A[U]/2-z-te-Q-N.mainAxis:G-te-Q-N.mainAxis,ne=L?-A[U]/2+z+te+ee+N.mainAxis:Y+te+ee+N.mainAxis,ie=t.elements.arrow&&(0,u.Z)(t.elements.arrow),oe=ie?"y"===W?ie.clientTop||0:ie.clientLeft||0:0,ae=null!=(D=null==C?void 0:C[W])?D:0,ce=V+re-ae-oe,se=V+ne-ae,ue=(0,c.u)(S?(0,f.VV)(B,ce):B,V,S?(0,f.Fp)($,se):$);j[W]=ue,q[W]=ue-V}if(h){var pe,le="x"===W?n.we:n.t$,de="x"===W?n.I:n.F2,fe=j[T],ve="y"===T?"height":"width",me=fe+O[le],ge=fe-O[de],we=-1!==[n.we,n.t$].indexOf(_),he=null!=(pe=null==C?void 0:C[T])?pe:0,ye=we?me:fe-A[ve]-Z[ve]-he+N.altAxis,be=we?fe+A[ve]+Z[ve]-he-N.altAxis:ge,xe=S&&we?(0,c.q)(ye,fe,be):(0,c.u)(S?ye:me,fe,S?be:ge);j[T]=xe,q[T]=xe-fe}t.modifiersData[v]=q}},requiresIfExists:["offset"]}},71717:function(e,t,r){"use strict";r.d(t,{fi:function(){return v}});var n=r(89640),i=r(93570),o=r(25196),a=r(73730),c=r(19826),s=r(25900),u=r(49640),p=r(12789),l=r(97364),d=r(78307),f=[i.Z,o.Z,a.Z,c.Z,s.Z,u.Z,p.Z,l.Z,d.Z],v=(0,n.kZ)({defaultModifiers:f})},47240:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(13605),i=r(89670),o=r(7550),a=r(37441);function c(e,t){void 0===t&&(t={});var r=t,c=r.placement,s=r.boundary,u=r.rootBoundary,p=r.padding,l=r.flipVariations,d=r.allowedAutoPlacements,f=void 0===d?i.Ct:d,v=(0,n.Z)(c),m=v?l?i.bw:i.bw.filter((function(e){return(0,n.Z)(e)===v})):i.mv,g=m.filter((function(e){return f.indexOf(e)>=0}));0===g.length&&(g=m);var w=g.reduce((function(t,r){return t[r]=(0,o.Z)(e,{placement:r,boundary:s,rootBoundary:u,padding:p})[(0,a.Z)(r)],t}),{});return Object.keys(w).sort((function(e,t){return w[e]-w[t]}))}},86852:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(37441),i=r(13605),o=r(80082),a=r(89670);function c(e){var t,r=e.reference,c=e.element,s=e.placement,u=s?(0,n.Z)(s):null,p=s?(0,i.Z)(s):null,l=r.x+r.width/2-c.width/2,d=r.y+r.height/2-c.height/2;switch(u){case a.we:t={x:l,y:r.y-c.height};break;case a.I:t={x:l,y:r.y+r.height};break;case a.F2:t={x:r.x+r.width,y:d};break;case a.t$:t={x:r.x-c.width,y:d};break;default:t={x:r.x,y:r.y}}var f=u?(0,o.Z)(u):null;if(null!=f){var v="y"===f?"height":"width";switch(p){case a.BL:t[f]=t[f]-(r[v]/2-c[v]/2);break;case a.ut:t[f]=t[f]+(r[v]/2-c[v]/2)}}return t}},49102:function(e,t,r){"use strict";function n(e){var t;return function(){return t||(t=new Promise((function(r){Promise.resolve().then((function(){t=void 0,r(e())}))}))),t}}r.d(t,{Z:function(){return n}})},7550:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(3315),i=r(27306),o=r(22801),a=r(86852),c=r(92505),s=r(89670),u=r(39818),p=r(20661),l=r(14986);function d(e,t){void 0===t&&(t={});var r=t,d=r.placement,f=void 0===d?e.placement:d,v=r.boundary,m=void 0===v?s.zV:v,g=r.rootBoundary,w=void 0===g?s.Pj:g,h=r.elementContext,y=void 0===h?s.k5:h,b=r.altBoundary,x=void 0!==b&&b,k=r.padding,R=void 0===k?0:k,S=(0,p.Z)("number"!=typeof R?R:(0,l.Z)(R,s.mv)),P=y===s.k5?s.YP:s.k5,M=e.rects.popper,O=e.elements[x?P:y],_=(0,n.Z)((0,u.kK)(O)?O:O.contextElement||(0,i.Z)(e.elements.popper),m,w),E=(0,o.Z)(e.elements.reference),L=(0,a.Z)({reference:E,element:M,strategy:"absolute",placement:f}),W=(0,c.Z)(Object.assign({},M,L)),T=y===s.k5?W:E,j={top:_.top-T.top+S.top,bottom:T.bottom-_.bottom+S.bottom,left:_.left-T.left+S.left,right:T.right-_.right+S.right},A=e.modifiersData.offset;if(y===s.k5&&A){var Z=A[f];Object.keys(j).forEach((function(e){var t=[s.F2,s.I].indexOf(e)>=0?1:-1,r=[s.we,s.I].indexOf(e)>=0?"y":"x";j[e]+=Z[r]*t}))}return j}},14986:function(e,t,r){"use strict";function n(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}r.d(t,{Z:function(){return n}})},72243:function(e,t,r){"use strict";function n(e){return"x"===e?"y":"x"}r.d(t,{Z:function(){return n}})},37441:function(e,t,r){"use strict";function n(e){return e.split("-")[0]}r.d(t,{Z:function(){return n}})},48388:function(e,t,r){"use strict";function n(){return{top:0,right:0,bottom:0,left:0}}r.d(t,{Z:function(){return n}})},80082:function(e,t,r){"use strict";function n(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}r.d(t,{Z:function(){return n}})},6448:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n={left:"right",right:"left",bottom:"top",top:"bottom"};function i(e){return e.replace(/left|right|bottom|top/g,(function(e){return n[e]}))}},27640:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n={start:"end",end:"start"};function i(e){return e.replace(/start|end/g,(function(e){return n[e]}))}},13605:function(e,t,r){"use strict";function n(e){return e.split("-")[1]}r.d(t,{Z:function(){return n}})},73416:function(e,t,r){"use strict";r.d(t,{Fp:function(){return n},NM:function(){return o},VV:function(){return i}});var n=Math.max,i=Math.min,o=Math.round},70350:function(e,t,r){"use strict";function n(e){var t=e.reduce((function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}r.d(t,{Z:function(){return n}})},20661:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(48388);function i(e){return Object.assign({},(0,n.Z)(),e)}},97285:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(89670);function i(e){var t=new Map,r=new Set,n=[];function i(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var n=t.get(e);n&&i(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||i(e)})),n}function o(e){var t=i(e);return n.xs.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}},92505:function(e,t,r){"use strict";function n(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}r.d(t,{Z:function(){return n}})},78889:function(e,t,r){"use strict";r.d(t,{q:function(){return o},u:function(){return i}});var n=r(73416);function i(e,t,r){return(0,n.Fp)(e,(0,n.VV)(t,r))}function o(e,t,r){var n=i(e,t,r);return n>r?r:n}},23362:function(e,t){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]-1&&(t&&s.cancelMethods[r](),s.elements.splice(r,1),s.cancelMethods.splice(r,1))}},u="undefined"!=typeof window,p={cancelOnUserAction:!0,easing:function(e){return--e*e*e+1},elementToScroll:u?window:null,horizontalOffset:0,maxDuration:3e3,minDuration:250,speed:500,verticalOffset:0};t.default=function(e,t){return void 0===t&&(t={}),n(this,void 0,void 0,(function(){var n,o,l,d,f,v,m,g,w,h,y,b,x,k,R,S,P;return i(this,(function(i){if(!u)return[2,new Promise((function(e){e(!1)}))];if(!window.Promise)throw"Browser doesn't support Promises, and animated-scroll-to depends on it, please provide a polyfill.";if(d=r(r({},p),t),f=d.elementToScroll===window,v=!!d.elementToScroll.nodeName,!f&&!v)throw"Element to scroll needs to be either window or DOM element.";if(m=f?document.documentElement:d.elementToScroll,"smooth"===getComputedStyle(m).getPropertyValue("scroll-behavior")&&console.warn(m.tagName+' has "scroll-behavior: smooth" which can mess up with animated-scroll-to\'s animations'),g=f?new c:new a(d.elementToScroll),e instanceof Element){if(l=e,v&&(!d.elementToScroll.contains(l)||d.elementToScroll.isSameNode(l)))throw"options.elementToScroll has to be a parent of scrollToElement";n=g.getHorizontalElementScrollOffset(l,d.elementToScroll),o=g.getVerticalElementScrollOffset(l,d.elementToScroll)}else if("number"==typeof e)n=g.getHorizontalScroll(),o=e;else{if(!Array.isArray(e)||2!==e.length)throw"Wrong function signature. Check documentation.\nAvailable method signatures are:\n animateScrollTo(y:number, options)\n animateScrollTo([x:number | null, y:number | null], options)\n animateScrollTo(scrollToElement:Element, options)";n=null===e[0]?g.getHorizontalScroll():e[0],o=null===e[1]?g.getVerticalScroll():e[1]}return n+=d.horizontalOffset,o+=d.verticalOffset,w=g.getMaxHorizontalScroll(),h=g.getHorizontalScroll(),n>w&&(n=w),y=n-h,b=g.getMaxVerticalScroll(),x=g.getVerticalScroll(),o>b&&(o=b),k=o-x,R=Math.abs(Math.round(y/1e3*d.speed)),S=Math.abs(Math.round(k/1e3*d.speed)),(P=R>S?R:S)d.maxDuration&&(P=d.maxDuration),[2,new Promise((function(e,t){var r;0===y&&0===k&&e(!0),s.remove(d.elementToScroll,!0);var i=function(){p(),cancelAnimationFrame(r),e(!1)};s.add(d.elementToScroll,i);var a=d.cancelOnUserAction?i:function(e){return e.preventDefault()},c=d.cancelOnUserAction?{passive:!0}:{passive:!1},u=["wheel","touchstart","keydown","mousedown"],p=function(){u.forEach((function(e){d.elementToScroll.removeEventListener(e,a,c)}))};u.forEach((function(e){d.elementToScroll.addEventListener(e,a,c)}));var l=Date.now(),f=function(){var t=Date.now()-l,i=t/P,a=Math.round(h+y*d.easing(i)),c=Math.round(x+k*d.easing(i));tp;)if((c=s[p++])!=c)return!0}else for(;u>p;p++)if((e||p in s)&&s[p]===r)return e||p||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},54324:function(e,t,r){"use strict";var n=r(79044);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},86596:function(e,t,r){var n=r(97676),i=r(30744),o=r(78609),a=r(47046),c=TypeError,s=function(e){return function(t,r,s,u){n(r);var p=i(t),l=o(p),d=a(p),f=e?d-1:0,v=e?-1:1;if(s<2)for(;;){if(f in l){u=l[f],f+=v;break}if(f+=v,e?f<0:d<=f)throw c("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=v)f in l&&(u=r(u,l[f],f,p));return u}};e.exports={left:s(!1),right:s(!0)}},58990:function(e,t,r){var n=r(32565),i=r(47046),o=r(35039),a=Array,c=Math.max;e.exports=function(e,t,r){for(var s=i(e),u=n(t,s),p=n(void 0===r?s:r,s),l=a(c(p-u,0)),d=0;u0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},48869:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},19882:function(e,t,r){var n=r(98363),i=r(66012).f,o=r(45899),a=r(50403),c=r(62359),s=r(73870),u=r(86291);e.exports=function(e,t){var r,p,l,d,f,v=e.target,m=e.global,g=e.stat;if(r=m?n:g?n[v]||c(v,{}):(n[v]||{}).prototype)for(p in t){if(d=t[p],l=e.dontCallGetSet?(f=i(r,p))&&f.value:r[p],!u(m?p:v+(g?".":"#")+p,e.forced)&&void 0!==l){if(typeof d==typeof l)continue;s(d,l)}(e.sham||l&&l.sham)&&o(d,"sham",!0),a(r,p,d,e)}}},79044:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},81492:function(e,t,r){"use strict";r(39275);var n=r(88697),i=r(50403),o=r(99749),a=r(79044),c=r(52280),s=r(45899),u=c("species"),p=RegExp.prototype;e.exports=function(e,t,r,l){var d=c(e),f=!a((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),v=f&&!a((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return t=!0,null},r[d](""),!t}));if(!f||!v||r){var m=n(/./[d]),g=t(d,""[e],(function(e,t,r,i,a){var c=n(e),s=t.exec;return s===o||s===p.exec?f&&!a?{done:!0,value:m(t,r,i)}:{done:!0,value:c(r,t,i)}:{done:!1}}));i(String.prototype,e,g[0]),i(p,d,g[1])}l&&s(p[d],"sham",!0)}},63530:function(e,t,r){var n=r(23996),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},98166:function(e,t,r){var n=r(88697),i=r(97676),o=r(23996),a=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},23996:function(e,t,r){var n=r(79044);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},79611:function(e,t,r){var n=r(23996),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},55316:function(e,t,r){var n=r(7493),i=r(24792),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,c=i(o,"name"),s=c&&"something"===function(){}.name,u=c&&(!n||n&&a(o,"name").configurable);e.exports={EXISTS:c,PROPER:s,CONFIGURABLE:u}},88697:function(e,t,r){var n=r(23996),i=Function.prototype,o=i.bind,a=i.call,c=n&&o.bind(a,a);e.exports=n?function(e){return e&&c(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}},22773:function(e,t,r){var n=r(98363),i=r(75277);e.exports=function(e,t){return arguments.length<2?(r=n[e],i(r)?r:void 0):n[e]&&n[e][t];var r}},77193:function(e,t,r){var n=r(36994),i=r(97219),o=r(44818),a=r(52280)("iterator");e.exports=function(e){if(null!=e)return i(e,a)||i(e,"@@iterator")||o[n(e)]}},11805:function(e,t,r){var n=r(79611),i=r(97676),o=r(83875),a=r(28768),c=r(77193),s=TypeError;e.exports=function(e,t){var r=arguments.length<2?c(e):t;if(i(r))return o(n(r,e));throw s(a(e)+" is not iterable")}},97219:function(e,t,r){var n=r(97676);e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},81373:function(e,t,r){var n=r(88697),i=r(30744),o=Math.floor,a=n("".charAt),c=n("".replace),s=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,p=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,l,d){var f=r+e.length,v=n.length,m=p;return void 0!==l&&(l=i(l),m=u),c(d,m,(function(i,c){var u;switch(a(c,0)){case"$":return"$";case"&":return e;case"`":return s(t,0,r);case"'":return s(t,f);case"<":u=l[s(c,1,-1)];break;default:var p=+c;if(0===p)return i;if(p>v){var d=o(p/10);return 0===d?i:d<=v?void 0===n[d-1]?a(c,1):n[d-1]+a(c,1):i}u=n[p-1]}return void 0===u?"":u}))}},98363:function(e,t,r){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},24792:function(e,t,r){var n=r(88697),i=r(30744),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},47505:function(e){e.exports={}},46271:function(e,t,r){var n=r(98363);e.exports=function(e,t){var r=n.console;r&&r.error&&(1==arguments.length?r.error(e):r.error(e,t))}},47055:function(e,t,r){var n=r(22773);e.exports=n("document","documentElement")},67548:function(e,t,r){var n=r(7493),i=r(79044),o=r(92750);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},78609:function(e,t,r){var n=r(88697),i=r(79044),o=r(79159),a=Object,c=n("".split);e.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?c(e,""):a(e)}:a},59250:function(e,t,r){var n=r(75277),i=r(52786),o=r(22412);e.exports=function(e,t,r){var a,c;return o&&n(a=t.constructor)&&a!==r&&i(c=a.prototype)&&c!==r.prototype&&o(e,c),e}},56429:function(e,t,r){var n=r(88697),i=r(75277),o=r(49415),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},20821:function(e,t,r){var n,i,o,a=r(36830),c=r(98363),s=r(88697),u=r(52786),p=r(45899),l=r(24792),d=r(49415),f=r(50466),v=r(47505),m="Object already initialized",g=c.TypeError,w=c.WeakMap;if(a||d.state){var h=d.state||(d.state=new w),y=s(h.get),b=s(h.has),x=s(h.set);n=function(e,t){if(b(h,e))throw new g(m);return t.facade=e,x(h,e,t),t},i=function(e){return y(h,e)||{}},o=function(e){return b(h,e)}}else{var k=f("state");v[k]=!0,n=function(e,t){if(l(e,k))throw new g(m);return t.facade=e,p(e,k,t),t},i=function(e){return l(e,k)?e[k]:{}},o=function(e){return l(e,k)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=i(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return r}}}},68089:function(e,t,r){var n=r(52280),i=r(44818),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},75277:function(e){e.exports=function(e){return"function"==typeof e}},31536:function(e,t,r){var n=r(88697),i=r(79044),o=r(75277),a=r(36994),c=r(22773),s=r(56429),u=function(){},p=[],l=c("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=n(d.exec),v=!d.exec(u),m=function(e){if(!o(e))return!1;try{return l(u,p,e),!0}catch(t){return!1}},g=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!f(d,s(e))}catch(t){return!0}};g.sham=!0,e.exports=!l||i((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?g:m},86291:function(e,t,r){var n=r(79044),i=r(75277),o=/#|\.prototype\./,a=function(e,t){var r=s[c(e)];return r==p||r!=u&&(i(t)?n(t):!!t)},c=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=a.data={},u=a.NATIVE="N",p=a.POLYFILL="P";e.exports=a},52786:function(e,t,r){var n=r(75277);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},21178:function(e){e.exports=!1},42622:function(e,t,r){var n=r(52786),i=r(79159),o=r(52280)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},66681:function(e,t,r){var n=r(22773),i=r(75277),o=r(32010),a=r(189),c=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&o(t.prototype,c(e))}},5166:function(e,t,r){var n=r(98166),i=r(79611),o=r(83875),a=r(28768),c=r(68089),s=r(47046),u=r(32010),p=r(11805),l=r(77193),d=r(18744),f=TypeError,v=function(e,t){this.stopped=e,this.result=t},m=v.prototype;e.exports=function(e,t,r){var g,w,h,y,b,x,k,R=r&&r.that,S=!(!r||!r.AS_ENTRIES),P=!(!r||!r.IS_ITERATOR),M=!(!r||!r.INTERRUPTED),O=n(t,R),_=function(e){return g&&d(g,"normal",e),new v(!0,e)},E=function(e){return S?(o(e),M?O(e[0],e[1],_):O(e[0],e[1])):M?O(e,_):O(e)};if(P)g=e;else{if(!(w=l(e)))throw f(a(e)+" is not iterable");if(c(w)){for(h=0,y=s(e);y>h;h++)if((b=E(e[h]))&&u(m,b))return b;return new v(!1)}g=p(e,w)}for(x=g.next;!(k=i(x,g)).done;){try{b=E(k.value)}catch(L){d(g,"throw",L)}if("object"==typeof b&&b&&u(m,b))return b}return new v(!1)}},18744:function(e,t,r){var n=r(79611),i=r(83875),o=r(97219);e.exports=function(e,t,r){var a,c;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(s){c=!0,a=s}if("throw"===t)throw r;if(c)throw a;return i(a),r}},97022:function(e,t,r){"use strict";var n,i,o,a=r(79044),c=r(75277),s=r(51569),u=r(12654),p=r(50403),l=r(52280),d=r(21178),f=l("iterator"),v=!1;[].keys&&("next"in(o=[].keys())?(i=u(u(o)))!==Object.prototype&&(n=i):v=!0),null==n||a((function(){var e={};return n[f].call(e)!==e}))?n={}:d&&(n=s(n)),c(n[f])||p(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},44818:function(e){e.exports={}},47046:function(e,t,r){var n=r(35108);e.exports=function(e){return n(e.length)}},20833:function(e,t,r){var n=r(79044),i=r(75277),o=r(24792),a=r(7493),c=r(55316).CONFIGURABLE,s=r(56429),u=r(20821),p=u.enforce,l=u.get,d=Object.defineProperty,f=a&&!n((function(){return 8!==d((function(){}),"length",{value:8}).length})),v=String(String).split("String"),m=e.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!o(e,"name")||c&&e.name!==t)&&d(e,"name",{value:t,configurable:!0}),f&&r&&o(r,"arity")&&e.length!==r.arity&&d(e,"length",{value:r.arity});try{r&&o(r,"constructor")&&r.constructor?a&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(i){}var n=p(e);return o(n,"source")||(n.source=v.join("string"==typeof t?t:"")),e};Function.prototype.toString=m((function(){return i(this)&&l(this).source||s(this)}),"toString")},78300:function(e){var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},71800:function(e,t,r){var n,i,o,a,c,s,u,p,l=r(98363),d=r(98166),f=r(66012).f,v=r(84643).set,m=r(53121),g=r(55357),w=r(14402),h=r(93921),y=l.MutationObserver||l.WebKitMutationObserver,b=l.document,x=l.process,k=l.Promise,R=f(l,"queueMicrotask"),S=R&&R.value;S||(n=function(){var e,t;for(h&&(e=x.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(r){throw i?a():o=void 0,r}}o=void 0,e&&e.enter()},m||h||w||!y||!b?!g&&k&&k.resolve?((u=k.resolve(void 0)).constructor=k,p=d(u.then,u),a=function(){p(n)}):h?a=function(){x.nextTick(n)}:(v=d(v,l),a=function(){v(n)}):(c=!0,s=b.createTextNode(""),new y(n).observe(s,{characterData:!0}),a=function(){s.data=c=!c})),e.exports=S||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},3850:function(e,t,r){var n=r(11197),i=r(79044);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},36830:function(e,t,r){var n=r(98363),i=r(75277),o=r(56429),a=n.WeakMap;e.exports=i(a)&&/native code/.test(o(a))},29269:function(e,t,r){"use strict";var n=r(97676),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},44762:function(e,t,r){var n=r(98363),i=r(79044),o=r(88697),a=r(28967),c=r(10287).trim,s=r(2569),u=o("".charAt),p=n.parseFloat,l=n.Symbol,d=l&&l.iterator,f=1/p(s+"-0")!=-1/0||d&&!i((function(){p(Object(d))}));e.exports=f?function(e){var t=c(a(e)),r=p(t);return 0===r&&"-"==u(t,0)?-0:r}:p},35399:function(e,t,r){var n=r(98363),i=r(79044),o=r(88697),a=r(28967),c=r(10287).trim,s=r(2569),u=n.parseInt,p=n.Symbol,l=p&&p.iterator,d=/^[+-]?0x/i,f=o(d.exec),v=8!==u(s+"08")||22!==u(s+"0x16")||l&&!i((function(){u(Object(l))}));e.exports=v?function(e,t){var r=c(a(e));return u(r,t>>>0||(f(d,r)?16:10))}:u},51569:function(e,t,r){var n,i=r(83875),o=r(17840),a=r(48869),c=r(47505),s=r(47055),u=r(92750),p=r(50466),l="prototype",d="script",f=p("IE_PROTO"),v=function(){},m=function(e){return"<"+d+">"+e+""},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},w=function(){try{n=new ActiveXObject("htmlfile")}catch(o){}var e,t,r;w="undefined"!=typeof document?document.domain&&n?g(n):(t=u("iframe"),r="java"+d+":",t.style.display="none",s.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):g(n);for(var i=a.length;i--;)delete w[l][a[i]];return w()};c[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(v[l]=i(e),r=new v,v[l]=null,r[f]=e):r=w(),void 0===t?r:o.f(r,t)}},17840:function(e,t,r){var n=r(7493),i=r(51010),o=r(86385),a=r(83875),c=r(29580),s=r(60667);t.f=n&&!i?Object.defineProperties:function(e,t){a(e);for(var r,n=c(t),i=s(t),u=i.length,p=0;u>p;)o.f(e,r=i[p++],n[r]);return e}},86385:function(e,t,r){var n=r(7493),i=r(67548),o=r(51010),a=r(83875),c=r(383),s=TypeError,u=Object.defineProperty,p=Object.getOwnPropertyDescriptor,l="enumerable",d="configurable",f="writable";t.f=n?o?function(e,t,r){if(a(e),t=c(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&f in r&&!r[f]){var n=p(e,t);n&&n[f]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:l in r?r[l]:n[l],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(a(e),t=c(t),a(r),i)try{return u(e,t,r)}catch(n){}if("get"in r||"set"in r)throw s("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},66012:function(e,t,r){var n=r(7493),i=r(79611),o=r(81513),a=r(69199),c=r(29580),s=r(383),u=r(24792),p=r(67548),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=c(e),t=s(t),p)try{return l(e,t)}catch(r){}if(u(e,t))return a(!i(o.f,e,t),e[t])}},87994:function(e,t,r){var n=r(18794),i=r(48869).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},89612:function(e,t){t.f=Object.getOwnPropertySymbols},12654:function(e,t,r){var n=r(24792),i=r(75277),o=r(30744),a=r(50466),c=r(25115),s=a("IE_PROTO"),u=Object,p=u.prototype;e.exports=c?u.getPrototypeOf:function(e){var t=o(e);if(n(t,s))return t[s];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof u?p:null}},32010:function(e,t,r){var n=r(88697);e.exports=n({}.isPrototypeOf)},18794:function(e,t,r){var n=r(88697),i=r(24792),o=r(29580),a=r(37190).indexOf,c=r(47505),s=n([].push);e.exports=function(e,t){var r,n=o(e),u=0,p=[];for(r in n)!i(c,r)&&i(n,r)&&s(p,r);for(;t.length>u;)i(n,r=t[u++])&&(~a(p,r)||s(p,r));return p}},60667:function(e,t,r){var n=r(18794),i=r(48869);e.exports=Object.keys||function(e){return n(e,i)}},81513:function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},22412:function(e,t,r){var n=r(88697),i=r(83875),o=r(75017);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(a){}return function(r,n){return i(r),o(n),t?e(r,n):r.__proto__=n,r}}():void 0)},17141:function(e,t,r){var n=r(79611),i=r(75277),o=r(52786),a=TypeError;e.exports=function(e,t){var r,c;if("string"===t&&i(r=e.toString)&&!o(c=n(r,e)))return c;if(i(r=e.valueOf)&&!o(c=n(r,e)))return c;if("string"!==t&&i(r=e.toString)&&!o(c=n(r,e)))return c;throw a("Can't convert object to primitive value")}},31561:function(e,t,r){var n=r(22773),i=r(88697),o=r(87994),a=r(89612),c=r(83875),s=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(c(e)),r=a.f;return r?s(t,r(e)):t}},74443:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},35182:function(e,t,r){var n=r(98363),i=r(25988),o=r(75277),a=r(86291),c=r(56429),s=r(52280),u=r(47923),p=r(21178),l=r(11197),d=i&&i.prototype,f=s("species"),v=!1,m=o(n.PromiseRejectionEvent),g=a("Promise",(function(){var e=c(i),t=e!==String(i);if(!t&&66===l)return!0;if(p&&(!d.catch||!d.finally))return!0;if(l>=51&&/native code/.test(e))return!1;var r=new i((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};return(r.constructor={})[f]=n,!(v=r.then((function(){}))instanceof n)||!t&&u&&!m}));e.exports={CONSTRUCTOR:g,REJECTION_EVENT:m,SUBCLASSING:v}},25988:function(e,t,r){var n=r(98363);e.exports=n.Promise},11621:function(e,t,r){var n=r(83875),i=r(52786),o=r(29269);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},99581:function(e,t,r){var n=r(25988),i=r(8662),o=r(35182).CONSTRUCTOR;e.exports=o||!i((function(e){n.all(e).then(void 0,(function(){}))}))},79557:function(e,t,r){var n=r(86385).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}})}},12423:function(e){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=t},94088:function(e,t,r){var n=r(79611),i=r(83875),o=r(75277),a=r(79159),c=r(99749),s=TypeError;e.exports=function(e,t){var r=e.exec;if(o(r)){var u=n(r,e,t);return null!==u&&i(u),u}if("RegExp"===a(e))return n(c,e,t);throw s("RegExp#exec called on incompatible receiver")}},99749:function(e,t,r){"use strict";var n,i,o=r(79611),a=r(88697),c=r(28967),s=r(58083),u=r(97047),p=r(53580),l=r(51569),d=r(20821).get,f=r(41669),v=r(1638),m=p("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,w=g,h=a("".charAt),y=a("".indexOf),b=a("".replace),x=a("".slice),k=(i=/b*/g,o(g,n=/a/,"a"),o(g,i,"a"),0!==n.lastIndex||0!==i.lastIndex),R=u.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];(k||S||R||f||v)&&(w=function(e){var t,r,n,i,a,u,p,f=this,v=d(f),P=c(e),M=v.raw;if(M)return M.lastIndex=f.lastIndex,t=o(w,M,P),f.lastIndex=M.lastIndex,t;var O=v.groups,_=R&&f.sticky,E=o(s,f),L=f.source,W=0,T=P;if(_&&(E=b(E,"y",""),-1===y(E,"g")&&(E+="g"),T=x(P,f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==h(P,f.lastIndex-1))&&(L="(?: "+L+")",T=" "+T,W++),r=new RegExp("^(?:"+L+")",E)),S&&(r=new RegExp("^"+L+"$(?!\\s)",E)),k&&(n=f.lastIndex),i=o(g,_?r:f,T),_?i?(i.input=x(i.input,W),i[0]=x(i[0],W),i.index=f.lastIndex,f.lastIndex+=i[0].length):f.lastIndex=0:k&&i&&(f.lastIndex=f.global?i.index+i[0].length:n),S&&i&&i.length>1&&o(m,i[0],r,(function(){for(a=1;ab)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$
c")}))},96411:function(e){var t=TypeError;e.exports=function(e){if(null==e)throw t("Can't call method on "+e);return e}},57323:function(e,t,r){"use strict";var n=r(22773),i=r(86385),o=r(52280),a=r(7493),c=o("species");e.exports=function(e){var t=n(e),r=i.f;a&&t&&!t[c]&&r(t,c,{configurable:!0,get:function(){return this}})}},60878:function(e,t,r){var n=r(86385).f,i=r(24792),o=r(52280)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,o)&&n(e,o,{configurable:!0,value:t})}},50466:function(e,t,r){var n=r(53580),i=r(34524),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},49415:function(e,t,r){var n=r(98363),i=r(62359),o="__core-js_shared__",a=n[o]||i(o,{});e.exports=a},53580:function(e,t,r){var n=r(21178),i=r(49415);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.23.1",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.23.1/LICENSE",source:"https://github.com/zloirock/core-js"})},7270:function(e,t,r){var n=r(83875),i=r(43327),o=r(52280)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||null==(r=n(a)[o])?t:i(r)}},91140:function(e,t,r){var n=r(88697),i=r(14229),o=r(28967),a=r(96411),c=n("".charAt),s=n("".charCodeAt),u=n("".slice),p=function(e){return function(t,r){var n,p,l=o(a(t)),d=i(r),f=l.length;return d<0||d>=f?e?"":void 0:(n=s(l,d))<55296||n>56319||d+1===f||(p=s(l,d+1))<56320||p>57343?e?c(l,d):n:e?u(l,d,d+2):p-56320+(n-55296<<10)+65536}};e.exports={codeAt:p(!1),charAt:p(!0)}},26031:function(e,t,r){"use strict";var n=r(14229),i=r(28967),o=r(96411),a=RangeError;e.exports=function(e){var t=i(o(this)),r="",c=n(e);if(c<0||c==1/0)throw a("Wrong number of repetitions");for(;c>0;(c>>>=1)&&(t+=t))1&c&&(r+=t);return r}},68487:function(e,t,r){var n=r(55316).PROPER,i=r(79044),o=r(2569);e.exports=function(e){return i((function(){return!!o[e]()||"​…᠎"!=="​…᠎"[e]()||n&&o[e].name!==e}))}},10287:function(e,t,r){var n=r(88697),i=r(96411),o=r(28967),a=r(2569),c=n("".replace),s="["+a+"]",u=RegExp("^"+s+s+"*"),p=RegExp(s+s+"*$"),l=function(e){return function(t){var r=o(i(t));return 1&e&&(r=c(r,u,"")),2&e&&(r=c(r,p,"")),r}};e.exports={start:l(1),end:l(2),trim:l(3)}},84643:function(e,t,r){var n,i,o,a,c=r(98363),s=r(63530),u=r(98166),p=r(75277),l=r(24792),d=r(79044),f=r(47055),v=r(15629),m=r(92750),g=r(27687),w=r(53121),h=r(93921),y=c.setImmediate,b=c.clearImmediate,x=c.process,k=c.Dispatch,R=c.Function,S=c.MessageChannel,P=c.String,M=0,O={},_="onreadystatechange";try{n=c.location}catch(j){}var E=function(e){if(l(O,e)){var t=O[e];delete O[e],t()}},L=function(e){return function(){E(e)}},W=function(e){E(e.data)},T=function(e){c.postMessage(P(e),n.protocol+"//"+n.host)};y&&b||(y=function(e){g(arguments.length,1);var t=p(e)?e:R(e),r=v(arguments,1);return O[++M]=function(){s(t,void 0,r)},i(M),M},b=function(e){delete O[e]},h?i=function(e){x.nextTick(L(e))}:k&&k.now?i=function(e){k.now(L(e))}:S&&!w?(a=(o=new S).port2,o.port1.onmessage=W,i=u(a.postMessage,a)):c.addEventListener&&p(c.postMessage)&&!c.importScripts&&n&&"file:"!==n.protocol&&!d(T)?(i=T,c.addEventListener("message",W,!1)):i=_ in m("script")?function(e){f.appendChild(m("script"))[_]=function(){f.removeChild(this),E(e)}}:function(e){setTimeout(L(e),0)}),e.exports={set:y,clear:b}},41655:function(e,t,r){var n=r(88697);e.exports=n(1..valueOf)},32565:function(e,t,r){var n=r(14229),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},29580:function(e,t,r){var n=r(78609),i=r(96411);e.exports=function(e){return n(i(e))}},14229:function(e,t,r){var n=r(78300);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},35108:function(e,t,r){var n=r(14229),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},30744:function(e,t,r){var n=r(96411),i=Object;e.exports=function(e){return i(n(e))}},21893:function(e,t,r){var n=r(79611),i=r(52786),o=r(66681),a=r(97219),c=r(17141),s=r(52280),u=TypeError,p=s("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var r,s=a(e,p);if(s){if(void 0===t&&(t="default"),r=n(s,e,t),!i(r)||o(r))return r;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},383:function(e,t,r){var n=r(21893),i=r(66681);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},57301:function(e,t,r){var n={};n[r(52280)("toStringTag")]="z",e.exports="[object z]"===String(n)},28967:function(e,t,r){var n=r(36994),i=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},28768:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(r){return"Object"}}},34524:function(e,t,r){var n=r(88697),i=0,o=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},189:function(e,t,r){var n=r(3850);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},51010:function(e,t,r){var n=r(7493),i=r(79044);e.exports=n&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},27687:function(e){var t=TypeError;e.exports=function(e,r){if(e1?arguments[1]:void 0)}}),a("includes")},54883:function(e,t,r){"use strict";var n=r(29580),i=r(6677),o=r(44818),a=r(20821),c=r(86385).f,s=r(61495),u=r(21178),p=r(7493),l="Array Iterator",d=a.set,f=a.getterFor(l);e.exports=s(Array,"Array",(function(e,t){d(this,{type:l,target:n(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values");var v=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!u&&p&&"values"!==v.name)try{c(v,"name",{value:"values"})}catch(m){}},193:function(e,t,r){"use strict";var n=r(19882),i=r(86596).left,o=r(54324),a=r(11197),c=r(93921);n({target:"Array",proto:!0,forced:!o("reduce")||!c&&a>79&&a<83},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},12798:function(e,t,r){"use strict";var n=r(19882),i=r(88697),o=r(14229),a=r(41655),c=r(26031),s=r(79044),u=RangeError,p=String,l=Math.floor,d=i(c),f=i("".slice),v=i(1..toFixed),m=function(e,t,r){return 0===t?r:t%2==1?m(e,t-1,r*e):m(e*e,t/2,r)},g=function(e,t,r){for(var n=-1,i=r;++n<6;)i+=t*e[n],e[n]=i%1e7,i=l(i/1e7)},w=function(e,t){for(var r=6,n=0;--r>=0;)n+=e[r],e[r]=l(n/t),n=n%t*1e7},h=function(e){for(var t=6,r="";--t>=0;)if(""!==r||0===t||0!==e[t]){var n=p(e[t]);r=""===r?n:r+d("0",7-n.length)+n}return r};n({target:"Number",proto:!0,forced:s((function(){return"0.000"!==v(8e-5,3)||"1"!==v(.9,0)||"1.25"!==v(1.255,2)||"1000000000000000128"!==v(0xde0b6b3a7640080,0)}))||!s((function(){v({})}))},{toFixed:function(e){var t,r,n,i,c=a(this),s=o(e),l=[0,0,0,0,0,0],v="",y="0";if(s<0||s>20)throw u("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return p(c);if(c<0&&(v="-",c=-c),c>1e-21)if(r=(t=function(e){for(var t=0,r=e;r>=4096;)t+=12,r/=4096;for(;r>=2;)t+=1,r/=2;return t}(c*m(2,69,1))-69)<0?c*m(2,-t,1):c/m(2,t,1),r*=4503599627370496,(t=52-t)>0){for(g(l,0,r),n=s;n>=7;)g(l,1e7,0),n-=7;for(g(l,m(10,n,1),0),n=t-1;n>=23;)w(l,1<<23),n-=23;w(l,1<0?v+((i=y.length)<=s?"0."+d("0",s-i)+y:f(y,0,i-s)+"."+f(y,i-s)):v+y}})},4227:function(e,t,r){var n=r(19882),i=r(5166),o=r(35039);n({target:"Object",stat:!0},{fromEntries:function(e){var t={};return i(e,(function(e,r){o(t,e,r)}),{AS_ENTRIES:!0}),t}})},11592:function(e,t,r){var n=r(19882),i=r(44762);n({global:!0,forced:parseFloat!=i},{parseFloat:i})},38472:function(e,t,r){var n=r(19882),i=r(35399);n({global:!0,forced:parseInt!=i},{parseInt:i})},1321:function(e,t,r){"use strict";var n=r(19882),i=r(79611),o=r(97676),a=r(29269),c=r(74443),s=r(5166);n({target:"Promise",stat:!0,forced:r(99581)},{all:function(e){var t=this,r=a.f(t),n=r.resolve,u=r.reject,p=c((function(){var r=o(t.resolve),a=[],c=0,p=1;s(e,(function(e){var o=c++,s=!1;p++,i(r,t,e).then((function(e){s||(s=!0,a[o]=e,--p||n(a))}),u)})),--p||n(a)}));return p.error&&u(p.value),r.promise}})},10865:function(e,t,r){"use strict";var n=r(19882),i=r(21178),o=r(35182).CONSTRUCTOR,a=r(25988),c=r(22773),s=r(75277),u=r(50403),p=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&s(a)){var l=c("Promise").prototype.catch;p.catch!==l&&u(p,"catch",l,{unsafe:!0})}},95999:function(e,t,r){"use strict";var n,i,o,a=r(19882),c=r(21178),s=r(93921),u=r(98363),p=r(79611),l=r(50403),d=r(22412),f=r(60878),v=r(57323),m=r(97676),g=r(75277),w=r(52786),h=r(9519),y=r(7270),b=r(84643).set,x=r(71800),k=r(46271),R=r(74443),S=r(12423),P=r(20821),M=r(25988),O=r(35182),_=r(29269),E="Promise",L=O.CONSTRUCTOR,W=O.REJECTION_EVENT,T=O.SUBCLASSING,j=P.getterFor(E),A=P.set,Z=M&&M.prototype,I=M,N=Z,C=u.TypeError,q=u.document,D=u.process,H=_.f,F=H,U=!!(q&&q.createEvent&&u.dispatchEvent),V="unhandledrejection",B=function(e){var t;return!(!w(e)||!g(t=e.then))&&t},$=function(e,t){var r,n,i,o=t.value,a=1==t.state,c=a?e.ok:e.fail,s=e.resolve,u=e.reject,l=e.domain;try{c?(a||(2===t.rejection&&X(t),t.rejection=1),!0===c?r=o:(l&&l.enter(),r=c(o),l&&(l.exit(),i=!0)),r===e.promise?u(C("Promise-chain cycle")):(n=B(r))?p(n,r,s,u):s(r)):u(o)}catch(d){l&&!i&&l.exit(),u(d)}},z=function(e,t){e.notified||(e.notified=!0,x((function(){for(var r,n=e.reactions;r=n.get();)$(r,e);e.notified=!1,t&&!e.rejection&&Y(e)})))},G=function(e,t,r){var n,i;U?((n=q.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),u.dispatchEvent(n)):n={promise:t,reason:r},!W&&(i=u["on"+e])?i(n):e===V&&k("Unhandled promise rejection",r)},Y=function(e){p(b,u,(function(){var t,r=e.facade,n=e.value;if(K(e)&&(t=R((function(){s?D.emit("unhandledRejection",n,r):G(V,r,n)})),e.rejection=s||K(e)?2:1,t.error))throw t.value}))},K=function(e){return 1!==e.rejection&&!e.parent},X=function(e){p(b,u,(function(){var t=e.facade;s?D.emit("rejectionHandled",t):G("rejectionhandled",t,e.value)}))},J=function(e,t,r){return function(n){e(t,n,r)}},Q=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,z(e,!0))},ee=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw C("Promise can't be resolved itself");var n=B(t);n?x((function(){var r={done:!1};try{p(n,t,J(ee,r,e),J(Q,r,e))}catch(i){Q(r,i,e)}})):(e.value=t,e.state=1,z(e,!1))}catch(i){Q({done:!1},i,e)}}};if(L&&(N=(I=function(e){h(this,N),m(e),p(n,this);var t=j(this);try{e(J(ee,t),J(Q,t))}catch(r){Q(t,r)}}).prototype,(n=function(e){A(this,{type:E,done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:0,value:void 0})}).prototype=l(N,"then",(function(e,t){var r=j(this),n=H(y(this,I));return r.parent=!0,n.ok=!g(e)||e,n.fail=g(t)&&t,n.domain=s?D.domain:void 0,0==r.state?r.reactions.add(n):x((function(){$(n,r)})),n.promise})),i=function(){var e=new n,t=j(e);this.promise=e,this.resolve=J(ee,t),this.reject=J(Q,t)},_.f=H=function(e){return e===I||undefined===e?new i(e):F(e)},!c&&g(M)&&Z!==Object.prototype)){o=Z.then,T||l(Z,"then",(function(e,t){var r=this;return new I((function(e,t){p(o,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete Z.constructor}catch(te){}d&&d(Z,N)}a({global:!0,constructor:!0,wrap:!0,forced:L},{Promise:I}),f(I,E,!1,!0),v(E)},35054:function(e,t,r){r(95999),r(1321),r(10865),r(77688),r(36055),r(9240)},77688:function(e,t,r){"use strict";var n=r(19882),i=r(79611),o=r(97676),a=r(29269),c=r(74443),s=r(5166);n({target:"Promise",stat:!0,forced:r(99581)},{race:function(e){var t=this,r=a.f(t),n=r.reject,u=c((function(){var a=o(t.resolve);s(e,(function(e){i(a,t,e).then(r.resolve,n)}))}));return u.error&&n(u.value),r.promise}})},36055:function(e,t,r){"use strict";var n=r(19882),i=r(79611),o=r(29269);n({target:"Promise",stat:!0,forced:r(35182).CONSTRUCTOR},{reject:function(e){var t=o.f(this);return i(t.reject,void 0,e),t.promise}})},9240:function(e,t,r){"use strict";var n=r(19882),i=r(22773),o=r(21178),a=r(25988),c=r(35182).CONSTRUCTOR,s=r(11621),u=i("Promise"),p=o&&!c;n({target:"Promise",stat:!0,forced:o||c},{resolve:function(e){return s(p&&this===u?a:this,e)}})},72975:function(e,t,r){var n=r(7493),i=r(98363),o=r(88697),a=r(86291),c=r(59250),s=r(45899),u=r(87994).f,p=r(32010),l=r(42622),d=r(28967),f=r(22511),v=r(97047),m=r(79557),g=r(50403),w=r(79044),h=r(24792),y=r(20821).enforce,b=r(57323),x=r(52280),k=r(41669),R=r(1638),S=x("match"),P=i.RegExp,M=P.prototype,O=i.SyntaxError,_=o(M.exec),E=o("".charAt),L=o("".replace),W=o("".indexOf),T=o("".slice),j=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,A=/a/g,Z=/a/g,I=new P(A)!==A,N=v.MISSED_STICKY,C=v.UNSUPPORTED_Y,q=n&&(!I||N||k||R||w((function(){return Z[S]=!1,P(A)!=A||P(Z)==Z||"/a/i"!=P(A,"i")})));if(a("RegExp",q)){for(var D=function(e,t){var r,n,i,o,a,u,v=p(M,this),m=l(e),g=void 0===t,w=[],b=e;if(!v&&m&&g&&e.constructor===D)return e;if((m||p(M,e))&&(e=e.source,g&&(t=f(b))),e=void 0===e?"":d(e),t=void 0===t?"":d(t),b=e,k&&"dotAll"in A&&(n=!!t&&W(t,"s")>-1)&&(t=L(t,/s/g,"")),r=t,N&&"sticky"in A&&(i=!!t&&W(t,"y")>-1)&&C&&(t=L(t,/y/g,"")),R&&(o=function(e){for(var t,r=e.length,n=0,i="",o=[],a={},c=!1,s=!1,u=0,p="";n<=r;n++){if("\\"===(t=E(e,n)))t+=E(e,++n);else if("]"===t)c=!1;else if(!c)switch(!0){case"["===t:c=!0;break;case"("===t:_(j,T(e,n+1))&&(n+=2,s=!0),i+=t,u++;continue;case">"===t&&s:if(""===p||h(a,p))throw new O("Invalid capture group name");a[p]=!0,o[o.length]=[p,u],s=!1,p="";continue}s?p+=t:i+=t}return[i,o]}(e),e=o[0],w=o[1]),a=c(P(e,t),v?this:M,D),(n||i||w.length)&&(u=y(a),n&&(u.dotAll=!0,u.raw=D(function(e){for(var t,r=e.length,n=0,i="",o=!1;n<=r;n++)"\\"!==(t=E(e,n))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]":i+=t+E(e,++n);return i}(e),r)),i&&(u.sticky=!0),w.length&&(u.groups=w)),e!==b)try{s(a,"source",""===b?"(?:)":b)}catch(x){}return a},H=u(P),F=0;H.length>F;)m(D,P,H[F++]);M.constructor=D,D.prototype=M,g(i,"RegExp",D,{constructor:!0})}b("RegExp")},39275:function(e,t,r){"use strict";var n=r(19882),i=r(99749);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},33290:function(e,t,r){"use strict";var n=r(55316).PROPER,i=r(50403),o=r(83875),a=r(28967),c=r(79044),s=r(22511),u="toString",p=RegExp.prototype[u],l=c((function(){return"/a/b"!=p.call({source:"a",flags:"b"})})),d=n&&p.name!=u;(l||d)&&i(RegExp.prototype,u,(function(){var e=o(this);return"/"+a(e.source)+"/"+a(s(e))}),{unsafe:!0})},22321:function(e,t,r){"use strict";var n=r(63530),i=r(79611),o=r(88697),a=r(81492),c=r(79044),s=r(83875),u=r(75277),p=r(14229),l=r(35108),d=r(28967),f=r(96411),v=r(13350),m=r(97219),g=r(81373),w=r(94088),h=r(52280)("replace"),y=Math.max,b=Math.min,x=o([].concat),k=o([].push),R=o("".indexOf),S=o("".slice),P="$0"==="a".replace(/./,"$0"),M=!!/./[h]&&""===/./[h]("a","$0");a("replace",(function(e,t,r){var o=M?"$":"$0";return[function(e,r){var n=f(this),o=null==e?void 0:m(e,h);return o?i(o,e,n,r):i(t,d(n),e,r)},function(e,i){var a=s(this),c=d(e);if("string"==typeof i&&-1===R(i,o)&&-1===R(i,"$<")){var f=r(t,a,c,i);if(f.done)return f.value}var m=u(i);m||(i=d(i));var h=a.global;if(h){var P=a.unicode;a.lastIndex=0}for(var M=[];;){var O=w(a,c);if(null===O)break;if(k(M,O),!h)break;""===d(O[0])&&(a.lastIndex=v(c,l(a.lastIndex),P))}for(var _,E="",L=0,W=0;W=L&&(E+=S(c,L,j)+C,L=j+T.length)}return E+S(c,L)}]}),!!c((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!P||M)},67838:function(e,t,r){"use strict";var n=r(63530),i=r(79611),o=r(88697),a=r(81492),c=r(42622),s=r(83875),u=r(96411),p=r(7270),l=r(13350),d=r(35108),f=r(28967),v=r(97219),m=r(58990),g=r(94088),w=r(99749),h=r(97047),y=r(79044),b=h.UNSUPPORTED_Y,x=4294967295,k=Math.min,R=[].push,S=o(/./.exec),P=o(R),M=o("".slice),O=!y((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));a("split",(function(e,t,r){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var o=f(u(this)),a=void 0===r?x:r>>>0;if(0===a)return[];if(void 0===e)return[o];if(!c(e))return i(t,o,e,a);for(var s,p,l,d=[],v=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,h=new RegExp(e.source,v+"g");(s=i(w,h,o))&&!((p=h.lastIndex)>g&&(P(d,M(o,g,s.index)),s.length>1&&s.index=a));)h.lastIndex===s.index&&h.lastIndex++;return g===o.length?!l&&S(h,"")||P(d,""):P(d,M(o,g)),d.length>a?m(d,0,a):d}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:i(t,this,e,r)}:t,[function(t,r){var n=u(this),a=null==t?void 0:v(t,e);return a?i(a,t,n,r):i(o,f(n),t,r)},function(e,n){var i=s(this),a=f(e),c=r(o,i,a,n,o!==t);if(c.done)return c.value;var u=p(i,RegExp),v=i.unicode,m=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(b?"g":"y"),w=new u(b?"^(?:"+i.source+")":i,m),h=void 0===n?x:n>>>0;if(0===h)return[];if(0===a.length)return null===g(w,a)?[a]:[];for(var y=0,R=0,S=[];Ra?a=t+1:i=t+1;break}et&&(i=a,n=o),!r)return[0,n,i];var s=Math.floor(n/i);return[s,n-s*i,i]};t.cont=function(e,t,r){for(var n=e<0?-1:1,i=e*n,o=0,a=1,c=0,s=1,u=0,p=0,l=Math.floor(i);ut&&(u>t?(p=s,c=o):(p=u,c=a)),!r)return[0,n*c,p];var d=Math.floor(n*c/p);return[d,n*c-d*p,p]},"undefined"==typeof DO_NOT_EXPORT_FRAC&&(e.exports=t)},1001:function(e,t,r){"use strict";var n=r(71717),i=r(19826),o="tippy-content",a="tippy-backdrop",c="tippy-arrow",s="tippy-svg-arrow",u={passive:!0,capture:!0},p=function(){return document.body};function l(e,t,r){if(Array.isArray(e)){var n=e[t];return null==n?Array.isArray(r)?r[t]:r:n}return e}function d(e,t){var r={}.toString.call(e);return 0===r.indexOf("[object")&&r.indexOf(t+"]")>-1}function f(e,t){return"function"==typeof e?e.apply(void 0,t):e}function v(e,t){return 0===t?e:function(n){clearTimeout(r),r=setTimeout((function(){e(n)}),t)};var r}function m(e){return[].concat(e)}function g(e,t){-1===e.indexOf(t)&&e.push(t)}function w(e){return e.split("-")[0]}function h(e){return[].slice.call(e)}function y(e){return Object.keys(e).reduce((function(t,r){return void 0!==e[r]&&(t[r]=e[r]),t}),{})}function b(){return document.createElement("div")}function x(e){return["Element","Fragment"].some((function(t){return d(e,t)}))}function k(e){return d(e,"MouseEvent")}function R(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function S(e){return x(e)?[e]:function(e){return d(e,"NodeList")}(e)?h(e):Array.isArray(e)?e:h(document.querySelectorAll(e))}function P(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function M(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function O(e){var t,r=m(e)[0];return null!=r&&null!=(t=r.ownerDocument)&&t.body?r.ownerDocument:document}function _(e,t,r){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[n](t,r)}))}function E(e,t){for(var r=t;r;){var n;if(e.contains(r))return!0;r=null==r.getRootNode||null==(n=r.getRootNode())?void 0:n.host}return!1}var L={isTouch:!1},W=0;function T(){L.isTouch||(L.isTouch=!0,window.performance&&document.addEventListener("mousemove",j))}function j(){var e=performance.now();e-W<20&&(L.isTouch=!1,document.removeEventListener("mousemove",j)),W=e}function A(){var e=document.activeElement;if(R(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var Z=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var I={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},N=Object.assign({appendTo:p,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},I,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),C=Object.keys(N);function q(e){var t=(e.plugins||[]).reduce((function(t,r){var n,i=r.name,o=r.defaultValue;i&&(t[i]=void 0!==e[i]?e[i]:null!=(n=N[i])?n:o);return t}),{});return Object.assign({},e,t)}function D(e,t){var r=Object.assign({},t,{content:f(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(q(Object.assign({},N,{plugins:t}))):C).reduce((function(t,r){var n=(e.getAttribute("data-tippy-"+r)||"").trim();if(!n)return t;if("content"===r)t[r]=n;else try{t[r]=JSON.parse(n)}catch(i){t[r]=n}return t}),{})}(e,t.plugins));return r.aria=Object.assign({},N.aria,r.aria),r.aria={expanded:"auto"===r.aria.expanded?t.interactive:r.aria.expanded,content:"auto"===r.aria.content?t.interactive?null:"describedby":r.aria.content},r}var H=function(){return"innerHTML"};function F(e,t){e[H()]=t}function U(e){var t=b();return!0===e?t.className=c:(t.className=s,x(e)?t.appendChild(e):F(t,e)),t}function V(e,t){x(t.content)?(F(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?F(e,t.content):e.textContent=t.content)}function B(e){var t=e.firstElementChild,r=h(t.children);return{box:t,content:r.find((function(e){return e.classList.contains(o)})),arrow:r.find((function(e){return e.classList.contains(c)||e.classList.contains(s)})),backdrop:r.find((function(e){return e.classList.contains(a)}))}}function $(e){var t=b(),r=b();r.className="tippy-box",r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var n=b();function i(r,n){var i=B(t),o=i.box,a=i.content,c=i.arrow;n.theme?o.setAttribute("data-theme",n.theme):o.removeAttribute("data-theme"),"string"==typeof n.animation?o.setAttribute("data-animation",n.animation):o.removeAttribute("data-animation"),n.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof n.maxWidth?n.maxWidth+"px":n.maxWidth,n.role?o.setAttribute("role",n.role):o.removeAttribute("role"),r.content===n.content&&r.allowHTML===n.allowHTML||V(a,e.props),n.arrow?c?r.arrow!==n.arrow&&(o.removeChild(c),o.appendChild(U(n.arrow))):o.appendChild(U(n.arrow)):c&&o.removeChild(c)}return n.className=o,n.setAttribute("data-state","hidden"),V(n,e.props),t.appendChild(r),r.appendChild(n),i(e.props,e.props),{popper:t,onUpdate:i}}$.$$tippy=!0;var z=1,G=[],Y=[];function K(e,t){var r,i,o,a,c,s,d,x,R=D(e,Object.assign({},N,q(y(t)))),S=!1,W=!1,T=!1,j=!1,A=[],I=v(be,R.interactiveDebounce),C=z++,H=(x=R.plugins).filter((function(e,t){return x.indexOf(e)===t})),F={id:C,reference:e,popper:b(),popperInstance:null,props:R,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:H,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)},setProps:function(t){0;if(F.state.isDestroyed)return;ae("onBeforeUpdate",[F,t]),he();var r=F.props,n=D(e,Object.assign({},r,y(t),{ignoreAttributes:!0}));F.props=n,we(),r.interactiveDebounce!==n.interactiveDebounce&&(ue(),I=v(be,n.interactiveDebounce));r.triggerTarget&&!n.triggerTarget?m(r.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):n.triggerTarget&&e.removeAttribute("aria-expanded");se(),oe(),$&&$(r,n);F.popperInstance&&(Se(),Me().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));ae("onAfterUpdate",[F,t])},setContent:function(e){F.setProps({content:e})},show:function(){0;var e=F.state.isVisible,t=F.state.isDestroyed,r=!F.state.isEnabled,n=L.isTouch&&!F.props.touch,i=l(F.props.duration,0,N.duration);if(e||t||r||n)return;if(te().hasAttribute("disabled"))return;if(ae("onShow",[F],!1),!1===F.props.onShow(F))return;F.state.isVisible=!0,ee()&&(V.style.visibility="visible");oe(),fe(),F.state.isMounted||(V.style.transition="none");if(ee()){var o=ne();P([o.box,o.content],0)}s=function(){var e;if(F.state.isVisible&&!j){if(j=!0,V.offsetHeight,V.style.transition=F.props.moveTransition,ee()&&F.props.animation){var t=ne(),r=t.box,n=t.content;P([r,n],i),M([r,n],"visible")}ce(),se(),g(Y,F),null==(e=F.popperInstance)||e.forceUpdate(),ae("onMount",[F]),F.props.animation&&ee()&&function(e,t){me(e,t)}(i,(function(){F.state.isShown=!0,ae("onShown",[F])}))}},function(){var e,t=F.props.appendTo,r=te();e=F.props.interactive&&t===p||"parent"===t?r.parentNode:f(t,[r]);e.contains(V)||e.appendChild(V);F.state.isMounted=!0,Se(),!1}()},hide:function(){0;var e=!F.state.isVisible,t=F.state.isDestroyed,r=!F.state.isEnabled,n=l(F.props.duration,1,N.duration);if(e||t||r)return;if(ae("onHide",[F],!1),!1===F.props.onHide(F))return;F.state.isVisible=!1,F.state.isShown=!1,j=!1,S=!1,ee()&&(V.style.visibility="hidden");if(ue(),ve(),oe(!0),ee()){var i=ne(),o=i.box,a=i.content;F.props.animation&&(P([o,a],n),M([o,a],"hidden"))}ce(),se(),F.props.animation?ee()&&function(e,t){me(e,(function(){!F.state.isVisible&&V.parentNode&&V.parentNode.contains(V)&&t()}))}(n,F.unmount):F.unmount()},hideWithInteractivity:function(e){0;re().addEventListener("mousemove",I),g(G,I),I(e)},enable:function(){F.state.isEnabled=!0},disable:function(){F.hide(),F.state.isEnabled=!1},unmount:function(){0;F.state.isVisible&&F.hide();if(!F.state.isMounted)return;Pe(),Me().forEach((function(e){e._tippy.unmount()})),V.parentNode&&V.parentNode.removeChild(V);Y=Y.filter((function(e){return e!==F})),F.state.isMounted=!1,ae("onHidden",[F])},destroy:function(){0;if(F.state.isDestroyed)return;F.clearDelayTimeouts(),F.unmount(),he(),delete e._tippy,F.state.isDestroyed=!0,ae("onDestroy",[F])}};if(!R.render)return F;var U=R.render(F),V=U.popper,$=U.onUpdate;V.setAttribute("data-tippy-root",""),V.id="tippy-"+F.id,F.popper=V,e._tippy=F,V._tippy=F;var K=H.map((function(e){return e.fn(F)})),X=e.hasAttribute("aria-expanded");return we(),se(),oe(),ae("onCreate",[F]),R.showOnCreate&&Oe(),V.addEventListener("mouseenter",(function(){F.props.interactive&&F.state.isVisible&&F.clearDelayTimeouts()})),V.addEventListener("mouseleave",(function(){F.props.interactive&&F.props.trigger.indexOf("mouseenter")>=0&&re().addEventListener("mousemove",I)})),F;function J(){var e=F.props.touch;return Array.isArray(e)?e:[e,0]}function Q(){return"hold"===J()[0]}function ee(){var e;return!(null==(e=F.props.render)||!e.$$tippy)}function te(){return d||e}function re(){var e=te().parentNode;return e?O(e):document}function ne(){return B(V)}function ie(e){return F.state.isMounted&&!F.state.isVisible||L.isTouch||a&&"focus"===a.type?0:l(F.props.delay,e?0:1,N.delay)}function oe(e){void 0===e&&(e=!1),V.style.pointerEvents=F.props.interactive&&!e?"":"none",V.style.zIndex=""+F.props.zIndex}function ae(e,t,r){var n;(void 0===r&&(r=!0),K.forEach((function(r){r[e]&&r[e].apply(r,t)})),r)&&(n=F.props)[e].apply(n,t)}function ce(){var t=F.props.aria;if(t.content){var r="aria-"+t.content,n=V.id;m(F.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(r);if(F.state.isVisible)e.setAttribute(r,t?t+" "+n:n);else{var i=t&&t.replace(n,"").trim();i?e.setAttribute(r,i):e.removeAttribute(r)}}))}}function se(){!X&&F.props.aria.expanded&&m(F.props.triggerTarget||e).forEach((function(e){F.props.interactive?e.setAttribute("aria-expanded",F.state.isVisible&&e===te()?"true":"false"):e.removeAttribute("aria-expanded")}))}function ue(){re().removeEventListener("mousemove",I),G=G.filter((function(e){return e!==I}))}function pe(t){if(!L.isTouch||!T&&"mousedown"!==t.type){var r=t.composedPath&&t.composedPath()[0]||t.target;if(!F.props.interactive||!E(V,r)){if(m(F.props.triggerTarget||e).some((function(e){return E(e,r)}))){if(L.isTouch)return;if(F.state.isVisible&&F.props.trigger.indexOf("click")>=0)return}else ae("onClickOutside",[F,t]);!0===F.props.hideOnClick&&(F.clearDelayTimeouts(),F.hide(),W=!0,setTimeout((function(){W=!1})),F.state.isMounted||ve())}}}function le(){T=!0}function de(){T=!1}function fe(){var e=re();e.addEventListener("mousedown",pe,!0),e.addEventListener("touchend",pe,u),e.addEventListener("touchstart",de,u),e.addEventListener("touchmove",le,u)}function ve(){var e=re();e.removeEventListener("mousedown",pe,!0),e.removeEventListener("touchend",pe,u),e.removeEventListener("touchstart",de,u),e.removeEventListener("touchmove",le,u)}function me(e,t){var r=ne().box;function n(e){e.target===r&&(_(r,"remove",n),t())}if(0===e)return t();_(r,"remove",c),_(r,"add",n),c=n}function ge(t,r,n){void 0===n&&(n=!1),m(F.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,r,n),A.push({node:e,eventType:t,handler:r,options:n})}))}function we(){var e;Q()&&(ge("touchstart",ye,{passive:!0}),ge("touchend",xe,{passive:!0})),(e=F.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(ge(e,ye),e){case"mouseenter":ge("mouseleave",xe);break;case"focus":ge(Z?"focusout":"blur",ke);break;case"focusin":ge("focusout",ke)}}))}function he(){A.forEach((function(e){var t=e.node,r=e.eventType,n=e.handler,i=e.options;t.removeEventListener(r,n,i)})),A=[]}function ye(e){var t,r=!1;if(F.state.isEnabled&&!Re(e)&&!W){var n="focus"===(null==(t=a)?void 0:t.type);a=e,d=e.currentTarget,se(),!F.state.isVisible&&k(e)&&G.forEach((function(t){return t(e)})),"click"===e.type&&(F.props.trigger.indexOf("mouseenter")<0||S)&&!1!==F.props.hideOnClick&&F.state.isVisible?r=!0:Oe(e),"click"===e.type&&(S=!r),r&&!n&&_e(e)}}function be(e){var t=e.target,r=te().contains(t)||V.contains(t);if("mousemove"!==e.type||!r){var n=Me().concat(V).map((function(e){var t,r=null==(t=e._tippy.popperInstance)?void 0:t.state;return r?{popperRect:e.getBoundingClientRect(),popperState:r,props:R}:null})).filter(Boolean);(function(e,t){var r=t.clientX,n=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,o=e.props.interactiveBorder,a=w(i.placement),c=i.modifiersData.offset;if(!c)return!0;var s="bottom"===a?c.top.y:0,u="top"===a?c.bottom.y:0,p="right"===a?c.left.x:0,l="left"===a?c.right.x:0,d=t.top-n+s>o,f=n-t.bottom-u>o,v=t.left-r+p>o,m=r-t.right-l>o;return d||f||v||m}))})(n,e)&&(ue(),_e(e))}}function xe(e){Re(e)||F.props.trigger.indexOf("click")>=0&&S||(F.props.interactive?F.hideWithInteractivity(e):_e(e))}function ke(e){F.props.trigger.indexOf("focusin")<0&&e.target!==te()||F.props.interactive&&e.relatedTarget&&V.contains(e.relatedTarget)||_e(e)}function Re(e){return!!L.isTouch&&Q()!==e.type.indexOf("touch")>=0}function Se(){Pe();var t=F.props,r=t.popperOptions,i=t.placement,o=t.offset,a=t.getReferenceClientRect,c=t.moveTransition,u=ee()?B(V).arrow:null,p=a?{getBoundingClientRect:a,contextElement:a.contextElement||te()}:e,l={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(ee()){var r=ne().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?r.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?r.setAttribute("data-"+e,""):r.removeAttribute("data-"+e)})),t.attributes.popper={}}}},d=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!c}},l];ee()&&u&&d.push({name:"arrow",options:{element:u,padding:3}}),d.push.apply(d,(null==r?void 0:r.modifiers)||[]),F.popperInstance=(0,n.fi)(p,V,Object.assign({},r,{placement:i,onFirstUpdate:s,modifiers:d}))}function Pe(){F.popperInstance&&(F.popperInstance.destroy(),F.popperInstance=null)}function Me(){return h(V.querySelectorAll("[data-tippy-root]"))}function Oe(e){F.clearDelayTimeouts(),e&&ae("onTrigger",[F,e]),fe();var t=ie(!0),n=J(),i=n[0],o=n[1];L.isTouch&&"hold"===i&&o&&(t=o),t?r=setTimeout((function(){F.show()}),t):F.show()}function _e(e){if(F.clearDelayTimeouts(),ae("onUntrigger",[F,e]),F.state.isVisible){if(!(F.props.trigger.indexOf("mouseenter")>=0&&F.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&S)){var t=ie(!1);t?i=setTimeout((function(){F.state.isVisible&&F.hide()}),t):o=requestAnimationFrame((function(){F.hide()}))}}else ve()}}function X(e,t){void 0===t&&(t={});var r=N.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",T,u),window.addEventListener("blur",A);var n=Object.assign({},t,{plugins:r}),i=S(e).reduce((function(e,t){var r=t&&K(t,n);return r&&e.push(r),e}),[]);return x(e)?i[0]:i}X.defaultProps=N,X.setDefaultProps=function(e){Object.keys(e).forEach((function(t){N[t]=e[t]}))},X.currentInput=L;Object.assign({},i.Z,{effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow)}});X.setDefaultProps({render:$}),t.ZP=X}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};!function(){"use strict";r.r(n);r(63654),r(38472),r(54883),r(68995),r(18183);var e,t=r(5831);window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.conversion={init(){document.addEventListener("click",(function(e){e.target.matches(".wprm-unit-conversion")&&(e.preventDefault(),WPRecipeMaker.conversion.clickSystem(e.target))}),!1),document.addEventListener("change",(function(e){e.target.matches(".wprm-unit-conversion-dropdown")&&WPRecipeMaker.conversion.changeDropdown(e.target)}),!1),setTimeout((()=>{WPRecipeMaker.conversion.setPreferedUnitSystem()}),100)},setPreferedUnitSystem(){if(wprmp_public.settings.unit_conversion_remember){var e=localStorage.getItem("wprm-unit-system");if(e){e=parseInt(e);var t=[],r=document.querySelectorAll(".wprm-recipe-container");for(var n of r)if(n.dataset.hasOwnProperty("recipeId")){var i=parseInt(n.dataset.recipeId);if(!t.includes(i)){t.push(i);var o=document.querySelectorAll(".wprm-unit-conversion-container-"+i);for(var a of o){var c=1;a.dataset.hasOwnProperty("recipeUnitSystem")&&(c=parseInt(a.dataset.recipeUnitSystem)),this.setSystem(i,e,c);break}}}}}},clickSystem(e){var t=e.dataset.recipe,r=parseInt(e.dataset.system);if(!e.classList.contains("wprmpuc-active")){var n=e.parentNode.querySelectorAll(".wprm-unit-conversion");for(var i of n)i.classList.remove("wprmpuc-active");e.classList.add("wprmpuc-active");var o=1,a=e.closest(".wprm-unit-conversion-container");a&&a.dataset.hasOwnProperty("recipeUnitSystem")&&(o=parseInt(a.dataset.recipeUnitSystem)),window.WPRecipeMaker.hasOwnProperty("analytics")&&window.WPRecipeMaker.analytics.registerActionOnce(t,wprm_public.post_id,"unit-conversion",{type:"link"}),this.setSystem(t,r,o)}},changeDropdown(e){var t=e.dataset.recipe,r=parseInt(e.value),n=1,i=e.closest(".wprm-unit-conversion-container");i&&i.dataset.hasOwnProperty("recipeUnitSystem")&&(n=parseInt(i.dataset.recipeUnitSystem)),window.WPRecipeMaker.hasOwnProperty("analytics")&&window.WPRecipeMaker.analytics.registerActionOnce(t,wprm_public.post_id,"unit-conversion",{type:"dropdown"}),this.setSystem(t,r,n)},setSystem(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=window.WPRecipeMaker.quantities.getRecipe(e);if(n){var i=n.servings;window.WPRecipeMaker.quantities.setServings(e,n.originalServings);var o=!!window.hasOwnProperty("wprmpuc_recipe_"+e)&&window["wprmpuc_recipe_"+e].ingredients;if(!1===o)return;var a=document.querySelectorAll("#wprm-recipe-container-".concat(e,", .wprm-recipe-roundup-item-").concat(e,", .wprm-print-recipe-").concat(e,", .wprm-recipe-").concat(e,"-ingredients-container"));for(var c of a)for(var s=c.querySelectorAll(".wprm-recipe-ingredient"),u=0;u2&&void 0!==arguments[2]?arguments[2]:1;if("change"===wprmp_public.settings.unit_conversion_temperature){var i=document.querySelectorAll("#wprm-recipe-container-".concat(e,", .wprm-recipe-roundup-item-").concat(e,", .wprm-print-recipe-").concat(e,", .wprm-recipe-").concat(e,"-instructions-container")),o=2===n?3-r:r,a=wprmp_public.settings["unit_conversion_system_".concat(o,"_temperature")];for(var c of i){var s=c.querySelectorAll(".wprm-temperature-container");for(var u of s){var p=WPRecipeMaker.temperature.getData(u);if((u.dataset.hasOwnProperty("currentUnit")?u.dataset.currentUnit:p.unit)!==a){var l=void 0;if(a===p.unit)l=p.value;else{var d=(0,t.L)(p.value);l="C"===a?5*(d-32)/9:9*d/5+32,l=(0,t.o)(l,0)}u.querySelector(".wprm-temperature-value").innerHTML=l,u.querySelector(".wprm-temperature-unit").innerHTML=" °".concat(a),u.dataset.currentUnit=a}}}}}},e=()=>{window.WPRecipeMaker.conversion.init()},"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}(),(WPRecipeMaker=void 0===WPRecipeMaker?{}:WPRecipeMaker)["wp-recipe-maker-premium/dist/public-pro"]=n}();; /** * Observe how the user enters content into the comment form in order to determine whether it's a bot or not. * * Note that no actual input is being saved here, only counts and timings between events. */ ( function() { // Passive event listeners are guaranteed to never call e.preventDefault(), // but they're not supported in all browsers. Use this feature detection // to determine whether they're available for use. var supportsPassive = false; try { var opts = Object.defineProperty( {}, 'passive', { get : function() { supportsPassive = true; } } ); window.addEventListener( 'testPassive', null, opts ); window.removeEventListener( 'testPassive', null, opts ); } catch ( e ) {} function init() { var input_begin = ''; var keydowns = {}; var lastKeyup = null; var lastKeydown = null; var keypresses = []; var modifierKeys = []; var correctionKeys = []; var lastMouseup = null; var lastMousedown = null; var mouseclicks = []; var mousemoveTimer = null; var lastMousemoveX = null; var lastMousemoveY = null; var mousemoveStart = null; var mousemoves = []; var touchmoveCountTimer = null; var touchmoveCount = 0; var lastTouchEnd = null; var lastTouchStart = null; var touchEvents = []; var scrollCountTimer = null; var scrollCount = 0; var correctionKeyCodes = [ 'Backspace', 'Delete', 'ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'Home', 'End', 'PageUp', 'PageDown' ]; var modifierKeyCodes = [ 'Shift', 'CapsLock' ]; var forms = document.querySelectorAll( 'form[method=post]' ); for ( var i = 0; i < forms.length; i++ ) { var form = forms[i]; var formAction = form.getAttribute( 'action' ); // Ignore forms that POST directly to other domains; these could be things like payment forms. if ( formAction ) { // Check that the form is posting to an external URL, not a path. if ( formAction.indexOf( 'http://' ) == 0 || formAction.indexOf( 'https://' ) == 0 ) { if ( formAction.indexOf( 'http://' + window.location.hostname + '/' ) != 0 && formAction.indexOf( 'https://' + window.location.hostname + '/' ) != 0 ) { continue; } } } form.addEventListener( 'submit', function () { var ak_bkp = prepare_timestamp_array_for_request( keypresses ); var ak_bmc = prepare_timestamp_array_for_request( mouseclicks ); var ak_bte = prepare_timestamp_array_for_request( touchEvents ); var ak_bmm = prepare_timestamp_array_for_request( mousemoves ); var input_fields = { // When did the user begin entering any input? 'bib': input_begin, // When was the form submitted? 'bfs': Date.now(), // How many keypresses did they make? 'bkpc': keypresses.length, // How quickly did they press a sample of keys, and how long between them? 'bkp': ak_bkp, // How quickly did they click the mouse, and how long between clicks? 'bmc': ak_bmc, // How many mouseclicks did they make? 'bmcc': mouseclicks.length, // When did they press modifier keys (like Shift or Capslock)? 'bmk': modifierKeys.join( ';' ), // When did they correct themselves? e.g., press Backspace, or use the arrow keys to move the cursor back 'bck': correctionKeys.join( ';' ), // How many times did they move the mouse? 'bmmc': mousemoves.length, // How many times did they move around using a touchscreen? 'btmc': touchmoveCount, // How many times did they scroll? 'bsc': scrollCount, // How quickly did they perform touch events, and how long between them? 'bte': ak_bte, // How many touch events were there? 'btec' : touchEvents.length, // How quickly did they move the mouse, and how long between moves? 'bmm' : ak_bmm }; var akismet_field_prefix = 'ak_'; if ( this.getElementsByClassName ) { // Check to see if we've used an alternate field name prefix. We store this as an attribute of the container around some of the Akismet fields. var possible_akismet_containers = this.getElementsByClassName( 'akismet-fields-container' ); for ( var containerIndex = 0; containerIndex < possible_akismet_containers.length; containerIndex++ ) { var container = possible_akismet_containers.item( containerIndex ); if ( container.getAttribute( 'data-prefix' ) ) { akismet_field_prefix = container.getAttribute( 'data-prefix' ); break; } } } for ( var field_name in input_fields ) { var field = document.createElement( 'input' ); field.setAttribute( 'type', 'hidden' ); field.setAttribute( 'name', akismet_field_prefix + field_name ); field.setAttribute( 'value', input_fields[ field_name ] ); this.appendChild( field ); } }, supportsPassive ? { passive: true } : false ); form.addEventListener( 'keydown', function ( e ) { // If you hold a key down, some browsers send multiple keydown events in a row. // Ignore any keydown events for a key that hasn't come back up yet. if ( e.key in keydowns ) { return; } var keydownTime = ( new Date() ).getTime(); keydowns[ e.key ] = [ keydownTime ]; if ( ! input_begin ) { input_begin = keydownTime; } // In some situations, we don't want to record an interval since the last keypress -- for example, // on the first keypress, or on a keypress after focus has changed to another element. Normally, // we want to record the time between the last keyup and this keydown. But if they press a // key while already pressing a key, we want to record the time between the two keydowns. var lastKeyEvent = Math.max( lastKeydown, lastKeyup ); if ( lastKeyEvent ) { keydowns[ e.key ].push( keydownTime - lastKeyEvent ); } lastKeydown = keydownTime; }, supportsPassive ? { passive: true } : false ); form.addEventListener( 'keyup', function ( e ) { if ( ! ( e.key in keydowns ) ) { // This key was pressed before this script was loaded, or a mouseclick happened during the keypress, or... return; } var keyupTime = ( new Date() ).getTime(); if ( 'TEXTAREA' === e.target.nodeName || 'INPUT' === e.target.nodeName ) { if ( -1 !== modifierKeyCodes.indexOf( e.key ) ) { modifierKeys.push( keypresses.length - 1 ); } else if ( -1 !== correctionKeyCodes.indexOf( e.key ) ) { correctionKeys.push( keypresses.length - 1 ); } else { // ^ Don't record timings for keys like Shift or backspace, since they // typically get held down for longer than regular typing. var keydownTime = keydowns[ e.key ][0]; var keypress = []; // Keypress duration. keypress.push( keyupTime - keydownTime ); // Amount of time between this keypress and the previous keypress. if ( keydowns[ e.key ].length > 1 ) { keypress.push( keydowns[ e.key ][1] ); } keypresses.push( keypress ); } } delete keydowns[ e.key ]; lastKeyup = keyupTime; }, supportsPassive ? { passive: true } : false ); form.addEventListener( "focusin", function ( e ) { lastKeydown = null; lastKeyup = null; keydowns = {}; }, supportsPassive ? { passive: true } : false ); form.addEventListener( "focusout", function ( e ) { lastKeydown = null; lastKeyup = null; keydowns = {}; }, supportsPassive ? { passive: true } : false ); } document.addEventListener( 'mousedown', function ( e ) { lastMousedown = ( new Date() ).getTime(); }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'mouseup', function ( e ) { if ( ! lastMousedown ) { // If the mousedown happened before this script was loaded, but the mouseup happened after... return; } var now = ( new Date() ).getTime(); var mouseclick = []; mouseclick.push( now - lastMousedown ); if ( lastMouseup ) { mouseclick.push( lastMousedown - lastMouseup ); } mouseclicks.push( mouseclick ); lastMouseup = now; // If the mouse has been clicked, don't record this time as an interval between keypresses. lastKeydown = null; lastKeyup = null; keydowns = {}; }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'mousemove', function ( e ) { if ( mousemoveTimer ) { clearTimeout( mousemoveTimer ); mousemoveTimer = null; } else { mousemoveStart = ( new Date() ).getTime(); lastMousemoveX = e.offsetX; lastMousemoveY = e.offsetY; } mousemoveTimer = setTimeout( function ( theEvent, originalMousemoveStart ) { var now = ( new Date() ).getTime() - 500; // To account for the timer delay. var mousemove = []; mousemove.push( now - originalMousemoveStart ); mousemove.push( Math.round( Math.sqrt( Math.pow( theEvent.offsetX - lastMousemoveX, 2 ) + Math.pow( theEvent.offsetY - lastMousemoveY, 2 ) ) ) ); if ( mousemove[1] > 0 ) { // If there was no measurable distance, then it wasn't really a move. mousemoves.push( mousemove ); } mousemoveStart = null; mousemoveTimer = null; }, 500, e, mousemoveStart ); }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'touchmove', function ( e ) { if ( touchmoveCountTimer ) { clearTimeout( touchmoveCountTimer ); } touchmoveCountTimer = setTimeout( function () { touchmoveCount++; }, 500 ); }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'touchstart', function ( e ) { lastTouchStart = ( new Date() ).getTime(); }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'touchend', function ( e ) { if ( ! lastTouchStart ) { // If the touchstart happened before this script was loaded, but the touchend happened after... return; } var now = ( new Date() ).getTime(); var touchEvent = []; touchEvent.push( now - lastTouchStart ); if ( lastTouchEnd ) { touchEvent.push( lastTouchStart - lastTouchEnd ); } touchEvents.push( touchEvent ); lastTouchEnd = now; // Don't record this time as an interval between keypresses. lastKeydown = null; lastKeyup = null; keydowns = {}; }, supportsPassive ? { passive: true } : false ); document.addEventListener( 'scroll', function ( e ) { if ( scrollCountTimer ) { clearTimeout( scrollCountTimer ); } scrollCountTimer = setTimeout( function () { scrollCount++; }, 500 ); }, supportsPassive ? { passive: true } : false ); } /** * For the timestamp data that is collected, don't send more than `limit` data points in the request. * Choose a random slice and send those. */ function prepare_timestamp_array_for_request( a, limit ) { if ( ! limit ) { limit = 100; } var rv = ''; if ( a.length > 0 ) { var random_starting_point = Math.max( 0, Math.floor( Math.random() * a.length - limit ) ); for ( var i = 0; i < limit && i < a.length; i++ ) { rv += a[ random_starting_point + i ][0]; if ( a[ random_starting_point + i ].length >= 2 ) { rv += "," + a[ random_starting_point + i ][1]; } rv += ";"; } } return rv; } if ( document.readyState !== 'loading' ) { init(); } else { document.addEventListener( 'DOMContentLoaded', init ); } })();;