var WPRecipeMaker;(()=>{var e,t={4853:(e,t,n)=>{"use strict";var i;n(3524);window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.rating={init(){const e=document.querySelector(".comment-form-wprm-rating");if(e){const 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){const t=e.closest(".wprm-comment-ratings-container, .wprm-user-ratings-modal-stars"),n=t?parseInt(t.dataset.currentRating):0,i=parseInt(e.value);if(i===n)e.checked=!1,document.querySelector('input[name="'+e.name+'"][value="0"]').checked=!0,t.dataset.currentRating=0;else if(t.dataset.currentRating=i,window.WPRecipeMaker.hasOwnProperty("analytics")){let e=0;const t=document.querySelector(".wprm-recipe-container");t&&t.dataset.hasOwnProperty("recipeId")&&(e=parseInt(t.dataset.recipeId)),window.WPRecipeMaker.analytics.registerAction(e,wprm_public.post_id,"comment-rating",{rating:i})}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:i}}))}},i=()=>{window.WPRecipeMaker.rating.init()},"loading"!=document.readyState?i():document.addEventListener("DOMContentLoaded",i);n(2811),n(2942),n(385),n(1157),n(8455);function r(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,i=new Array(t);n0&&this.registerTriggers.apply(this,o(r)),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),i=0;i0&&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(s);return Array.apply(void 0,o(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()}}])&&r(t.prototype,n),e}(),p=null,d=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},l=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)d(n);return!0},{init:function(e){var t=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),n=o(document.querySelectorAll("[".concat(t.openTrigger,"]"))),i=function(e,t){var n=[];return e.forEach((function(e){var i=e.attributes[t].value;void 0===n[i]&&(n[i]=[]),n[i].push(e)})),n}(n,t.openTrigger);if(!0!==t.debugMode||!1!==l(n,i))for(var r in i){var a=i[r];t.targetModal=r,t.triggers=o(a),p=new c(t)}},show:function(e,t){var n=t||{};n.targetModal=e,!0===n.debugMode&&!1===d(e)||(p&&p.removeEventListeners(),(p=new c(n)).showModal())},close:function(e){e?p.closeModalById(e):p.closeModal()}});"undefined"!=typeof window&&(window.MicroModal=u);const f=u;window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.modal={open(e,t={}){f.show("wprm-popup-modal-"+e,{onShow:n=>{const i=n.dataset.type;document.dispatchEvent(new CustomEvent("wprm-modal-open",{detail:{type:i,uid:e,modal:n,data:t}}))},onClose:n=>{const i=n.dataset.type;document.dispatchEvent(new CustomEvent("wprm-modal-close",{detail:{type:i,uid:e,modal:n,data:t}}))},awaitCloseAnimation:!0})},close(e){f.close("wprm-popup-modal-"+e)}};n(7561),n(9854),n(3579),n(1104),n(6944);var m=n(5266);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-recipe-jump, .wprm-recipe-jump-to-comments, .wprm-recipe-jump-video, .wprm-jump-smooth-scroll")){WPRecipeMaker.jump.onClick(t,e);break}}),!1)},onClick:(e,t)=>{const n=e.getAttribute("href");if(e.matches(".wprm-jump-smooth-scroll")){t.preventDefault();let i=parseInt(e.dataset.smoothScroll);i<0&&(i=500),(0,m.A)(document.querySelector(n),{verticalOffset:-100,speed:i})}else if(!wprm_public.settings.jump_output_hash){const e=document.querySelector(n);e&&(t.preventDefault(),e.scrollIntoView())}}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.jump.init()}));n(9002);var w=n(4558);n(2998);window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.tooltip={init(){WPRecipeMaker.tooltip.addTooltips()},addTooltips(){const e=document.querySelectorAll(".wprm-tooltip");for(let t of e){const e=t._tippy;e&&e.destroy();const n=!!t.dataset.hasOwnProperty("tooltip")&&t.dataset.tooltip;if(n){t.role="button";const e=t.dataset.hasOwnProperty("tooltipHtml")&&"1"===t.dataset.tooltipHtml;let i=n;e&&(i=i.replace(/<[^>]*>/g,"")),(0,w.Ay)(t,{theme:"wprm",content:i,allowHTML:!1,interactive:!0,onCreate(e){e.popper.style.display="inline-block",e._isFetching=!1,e._fetchedContent=!1},onShow(t){t._isFetching||t._fetchedContent||e&&(t._isFetching=!0,fetch(`${wprm_public.endpoints.utilities}/sanitize`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify({text:n})}).then((e=>!!e.ok&&e.json())).then((e=>{t._isFetching=!1,t._fetchedContent=!0,e&&(t.setContent(e),t.setProps({allowHTML:!0}))})))}})}}}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}((()=>{window.WPRecipeMaker.tooltip.init()}));n(9047)},3524:()=>{var e;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")){const t=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return t&&window.WPRecipeMaker.analytics.registerAction(t,wprm_public.post_id,"jump-to-recipe"),!0}if(e.matches(".wprm-recipe-jump-video")){const t=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return t&&window.WPRecipeMaker.analytics.registerAction(t,wprm_public.post_id,"jump-to-video"),!0}if(e.matches(".wprm-recipe-pin")){const t=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return t&&window.WPRecipeMaker.analytics.registerAction(t,wprm_public.post_id,"pin-button"),!0}if(e.matches(".wprm-recipe-facebook-share")){const t=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return t&&window.WPRecipeMaker.analytics.registerAction(t,wprm_public.post_id,"facebook-share-button"),!0}if(e.matches(".wprm-recipe-messenger-share")){const t=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return t&&window.WPRecipeMaker.analytics.registerAction(t,wprm_public.post_id,"messenger-share-button"),!0}if(e.matches(".wprm-recipe-twitter-share")){const t=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return t&&window.WPRecipeMaker.analytics.registerAction(t,wprm_public.post_id,"twitter-share-button"),!0}if(e.matches(".wprm-recipe-bluesky-share")){const t=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return t&&window.WPRecipeMaker.analytics.registerAction(t,wprm_public.post_id,"bluesky-share-button"),!0}if(e.matches(".wprm-recipe-text-share")){const t=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return t&&window.WPRecipeMaker.analytics.registerAction(t,wprm_public.post_id,"text-share-button"),!0}if(e.matches(".wprm-recipe-whatsapp-share")){const t=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return t&&window.WPRecipeMaker.analytics.registerAction(t,wprm_public.post_id,"whatsapp-share-button"),!0}if(e.matches(".wprm-recipe-email-share")){const t=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return t&&window.WPRecipeMaker.analytics.registerAction(t,wprm_public.post_id,"email-share-button"),!0}if(e.matches(".wprm-recipe-add-to-collection-recipe")){const t=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipeId;return t&&window.WPRecipeMaker.analytics.registerAction(t,wprm_public.post_id,"add-to-collections-button"),!0}if(e.matches(".wprm-recipe-add-to-shopping-list")){const t=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipeId;return t&&window.WPRecipeMaker.analytics.registerAction(t,wprm_public.post_id,"add-to-shopping-list-button"),!0}if(e.matches(".wprm-recipe-equipment a")){const t=e.closest(".wprm-recipe-equipment-container");if(t){const n=e.closest(".wprm-recipe-equipment-item"),i=n&&n.classList.contains("wprm-recipe-equipment-item-has-image")?"image":"text",r=n?n.querySelector(".wprm-recipe-equipment-name"):e,o=t.dataset.recipe;o&&window.WPRecipeMaker.analytics.registerAction(o,wprm_public.post_id,"equipment-link",{url:e.href,type:i,name:r?r.innerText:"unknown"})}return!0}if(e.matches(".wprm-recipe-ingredient a")){const t=e.closest(".wprm-recipe-ingredients-container");let n=!1;const i=e.closest(".wprm-recipe-ingredient");if(i&&(n=i.querySelector(".wprm-recipe-ingredient-name")),t){const i=t.dataset.recipe;i&&window.WPRecipeMaker.analytics.registerAction(i,wprm_public.post_id,"ingredient-link",{url:e.href,name:n?n.innerText:"unknown"})}return!0}if(e.matches(".wprm-recipe-instruction a")){const t=e.closest(".wprm-recipe-instructions-container");if(t){const n=t.dataset.recipe;n&&window.WPRecipeMaker.analytics.registerAction(n,wprm_public.post_id,"instruction-link",{url:e.href})}return!0}return!1},registerAction:(e,t,n,i={})=>{window.WPRecipeMaker.analytics.registerActionLocal(e,t,n,i),window.WPRecipeMaker.analytics.registerActionGoogleAnalytics(e,t,n,i)},registerActionOnce:(e,t,n,i={})=>{window.WPRecipeMaker.analytics.registeredActions.hasOwnProperty(`recipe-${e}`)&&window.WPRecipeMaker.analytics.registeredActions[`recipe-${e}`].hasOwnProperty(n)||(window.WPRecipeMaker.analytics.registeredActions.hasOwnProperty(`recipe-${e}`)||(window.WPRecipeMaker.analytics.registeredActions[`recipe-${e}`]={}),window.WPRecipeMaker.analytics.registeredActions[`recipe-${e}`][n]=!0,window.WPRecipeMaker.analytics.registerAction(e,t,n,i))},registerActionLocal:(e,t,n,i={})=>{if(wprm_public.settings.analytics_enabled){if("comment-rating"===n||"user-rating"===n)return;let a={Accept:"application/json","Content-Type":"application/json"};0{if(wprm_public.settings.google_analytics_enabled&&window.hasOwnProperty("gtag")){const r="wprm_"+n.replace(/-/g,"_"),o=n.replace(/-/g," ");let a={event_category:"wprecipemaker",event_label:"WPRM "+o.charAt(0).toUpperCase()+o.slice(1),wprm_recipe_id:""+e,wprm_post_id:""+t};if("comment-rating"!==n&&"user-rating"!==n||!i.hasOwnProperty("rating")||(a.value=i.rating,delete i.rating),0{window.WPRecipeMaker.analytics.init()},"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)},2811:()=>{window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.debug={version:()=>wprm_public.version,recipe:()=>{const e=WPRecipeMaker.manager.findRecipesOnPage();return!!e&&WPRecipeMaker.manager.getRecipeImmediately(e[0])}}},2942:()=>{var e;window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.expandable={init:()=>{document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode)if(t.matches(".wprm-expandable-button")){WPRecipeMaker.expandable.onClick(t,e);break}}),!1)},onClick:(e,t)=>{t.preventDefault();const n=e.closest(".wprm-expandable-container");e.classList.contains("wprm-expandable-button-show")?(n.classList.remove("wprm-expandable-collapsed"),n.classList.add("wprm-expandable-expanded")):(n.classList.add("wprm-expandable-collapsed"),n.classList.remove("wprm-expandable-expanded"))}},e=()=>{window.WPRecipeMaker.expandable.init()},"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)},385:()=>{var e;window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.grow={init:()=>{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);let e=null;window.growMe((()=>{e=window.growMe.getIsBookmarked();let t=!1;window.growMe.on("isBookmarkedChanged",(n=>{t||(t=!0,e=n.isBookmarked,e&&WPRecipeMaker.grow.markAsSaved(!1,!0))}))}))},onClickSave:(e,t)=>{t.preventDefault();let n={source:"wprm_save_btn"};const i=parseInt(e.dataset.recipeId),r=e.closest(".wprm-recipe-grow-container");r&&(n.tooltipReferenceElement=r),window.growMe.addBookmark(n).then((function(e){WPRecipeMaker.grow.markAsSaved(i)})).catch((function(e){WPRecipeMaker.grow.markAsSaved(i)}))},onClickSaved:(e,t)=>{t.preventDefault()},markAsSaved:(e,t=!1)=>{const n=document.querySelectorAll(".wprm-recipe-grow");for(let i of n)(t||e===parseInt(i.dataset.recipeId))&&(i.classList.contains("wprm-recipe-grow-not-saved")?i.style.display="none":i.classList.contains("wprm-recipe-grow-saved")&&(i.style.display=""))}},e=()=>{window.WPRecipeMaker.grow.init()},"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)},1157:()=>{var e;window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.instacart={init:()=>{document.addEventListener("click",(function(e){for(var t=e.target;t&&t!=this;t=t.parentNode)if(t.matches(".wprm-recipe-shop-instacart")){WPRecipeMaker.instacart.onClickButton(t,e);break}}),!1),WPRecipeMaker.instacart.show()},show:()=>{const e=document.querySelectorAll(".wprm-recipe-shop-instacart");for(let t of e)t.style.visibility=""},onClickButton:(e,t)=>{if(t.preventDefault(),e.classList.contains("wprm-recipe-shop-instacart-loading"))return;const n=parseInt(e.dataset.recipe);if(n){e.classList.add("wprm-recipe-shop-instacart-loading");const t=window.open("about:blank","_blank");t.document.write('\n \n \n Loading Instacart...\n \n \n \n
Loading Instacart...
\n \n \n '),window.WPRecipeMaker.manager.getRecipe(n).then((i=>{if(i){const r=i.data.currentServings+"-"+i.data.currentSystem;let o=[];if(window.WPRecipeMaker.hasOwnProperty("managerPremiumIngredients")){const e=window.WPRecipeMaker.managerPremiumIngredients.getCurrentIngredients(i).map((e=>e[`unit-system-${i.data.currentSystem}`]));for(let t of e)o.push({name:t.name,quantity:t.amountParsed,unit:t.unit})}else for(let e of i.data.ingredients)o.push({name:e.name,quantity:e.amount,unit:e.unit});let a={recipeId:n,title:i.data.name,image_url:i.data.image_url,ingredients:o,servingsSystemCombination:r};fetch(`${wprm_public.endpoints.integrations}/instacart`,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify({data:a})}).then((e=>!!e.ok&&e.json())).then((n=>{e.classList.remove("wprm-recipe-shop-instacart-loading"),n?t.location.href=n:alert("Something went wrong. Please try again later.")}))}}))}}},e=()=>{window.WPRecipeMaker.instacart.init()},"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)},8455:()=>{var e;window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.manager={init:()=>{},recipes:{},findRecipesOnPage:()=>{let e=[];const t=document.querySelectorAll("*[data-recipe-id]");for(let n of t){const t=parseInt(n.dataset.recipeId);t&&e.push(t)}return[...new Set(e)]},resetRecipe:e=>{window.WPRecipeMaker.manager.recipes.hasOwnProperty(`recipe-${e}`)&&delete window.WPRecipeMaker.manager.recipes[`recipe-${e}`]},getRecipe:(e,t=!1)=>(e="preview"===e?e:parseInt(e),window.WPRecipeMaker.manager.recipes.hasOwnProperty(`recipe-${e}`)?Promise.resolve(window.WPRecipeMaker.manager.recipes[`recipe-${e}`]):window.WPRecipeMaker.manager.loadRecipe(e,t)),getRecipeImmediately:e=>{e="preview"===e?e:parseInt(e);let t=!!window.WPRecipeMaker.manager.recipes.hasOwnProperty(`recipe-${e}`)&&window.WPRecipeMaker.manager.recipes[`recipe-${e}`];if(!t&&window.hasOwnProperty("wprm_recipes")&&window.wprm_recipes.hasOwnProperty(`recipe-${e}`)){const n=window.wprm_recipes[`recipe-${e}`];t=window.WPRecipeMaker.manager.loadRecipeObject(e,n),window.WPRecipeMaker.manager.recipes[`recipe-${e}`]=t}return t},loadRecipe:(e,t=!1)=>new Promise(((n,i)=>{new Promise(((n,i)=>{const r=t||e;window.hasOwnProperty("wprm_recipes")&&window.wprm_recipes.hasOwnProperty(`recipe-${r}`)?n(window.wprm_recipes[`recipe-${r}`]):window.WPRecipeMaker.manager.loadRecipeDataFromAPI(r).then((e=>{n(e)}))})).then((t=>{let i=!1;t&&(i=window.WPRecipeMaker.manager.loadRecipeObject(e,t)),window.WPRecipeMaker.manager.recipes[`recipe-${e}`]=i,n(i)}))})),loadRecipeDataFromAPI:e=>{let t={Accept:"application/json","Content-Type":"application/json"};return 0{fetch(`${wprm_public.endpoints.manage}/recipe/${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)=>{let n={id:e,data:t,setServings:(...e)=>{},setAdvancedServings:(...e)=>{},setUnitSystem:(...e)=>{},addRating:(...e)=>{}};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-${e}`)&&(window.WPRecipeMaker.manager.recipes[`recipe-${e}`].data={...window.WPRecipeMaker.manager.recipes[`recipe-${e}`].data,...t},document.dispatchEvent(new CustomEvent("wprm-recipe-change-data",{detail:{id:e}})))}},e=()=>{window.WPRecipeMaker.manager.init()},"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)},7561:()=>{var 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();const n=e.dataset.state;WPRecipeMaker.media.setState(n,e)},setState:(e,t=!1)=>{const n=WPRecipeMaker.media.state;if(("on"===e||"off"===e)&&e!==n){let n=0;t&&(n=window.pageYOffset+t.getBoundingClientRect().top);const i=document.querySelectorAll(".wprm-recipe-instruction-media");for(let t of i)t.style.display="off"===e?"none":"";let r=0;t&&(r=window.pageYOffset+t.getBoundingClientRect().top);const o=r-n;o&&scrollBy(0,o);const a=document.querySelectorAll(".wprm-recipe-media-toggle");for(let t of a)e===t.dataset.state?t.classList.add("wprm-toggle-active"):t.classList.remove("wprm-toggle-active");WPRecipeMaker.media.state=e}},state:"on"},e=()=>{window.WPRecipeMaker.media.init()},"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)},9854:()=>{var e;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();const n=this.getPinUtils();if(n)if(e.dataset.hasOwnProperty("pinAction")&&"any"===e.dataset.pinAction)PinUtils.pinAny();else{const t=e.dataset.url,i=e.dataset.media,r=e.dataset.description,o=e.dataset.repin;o?PinUtils.repin(o):i&&n.pinOne({url:t,media:i,description:r})}else window.open(e.href,"targetWindow","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=500,height=500")},getPinUtils:()=>!!window.hasOwnProperty("PinUtils")&&window.PinUtils},e=()=>{window.WPRecipeMaker.pinterest.init()},"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)},3579:()=>{var e;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)=>{let n=e.dataset.recipeId;if(!n){const t=e.closest(".wprm-recipe-container");t&&(n=t.dataset.recipeId)}if(n){t.preventDefault(),n=parseInt(n);const i=e.dataset.hasOwnProperty("template")?e.dataset.template:"";let r="other";const o=e.closest(".wprm-recipe");o&&(r=o.classList.contains("wprm-recipe-snippet")?"snippet":o.classList.contains("wprm-recipe-roundup-item")?"roundup":"recipe"),window.WPRecipeMaker.analytics.registerAction(n,wprm_public.post_id,"print",{location:r}),WPRecipeMaker.print.recipeAsIs(n,i)}},recipeAsIs:(e,t="")=>{let n=!1,i=1,r=!1;window.WPRecipeMaker.manager.getRecipe(e).then((o=>{o&&(o.data.hasOwnProperty("currentSystem")&&(i=o.data.currentSystem),o.data.currentServingsParsed!==o.data.originalServingsParsed&&(n=o.data.currentServingsParsed),r=o.data.currentAdvancedServings),WPRecipeMaker.print.recipe(e,n,i,r,t)}))},recipe:(e,t=!1,n=1,i=!1,r="")=>{let o=!1;if("slug"===wprm_public.settings.print_recipe_identifier){const t=window.WPRecipeMaker.manager.getRecipeImmediately(e);t&&t.data.slug&&(o=t.data.slug,o.startsWith("wprm-")&&(o=o.substring(5)))}let a=o||e;r&&(a+=`/${r}`);const s=WPRecipeMaker.print.getUrl(a),c=wprm_public.settings.print_new_tab?"_blank":"_self",p={id:e,system:n,servings:t,advancedServings:i};localStorage.setItem("wprmPrintArgs",JSON.stringify(p));const d=window.open(s,c);"_blank"===c&&(d.onload=()=>{d.focus(),d.hasOwnProperty("WPRMPrint")&&d.WPRMPrint.setArgs(p)})},getUrl:e=>{const t=wprm_public.home_url.split(/\?(.+)/);let 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}},e=()=>{window.WPRecipeMaker.print.init()},"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)},1104:()=>{window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.recipe={init:()=>{window.addEventListener("wpupgInitReady",(function(e){const t=e.detail;window.WPRecipeMaker.recipe.wpupgGridCompatibility(t)}))},wpupgGridCompatibility:e=>{e&&e.on("itemsLoaded",(()=>{window.WPRecipeMaker.recipe.initFeatures()}))},initFeatures:(e={})=>{if(e.hasOwnProperty("id")&&window.WPRecipeMaker.manager.resetRecipe(e.id),window.WPRecipeMaker){if(window.WPRecipeMaker.hasOwnProperty("advancedServings")&&window.WPRecipeMaker.advancedServings.init(),window.WPRecipeMaker.hasOwnProperty("quantities")&&(window.WPRecipeMaker.quantities.init(),e.hasOwnProperty("id")&&e.hasOwnProperty("servings"))){const t=parseInt(e.servings);t&&setTimeout((()=>{window.WPRecipeMaker.quantities.setServings(e.id,t)}),100)}window.WPRecipeMaker.hasOwnProperty("instacart")&&window.WPRecipeMaker.instacart.init(),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()},6944:()=>{var e;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:async()=>{if(await WPRecipeMaker.slickstream.getSlickstream()){const e=document.querySelectorAll(".wprm-recipe-slickstream");for(let t of e)t.style.visibility=""}},getSlickstream:async()=>window.slickstream?window.slickstream.v1:new Promise(((e,t)=>{document.addEventListener("slickstream-ready",(()=>{e(window.slickstream.v1)}))})),onClickSave:async(e,t)=>{t.preventDefault(),WPRecipeMaker.slickstream.setFavoriteStatus(!0)},onClickSaved:async(e,t)=>{t.preventDefault(),WPRecipeMaker.slickstream.setFavoriteStatus(!1)},favoriteChanged:async()=>{const e=(await WPRecipeMaker.slickstream.getSlickstream()).favorites.getState(),t=document.querySelectorAll(".wprm-recipe-slickstream");for(let 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")},setFavoriteStatus:async e=>{(await WPRecipeMaker.slickstream.getSlickstream()).favorites.setState(e)}},e=()=>{window.WPRecipeMaker.slickstream.init()},"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)},9002:()=>{window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.temperature={getTemperatures(){let e=[];const t=document.querySelectorAll(".wprm-temperature-container");for(let n of t)e.push(WPRecipeMaker.temperature.getData(n));return e},getData:e=>({container:e,value:e.dataset.value,unit:e.dataset.unit,help:e.dataset.tooltip})}},9047:()=>{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,i=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=i.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)},2998:()=>{},4962:(e,t,n)=>{"use strict";n.d(t,{UD:()=>f});var i=n(8528),r=n(9741),o=n(6423),a=n(7790),s=n(4780),c=n(5901),p=n(5850),d=n(2155),l={placement:"bottom",modifiers:[],strategy:"absolute"};function u(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.d(t,{A:()=>r});var i=n(2155);function r(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,i.Ng)(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}},9228:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(2155),r=n(100);function o(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,a=1;if((0,i.sb)(e)&&t){var s=e.offsetHeight,c=e.offsetWidth;c>0&&(o=(0,r.LI)(n.width)/c||1),s>0&&(a=(0,r.LI)(n.height)/s||1)}return{width:n.width/o,height:n.height/a,top:n.top/a,right:n.right/o,bottom:n.bottom/a,left:n.left/o,x:n.left/o,y:n.top/a}}},8741:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var i=n(7116),r=n(8269),o=n(5090),a=n(6423),s=n(7790),c=n(8994),p=n(253),d=n(2155),l=n(9228),u=n(5961),f=n(7272),m=n(9398),w=n(5344),h=n(100);function v(e,t){return t===i.R9?(0,w.A)((0,r.A)(e)):(0,d.vq)(t)?function(e){var t=(0,l.A)(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,w.A)((0,o.A)((0,c.A)(e)))}function g(e,t,n){var i="clippingParents"===t?function(e){var t=(0,a.A)((0,u.A)(e)),n=["absolute","fixed"].indexOf((0,p.A)(e).position)>=0&&(0,d.sb)(e)?(0,s.A)(e):e;return(0,d.vq)(n)?t.filter((function(e){return(0,d.vq)(e)&&(0,f.A)(e,n)&&"body"!==(0,m.A)(e)})):[]}(e):[].concat(t),r=[].concat(i,[n]),o=r[0],c=r.reduce((function(t,n){var i=v(e,n);return t.top=(0,h.T9)(i.top,t.top),t.right=(0,h.jk)(i.right,t.right),t.bottom=(0,h.jk)(i.bottom,t.bottom),t.left=(0,h.T9)(i.left,t.left),t}),v(e,o));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}},8528:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var i=n(9228),r=n(4004),o=n(9398),a=n(2155),s=n(2951),c=n(8994),p=n(288),d=n(100);function l(e,t,n){void 0===n&&(n=!1);var l=(0,a.sb)(t),u=(0,a.sb)(t)&&function(e){var t=e.getBoundingClientRect(),n=(0,d.LI)(t.width)/e.offsetWidth||1,i=(0,d.LI)(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),f=(0,c.A)(t),m=(0,i.A)(e,u),w={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(l||!l&&!n)&&(("body"!==(0,o.A)(t)||(0,p.A)(f))&&(w=(0,r.A)(t)),(0,a.sb)(t)?((h=(0,i.A)(t,!0)).x+=t.clientLeft,h.y+=t.clientTop):f&&(h.x=(0,s.A)(f))),{x:m.left+w.scrollLeft-h.x,y:m.top+w.scrollTop-h.y,width:m.width,height:m.height}}},253:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(7505);function r(e){return(0,i.A)(e).getComputedStyle(e)}},8994:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(2155);function r(e){return(((0,i.vq)(e)?e.ownerDocument:e.document)||window.document).documentElement}},5090:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var i=n(8994),r=n(253),o=n(2951),a=n(8796),s=n(100);function c(e){var t,n=(0,i.A)(e),c=(0,a.A)(e),p=null==(t=e.ownerDocument)?void 0:t.body,d=(0,s.T9)(n.scrollWidth,n.clientWidth,p?p.scrollWidth:0,p?p.clientWidth:0),l=(0,s.T9)(n.scrollHeight,n.clientHeight,p?p.scrollHeight:0,p?p.clientHeight:0),u=-c.scrollLeft+(0,o.A)(e),f=-c.scrollTop;return"rtl"===(0,r.A)(p||n).direction&&(u+=(0,s.T9)(n.clientWidth,p?p.clientWidth:0)-d),{width:d,height:l,x:u,y:f}}},6671:(e,t,n)=>{"use strict";function i(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}n.d(t,{A:()=>i})},9741:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(9228);function r(e){var t=(0,i.A)(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}}},9398:(e,t,n)=>{"use strict";function i(e){return e?(e.nodeName||"").toLowerCase():null}n.d(t,{A:()=>i})},4004:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(8796),r=n(7505),o=n(2155),a=n(6671);function s(e){return e!==(0,r.A)(e)&&(0,o.sb)(e)?(0,a.A)(e):(0,i.A)(e)}},7790:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var i=n(7505),r=n(9398),o=n(253),a=n(2155),s=n(961),c=n(5961);function p(e){return(0,a.sb)(e)&&"fixed"!==(0,o.A)(e).position?e.offsetParent:null}function d(e){for(var t=(0,i.A)(e),n=p(e);n&&(0,s.A)(n)&&"static"===(0,o.A)(n).position;)n=p(n);return n&&("html"===(0,r.A)(n)||"body"===(0,r.A)(n)&&"static"===(0,o.A)(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&(0,a.sb)(e)&&"fixed"===(0,o.A)(e).position)return null;var n=(0,c.A)(e);for((0,a.Ng)(n)&&(n=n.host);(0,a.sb)(n)&&["html","body"].indexOf((0,r.A)(n))<0;){var i=(0,o.A)(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}},5961:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(9398),r=n(8994),o=n(2155);function a(e){return"html"===(0,i.A)(e)?e:e.assignedSlot||e.parentNode||((0,o.Ng)(e)?e.host:null)||(0,r.A)(e)}},3448:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(5961),r=n(288),o=n(9398),a=n(2155);function s(e){return["html","body","#document"].indexOf((0,o.A)(e))>=0?e.ownerDocument.body:(0,a.sb)(e)&&(0,r.A)(e)?e:s((0,i.A)(e))}},8269:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(7505),r=n(8994),o=n(2951);function a(e){var t=(0,i.A)(e),n=(0,r.A)(e),a=t.visualViewport,s=n.clientWidth,c=n.clientHeight,p=0,d=0;return a&&(s=a.width,c=a.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(p=a.offsetLeft,d=a.offsetTop)),{width:s,height:c,x:p+(0,o.A)(e),y:d}}},7505:(e,t,n)=>{"use strict";function i(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,{A:()=>i})},8796:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(7505);function r(e){var t=(0,i.A)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},2951:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(9228),r=n(8994),o=n(8796);function a(e){return(0,i.A)((0,r.A)(e)).left+(0,o.A)(e).scrollLeft}},2155:(e,t,n)=>{"use strict";n.d(t,{Ng:()=>a,sb:()=>o,vq:()=>r});var i=n(7505);function r(e){return e instanceof(0,i.A)(e).Element||e instanceof Element}function o(e){return e instanceof(0,i.A)(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof(0,i.A)(e).ShadowRoot||e instanceof ShadowRoot)}},288:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(253);function r(e){var t=(0,i.A)(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}},961:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(9398);function r(e){return["table","td","th"].indexOf((0,i.A)(e))>=0}},6423:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(3448),r=n(5961),o=n(7505),a=n(288);function s(e,t){var n;void 0===t&&(t=[]);var c=(0,i.A)(e),p=c===(null==(n=e.ownerDocument)?void 0:n.body),d=(0,o.A)(c),l=p?[d].concat(d.visualViewport||[],(0,a.A)(c)?c:[]):c,u=t.concat(l);return p?u:u.concat(s((0,r.A)(l)))}},7116:(e,t,n)=>{"use strict";n.d(t,{DD:()=>h,GM:()=>v,Mn:()=>i,OM:()=>c,Ol:()=>w,R9:()=>u,WY:()=>l,_N:()=>d,ir:()=>m,kb:()=>a,ni:()=>p,pG:()=>o,qZ:()=>s,sQ:()=>r,xf:()=>f});var i="top",r="bottom",o="right",a="left",s="auto",c=[i,r,o,a],p="start",d="end",l="clippingParents",u="viewport",f="popper",m="reference",w=c.reduce((function(e,t){return e.concat([t+"-"+p,t+"-"+d])}),[]),h=[].concat(c,[s]).reduce((function(e,t){return e.concat([t,t+"-"+p,t+"-"+d])}),[]),v=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},3129:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(9398),r=n(2155);const o={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]||{},o=t.attributes[e]||{},a=t.elements[e];(0,r.sb)(a)&&(0,i.A)(a)&&(Object.assign(a.style,n),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,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 o=t.elements[e],a=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});(0,r.sb)(o)&&(0,i.A)(o)&&(Object.assign(o.style,s),Object.keys(a).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]}},8034:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var i=n(6966),r=n(9741),o=n(7272),a=n(7790),s=n(7529),c=n(3709),p=n(3432),d=n(7985),l=n(7116);const u={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,u=e.options,f=n.elements.arrow,m=n.modifiersData.popperOffsets,w=(0,i.A)(n.placement),h=(0,s.A)(w),v=[l.kb,l.pG].indexOf(w)>=0?"height":"width";if(f&&m){var g=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,(0,p.A)("number"!=typeof e?e:(0,d.A)(e,l.OM))}(u.padding,n),y=(0,r.A)(f),b="y"===h?l.Mn:l.kb,k="y"===h?l.sQ:l.pG,A=n.rects.reference[v]+n.rects.reference[h]-m[h]-n.rects.popper[v],P=m[h]-n.rects.reference[h],M=(0,a.A)(f),R=M?"y"===h?M.clientHeight||0:M.clientWidth||0:0,O=A/2-P/2,W=g[b],x=R-y[v]-g[k],E=R/2-y[v]/2+O,S=(0,c.u)(W,E,x),L=h;n.modifiersData[o]=((t={})[L]=S,t.centerOffset=S-E,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&(0,o.A)(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},160:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var i=n(7116),r=n(7790),o=n(7505),a=n(8994),s=n(253),c=n(6966),p=n(6411),d=n(100),l={top:"auto",right:"auto",bottom:"auto",left:"auto"};function u(e){var t,n=e.popper,c=e.popperRect,p=e.placement,u=e.variation,f=e.offsets,m=e.position,w=e.gpuAcceleration,h=e.adaptive,v=e.roundOffsets,g=e.isFixed,y=f.x,b=void 0===y?0:y,k=f.y,A=void 0===k?0:k,P="function"==typeof v?v({x:b,y:A}):{x:b,y:A};b=P.x,A=P.y;var M=f.hasOwnProperty("x"),R=f.hasOwnProperty("y"),O=i.kb,W=i.Mn,x=window;if(h){var E=(0,r.A)(n),S="clientHeight",L="clientWidth";if(E===(0,o.A)(n)&&(E=(0,a.A)(n),"static"!==(0,s.A)(E).position&&"absolute"===m&&(S="scrollHeight",L="scrollWidth")),p===i.Mn||(p===i.kb||p===i.pG)&&u===i._N)W=i.sQ,A-=(g&&E===x&&x.visualViewport?x.visualViewport.height:E[S])-c.height,A*=w?1:-1;if(p===i.kb||(p===i.Mn||p===i.sQ)&&u===i._N)O=i.pG,b-=(g&&E===x&&x.visualViewport?x.visualViewport.width:E[L])-c.width,b*=w?1:-1}var _,T=Object.assign({position:m},h&&l),C=!0===v?function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:(0,d.LI)(t*i)/i||0,y:(0,d.LI)(n*i)/i||0}}({x:b,y:A}):{x:b,y:A};return b=C.x,A=C.y,w?Object.assign({},T,((_={})[W]=R?"0":"",_[O]=M?"0":"",_.transform=(x.devicePixelRatio||1)<=1?"translate("+b+"px, "+A+"px)":"translate3d("+b+"px, "+A+"px, 0)",_)):Object.assign({},T,((t={})[W]=R?A+"px":"",t[O]=M?b+"px":"",t.transform="",t))}const f={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,d=void 0===s||s,l={placement:(0,c.A)(t.placement),variation:(0,p.A)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,u(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:d})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,u(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}}},7658:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(7505),r={passive:!0};const o={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,a=o.scroll,s=void 0===a||a,c=o.resize,p=void 0===c||c,d=(0,i.A)(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&l.forEach((function(e){e.addEventListener("scroll",n.update,r)})),p&&d.addEventListener("resize",n.update,r),function(){s&&l.forEach((function(e){e.removeEventListener("scroll",n.update,r)})),p&&d.removeEventListener("resize",n.update,r)}},data:{}}},5432:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var i=n(8066),r=n(6966),o=n(601),a=n(9775),s=n(7143),c=n(7116),p=n(6411);const d={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,d=e.name;if(!t.modifiersData[d]._skip){for(var l=n.mainAxis,u=void 0===l||l,f=n.altAxis,m=void 0===f||f,w=n.fallbackPlacements,h=n.padding,v=n.boundary,g=n.rootBoundary,y=n.altBoundary,b=n.flipVariations,k=void 0===b||b,A=n.allowedAutoPlacements,P=t.options.placement,M=(0,r.A)(P),R=w||(M===P||!k?[(0,i.A)(P)]:function(e){if((0,r.A)(e)===c.qZ)return[];var t=(0,i.A)(e);return[(0,o.A)(e),t,(0,o.A)(t)]}(P)),O=[P].concat(R).reduce((function(e,n){return e.concat((0,r.A)(n)===c.qZ?(0,s.A)(t,{placement:n,boundary:v,rootBoundary:g,padding:h,flipVariations:k,allowedAutoPlacements:A}):n)}),[]),W=t.rects.reference,x=t.rects.popper,E=new Map,S=!0,L=O[0],_=0;_=0,I=D?"width":"height",q=(0,a.A)(t,{placement:T,boundary:v,rootBoundary:g,altBoundary:y,padding:h}),N=D?j?c.pG:c.kb:j?c.sQ:c.Mn;W[I]>x[I]&&(N=(0,i.A)(N));var H=(0,i.A)(N),B=[];if(u&&B.push(q[C]<=0),m&&B.push(q[N]<=0,q[H]<=0),B.every((function(e){return e}))){L=T,S=!1;break}E.set(T,B)}if(S)for(var F=function(e){var t=O.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return L=t,"break"},V=k?3:1;V>0;V--){if("break"===F(V))break}t.placement!==L&&(t.modifiersData[d]._skip=!0,t.placement=L,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}}},5911:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(7116),r=n(9775);function o(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 a(e){return[i.Mn,i.pG,i.sQ,i.kb].some((function(t){return e[t]>=0}))}const s={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,s=t.rects.popper,c=t.modifiersData.preventOverflow,p=(0,r.A)(t,{elementContext:"reference"}),d=(0,r.A)(t,{altBoundary:!0}),l=o(p,i),u=o(d,s,c),f=a(l),m=a(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:f,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":m})}}},3208:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(6966),r=n(7116);const o={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,a=n.offset,s=void 0===a?[0,0]:a,c=r.DD.reduce((function(e,n){return e[n]=function(e,t,n){var o=(0,i.A)(e),a=[r.kb,r.Mn].indexOf(o)>=0?-1:1,s="function"==typeof n?n(Object.assign({},t,{placement:e})):n,c=s[0],p=s[1];return c=c||0,p=(p||0)*a,[r.kb,r.pG].indexOf(o)>=0?{x:p,y:c}:{x:c,y:p}}(n,t.rects,s),e}),{}),p=c[t.placement],d=p.x,l=p.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=l),t.modifiersData[o]=c}}},7993:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(5669);const r={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=(0,i.A)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}}},1527:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var i=n(7116),r=n(6966),o=n(7529),a=n(1228),s=n(3709),c=n(9741),p=n(7790),d=n(9775),l=n(6411),u=n(2450),f=n(100);const m={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,m=e.name,w=n.mainAxis,h=void 0===w||w,v=n.altAxis,g=void 0!==v&&v,y=n.boundary,b=n.rootBoundary,k=n.altBoundary,A=n.padding,P=n.tether,M=void 0===P||P,R=n.tetherOffset,O=void 0===R?0:R,W=(0,d.A)(t,{boundary:y,rootBoundary:b,padding:A,altBoundary:k}),x=(0,r.A)(t.placement),E=(0,l.A)(t.placement),S=!E,L=(0,o.A)(x),_=(0,a.A)(L),T=t.modifiersData.popperOffsets,C=t.rects.reference,j=t.rects.popper,D="function"==typeof O?O(Object.assign({},t.rects,{placement:t.placement})):O,I="number"==typeof D?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),q=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(T){if(h){var H,B="y"===L?i.Mn:i.kb,F="y"===L?i.sQ:i.pG,V="y"===L?"height":"width",$=T[L],U=$+W[B],z=$-W[F],G=M?-j[V]/2:0,Q=E===i.ni?C[V]:j[V],Y=E===i.ni?-j[V]:-C[V],K=t.elements.arrow,X=M&&K?(0,c.A)(K):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,u.A)(),Z=J[B],ee=J[F],te=(0,s.u)(0,C[V],X[V]),ne=S?C[V]/2-G-te-Z-I.mainAxis:Q-te-Z-I.mainAxis,ie=S?-C[V]/2+G+te+ee+I.mainAxis:Y+te+ee+I.mainAxis,re=t.elements.arrow&&(0,p.A)(t.elements.arrow),oe=re?"y"===L?re.clientTop||0:re.clientLeft||0:0,ae=null!=(H=null==q?void 0:q[L])?H:0,se=$+ne-ae-oe,ce=$+ie-ae,pe=(0,s.u)(M?(0,f.jk)(U,se):U,$,M?(0,f.T9)(z,ce):z);T[L]=pe,N[L]=pe-$}if(g){var de,le="x"===L?i.Mn:i.kb,ue="x"===L?i.sQ:i.pG,fe=T[_],me="y"===_?"height":"width",we=fe+W[le],he=fe-W[ue],ve=-1!==[i.Mn,i.kb].indexOf(x),ge=null!=(de=null==q?void 0:q[_])?de:0,ye=ve?we:fe-C[me]-j[me]-ge+I.altAxis,be=ve?fe+C[me]+j[me]-ge-I.altAxis:he,ke=M&&ve?(0,s.P)(ye,fe,be):(0,s.u)(M?ye:we,fe,M?be:he);T[_]=ke,N[_]=ke-fe}t.modifiersData[m]=N}},requiresIfExists:["offset"]}},2962:(e,t,n)=>{"use strict";n.d(t,{n4:()=>m});var i=n(4962),r=n(7658),o=n(7993),a=n(160),s=n(3129),c=n(3208),p=n(5432),d=n(1527),l=n(8034),u=n(5911),f=[r.A,o.A,a.A,s.A,c.A,p.A,d.A,l.A,u.A],m=(0,i.UD)({defaultModifiers:f})},7143:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(6411),r=n(7116),o=n(9775),a=n(6966);function s(e,t){void 0===t&&(t={});var n=t,s=n.placement,c=n.boundary,p=n.rootBoundary,d=n.padding,l=n.flipVariations,u=n.allowedAutoPlacements,f=void 0===u?r.DD:u,m=(0,i.A)(s),w=m?l?r.Ol:r.Ol.filter((function(e){return(0,i.A)(e)===m})):r.OM,h=w.filter((function(e){return f.indexOf(e)>=0}));0===h.length&&(h=w);var v=h.reduce((function(t,n){return t[n]=(0,o.A)(e,{placement:n,boundary:c,rootBoundary:p,padding:d})[(0,a.A)(n)],t}),{});return Object.keys(v).sort((function(e,t){return v[e]-v[t]}))}},5669:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(6966),r=n(6411),o=n(7529),a=n(7116);function s(e){var t,n=e.reference,s=e.element,c=e.placement,p=c?(0,i.A)(c):null,d=c?(0,r.A)(c):null,l=n.x+n.width/2-s.width/2,u=n.y+n.height/2-s.height/2;switch(p){case a.Mn:t={x:l,y:n.y-s.height};break;case a.sQ:t={x:l,y:n.y+n.height};break;case a.pG:t={x:n.x+n.width,y:u};break;case a.kb:t={x:n.x-s.width,y:u};break;default:t={x:n.x,y:n.y}}var f=p?(0,o.A)(p):null;if(null!=f){var m="y"===f?"height":"width";switch(d){case a.ni:t[f]=t[f]-(n[m]/2-s[m]/2);break;case a._N:t[f]=t[f]+(n[m]/2-s[m]/2)}}return t}},5901:(e,t,n)=>{"use strict";function i(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}n.d(t,{A:()=>i})},9775:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var i=n(8741),r=n(8994),o=n(9228),a=n(5669),s=n(5344),c=n(7116),p=n(2155),d=n(3432),l=n(7985);function u(e,t){void 0===t&&(t={});var n=t,u=n.placement,f=void 0===u?e.placement:u,m=n.boundary,w=void 0===m?c.WY:m,h=n.rootBoundary,v=void 0===h?c.R9:h,g=n.elementContext,y=void 0===g?c.xf:g,b=n.altBoundary,k=void 0!==b&&b,A=n.padding,P=void 0===A?0:A,M=(0,d.A)("number"!=typeof P?P:(0,l.A)(P,c.OM)),R=y===c.xf?c.ir:c.xf,O=e.rects.popper,W=e.elements[k?R:y],x=(0,i.A)((0,p.vq)(W)?W:W.contextElement||(0,r.A)(e.elements.popper),w,v),E=(0,o.A)(e.elements.reference),S=(0,a.A)({reference:E,element:O,strategy:"absolute",placement:f}),L=(0,s.A)(Object.assign({},O,S)),_=y===c.xf?L:E,T={top:x.top-_.top+M.top,bottom:_.bottom-x.bottom+M.bottom,left:x.left-_.left+M.left,right:_.right-x.right+M.right},C=e.modifiersData.offset;if(y===c.xf&&C){var j=C[f];Object.keys(T).forEach((function(e){var t=[c.pG,c.sQ].indexOf(e)>=0?1:-1,n=[c.Mn,c.sQ].indexOf(e)>=0?"y":"x";T[e]+=j[n]*t}))}return T}},7985:(e,t,n)=>{"use strict";function i(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}n.d(t,{A:()=>i})},1228:(e,t,n)=>{"use strict";function i(e){return"x"===e?"y":"x"}n.d(t,{A:()=>i})},6966:(e,t,n)=>{"use strict";function i(e){return e.split("-")[0]}n.d(t,{A:()=>i})},2450:(e,t,n)=>{"use strict";function i(){return{top:0,right:0,bottom:0,left:0}}n.d(t,{A:()=>i})},7529:(e,t,n)=>{"use strict";function i(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}n.d(t,{A:()=>i})},8066:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i={left:"right",right:"left",bottom:"top",top:"bottom"};function r(e){return e.replace(/left|right|bottom|top/g,(function(e){return i[e]}))}},601:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i={start:"end",end:"start"};function r(e){return e.replace(/start|end/g,(function(e){return i[e]}))}},6411:(e,t,n)=>{"use strict";function i(e){return e.split("-")[1]}n.d(t,{A:()=>i})},100:(e,t,n)=>{"use strict";n.d(t,{LI:()=>o,T9:()=>i,jk:()=>r});var i=Math.max,r=Math.min,o=Math.round},5850:(e,t,n)=>{"use strict";function i(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}n.d(t,{A:()=>i})},3432:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(2450);function r(e){return Object.assign({},(0,i.A)(),e)}},4780:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(7116);function r(e){var t=new Map,n=new Set,i=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&r(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),i}function o(e){var t=r(e);return i.GM.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}},5344:(e,t,n)=>{"use strict";function i(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}n.d(t,{A:()=>i})},3709:(e,t,n)=>{"use strict";n.d(t,{P:()=>o,u:()=>r});var i=n(100);function r(e,t,n){return(0,i.T9)(e,(0,i.jk)(t,n))}function o(e,t,n){var i=r(e,t,n);return i>n?n:i}},4558:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>X});var i=n(2962),r=n(3129),o="tippy-content",a="tippy-backdrop",s="tippy-arrow",c="tippy-svg-arrow",p={passive:!0,capture:!0},d=function(){return document.body};function l(e,t,n){if(Array.isArray(e)){var i=e[t];return null==i?Array.isArray(n)?n[t]:n:i}return e}function u(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function f(e,t){return"function"==typeof e?e.apply(void 0,t):e}function m(e,t){return 0===t?e:function(i){clearTimeout(n),n=setTimeout((function(){e(i)}),t)};var n}function w(e){return[].concat(e)}function h(e,t){-1===e.indexOf(t)&&e.push(t)}function v(e){return e.split("-")[0]}function g(e){return[].slice.call(e)}function y(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function b(){return document.createElement("div")}function k(e){return["Element","Fragment"].some((function(t){return u(e,t)}))}function A(e){return u(e,"MouseEvent")}function P(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function M(e){return k(e)?[e]:function(e){return u(e,"NodeList")}(e)?g(e):Array.isArray(e)?e:g(document.querySelectorAll(e))}function R(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function O(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function W(e){var t,n=w(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function x(e,t,n){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[i](t,n)}))}function E(e,t){for(var n=t;n;){var i;if(e.contains(n))return!0;n=null==n.getRootNode||null==(i=n.getRootNode())?void 0:i.host}return!1}var S={isTouch:!1},L=0;function _(){S.isTouch||(S.isTouch=!0,window.performance&&document.addEventListener("mousemove",T))}function T(){var e=performance.now();e-L<20&&(S.isTouch=!1,document.removeEventListener("mousemove",T)),L=e}function C(){var e=document.activeElement;if(P(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var j=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;var D={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},I=Object.assign({appendTo:d,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},D,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),q=Object.keys(I);function N(e){var t=(e.plugins||[]).reduce((function(t,n){var i,r=n.name,o=n.defaultValue;r&&(t[r]=void 0!==e[r]?e[r]:null!=(i=I[r])?i:o);return t}),{});return Object.assign({},e,t)}function H(e,t){var n=Object.assign({},t,{content:f(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(N(Object.assign({},I,{plugins:t}))):q).reduce((function(t,n){var i=(e.getAttribute("data-tippy-"+n)||"").trim();if(!i)return t;if("content"===n)t[n]=i;else try{t[n]=JSON.parse(i)}catch(r){t[n]=i}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},I.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}function B(e,t){e.innerHTML=t}function F(e){var t=b();return!0===e?t.className=s:(t.className=c,k(e)?t.appendChild(e):B(t,e)),t}function V(e,t){k(t.content)?(B(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?B(e,t.content):e.textContent=t.content)}function $(e){var t=e.firstElementChild,n=g(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(o)})),arrow:n.find((function(e){return e.classList.contains(s)||e.classList.contains(c)})),backdrop:n.find((function(e){return e.classList.contains(a)}))}}function U(e){var t=b(),n=b();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=b();function r(n,i){var r=$(t),o=r.box,a=r.content,s=r.arrow;i.theme?o.setAttribute("data-theme",i.theme):o.removeAttribute("data-theme"),"string"==typeof i.animation?o.setAttribute("data-animation",i.animation):o.removeAttribute("data-animation"),i.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?o.setAttribute("role",i.role):o.removeAttribute("role"),n.content===i.content&&n.allowHTML===i.allowHTML||V(a,e.props),i.arrow?s?n.arrow!==i.arrow&&(o.removeChild(s),o.appendChild(F(i.arrow))):o.appendChild(F(i.arrow)):s&&o.removeChild(s)}return i.className=o,i.setAttribute("data-state","hidden"),V(i,e.props),t.appendChild(n),n.appendChild(i),r(e.props,e.props),{popper:t,onUpdate:r}}U.$$tippy=!0;var z=1,G=[],Q=[];function Y(e,t){var n,r,o,a,s,c,u,k,P=H(e,Object.assign({},I,N(y(t)))),M=!1,L=!1,_=!1,T=!1,C=[],D=m(be,P.interactiveDebounce),q=z++,B=(k=P.plugins).filter((function(e,t){return k.indexOf(e)===t})),F={id:q,reference:e,popper:b(),popperInstance:null,props:P,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:B,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){0;if(F.state.isDestroyed)return;ae("onBeforeUpdate",[F,t]),ge();var n=F.props,i=H(e,Object.assign({},n,y(t),{ignoreAttributes:!0}));F.props=i,ve(),n.interactiveDebounce!==i.interactiveDebounce&&(pe(),D=m(be,i.interactiveDebounce));n.triggerTarget&&!i.triggerTarget?w(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):i.triggerTarget&&e.removeAttribute("aria-expanded");ce(),oe(),Y&&Y(n,i);F.popperInstance&&(Me(),Oe().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,n=!F.state.isEnabled,i=S.isTouch&&!F.props.touch,r=l(F.props.duration,0,I.duration);if(e||t||n||i)return;if(te().hasAttribute("disabled"))return;if(ae("onShow",[F],!1),!1===F.props.onShow(F))return;F.state.isVisible=!0,ee()&&(U.style.visibility="visible");oe(),fe(),F.state.isMounted||(U.style.transition="none");if(ee()){var o=ie();R([o.box,o.content],0)}c=function(){var e;if(F.state.isVisible&&!T){if(T=!0,U.offsetHeight,U.style.transition=F.props.moveTransition,ee()&&F.props.animation){var t=ie(),n=t.box,i=t.content;R([n,i],r),O([n,i],"visible")}se(),ce(),h(Q,F),null==(e=F.popperInstance)||e.forceUpdate(),ae("onMount",[F]),F.props.animation&&ee()&&function(e,t){we(e,t)}(r,(function(){F.state.isShown=!0,ae("onShown",[F])}))}},function(){var e,t=F.props.appendTo,n=te();e=F.props.interactive&&t===d||"parent"===t?n.parentNode:f(t,[n]);e.contains(U)||e.appendChild(U);F.state.isMounted=!0,Me(),!1}()},hide:function(){0;var e=!F.state.isVisible,t=F.state.isDestroyed,n=!F.state.isEnabled,i=l(F.props.duration,1,I.duration);if(e||t||n)return;if(ae("onHide",[F],!1),!1===F.props.onHide(F))return;F.state.isVisible=!1,F.state.isShown=!1,T=!1,M=!1,ee()&&(U.style.visibility="hidden");if(pe(),me(),oe(!0),ee()){var r=ie(),o=r.box,a=r.content;F.props.animation&&(R([o,a],i),O([o,a],"hidden"))}se(),ce(),F.props.animation?ee()&&function(e,t){we(e,(function(){!F.state.isVisible&&U.parentNode&&U.parentNode.contains(U)&&t()}))}(i,F.unmount):F.unmount()},hideWithInteractivity:function(e){0;ne().addEventListener("mousemove",D),h(G,D),D(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;Re(),Oe().forEach((function(e){e._tippy.unmount()})),U.parentNode&&U.parentNode.removeChild(U);Q=Q.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(),ge(),delete e._tippy,F.state.isDestroyed=!0,ae("onDestroy",[F])}};if(!P.render)return F;var V=P.render(F),U=V.popper,Y=V.onUpdate;U.setAttribute("data-tippy-root",""),U.id="tippy-"+F.id,F.popper=U,e._tippy=F,U._tippy=F;var K=B.map((function(e){return e.fn(F)})),X=e.hasAttribute("aria-expanded");return ve(),ce(),oe(),ae("onCreate",[F]),P.showOnCreate&&We(),U.addEventListener("mouseenter",(function(){F.props.interactive&&F.state.isVisible&&F.clearDelayTimeouts()})),U.addEventListener("mouseleave",(function(){F.props.interactive&&F.props.trigger.indexOf("mouseenter")>=0&&ne().addEventListener("mousemove",D)})),F;function J(){var e=F.props.touch;return Array.isArray(e)?e:[e,0]}function Z(){return"hold"===J()[0]}function ee(){var e;return!(null==(e=F.props.render)||!e.$$tippy)}function te(){return u||e}function ne(){var e=te().parentNode;return e?W(e):document}function ie(){return $(U)}function re(e){return F.state.isMounted&&!F.state.isVisible||S.isTouch||a&&"focus"===a.type?0:l(F.props.delay,e?0:1,I.delay)}function oe(e){void 0===e&&(e=!1),U.style.pointerEvents=F.props.interactive&&!e?"":"none",U.style.zIndex=""+F.props.zIndex}function ae(e,t,n){var i;(void 0===n&&(n=!0),K.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(i=F.props)[e].apply(i,t)}function se(){var t=F.props.aria;if(t.content){var n="aria-"+t.content,i=U.id;w(F.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(F.state.isVisible)e.setAttribute(n,t?t+" "+i:i);else{var r=t&&t.replace(i,"").trim();r?e.setAttribute(n,r):e.removeAttribute(n)}}))}}function ce(){!X&&F.props.aria.expanded&&w(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 pe(){ne().removeEventListener("mousemove",D),G=G.filter((function(e){return e!==D}))}function de(t){if(!S.isTouch||!_&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!F.props.interactive||!E(U,n)){if(w(F.props.triggerTarget||e).some((function(e){return E(e,n)}))){if(S.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(),L=!0,setTimeout((function(){L=!1})),F.state.isMounted||me())}}}function le(){_=!0}function ue(){_=!1}function fe(){var e=ne();e.addEventListener("mousedown",de,!0),e.addEventListener("touchend",de,p),e.addEventListener("touchstart",ue,p),e.addEventListener("touchmove",le,p)}function me(){var e=ne();e.removeEventListener("mousedown",de,!0),e.removeEventListener("touchend",de,p),e.removeEventListener("touchstart",ue,p),e.removeEventListener("touchmove",le,p)}function we(e,t){var n=ie().box;function i(e){e.target===n&&(x(n,"remove",i),t())}if(0===e)return t();x(n,"remove",s),x(n,"add",i),s=i}function he(t,n,i){void 0===i&&(i=!1),w(F.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,i),C.push({node:e,eventType:t,handler:n,options:i})}))}function ve(){var e;Z()&&(he("touchstart",ye,{passive:!0}),he("touchend",ke,{passive:!0})),(e=F.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(he(e,ye),e){case"mouseenter":he("mouseleave",ke);break;case"focus":he(j?"focusout":"blur",Ae);break;case"focusin":he("focusout",Ae)}}))}function ge(){C.forEach((function(e){var t=e.node,n=e.eventType,i=e.handler,r=e.options;t.removeEventListener(n,i,r)})),C=[]}function ye(e){var t,n=!1;if(F.state.isEnabled&&!Pe(e)&&!L){var i="focus"===(null==(t=a)?void 0:t.type);a=e,u=e.currentTarget,ce(),!F.state.isVisible&&A(e)&&G.forEach((function(t){return t(e)})),"click"===e.type&&(F.props.trigger.indexOf("mouseenter")<0||M)&&!1!==F.props.hideOnClick&&F.state.isVisible?n=!0:We(e),"click"===e.type&&(M=!n),n&&!i&&xe(e)}}function be(e){var t=e.target,n=te().contains(t)||U.contains(t);if("mousemove"!==e.type||!n){var i=Oe().concat(U).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,i=t.clientY;return e.every((function(e){var t=e.popperRect,r=e.popperState,o=e.props.interactiveBorder,a=v(r.placement),s=r.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,p="top"===a?s.bottom.y:0,d="right"===a?s.left.x:0,l="left"===a?s.right.x:0,u=t.top-i+c>o,f=i-t.bottom-p>o,m=t.left-n+d>o,w=n-t.right-l>o;return u||f||m||w}))})(i,e)&&(pe(),xe(e))}}function ke(e){Pe(e)||F.props.trigger.indexOf("click")>=0&&M||(F.props.interactive?F.hideWithInteractivity(e):xe(e))}function Ae(e){F.props.trigger.indexOf("focusin")<0&&e.target!==te()||F.props.interactive&&e.relatedTarget&&U.contains(e.relatedTarget)||xe(e)}function Pe(e){return!!S.isTouch&&Z()!==e.type.indexOf("touch")>=0}function Me(){Re();var t=F.props,n=t.popperOptions,r=t.placement,o=t.offset,a=t.getReferenceClientRect,s=t.moveTransition,p=ee()?$(U).arrow:null,d=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 n=ie().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={}}}},u=[{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:!s}},l];ee()&&p&&u.push({name:"arrow",options:{element:p,padding:3}}),u.push.apply(u,(null==n?void 0:n.modifiers)||[]),F.popperInstance=(0,i.n4)(d,U,Object.assign({},n,{placement:r,onFirstUpdate:c,modifiers:u}))}function Re(){F.popperInstance&&(F.popperInstance.destroy(),F.popperInstance=null)}function Oe(){return g(U.querySelectorAll("[data-tippy-root]"))}function We(e){F.clearDelayTimeouts(),e&&ae("onTrigger",[F,e]),fe();var t=re(!0),i=J(),r=i[0],o=i[1];S.isTouch&&"hold"===r&&o&&(t=o),t?n=setTimeout((function(){F.show()}),t):F.show()}function xe(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&&M)){var t=re(!1);t?r=setTimeout((function(){F.state.isVisible&&F.hide()}),t):o=requestAnimationFrame((function(){F.hide()}))}}else me()}}function K(e,t){void 0===t&&(t={});var n=I.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",_,p),window.addEventListener("blur",C);var i=Object.assign({},t,{plugins:n}),r=M(e).reduce((function(e,t){var n=t&&Y(t,i);return n&&e.push(n),e}),[]);return k(e)?r[0]:r}K.defaultProps=I,K.setDefaultProps=function(e){Object.keys(e).forEach((function(t){I[t]=e[t]}))},K.currentInput=S;Object.assign({},r.A,{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)}});K.setDefaultProps({render:U});const X=K},5266:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var i=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{c(i.next(e))}catch(t){o(t)}}function s(e){try{c(i.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))};function r(e){let t=0,n=0,i=e;do{t+=i.offsetTop||0,n+=i.offsetLeft||0,i=i.offsetParent}while(i);return{top:t,left:n}}class o{constructor(e){this.element=e}getHorizontalScroll(){return this.element.scrollLeft}getVerticalScroll(){return this.element.scrollTop}getMaxHorizontalScroll(){return this.element.scrollWidth-this.element.clientWidth}getMaxVerticalScroll(){return this.element.scrollHeight-this.element.clientHeight}getHorizontalElementScrollOffset(e,t){return r(e).left-r(t).left}getVerticalElementScrollOffset(e,t){return r(e).top-r(t).top}scrollTo(e,t){this.element.scrollLeft=e,this.element.scrollTop=t}}class a{constructor(){this.element=window}getHorizontalScroll(){return window.scrollX||document.documentElement.scrollLeft}getVerticalScroll(){return window.scrollY||document.documentElement.scrollTop}getMaxHorizontalScroll(){return Math.max(document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth,document.body.clientWidth,document.documentElement.clientWidth)-window.innerWidth}getMaxVerticalScroll(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)-window.innerHeight}getHorizontalElementScrollOffset(e){return(window.scrollX||document.documentElement.scrollLeft)+e.getBoundingClientRect().left}getVerticalElementScrollOffset(e){return(window.scrollY||document.documentElement.scrollTop)+e.getBoundingClientRect().top}scrollTo(e,t){window.scrollTo(e,t)}}const s={elements:[],cancelMethods:[],add:(e,t)=>{s.elements.push(e),s.cancelMethods.push(t)},remove:(e,t)=>{const n=s.elements.indexOf(e);n>-1&&(t&&s.cancelMethods[n](),s.elements.splice(n,1),s.cancelMethods.splice(n,1))}},c="undefined"!=typeof window,p={cancelOnUserAction:!0,easing:e=>--e*e*e+1,elementToScroll:c?window:null,horizontalOffset:0,maxDuration:3e3,minDuration:250,speed:500,verticalOffset:0};const d=function(e,t={}){return i(this,void 0,void 0,(function*(){if(!c)return new Promise((e=>{e(!1)}));if(!window.Promise)throw"Browser doesn't support Promises, and animated-scroll-to depends on it, please provide a polyfill.";let n,i,r,d=Object.assign(Object.assign({},p),t);const l=d.elementToScroll===window,u=!!d.elementToScroll.nodeName;if(!l&&!u)throw"Element to scroll needs to be either window or DOM element.";const f=l?document.documentElement:d.elementToScroll;"smooth"===getComputedStyle(f).getPropertyValue("scroll-behavior")&&console.warn(`${f.tagName} has "scroll-behavior: smooth" which can mess up with animated-scroll-to's animations`);const m=l?new a:new o(d.elementToScroll);if(e instanceof Element){if(r=e,u&&(!d.elementToScroll.contains(r)||d.elementToScroll.isSameNode(r)))throw"options.elementToScroll has to be a parent of scrollToElement";n=m.getHorizontalElementScrollOffset(r,d.elementToScroll),i=m.getVerticalElementScrollOffset(r,d.elementToScroll)}else if("number"==typeof e)n=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)";n=null===e[0]?m.getHorizontalScroll():e[0],i=null===e[1]?m.getVerticalScroll():e[1]}n+=d.horizontalOffset,i+=d.verticalOffset;const w=m.getMaxHorizontalScroll(),h=m.getHorizontalScroll();n>w&&(n=w);const v=n-h,g=m.getMaxVerticalScroll(),y=m.getVerticalScroll();i>g&&(i=g);const b=i-y,k=Math.abs(Math.round(v/1e3*d.speed)),A=Math.abs(Math.round(b/1e3*d.speed));let P=k>A?k:A;return Pd.maxDuration&&(P=d.maxDuration),new Promise(((e,t)=>{let r;0===v&&0===b&&e(!0),s.remove(m.element,!0);const o=()=>{l(),cancelAnimationFrame(r),e(!1)};s.add(m.element,o);const a=d.cancelOnUserAction?o:e=>e.preventDefault(),c=d.cancelOnUserAction?{passive:!0}:{passive:!1},p=["wheel","touchstart","keydown","mousedown"],l=()=>{p.forEach((e=>{m.element.removeEventListener(e,a,c)}))};p.forEach((e=>{m.element.addEventListener(e,a,c)}));const u=Date.now(),f=()=>{var t=Date.now()-u,o=t/P;const a=Math.round(h+v*d.easing(o)),c=Math.round(y+b*d.easing(o));t{if(!n){var a=1/0;for(d=0;d=o)&&Object.keys(i.O).every((e=>i.O[e](n[c])))?n.splice(c--,1):(s=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[n,r,o]},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={137:0,313:0};i.O.j=t=>0===e[t];var t=(t,n)=>{var r,o,[a,s,c]=n,p=0;if(a.some((t=>0!==e[t]))){for(r in s)i.o(s,r)&&(i.m[r]=s[r]);if(c)var d=c(i)}for(t&&t(n);p{"use strict";i.r(r);i(4853);window.WPRecipeMaker=void 0===window.WPRecipeMaker?{}:window.WPRecipeMaker})(),r=i.O(r),(WPRecipeMaker=void 0===WPRecipeMaker?{}:WPRecipeMaker)["wp-recipe-maker/dist/public-modern"]=r})();