1var WPRecipeMaker;(()=>{var t,n,s,o,i,a,r={3524:()=>{var e;function t(){let e=(t="wprm_analytics_visitor",(n=document.cookie.match("(^|;)\\s*"+t+"\\s*=\\s*([^;]+)"))?n.pop():"");var t,n;return e||(e=function(){if(window.crypto&&window.crypto.getRandomValues){const e=new Uint32Array(2);return window.crypto.getRandomValues(e),Date.now().toString(36)+e[0].toString(36)+e[1].toString(36)}return Date.now().toString(36)+Math.random().toString(36).substring(2,12)}(),function(e,t){let n=e+"="+encodeURIComponent(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/; SameSite=Lax";"https:"===window.location.protocol&&(n+="; Secure"),document.cookie=n}("wprm_analytics_visitor",e)),e}window.WPRecipeMaker=0[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){const t=!!e.target.closest&&e.target.closest(".wprm-recipe-jump, .wprm-recipe-jump-video, .wprm-recipe-pin, .wprm-recipe-facebook-share, .wprm-recipe-messenger-share, .wprm-recipe-twitter-share, .wprm-recipe-bluesky-share, .wprm-recipe-mastodon-share, .wprm-recipe-tumblr-share, .wprm-recipe-text-share, .wprm-recipe-whatsapp-share, .wprm-recipe-email-share, .wprm-recipe-favorite, .wprm-recipe-add-to-collection-recipe, .wprm-recipe-add-to-shopping-list, .wprm-recipe-cook-mode, .wprm-recipe-equipment a, .wprm-recipe-ingredient a, .wprm-recipe-instruction a");t&&window.WPRecipeMaker.analytics.checkClick(t,e)},!1)},checkClick:(e)=>{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-mastodon-share")){const t=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return t&&window.WPRecipeMaker.analytics.registerAction(t,wprm_public.post_id,"mastodon-share-button"),!0}if(e.matches(".wprm-recipe-tumblr-share")){const t=!!e.dataset.hasOwnProperty("recipe")&&e.dataset.recipe;return t&&window.WPRecipeMaker.analytics.registerAction(t,wprm_public.post_id,"tumblr-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-favorite")){const t=!!e.dataset.hasOwnProperty("recipeId")&&e.dataset.recipeId;return t&&window.WPRecipeMaker.analytics.registerAction(t,wprm_public.post_id,"favorite-button",{action:e.classList.contains("wprm-recipe-favorite-active")?"remove":"add"}),!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}
1if(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-cook-mode")){const t=!!e.dataset.hasOwnProperty("recipeId")&&e.dataset.recipeId;return t&&window.WPRecipeMaker.analytics.registerAction(t,wprm_public.post_id,"cook-mode-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",s=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:s?s.innerText:"unknown"})}return!0}if(e.matches(".wprm-recipe-ingredient a")){const n=e.closest(".wprm-recipe-ingredients-container");let t=!1;const s=e.closest(".wprm-recipe-ingredient");if(s&&(t=s.querySelector(".wprm-recipe-ingredient-name")),n){const s=n.dataset.recipe;s&&window.WPRecipeMaker.analytics.registerAction(s,wprm_public.post_id,"ingredient-link",{url:e.href,name:t?t.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,s={})=>{window.WPRecipeMaker.analytics.registerActionLocal(e,t,n,s),window.WPRecipeMaker.analytics.registerActionGoogleAnalytics(e,t,n,s)},registerActionOnce:(e,t,n,s={})=>{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,s))},registerActionLocal:(e,n,s,o={})=>{if(wprm_public.settings.analytics_enabled){if("comment-rating"===s||"user-rating"===s)return;let i={Accept:"application/json","Content-Type":"application/json"};0<parseInt(wprm_public.user)&&(i["X-WP-Nonce"]=wprm_public.api_nonce),fetch(wprm_public.endpoints.analytics,{method:"POST",headers:i,credentials:"same-origin",body:JSON.stringify({recipeId:e,postId:n,type:s,meta:o,uid:t(),nonce:wprm_public.nonce})})}},registerActionGoogleAnalytics:(e,t,n,s={})=>{if(wprm_public.settings.google_analytics_enabled&&window.hasOwnProperty("gtag")){const r="wprm_"+n.replace(/-/g,"_"),a=n.replace(/-/g," ");let o={event_category:"wprecipemaker",event_label:"WPRM "+a.charAt(0).toUpperCase()+a.slice(1),wprm_recipe_id:""+e,wprm_post_id:""+t};const i=window.WPRecipeMaker.manager.getRecipeImmediately(e);i&&(i.data.hasOwnProperty("name")&&(o.wprm_recipe_name=i.data.name),i.data.hasOwnProperty("slug")&&(o.wprm_recipe_slug=i.data.slug)),"comment-rating"!==n&&"user-rating"!==n||!s.hasOwnProperty("rating")||(o.value=s.rating,delete s.rating),s&&"object"==typeof s&&Object.keys(s).forEach(e=>{""!==s[e]&&null!==s[e]&&0[0]!==s[e]&&(o[`wprm_event_${e}`]=""+s[e])}),window.gtag("event",r,o)}},registeredActions:{}},e=()=>{window.WPRecipeMaker.analytics.init()},"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)},8455:()=>{var e;window.WPRecipeMaker=0[0]===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.manager={init:()=>{},recipes:{},findRecipesOnPage:()=>{let e=[];const t=document.querySelectorAll("*[data-recipe-id]");for(let s of t){const n=parseInt(s.dataset.recipeId);n&&e.push(n)}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)=>{new Promise((n)=>{const o=t||e;window.hasOwnProperty("wprm_recipes")&&window.wprm_recipes.hasOwnProperty(`recipe-${o}`)?n(window.wprm_recipes[`recipe-${o}`]):window.WPRecipeMaker.manager.loadRecipeDataFromAPI(o).then(e=>{n(e)})}).then(t=>{let s=!1;t&&(s=window.WPRecipeMaker.manager.loadRecipeObject(e,t)),window.WPRecipeMaker.manager.recipes[`recipe-${e}`]=s,n(s)})}
1),loadRecipeDataFromAPI:e=>{let t={Accept:"application/json","Content-Type":"application/json"};return 0<parseInt(wprm_public.user)&&(t["X-WP-Nonce"]=wprm_public.api_nonce),new Promise((n)=>{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)},3579:()=>{var e;window.WPRecipeMaker=0[0]===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.print={hasAccess:()=>{if(wprm_public.settings.hasOwnProperty("print_access_allowed"))return!!wprm_public.settings.print_access_allowed;const e=wprm_public.settings.hasOwnProperty("print_access")?wprm_public.settings.print_access:"everyone";return"disabled"!==e&&!("logged_in"===e&&0>=parseInt(wprm_public.user))},init:()=>{document.addEventListener("click",function(e){const t=!!e.target.closest&&e.target.closest(".wprm-recipe-print, .wprm-print-recipe-shortcode");t&&WPRecipeMaker.print.onClick(t,e)},!1)},onClick:(e,t)=>{if(!WPRecipeMaker.print.hasAccess())return void t.preventDefault();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("printIdentifier")?e.dataset.printIdentifier:n,a=e.dataset.hasOwnProperty("template")?e.dataset.template:"";let o="other";const s=e.closest(".wprm-recipe");s&&(o=s.classList.contains("wprm-recipe-snippet")?"snippet":s.classList.contains("wprm-recipe-roundup-item")?"roundup":"recipe"),window.WPRecipeMaker.analytics.registerAction(n,wprm_public.post_id,"print",{location:o}),WPRecipeMaker.print.recipeAsIs(n,a,i)}},recipeAsIs:(e,t="",n=!1)=>{let s=!1,o=1,i=!1;window.WPRecipeMaker.manager.getRecipe(e).then(a=>{a&&(a.data.hasOwnProperty("currentSystem")&&(o=a.data.currentSystem),a.data.currentServingsParsed!==a.data.originalServingsParsed&&(s=a.data.currentServingsParsed),i=a.data.currentAdvancedServings),WPRecipeMaker.print.recipe(e,s,o,i,t,n)})},recipe:(e,t=!1,n=1,s=!1,o="",i=!1)=>{let r=i||e;o&&(r+=`/${o}`);const c=WPRecipeMaker.print.getUrl(r);if(!c)return;const l=wprm_public.settings.print_new_tab?"_blank":"_self",d={id:e,system:n,servings:t,advancedServings:s};localStorage.setItem("wprmPrintArgs",JSON.stringify(d));const a=window.open(c,l);"_blank"===l&&(a.onload=()=>{a.focus(),a.hasOwnProperty("WPRMPrint")&&a.WPRMPrint.setArgs(d)})},getUrl:e=>{if(!WPRecipeMaker.print.hasAccess())return!1;const n=wprm_public.home_url.split(/\?(.+)/);let t=n[0];return t.endsWith("/")||(t+="/"),wprm_public.permalinks?(t+=wprm_public.print_slug+"/"+e,n[1]&&(t+="?"+n[1])):(t+="?"+wprm_public.print_slug+"="+e,n[1]&&(t+="&"+n[1])),t}},e=()=>{window.WPRecipeMaker.print.init()},"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)},6563:(e,t,n)=>{const s=window.wprm_public&&window.wprm_public.assets_url;s&&(n.p=s)},1104:()=>{window.WPRecipeMaker=0[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("jumpToSection")&&window.WPRecipeMaker.jumpToSection.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()},9002:()=>{window.WPRecipeMaker=0[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})}},942:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});let s={};function o(e){return s.hasOwnProperty(e)?s[e]:e}window.hasOwnProperty("wprmp_public_feature_translations")&&(s={...s,...window.wprmp_public_feature_translations}),window.hasOwnProperty("wprm_public")&&wprm_public.hasOwnProperty("translations")&&(s={...s,...wprm_public.translations}),window.hasOwnProperty("wprm_admin")&&wprm_admin.hasOwnProperty("translations")&&(s={...s,...wprm_admin.translations})},4181:(e,t,n)=>{"use strict";function c(e){if(e==null)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function O(e){return e instanceof c(e).Element||e instanceof Element}function a(e){return e instanceof c(e).HTMLElement||e instanceof HTMLElement}function te(e){return"undefined"!=typeof ShadowRoot&&(e instanceof c(e).ShadowRoot||e instanceof ShadowRoot)}n.d(t,{Ay:()=>rt,DX:()=>oe});var g=Math.max,P=Math.min,_=Math.round;function y(e,t){0[0]===t&&(t=!1);var i,r,n=e.getBoundingClientRect(),s=1,o=1;return a(e)&&t&&(i=e.offsetHeight,r=e.offsetWidth,r>0&&(s=_(n.width)/r||1),i>0&&(o=_(n.height)/i||1)),{width:n.width/s,height:n.height/o,top:n.top/o,right:n.right/s,bottom:n.bottom/o,left:n.left/s,x:n.left/s,y:n.top/o}}function I(e){var t=c(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function h(e){return e?(e.nodeName||"").toLowerCase():null}function f(e){return((O(e)?e.ownerDocument:e.document)||window.document).documentElement}function q(e){return y(f(e)).left+I(e).scrollLeft}function m(e){return c(e).getComputedStyle(e)}function H(e){var t=m(e),n=t.overflow,s=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function it(e,t,n){0[0]===n&&(n=!1);var s,d,u=a(t),m=a(t)&&function(e){var t=e.getBoundingClientRect(),n=_(t.width)/e.offsetWidth||1,s=_(t.height)/e.offsetHeight||1;return 1!==n||1!==s}(t),r=f(t),i=y(e,m),l={scrollLeft:0,scrollTop:0},o={x:0,y:0};return(u||!u&&!n)&&(("body"!==h(t)||H(r))&&(l=(s=t)!==c(s)&&a(s)?{scrollLeft:(d=s).scrollLeft,scrollTop:d.scrollTop}:I(s)),a(t)?((o=y(t,!0)).x+=t.clientLeft,o.y+=t.clientTop):r&&(o.x=q(r))),{x:i.left+l.scrollLeft-o.x,y:i.top+l.scrollTop-o.y,width:i.width,height:i.height}}function Z(e){var t=y(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function N(e){return"html"===h(e)?e:e.assignedSlot||e.parentNode||(te(e)?e.host:null)||f(e)}function le(e){return["html","body","#document"].indexOf(h(e))>=0?e.ownerDocument.body:a(e)&&H(e)?e:le(N(e))}function A(e,t){0[0]===t&&(t=[]);var s,n=le(e),o=n===(null==(s=e.ownerDocument)?0[0]:s.body),i=c(n),a=o?[i].concat(i.visualVie
1wport||[],H(n)?n:[]):n,r=t.concat(a);return o?r:r.concat(A(N(a)))}function nt(e){return["table","td","th"].indexOf(h(e))>=0}function me(e){return a(e)&&"fixed"!==m(e).position?e.offsetParent:null}function S(e){for(var n=c(e),t=me(e);t&&nt(t)&&"static"===m(t).position;)t=me(t);return t&&("html"===h(t)||"body"===h(t)&&"static"===m(t).position)?n:t||function(e){var t,n,s=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&a(e)&&"fixed"===m(e).position)return null;t=N(e);for(te(t)&&(t=t.host);a(t)&&["html","body"].indexOf(h(t))<0;){if(n=m(t),"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||s&&"filter"===n.willChange||s&&n.filter&&"none"!==n.filter)return t;t=t.parentNode}return null}(e)||n}var F,B,ke,be,ce,d,J,oe,o="top",i="bottom",r="right",s="left",K="auto",x=[o,i,r,s],w="start",T="end",Te="viewport",z="popper",Re=x.reduce(function(e,t){return e.concat([t+"-"+w,t+"-"+T])},[]),_e=[].concat(x,[K]).reduce(function(e,t){return e.concat([t,t+"-"+w,t+"-"+T])},[]),Ve=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ke(e){var n=new Map,t=new Set,s=[];function o(e){t.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!t.has(e)){var s=n.get(e);s&&o(s)}}),s.push(e)}return e.forEach(function(e){n.set(e.name,e)}),e.forEach(function(e){t.has(e.name)||o(e)}),s}B={placement:"bottom",modifiers:[],strategy:"absolute"};function De(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some(function(e){return!e||"function"!=typeof e.getBoundingClientRect})}function Ie(e){0[0]===e&&(e={});var n=e,s=n.defaultModifiers,i=0[0]===s?[]:s,o=n.defaultOptions,t=0[0]===o?B:o;return function(e,n,s){0[0]===s&&(s=t);var r,d,o={placement:"bottom",orderedModifiers:[],options:Object.assign({},B,t),modifiersData:{},elements:{reference:e,popper:n},attributes:{},styles:{}},c=[],l=!1,a={state:o,setOptions:function(s){var r,l="function"==typeof s?s(o.options):s;return u(),o.options=Object.assign({},t,o.options,l),o.scrollParents={reference:O(e)?A(e):e.contextElement?A(e.contextElement):[],popper:A(n)},r=function(e){var t=Ke(e);return Ve.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}(function(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]})}([].concat(i,o.options.modifiers))),o.orderedModifiers=r.filter(function(e){return e.enabled}),o.orderedModifiers.forEach(function(e){var s,i,r=e.name,t=e.options,l=0[0]===t?{}:t,n=e.effect;"function"==typeof n&&(s=n({state:o,name:r,instance:a,options:l}),i=function(){},c.push(s||i))}),a.update()},forceUpdate:function(){if(!l){var s=o.elements,i=s.reference,t=s.popper;if(De(i,t)){o.rects={reference:it(i,S(t),"fixed"===o.options.strategy),popper:Z(t)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(e){return o.modifiersData[e.name]=Object.assign({},e.data)});for(e=0;e<o.orderedModifiers.length;e++)if(!0!==o.reset){var e,n=o.orderedModifiers[e],r=n.fn,c=n.options,d=0[0]===c?{}:c,u=n.name;"function"==typeof r&&(o=r({state:o,options:d,name:u,instance:a})||o)}else o.reset=!1,e=-1}}},update:(d=function(){return new Promise(function(e){a.forceUpdate(),e(o)})},function(){return r||(r=new Promise(function(e){Promise.resolve().then(function(){r=0[0],e(d())})})),r}),destroy:function(){u(),l=!0}};if(!De(e,n))return a;function u(){c.forEach(function(e){return e()}),c=[]}return a.setOptions(s).then(function(e){!l&&s.onFirstUpdate&&s.onFirstUpdate(e)}),a}}F={passive:!0};function u(e){return e.split("-")[0]}function b(e){return e.split("-")[1]}function U(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Se(e){var n,a,l,t=e.reference,c=e.element,d=e.placement,h=d?u(d):null,p=d?b(d):null,m=t.x+t.width/2-c.width/2,f=t.y+t.height/2-c.height/2;switch(h){case o:n={x:m,y:t.y-c.height};break;case i:n={x:m,y:t.y+t.height};break;case r:n={x:t.x+t.width,y:f};break;case s:n={x:t.x-c.width,y:f};break;default:n={x:t.x,y:t.y}}
1if(a=h?U(h):null,a!=null)switch(l="y"===a?"height":"width",p){case w:n[a]=n[a]-(t[l]/2-c[l]/2);break;case T:n[a]=n[a]+(t[l]/2-c[l]/2)}return n}ke={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xe(e){var u,p,b,j,y=e.popper,F=e.popperRect,d=e.placement,M=e.variation,h=e.offsets,k=e.position,O=e.gpuAcceleration,N=e.adaptive,v=e.roundOffsets,R=e.isFixed,L=h.x,t=0[0]===L?0:L,A=h.y,n=0[0]===A?0:A,E="function"==typeof v?v({x:t,y:n}):{x:t,y:n},t=E.x,n=E.y,C=h.hasOwnProperty("x"),x=h.hasOwnProperty("y"),g=s,w=o,a=window;if(N){var l=S(y),z="clientHeight",D="clientWidth";(l===c(y)&&"static"!==m(l=f(y)).position&&"absolute"===k&&(z="scrollHeight",D="scrollWidth"),d===o||(d===s||d===r)&&M===T)&&(w=i,n-=(R&&l===a&&a.visualViewport?a.visualViewport.height:l[z])-F.height,n*=O?1:-1),(d===s||(d===o||d===i)&&M===T)&&(g=r,t-=(R&&l===a&&a.visualViewport?a.visualViewport.width:l[D])-F.width,t*=O?1:-1)}return j=Object.assign({position:k},N&&ke),b=!0===v?function(e){var n=e.x,s=e.y,t=window.devicePixelRatio||1;return{x:_(n*t)/t||0,y:_(s*t)/t||0}}({x:t,y:n}):{x:t,y:n},t=b.x,n=b.y,O?Object.assign({},j,((u={})[w]=x?"0":"",u[g]=C?"0":"",u.transform=(a.devicePixelRatio||1)<=1?"translate("+t+"px, "+n+"px)":"translate3d("+t+"px, "+n+"px, 0)",u)):Object.assign({},j,((p={})[w]=x?n+"px":"",p[g]=C?t+"px":"",p.transform="",p))}const se={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var o=t.styles[e]||{},s=t.attributes[e]||{},n=t.elements[e];a(n)&&h(n)&&(Object.assign(n.style,o),Object.keys(s).forEach(function(e){var t=s[e];!1===t?n.removeAttribute(e):n.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 s=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},{});a(s)&&h(s)&&(Object.assign(s.style,i),Object.keys(o).forEach(function(e){s.removeAttribute(e)}))})}},requires:["computeStyles"]},Qe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,c=e.options,l=e.name,n=c.offset,d=0[0]===n?[0,0]:n,i=_e.reduce(function(e,n){return e[n]=function(e,t,n){var c=u(e),d=[s,o].indexOf(c)>=0?-1:1,l="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=l[0],a=l[1];return i=i||0,a=(a||0)*d,[s,r].indexOf(c)>=0?{x:a,y:i}:{x:i,y:a}}(n,t.rects,d),e},{}),a=i[t.placement],h=a.x,m=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=h,t.modifiersData.popperOffsets.y+=m),t.modifiersData[l]=i}};be={left:"right",right:"left",bottom:"top",top:"bottom"};function R(e){return e.replace(/left|right|bottom|top/g,function(e){return be[e]})}ce={start:"end",end:"start"};function re(e){return e.replace(/start|end/g,function(e){return ce[e]})}function ae(e,t){var n,s=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(s&&te(s)){n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function $(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Me(e,t){return t===Te?$(function(e){var r=c(e),n=f(e),t=r.visualViewport,s=n.clientWidth,o=n.clientHeight,i=0,a=0;return t&&(s=t.width,o=t.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=t.offsetLeft,a=t.offsetTop)),{width:s,height:o,x:i+q(e),y:a}}(e)):O(t)?function(e){var t=y(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):$(function(e){var s,n=f(e),o=I(e),t=null==(s=e.ownerDocument)?0[0]:s.body,i=g(n.scrollWidth,n.clientWidth,t?t.scrollWidth:0,t?t.clientWidth:0),r=g(n.scrollHeight,n.clientHeight,t?t.scrollHeight:0,t?t.clientHeight:0),a=-o.scrollLeft+q(e),c=-o.scrollTop;return"rtl"===m(t||n).direction&&(a+=g(n.clientWidth,t?t.clientWidth:0)-i),{width:i,height:r,x:a,y:c}}(f(e)))}function at(e,t,n){var i="clippingParents"===t?function(e){var n=A(N(e)),t=["absolute","fixed"].indexOf(m(e).position)>=0&&a(e)?S(e):e;return O(t)?n.filter(function(e){return O(e)&&ae(e,t)&&"body"!==h(e)}):[]}
1(e):[].concat(t),o=[].concat(i,[n]),r=o[0],s=o.reduce(function(t,n){var s=Me(e,n);return t.top=g(s.top,t.top),t.right=P(s.right,t.right),t.bottom=P(s.bottom,t.bottom),t.left=g(s.left,t.left),t},Me(e,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ie(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ne(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function E(e,t){0[0]===t&&(t={});var g,n=t,E=n.placement,p=0[0]===E?e.placement:E,k=n.boundary,F=0[0]===k?"clippingParents":k,C=n.rootBoundary,A=0[0]===C?Te:C,b=n.elementContext,s=0[0]===b?z:b,j=n.altBoundary,D=0[0]!==j&&j,v=n.padding,h=0[0]===v?0:v,l=ie("number"!=typeof h?h:ne(h,x)),T=s===z?"reference":z,w=e.rects.popper,u=e.elements[D?T:s],c=at(O(u)?u:u.contextElement||f(e.elements.popper),F,A),m=y(e.elements.reference),M=Se({reference:m,element:w,strategy:"absolute",placement:p}),S=$(Object.assign({},w,M)),a=s===z?S:m,d={top:c.top-a.top+l.top,bottom:a.bottom-c.bottom+l.bottom,left:c.left-a.left+l.left,right:a.right-c.right+l.right},_=e.modifiersData.offset;return s===z&&_&&(g=_[p],Object.keys(d).forEach(function(e){var t=[r,i].indexOf(e)>=0?1:-1,n=[o,i].indexOf(e)>=0?"y":"x";d[e]+=g[n]*t})),d}function k(e,t,n){return g(e,P(t,n))}const st={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,c=e.options,je=e.name,ee=c.mainAxis,pe=0[0]===ee||ee,re=c.altAxis,ce=0[0]!==re&&re,ye=c.boundary,_e=c.rootBoundary,we=c.altBoundary,Oe=c.padding,H=c.tether,h=0[0]===H||H,R=c.tetherOffset,F=0[0]===R?0:R,x=E(t,{boundary:ye,rootBoundary:_e,padding:Oe,altBoundary:we}),L=u(t.placement),M=b(t.placement),oe=!M,n=U(L),v="x"===n?"y":"x",j=t.modifiersData.popperOffsets,d=t.rects.reference,p=t.rects.popper,C="function"==typeof F?F(Object.assign({},t.rects,{placement:t.placement})):F,f="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(j){if(pe){var B,D="y"===n?o:s,$="y"===n?i:r,a="y"===n?"height":"width",m=j[n],q=m+x[D],Y=m-x[$],N=h?-p[a]/2:0,be=M===w?d[a]:p[a],ve=M===w?-p[a]:-d[a],J=t.elements.arrow,ge=h&&J?Z(J):{width:0,height:0},te=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ne=te[D],se=te[$],y=k(0,d[a],ge[a]),he=oe?d[a]/2-N-y-ne-f.mainAxis:be-y-ne-f.mainAxis,ue=oe?-d[a]/2+N+y+se+f.mainAxis:ve+y+se+f.mainAxis,A=t.elements.arrow&&S(t.elements.arrow),le=A?"y"===n?A.clientTop||0:A.clientLeft||0:0,G=null!=(B=O?.[n])?B:0,de=m+ue-G,ae=k(h?P(q,m+he-G-le):q,m,h?g(Y,de):Y);j[n]=ae,T[n]=ae-m}if(ce){var ie,me="x"===n?o:s,fe="x"===n?i:r,l=j[v],_="y"===v?"height":"width",Q=l+x[me],X=l-x[fe],z=-1!==[o,s].indexOf(L),K=null!=(ie=O?.[v])?ie:0,W=z?Q:l-d[_]-p[_]-K+f.altAxis,V=z?l+d[_]+p[_]-K-f.altAxis:X,I=h&&z?function(e,t,n){var s=k(e,t,n);return s>n?n:s}(W,l,V):k(h?W:Q,l,h?V:X);j[v]=I,T[v]=I-l}t.modifiersData[je]=T}},requiresIfExists:["offset"]},et={name:"arrow",enabled:!0,phase:"main",fn:function(e){var l,t=e.state,j=e.name,M=e.options,h=t.elements.arrow,d=t.modifiersData.popperOffsets,m=u(t.placement),n=U(m),a=[s,r].indexOf(m)>=0?"height":"width";if(h&&d){var p=function(e,t){return ie("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ne(e,x))}(M.padding,t),g=Z(h),A="y"===n?o:s,w="y"===n?i:r,_=t.rects.reference[a]+t.rects.reference[n]-d[n]-t.rects.popper[a],y=d[n]-t.rects.reference[n],c=S(h),b=c?"y"===n?c.clientHeight||0:c.clientWidth||0:0,O=_/2-y/2,C=p[A],E=b-g[a]-p[w],v=b/2-g[a]/2+O,f=k(C,v,E),F=n;t.modifiersData[j]=((l={})[F]=f,l.centerOffset=f-v,l)}},effect:function(e){var n=e.state,s=e.options.element,t=0[0]===s?"[data-popper-arrow]":s;t!=null&&("string"!=typeof t||(t=n.elements.popper.querySelector(t)))&&ae(n.elements.popper,t)&&(n.elements.arrow=t)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ue(e,t,n){return 0[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 he(e){return[o,r,i,s].some(function(t){return e[t]>=0})}var Je=Ie({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var n=e.state,t=e.instance,s=e.options,o=s.scroll,i=0[0]===o||o,a=s.resize,r=0[0]===a||a,l=c(n.elements.popper),d=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&d.forEach(function(e){e.addEventListener("scroll",t.update,F)}),r&&l.addEventListener("resize",t.update,F),function(){i&&d.forEach(function(e){e.removeEventListener("scroll",t.update,F)}),r&&l.removeEventListener("resize",t.update,F)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Se({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,s=n.gpuAcceleration,c=0[0]===s||s,o=n.adaptive,l=0[0]===o||o,i=n.roundOffsets,a=0[0]===i||i,r={placement:u(t.placement),variation:b(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:c,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,xe(Object.assign({},r,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,xe(Object.assign({},r,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},se,Qe,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,_=e.name;if(!t.modifiersData[_]._skip){for(var a,d,O,k,C=n.mainAxis,V=0[0]===C||C,S=n.altAxis,P=0[0]===S||S,H=n.fallbackPlacements,y=n.padding,j=n.boundary,A=n.rootBoundary,U=n.altBoundary,z=n.flipVariations,p=0[0]===z||z,q=n.allowedAutoPlacements,l=t.options.placement,W=u(l),$=H||(W===l||!p?[R(l)]:function(e){if(u(e)===K)return[];var t=R(e);return[re(e),t,re(t)]}(l)),f=[l].concat($).reduce(function(e,n){return e.concat(u(n)===K?function(e,t){0[0]===t&&(t={});var s,n=t,c=n.placement,l=n.boundary,d=n.rootBoundary,h=n.padding,m=n.flipVariations,i=n.allowedAutoPlacements,f=0[0]===i?_e:i,a=b(c),r=a?m?Re:Re.filter(function(e){return b(e)===a}):x,o=r.filter(function(e){return f.indexOf(e)>=0});return 0===o.length&&(o=r),s=o.reduce(function(t,n){return t[n]=E(e,{placement:n,boundary:l,rootBoundary:d,padding:h})[u(n)],t},{}
1),Object.keys(s).sort(function(e,t){return s[e]-s[t]})}(t,{placement:n,boundary:j,rootBoundary:A,padding:y,flipVariations:p,allowedAutoPlacements:q}):n)},[]),B=t.rects.reference,I=t.rects.popper,F=new Map,T=!0,m=f[0],v=0;v<f.length;v++){var c=f[v],L=u(c),N=b(c)===w,D=[o,i].indexOf(L)>=0,M=D?"width":"height",g=E(t,{placement:c,boundary:j,rootBoundary:A,altBoundary:U,padding:y}),h=D?N?r:s:N?i:o;if(B[M]>I[M]&&(h=R(h)),k=R(h),a=[],V&&a.push(g[L]<=0),P&&a.push(g[h]<=0,g[k]<=0),a.every(function(e){return e})){m=c,T=!1;break}F.set(c,a)}if(T)for(O=function(e){var t=f.find(function(t){var n=F.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return m=t,"break"},d=p?3:1;d>0;d--)if("break"===O(d))break;t.placement!==m&&(t.modifiersData[_]._skip=!0,t.placement=m,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},st,et,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,a=e.name,r=t.rects.reference,c=t.rects.popper,l=t.modifiersData.preventOverflow,d=E(t,{elementContext:"reference"}),u=E(t,{altBoundary:!0}),n=ue(d,r),s=ue(u,c,l),o=he(n),i=he(s);t.modifiersData[a]={referenceClippingOffsets:n,popperEscapeOffsets:s,isReferenceHidden:o,hasPopperEscaped:i},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":o,"data-popper-escaped":i})}}]}),fe="tippy-content",Ze="tippy-backdrop",ge="tippy-arrow",ve="tippy-svg-arrow",p={passive:!0,capture:!0},je=function(){return document.body};function X(e,t,n){if(Array.isArray(e)){var s=e[t];return s??(Array.isArray(n)?n[t]:n)}return e}function G(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function we(e,t){return"function"==typeof e?e.apply(0[0],t):e}function Oe(e,t){return 0===t?e:function(s){clearTimeout(n),n=setTimeout(function(){e(s)},t)};var n}function j(e){return[].concat(e)}function Ce(e,t){-1===e.indexOf(t)&&e.push(t)}function Ee(e){return e.split("-")[0]}function v(e){return[].slice.call(e)}function Ae(e){return Object.keys(e).reduce(function(t,n){return 0[0]!==e[n]&&(t[n]=e[n]),t},{})}function C(){return document.createElement("div")}function D(e){return["Element","Fragment"].some(function(t){return G(e,t)})}function Fe(e){return G(e,"MouseEvent")}function Xe(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function Ge(e){return D(e)?[e]:function(e){return G(e,"NodeList")}(e)?v(e):Array.isArray(e)?e:v(document.querySelectorAll(e))}function Y(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function Ne(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function Ye(e){var n,t=j(e)[0];return t!=null&&null!=(n=t.ownerDocument)&&n.body?t.ownerDocument:document}function Q(e,t,n){var s=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[s](t,n)})}function Pe(e,t){for(var s,n=t;n;){if(e.contains(n))return!0;n=null==n.getRootNode||null==(s=n.getRootNode())?0[0]:s.host}return!1}d={isTouch:!1},J=0;function Be(){d.isTouch||(d.isTouch=!0,window.performance&&document.addEventListener("mousemove",He))}function He(){var e=performance.now();e-J<20&&(d.isTouch=!1,document.removeEventListener("mousemove",He)),J=e}function $e(){var t,e=document.activeElement;Xe(e)&&(t=e._tippy,e.blur&&!t.state.isVisible&&e.blur())}var We="undefined"!=typeof window&&"undefined"!=typeof document&&!!window.msCrypto,Ue={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},l=Object.assign({appendTo:je,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},Ue,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),qe=Object.keys(l);function Le(e){var t=(e.plugins||[]).reduce(function(t,n){var o,s=n.name,i=n.defaultValue;return s&&(t[s]=0[0]!==e[s]?e[s]:null!=(o=l[s])?o:i),t},{});return Object.assign({},e,t)}function ze(e,t){var n=Object.assign({},t,{content:we(t.content,[e])},t.ignoreAttributes?{}
1:function(e,t){return(t?Object.keys(Le(Object.assign({},l,{plugins:t}))):qe).reduce(function(t,n){var s=(e.getAttribute("data-tippy-"+n)||"").trim();if(!s)return t;if("content"===n)t[n]=s;else try{t[n]=JSON.parse(s)}catch{t[n]=s}return t},{})}(e,t.plugins));return n.aria=Object.assign({},l.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 W(e,t){e.innerHTML=t}function ye(e){var t=C();return!0===e?t.className=ge:(t.className=ve,D(e)?t.appendChild(e):W(t,e)),t}function pe(e,t){D(t.content)?(W(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?W(e,t.content):e.textContent=t.content)}function ee(e){var n=e.firstElementChild,t=v(n.children);return{box:n,content:t.find(function(e){return e.classList.contains(fe)}),arrow:t.find(function(e){return e.classList.contains(ge)||e.classList.contains(ve)}),backdrop:t.find(function(e){return e.classList.contains(Ze)})}}function de(e){var n,s=C(),t=C();t.className="tippy-box",t.setAttribute("data-state","hidden"),t.setAttribute("tabindex","-1"),n=C();function o(t,n){var a=ee(s),o=a.box,r=a.content,i=a.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"),t.content===n.content&&t.allowHTML===n.allowHTML||pe(r,e.props),n.arrow?i?t.arrow!==n.arrow&&(o.removeChild(i),o.appendChild(ye(n.arrow))):o.appendChild(ye(n.arrow)):i&&o.removeChild(i)}return n.className=fe,n.setAttribute("data-state","hidden"),pe(n,e.props),s.appendChild(t),t.appendChild(n),o(e.props,e.props),{popper:s,onUpdate:o}}de.$$tippy=!0;var tt=1,L=[],V=[];function ot(e,t){var D,Z,te,_,F,N,R,H,I,$,r=ze(e,Object.assign({},l,Le(Ae(t)))),m=!1,S=!1,M=!1,O=!1,x=[],c=Oe(ie,r.interactiveDebounce),me=tt++,U=(H=r.plugins).filter(function(e,t){return H.indexOf(e)===t}),n={id:me,reference:e,popper:C(),popperInstance:null,props:r,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:U,clearDelayTimeouts:function(){clearTimeout(D),clearTimeout(Z),cancelAnimationFrame(te)},setProps:function(t){if(0,n.state.isDestroyed)return;o("onBeforeUpdate",[n,t]),se();var i=n.props,s=ze(e,Object.assign({},i,Ae(t),{ignoreAttributes:!0}));n.props=s,ne(),i.interactiveDebounce!==s.interactiveDebounce&&(A(),c=Oe(ie,s.interactiveDebounce)),i.triggerTarget&&!s.triggerTarget?j(i.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):s.triggerTarget&&e.removeAttribute("aria-expanded"),h(),y(),W&&W(i,s),n.popperInstance&&(le(),E().forEac
1h(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})),o("onAfterUpdate",[n,t])},setContent:function(e){n.setProps({content:e})},show:function(){0;var e,r=n.state.isVisible,c=n.state.isDestroyed,u=!n.state.isEnabled,m=d.isTouch&&!n.props.touch,t=X(n.props.duration,0,l.duration);if(r||c||u||m)return;if(a().hasAttribute("disabled"))return;if(o("onShow",[n],!1),!1===n.props.onShow(n))return;n.state.isVisible=!0,i()&&(s.style.visibility="visible"),y(),T(),n.state.isMounted||(s.style.transition="none"),i()&&(e=f(),Y([e.box,e.content],0)),$=function(){if(n.state.isVisible&&!O){if(O=!0,s.offsetHeight,s.style.transition=n.props.moveTransition,i()&&n.props.animation){var e,a=f(),r=a.box,c=a.content;Y([r,c],t),Ne([r,c],"visible")}B(),h(),Ce(V,n),null==(e=n.popperInstance)||e.forceUpdate(),o("onMount",[n]),n.props.animation&&i()&&function(e,t){J(e,t)}(t,function(){n.state.isShown=!0,o("onShown",[n])})}},function(){var e=n.props.appendTo,o=a(),t=n.props.interactive&&e===je||"parent"===e?o.parentNode:we(e,[o]);t.contains(s)||t.appendChild(s),n.state.isMounted=!0,le(),!1}()},hide:function(){0;var c=!n.state.isVisible,d=n.state.isDestroyed,u=!n.state.isEnabled,e=X(n.props.duration,1,l.duration);if(c||d||u)return;if(o("onHide",[n],!1),!1===n.props.onHide(n))return;if(n.state.isVisible=!1,n.state.isShown=!1,O=!1,m=!1,i()&&(s.style.visibility="hidden"),A(),k(),y(!0),i()){var t=f(),a=t.box,r=t.content;n.props.animation&&(Y([a,r],e),Ne([a,r],"hidden"))}B(),h(),n.props.animation?i()&&function(e,t){J(e,function(){!n.state.isVisible&&s.parentNode&&s.parentNode.contains(s)&&t()})}(e,n.unmount):n.unmount()},hideWithInteractivity:function(e){0,g().addEventListener("mousemove",c),Ce(L,c),c(e)},enable:function(){n.state.isEnabled=!0},disable:function(){n.hide(),n.state.isEnabled=!1},unmount:function(){if(0,n.state.isVisible&&n.hide(),!n.state.isMounted)return;
1de(),E().forEach(function(e){e._tippy.unmount()}),s.parentNode&&s.parentNode.removeChild(s),V=V.filter(function(e){return e!==n}),n.state.isMounted=!1,o("onHidden",[n])},destroy:function(){if(0,n.state.isDestroyed)return;n.clearDelayTimeouts(),n.unmount(),se(),delete e._tippy,n.state.isDestroyed=!0,o("onDestroy",[n])}};if(!r.render)return n;var ue=r.render(n),s=ue.popper,W=ue.onUpdate;return s.setAttribute("data-tippy-root",""),s.id="tippy-"+n.id,n.popper=s,e._tippy=n,s._tippy=n,R=U.map(function(e){return e.fn(n)}),N=e.hasAttribute("aria-expanded"),ne(),h(),y(),o("onCreate",[n]),r.showOnCreate&&he(),s.addEventListener("mouseenter",function(){n.props.interactive&&n.state.isVisible&&n.clearDelayTimeouts()}),s.addEventListener("mouseleave",function(){n.props.interactive&&n.props.trigger.indexOf("mouseenter")>=0&&g().addEventListener("mousemove",c)}),n;function z(){var e=n.props.touch;return Array.isArray(e)?e:[e,0]}function G(){return"hold"===z()[0]}function i(){var e;return null!=(e=n.props.render)&&!!e.$$tippy}function a(){return I||e}function g(){var e=a().parentNode;return e?Ye(e):document}function f(){return ee(s)}function P(e){return n.state.isMounted&&!n.state.isVisible||d.isTouch||_&&"focus"===_.type?0:X(n.props.delay,e?0:1,l.delay)}function y(e){0[0]===e&&(e=!1),s.style.pointerEvents=n.props.interactive&&!e?"":"none",s.style.zIndex=""+n.props.zIndex}function o(e,t,s){var o;0[0]===s&&(s=!0),R.forEach(function(n){n[e]&&n[e].apply(n,t)}),s&&(o=n.props)[e].apply(o,t)}function B(){if(o=n.props.aria,o.content){var o,t="aria-"+o.content,i=s.id;j(n.props.triggerTarget||e).forEach(function(e){var o,s=e.getAttribute(t);n.state.isVisible?e.setAttribute(t,s?s+" "+i:i):(o=s&&s.replace(i,"").trim(),o?e.setAttribute(t,o):e.removeAttribute(t))})}}function h(){!N&&n.props.aria.expanded&&j(n.props.triggerTarget||e).forEach(function(e){n.props.interactive?e.setAttribute("aria-expanded",n.state.isVisible&&e===a()?"true":"false"):e.removeAttribute("aria-expanded")})}function A(){g().removeEventListener("mousemove",c),L=L.filter(function(e){return e!==c})}function b(t){if(!d.isTouch||!M&&"mousedown"!==t.type){var i=t.composedPath&&t.composedPath()[0]||t.target;if(!n.props.interactive||!Pe(s,i)){if(j(n.props.triggerTarget||e).some(function(e){return Pe(e,i)})){{if(d.isTouch)return;if(n.state.isVisible&&n.props.trigger.indexOf("click")>=0)return}}else o("onClickOutside",[n,t]);!0===n.props.hideOnClick&&(n.clearDelayTimeouts(),n.hide(),S=!0,setTimeout(function(){S=!1}),n.state.isMounted||k())}}}function K(){M=!0}function q(){M=!1}function T(){var e=g();e.addEventListener("mousedown",b,!0),e.addEventListener("touchend",b,p),e.addEventListener("touchstart",q,p),e.addEventListener("touchmove",K,p)}function k(){var e=g();e.removeEventListener("mousedown",b,!0),e.removeEventListener("touchend",b,p),e.removeEventListener("touchstart",q,p),e.removeEventListener("touchmove",K,p)}function J(e,t){var n=f().box;function s(e){e.target===n&&(Q(n,"remove",s),t())}if(0===e)return t();Q(n,"remove",F),Q(n,"add",s),F=s}function u(t,s,o){0[0]===o&&(o=!1),j(n.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,s,o),x.push({node:e,eventType:t,handler:s,options:o})})}function ne(){var e;G()&&(u("touchstart",oe,{passive:!0}),u("touchend",ae,{passive:!0})),(e=n.props.trigger,e.split(/\s+/).filter(Boolean)).forEach(function(e){if("manual"!==e)switch(u(e,oe),e){case"mouseenter":u("mouseleave",ae);break;case"focus":u(We?"focusout":"blur",re);break;case"focusin":u("focusout",re)}})}function se(){x.forEach(function(e){var t=e.node,n=e.eventType,s=e.handler,o=e.options;t.removeEventListener(n,s,o)}),x=[]}function oe(e){var s,o,t=!1;n.state.isEnabled&&!ce(e)&&!S&&(o="focus"===(null==(s=_)?0[0]:s.type),_=e,I=e.currentTarget,h(),!n.state.isVisible&&Fe(e)&&L.forEach(function(t){return t(e)}),"click"===e.type&&(n.props.trigger.indexOf("mouseenter")<0||m)&&!1!==n.props.hideOnClick&&n.state.isVisible?t=!0:he(e),"click"===e.type&&(m=!t),t&&!o&&w(e))}function ie(e){var n,t=e.target,o=a().contains(t)||s.contains(t);("mousemove"!==e.type||!o)&&(n=E().concat(s).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?0[0]:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:r}:null}
1).filter(Boolean),function(e,t){var n=t.clientX,s=t.clientY;return e.every(function(e){var o=e.popperRect,r=e.popperState,i=e.props.interactiveBorder,a=Ee(r.placement),t=r.modifiersData.offset;if(!t)return!0;var l="bottom"===a?t.top.y:0,c="top"===a?t.bottom.y:0,d="right"===a?t.left.x:0,u="left"===a?t.right.x:0,h=o.top-s+l>i,m=s-o.bottom-c>i,f=o.left-n+d>i,p=n-o.right-u>i;return h||m||f||p})}(n,e)&&(A(),w(e)))}function ae(e){ce(e)||n.props.trigger.indexOf("click")>=0&&m||(n.props.interactive?n.hideWithInteractivity(e):w(e))}function re(e){n.props.trigger.indexOf("focusin")<0&&e.target!==a()||n.props.interactive&&e.relatedTarget&&s.contains(e.relatedTarget)||w(e)}function ce(e){return!!d.isTouch&&G()!==e.type.indexOf("touch")>=0}function le(){de();var t=n.props,r=t.popperOptions,d=t.placement,u=t.offset,c=t.getReferenceClientRect,h=t.moveTransition,l=i()?ee(s).arrow:null,m=c?{getBoundingClientRect:c,contextElement:c.contextElement||a()}:e,p={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state;i()&&(t=f().box,["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?t.setAttribute("data-placement",n.placement):n.attributes.popper["data-popper-"+e]?t.setAttribute("data-"+e,""):t.removeAttribute("data-"+e)}),n.attributes.popper={})}},o=[{name:"offset",options:{offset:u}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!h}},p];i()&&l&&o.push({name:"arrow",options:{element:l,padding:3}}),o.push.apply(o,r?.modifiers||[]),n.popperInstance=Je(m,s,Object.assign({},r,{placement:d,onFirstUpdate:$,modifiers:o}))}function de(){n.popperInstance&&(n.popperInstance.destroy(),n.popperInstance=null)}function E(){return v(s.querySelectorAll("[data-tippy-root]"))}function he(e){n.clearDelayTimeouts(),e&&o("onTrigger",[n,e]),T();var t=P(!0),s=z(),a=s[0],i=s[1];d.isTouch&&"hold"===a&&i&&(t=i),t?D=setTimeout(function(){n.show()},t):n.show()}function w(e){if(n.clearDelayTimeouts(),o("onUntrigger",[n,e]),n.state.isVisible){if(!(n.props.trigger.indexOf("mouseenter")>=0&&n.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&m)){var t=P(!1);t?Z=setTimeout(function(){n.state.isVisible&&n.hide()},t):te=requestAnimationFrame(function(){n.hide()})}}else k()}}function M(e,t){0[0]===t&&(t={}),n=l.plugins.concat(t.plugins||[]),document.addEventListener("touchstart",Be,p),window.addEventListener("blur",$e);var n,o=Object.assign({},t,{plugins:n}),s=Ge(e).reduce(function(e,t){var n=t&&ot(t,o);return n&&e.push(n),e},[]);return D(e)?s[0]:s}M.defaultProps=l,M.setDefaultProps=function(e){Object.keys(e).forEach(function(t){l[t]=e[t]})},M.currentInput=d,Object.assign({},se,{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)}}),oe={name:"inlinePositioning",defaultValue:!1,fn:function(e){var a,o=e.reference,t=-1,s=!1,n=[],r={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(s){var i=s.state;e.props.inlinePositioning&&(-1!==n.indexOf(i.placement)&&(n=[]),a!==i.placement&&-1===n.indexOf(i.placement)&&(n.push(i.placement),e.setProps({getReferenceClientRect:function(){return function(e){return function(e,t,n,s){if(n.length<2||null===e)return t;if(2===n.length&&s>=0&&n[0].left>n[1].right)return n[s]||t;switch(e){case"top":case"bottom":var o=n[0],i=n[n.length-1],l="top"===e,d=o.top,u=i.bottom,h=l?o.left:i.left,m=l?o.right:i.right;return{top:d,bottom:u,left:h,right:m,width:m-h,height:u-d};case"left":case"right":var a=Math.min.apply(Math,n.map(function(e){return e.left})),r=Math.max.apply(Math,n.map(function(e){return e.right})),c=n.filter(function(t){return"left"===e?t.left===a:t.right===r}),f=c[0].top,p=c[c.length-1].bottom;return{top:f,bottom:p,left:a,right:r,width:r-a,height:p-f};default:return t}}(Ee(e),o.getBoundingClientRect(),v(o.getClientRects()),t)}(i.placement)}})),a=i.placement)}};function i(){var t;s||(t=function(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?0[0]:n.modifiers)||[]).filter(function(e){return e.name!==t.name}),[t])})}}(e.props,r),s=!0,e.setProps(t),s=!1)}return{onCreate:i,onAfterUpdate:i,onTrigger:function(n,s){if(Fe(s)){var o=v(e.reference.getClientRects()),a=o.find(function(e){return e.left-2<=s.
1clientX&&e.right+2>=s.clientX&&e.top-2<=s.clientY&&e.bottom+2>=s.clientY}),i=o.indexOf(a);t=i>-1?i:t}},onHidden:function(){t=-1}}}},M.setDefaultProps({render:de});const rt=M},5266:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=function(e,t,n,s){return new(n||(n=Promise))(function(o,i){function r(e){try{a(s.next(e))}catch(e){i(e)}}function c(e){try{a(s.throw(e))}catch(e){i(e)}}function a(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,c)}a((s=s.apply(e,t||[])).next())})};function o(e){let n=0,s=0,t=e;do n+=t.offsetTop||0,s+=t.offsetLeft||0,t=t.offsetParent;while(t)return{top:n,left:s}}class r{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 o(e).left-o(t).left}getVerticalElementScrollOffset(e,t){return o(e).top-o(t).top}scrollTo(e,t){this.element.scrollLeft=e,this.element.scrollTop=t}}class c{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))}},i="undefined"!=typeof window,l={cancelOnUserAction:!0,easing:e=>--e*e*e+1,elementToScroll:i?window:null,horizontalOffset:0,maxDuration:3e3,minDuration:250,speed:500,verticalOffset:0},d=function(e,t={}){return a(this,0[0],0[0],function*(){if(!i)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 d,a,h,n=Object.assign(Object.assign({},l),t);const f=n.elementToScroll===window,O=!!n.elementToScroll.nodeName;if(!f&&!O)throw"Element to scroll needs to be either window or DOM element.";const y=f?document.documentElement:n.elementToScroll;"smooth"===getComputedStyle(y).getPropertyValue("scroll-behavior")&&console.warn(`${y.tagName} has "scroll-behavior: smooth" which can mess up with animated-scroll-to's animations`);const o=f?new c:new r(n.elementToScroll);if(e instanceof Element){if(h=e,O&&(!n.elementToScroll.contains(h)||n.elementToScroll.isSameNode(h)))throw"options.elementToScroll has to be a parent of scrollToElement";d=o.getHorizontalElementScrollOffset(h,n.elementToScroll),a=o.getVerticalElementScrollOffset(h,n.elementToScroll)}else if("number"==typeof e)d=o.getHorizontalScroll(),a=e;else{if(!Array.isArray(e)||2!==e.length)throw`Wrong function signature. Check documentation. 2Available method signatures are: 3 animateScrollTo(y:number, options) 4 animateScrollTo([x:number | null, y:number | null], options) 5 animateScrollTo(scrollToElement:Element, options)`;d=null===e[0]?o.getHorizontalScroll():e[0],a=null===e[1]?o.getVerticalScroll():e[1]}d+=n.horizontalOffset,a+=n.verticalOffset;const g=o.getMaxHorizontalScroll(),v=o.getHorizontalScroll();d>g&&(d=g);const m=d-v,b=o.getMaxVerticalScroll(),j=o.getVerticalScroll();a>b&&(a=b);const p=a-j,_=Math.abs(Math.round(m/1e3*n.speed)),w=Math.abs(Math.round(p/1e3*n.speed));let u=_>w?_:w;return u<n.minDuration?u=n.minDuration:u>n.maxDuration&&(u=n.maxDuration),new Promise((e)=>
5{let i;0===m&&0===p&&e(!0),s.remove(o.element,!0);const r=()=>{f(),cancelAnimationFrame(i),e(!1)};s.add(o.element,r);const c=n.cancelOnUserAction?r:e=>e.preventDefault(),l=n.cancelOnUserAction?{passive:!0}:{passive:!1},h=["wheel","touchstart","keydown","mousedown"],f=()=>{h.forEach(e=>{o.element.removeEventListener(e,c,l)})};h.forEach(e=>{o.element.addEventListener(e,c,l)});const b=Date.now(),g=()=>{var t=Date.now()-b,r=t/u;const c=Math.round(v+m*n.easing(r)),l=Math.round(j+p*n.easing(r));t<u&&(c!==d||l!==a)?(o.scrollTo(c,l),i=requestAnimationFrame(g)):(o.scrollTo(d,a),cancelAnimationFrame(i),f(),s.remove(o.element,!1),e(!0))};i=requestAnimationFrame(g)})})}}},c={};function e(t){var n,s=c[t];return 0[0]!==s?s.exports:(n=c[t]={exports:{}},r[t](n,n.exports,e),n.exports)}e.m=r,t=[],e.O=(n,s,o,i)=>{if(!s){r=1/0;for(a=0;a<t.length;a++){for(var[s,o,i]=t[a],a,r,l,d=!0,c=0;c<s.length;c++)(!1&i||r>=i)&&Object.keys(e.O).every(t=>e.O[t](s[c]))?s.splice(c--,1):(d=!1,i<r&&(r=i));d&&(t.splice(a--,1),l=o(),0[0]!==l&&(n=l))}return n}i=i||0;for(a=t.length;a>0&&t[a-1][2]>i;a--)t[a]=t[a-1];t[a]=[s,o,i]},e.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,e.t=function(t,s){if(1&s&&(t=this(t)),8&s)return t;if("object"==typeof t&&t){if(4&s&&t.__esModule)return t;if(16&s&&"function"==typeof t.then)return t}var o,a,r=Object.create(null);e.r(r),a={},i=i||[null,n({}),n([]),n(n)];for(o=2&s&&t;"object"==typeof o&&!~i.indexOf(o);o=n(o))Object.getOwnPropertyNames(o).forEach(e=>a[e]=()=>t[e]);return a.default=()=>t,e.d(r,a),r},e.d=(t,n)=>{for(var s in n)e.o(n,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:n[s]})},e.f={},e.e=t=>Promise.all(Object.keys(e.f).reduce((n,s)=>(e.f[s](t,n),n),[])),e.u=e=>({1:"../../wp-recipe-maker-premium/dist/public-feature-add-to-collection",10:"../../wp-recipe-maker-premium/dist/public-feature-add-to-shopping-list",83:"../../wp-recipe-maker-premium/dist/public-feature-saved-collection",215:"public-feature-media-toggle",292:"../../wp-recipe-maker-premium/dist/public-feature-recipe-collections-jump-to-section",297:"public-feature-instacart",349:"../../wp-recipe-maker-premium/dist/public-feature-recipe-collections-app",576:"../../wp-recipe-maker-premium/dist/public-feature-recipe-submission",582:"../../wp-recipe-maker-premium/dist/public-feature-product-modal",615:"public-feature-debug",631:"public-feature-my-shopping-help",765:"public-feature-cookpal",790:"public-feature-slickstream",794:"public-feature-jump-to-section",796:"public-feature-pinterest",830:"../../wp-recipe-maker-premium/dist/public-feature-shopping-list",864:"../../wp-recipe-maker-premium/dist/public-feature-unit-conversion",868:"../../wp-recipe-maker-premium/dist/public-feature-product-icon",911:"public-feature-grow",929:"../../wp-recipe-maker-premium/dist/public-feature-recipe-collections-print",939:"public-feature-video",990:"public-feature-expandable"}[e]+"."+{1:"e447db5d",10:"02365086",83:"ebdadd20",215:"f40b25ba",292:"afe5226d",297:"1e08e92d",349:"1f07e9ec",576:"b4c0038e",582:"9c7fd14e",615:"27a08df1",631:"e2c7ea28",765:"33277fb0",790:"a9573258",794:"720a37bf",796:"a9af0436",830:"e06df6c3",864:"f58d1731",868:"d9b0e0c7",911:"6dcd005a",929:"f6240142",939:"36b5066b",990:"117f237e"}[e]+".js"),e.miniCssF=e=>{},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch{if("object"==typeof window)return window}}(),e.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s={},a="WPRecipeMaker:",e.l=(t,n,o)=>{if(s[t])s[t].push(n);else{if(0[0]!==o)for(var r,c,l,u,m,h=document.getElementsByTagName("script"),d=0;d<h.length;d++)if(c=h[d],c.getAttribute("src")==t||c.getAttribute("data-webpack")==a+o){r=c;break}r||(u=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,e.nc&&r.setAttribute("nonce",e.nc),r.setAttribute("data-webpack",a+o),r.src=t),s[t]=[n],l=(e,n)=>{r.onerror=r.onload=null,clearTimeout(m);var o=s[t];if(delete s[t],r.parentNode&&r.parentNode.removeChild(r),o&&o.forEach(e=>e(n)),e)return e(n)},m=setTimeout(l.bind(null,0[0],{type:"timeout",target:r}),12e4),r.onerror=l.bind(null,r.onerror),r.onload=l.bind(null,r.onload),u&&document.head.appendChild(r)}},e.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
5),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{e.g.importScripts&&(t=e.g.location+"");var t,s,o,n=e.g.document;if(!t&&n&&(n.currentScript&&"SCRIPT"===n.currentScript.tagName.toUpperCase()&&(t=n.currentScript.src),!t)&&(s=n.getElementsByTagName("script"),s.length))for(o=s.length-1;o>-1&&(!t||!/^http(s?):/.test(t));)t=s[o--].src;if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^/]+$/,"/"),e.p=t})(),(()=>{t={607:0},e.f.j=(n,s)=>{if(o=e.o(t,n)?t[n]:0[0],0!==o)if(o)s.push(o[2]);else{a=new Promise((e,s)=>o=t[n]=[e,s]),s.push(o[2]=a);var o,a,r=e.p+e.u(n),i=new Error;e.l(r,s=>{if(e.o(t,n)&&(0!==(o=t[n])&&(t[n]=0[0]),o)){var a=s&&("load"===s.type?"missing":s.type),r=s&&s.target&&s.target.src;i.message="Loading chunk "+n+` failed. 6(`+a+": "+r+")",i.name="ChunkLoadError",i.type=a,i.request=r,o[1](i)}},"chunk-"+n,n)}},e.O.j=e=>0===t[e];var t,s=(n,s)=>{var[a,r,l]=s,o,i,d,c=0;if(a.some(e=>0!==t[e])){for(i in r)e.o(r,i)&&(e.m[i]=r[i]);l&&(d=l(e))}for(n&&n(s);c<a.length;c++)o=a[c],e.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return e.O(d)},n=self.webpackChunkWPRecipeMakerPublicSplit=self.webpackChunkWPRecipeMakerPublicSplit||[];n.forEach(s.bind(null,0)),n.push=s.bind(null,n.push.bind(n))})(),o={},(()=>{"use strict";e(6563),e(3524),window.WPRecipeMaker=0[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:0[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"),s=t?parseInt(t.dataset.currentRating):0,n=parseInt(e.value);if(n===s)e.checked=!1,document.querySelector('input[name="'+e.name+'"][value="0"]').checked=!0,t.dataset.currentRating=0;else if(t.dataset.currentRating=n,window.WPRecipeMaker.hasOwnProperty("analytics")){let t=0;const e=document.querySelector(".wprm-recipe-container");e&&e.dataset.hasOwnProperty("recipeId")&&(t=parseInt(e.dataset.recipeId)),window.WPRecipeMaker.analytics.registerAction(t,wprm_public.post_id,"comment-rating",{rating:n})}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:n}}))}},p=()=>{window.WPRecipeMaker.rating.init()},"loading"!=document.readyState?p():document.addEventListener("DOMContentLoaded",p),e(8455);function C(e,t){for(var n,s=0;s<t.length;s++)n=t[s],n.enumerable=n.enumerable,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):0[0]}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 7In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function f(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,s=new Array(t);n<t;n++)s[n]=e[n];return s}u=(j=["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^="-"])'],c=function(){function e(t){var b=t.targetModal,m=t.triggers,o=0[0]===m?[]:m,i=t.onShow,x=0[0]===i?function(){}:i,c=t.onClose,w=0[0]===c?function(){}:c,s=t.openTrigger,p=0[0]===s?"data-micromodal-trigger":s,h=t.closeTrigger,g=0[0]===h?"data-micromodal-close":h,u=t.openClass,y=0[0]===u?"is-open":u,f=t.disableScroll,v=0[0]!==f&&f,n=t.disableFocus,j=0[0]!==n&&n,d=t.awaitCloseAnimation,_=0[0]!==d&&d,l=t.awaitOpenAnimation,O=0[0]!==l&&l,a=t.debugMode,C=0[0]!==a&&a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modal=document.getElementById(b),this.config={debugMode:C,disableScroll:v,openTrigger:p,closeTrigger:g,openClass:y,onShow:x,onClose:w,awaitCloseAnimation:_,awaitOpenAnimation:O,disableFocus:j},o.length>0&&this.registerTriggers.apply(this,r(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 s=this,t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];
7n.filter(Boolean).forEach(function(e){e.addEventListener("click",function(e){return s.showModal(e)})})}},{key:"showModal",value:function(){var e=this,t=arguments.length>0&&0[0]!==arguments[0]?arguments[0]:null;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):this.setFocusToFirstNode(),this.config.onShow(this.modal,this.activeElement,t)}},{key:"closeModal",value:function(){var t,n=arguments.length>0&&0[0]!==arguments[0]?arguments[0]:null,e=this.modal;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,n),this.config.awaitCloseAnimation?(t=this.config.openClass,this.modal.addEventListener("animationend",function n(){e.classList.remove(t),e.removeEventListener("animationend",n,!1)},!1)):e.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(j);return Array.apply(0[0],r(e))}},{key:"setFocusToFirstNode",value:function(){var e,t,n=this;this.config.disableFocus||(e=this.getFocusableNodes(),0!==e.length&&(t=e.filter(function(e){return!e.hasAttribute(n.config.closeTrigger)}),t.length>0&&t[0].focus(),0===t.length&&e[0].focus()))}},{key:"retainFocus",value:function(e){var n,t=this.getFocusableNodes();0!==t.length&&(t=t.filter(function(e){return null!==e.offsetParent}),this.modal.contains(document.activeElement)?(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())):t[0].focus())}}])&&C(t.prototype,n),e}(),o=null,l=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;",'<div class="modal" id="'.concat(e,'"></div>')),!1},w=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;",'<a href="#" data-micromodal-trigger="my-modal"></a>'))}(e),!t)return!0;for(var n in t)l(n);return!0},{init:function(e){var i,a,t=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),s=r(document.querySelectorAll("[".concat(t.openTrigger,"]"))),n=function(e,t){var n=[];return e.forEach(function(e){var s=e.attributes[t].value;0[0]===n[s]&&(n[s]=[]),n[s].push(e)}),n}(s,t.openTrigger);if(!0!==t.debugMode||!1!==w(s,n))for(i in n)a=n[i],t.targetModal=i,t.triggers=r(a),o=new c(t)},show:function(e,t){var n=t||{};n.targetModal=e,!0===n.debugMode&&!1===l(e)||(o&&o.removeEventListeners(),(o=new c(n)).showModal())},close:function(e){e?o.closeModalById(e):o.closeModal()}}),"undefined"!=typeof window&&(window.MicroModal=u);const v=u;window.WPRecipeMaker=0[0]===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.modal={savedScrollPosition:0,
7currentOpenUid:null,htmlMarginTopValue:null,getHtmlMarginTopValue(){if(null!==this.htmlMarginTopValue)return this.htmlMarginTopValue;const e=window.getComputedStyle(document.documentElement).marginTop,t=e&&"0px"!==e?parseFloat(e):0;return this.htmlMarginTopValue=isNaN(t)?0:t,this.htmlMarginTopValue},resetHtmlMarginTopValue(){this.htmlMarginTopValue=null},open(e,t={}){this.currentOpenUid&&this.currentOpenUid!==e&&this.close(this.currentOpenUid);const n=`wprm-popup-modal-${e}`;if(!document.getElementById(n))return void console.warn(`WPRM modal "${n}" could not be found in the DOM.`);this.savedScrollPosition=window.pageYOffset||document.documentElement.scrollTop;const s=this.getHtmlMarginTopValue();document.body.classList.add("wprm-popup-modal-open"),document.body.style.top=`-${this.savedScrollPosition-s}px`,v.show(n,{onShow:n=>{this.currentOpenUid=e;const s=n.dataset.type;document.dispatchEvent(new CustomEvent("wprm-modal-open",{detail:{type:s,uid:e,modal:n,data:t}}))},onClose:n=>{this.currentOpenUid===e&&(this.currentOpenUid=null);const s=n.dataset.type;document.dispatchEvent(new CustomEvent("wprm-modal-close",{detail:{type:s,uid:e,modal:n,data:t}}));const o=this.savedScrollPosition;document.body.classList.remove("wprm-popup-modal-open"),document.body.style.top="",this.savedScrollPosition=0,window.scrollTo({top:o,behavior:"instant"})},awaitCloseAnimation:!0})},close(e){`${this.currentOpenUid}`==`${e}`&&(v.close("wprm-popup-modal-"+e),this.currentOpenUid===e&&(this.currentOpenUid=null))}},window.addEventListener("resize",()=>window.WPRecipeMaker.modal.resetHtmlMarginTopValue()),window.addEventListener("orientationchange",()=>window.WPRecipeMaker.modal.resetHtmlMarginTopValue()),e(3579),e(1104),_=e(5266),window.WPRecipeMaker=0[0]===window.WPRecipeMaker?{}:window.WPRecipeMaker,window.WPRecipeMaker.jump={init:()=>{document.addEventListener("click",function(e){const t=!!e.target.closest&&e.target.closest(".wprm-recipe-jump, .wprm-recipe-jump-to-comments, .wprm-recipe-jump-video, .wprm-jump-smooth-scroll, .wprm-recipe-jump-to-section");t&&WPRecipeMaker.jump.onClick(t,e)},!1)},onClick:(e,t)=>{const n=e.getAttribute("href");if(e.matches(".wprm-jump-smooth-scroll")){t.preventDefault();let s=parseInt(e.dataset.smoothScroll);s<0&&(s=500),(0,_.A)(document.querySelector(n),{verticalOffset:-100,speed:s})}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()}),e(9002);var o,c,l,u,p,j,_,w,m=e(4181),y=e(942);let i=null;const b="a[href], button, input, select, textarea, summary, [onclick]",x={fn(e){const{reference:t,popper:a}=e,n=t.ownerDocument,d=t.closest(b),s=d&&t.tabIndex<0?d:t,g=[];let r=!1,c=!1,p=null;const h={},l=n=>{a.querySelector(".tippy-box").classList.toggle("wprm-tooltip-dismissible",n),a.classList.toggle("wprm-tooltip-image-hover",t.classList.contains("wprm-recipe-instruction-image-tooltip")&&!n),e.popperInstance&&e.popperInstance.update()},o=(e,t,n)=>{e.addEventListener(t,n),g.push(()=>e.removeEventListener(t,n))},u=(e,t)=>{h[e]=s.getAttribute(e),s.setAttribute(e,t)},f=e=>e&&(s.contains(e)||a.contains(e)),v=()=>{r=!1,e.clearDelayTimeouts(),e.state.isVisible?(c=!0,e.hide()):(c=!1,e.show())},j=t=>{t&&t.stopPropagation(),s.focus({preventScroll:!0}),c=!0,e.hide()},_=t=>{a.contains(t.target)||e.hide()},w=t=>{"Escape"===t.key&&(t.preventDefault(),a.contains(n.activeElement)?j():(c=!0,e.hide()))},O=()=>{n.defaultView.cancelAnimationFrame(p),n.removeEventListener("scroll",_,!0),n.removeEventListener("keydown",w),i===e&&(i=null)};return{onCreate(){const h=a.querySelector(".tippy-box");h.classList.add("wprm-tooltip-popup");const p=t.querySelector("img[alt]");h.setAttribute("aria-label",s.getAttribute("aria-label")||t.textContent.trim()||p&&p.alt||(0,y.f)("More information"));const i=n.createElement("button");i.type="button",i.className="wprm-tooltip-close",i.setAttribute("aria-label",(0,y.f)("Close")),i.textContent="Ã",h.insertBefore(i,h.firstChild),o(i,"click",j),d||t.hasAttribute("tabindex")||u("tabindex","0"),u("aria-haspopup","dialog"),u("aria-controls",a.id),o(t,"pointerdown",e=>{r=!0,l("mouse"!==e.pointerType)}),o(t,"pointercancel",()=>{r=!1}),o(t,"click",()=>{v(),d&&n.defaultView.requestAnimationFrame(()=>{e.state.isDestroyed||t.getClientRects().length||e.hide()})}),o(s,"focus",()=>{r||(l(!0),e.show()),r=!1}),o(s,"keydown",n=>{d||n.target!==t||"Enter"!==n.key&&" "!==n.key||(n.preventDefault(),l(!0),n.repeat||v()),"Tab"===n.key&&!n.shiftKey&&e.state.isVisible&&(n.preventDefault(),l(!0),i.focus())}),o(i,"keydown",e=>{"Tab"===e.key&&e.shiftKey&&(e.preventDefault(),s.focus({preventScroll:!0}))});const g=t=>{r=!1,f(t.relatedTarget)||e.hide()};o(s,"focusout",g),o(a,"focusout",g),o(t,"mouseenter",()=>{m.Ay.currentInput.isTouch||c||(f(n.activeElement)||l(!1),e.clearDelayTimeouts(),e.show())});const b=s=>{s.currentTarget===t&&(c=!1),m.Ay.currentInput.isTouch||f(n.activeElement)||e.hideWithInteractivity(s)};o(t,"mouseleave",b),o(a,"mouseleave",b)},onShow(){i&&i!==e&&i.hide(),i=e,p=n.defaultView.requestAnimationFrame(()=>{n.addEventListener("scroll",_,{capture:!0,passive:!0})}),n.addEventListener("keydown",w)},onClickOutside(){e.hide()},onHide(){a.contains(n.activeElement)&&s.focus({preventScroll:!0}),O()}
7,onDestroy(){O(),g.forEach(e=>e()),Object.keys(h).forEach(e=>{const t=h[e];null===t?s.removeAttribute(e):s.setAttribute(e,t)})}}}};window.WPRecipeMaker=0[0]===window.WPRecipeMaker?{}:window.WPRecipeMaker;const E=[".wprm-recipe-ingredient-notes-faded",".wprm-recipe-ingredient-notes-smaller-faded",".wprm-recipe-equipment-notes-faded",".wprm-recipe-equipment-notes-smaller-faded"].join(", ");window.WPRecipeMaker.tooltip={init(){WPRecipeMaker.tooltip.addTooltips()},addTooltips(e=document){let t=[];e&&e.classList&&e.classList.contains("wprm-tooltip")&&t.push(e),e&&"function"==typeof e.querySelectorAll&&(t=t.concat([...e.querySelectorAll(".wprm-tooltip")]));for(let e of t){const s=e._tippy;s&&s.destroy();const n=!!e.dataset.hasOwnProperty("tooltip")&&e.dataset.tooltip;if(n){const t=e.closest(b);t||(e.role="button");const i=e.dataset.hasOwnProperty("tooltipHtml")&&"1"===e.dataset.tooltipHtml,a=!!e.classList.contains("wprm-recipe-instruction-image-tooltip")&&e.querySelector("img");let s=n;i&&(s=s.replace(/<[^>]*>/g,""));const o=e.closest(E),r=!o||t&&!o.contains(t)?t:o;(0,m.Ay)(e,{theme:"wprm",content:s,allowHTML:!1,interactive:!0,trigger:"manual",triggerTarget:t&&e.tabIndex<0?t:e,hideOnClick:!1,role:"dialog",plugins:[x],...a?{arrow:!1,placement:"top",getReferenceClientRect:()=>{const e=a.getBoundingClientRect(),t=e.left+e.width/2,n=e.top+e.height/2;return{width:0,height:0,top:n,right:t,bottom:n,left:t}},offset:({popper:e})=>[0,-e.height/2]}:{},...r?{appendTo:()=>r.parentElement||document.body}:{},onCreate(e){e.popper.style.display="inline-block",e._isFetching=!1,e._fetchedContent=!1},onShow(e){e._isFetching||e._fetchedContent||i&&(e._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(t=>{e.state.isDestroyed||(e._isFetching=!1,e._fetchedContent=!0,t&&(e.setContent(t),e.setProps({allowHTML:!0})))}).catch(()=>{e._isFetching=!1}))}})}}}},function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}(()=>{window.WPRecipeMaker.tooltip.init()}),window.WPRecipeMaker=0[0]===window.WPRecipeMaker?{}:window.WPRecipeMaker;const a={},n=(e,t=document)=>!!t&&(!(t===document||!t.matches||!t.matches(e))||!!t.querySelector&&!!t.querySelector(e)),s=(e,t)=>(a[e]||(a[e]=t().catch(t=>{delete a[e],console.error(`WP Recipe Maker could not load the ${e} feature.`,t)})),a[e]),t={commentRating:()=>Promise.resolve(),cookpal:()=>s("cookpal",()=>e.e(765).then(e.t.bind(e,3621,23))),debug:()=>s("debug",()=>e.e(615).then(e.t.bind(e,2811,23))),expandable:()=>s("expandable",()=>e.e(990).then(e.t.bind(e,2942,23))),grow:()=>s("grow",()=>e.e(911).then(e.t.bind(e,385,23))),instacart:()=>s("instacart",()=>e.e(297).then(e.t.bind(e,1157,23))),jump:()=>Promise.resolve(),jumpToSection:()=>s("jumpToSection",()=>e.e(794).then(e.t.bind(e,68,23))),media:()=>s("media",()=>e.e(215).then(e.t.bind(e,7561,23))),modal:()=>Promise.resolve(),myShoppingHelp:()=>s("myShoppingHelp",()=>e.e(631).then(e.t.bind(e,4253,23))),pinterest:()=>s("pinterest",()=>e.e(796).then(e.t.bind(e,9854,23))),print:()=>Promise.resolve(),slickstream:()=>s("slickstream",()=>e.e(790).then(e.t.bind(e,6944,23))),tooltip:()=>Promise.resolve(),video:()=>s("video",()=>e.e(939).then(e.t.bind(e,9047,23)))},O=(e=document)=>{(wprm_public.settings.features_comment_ratings||n(".comment-form-wprm-rating, .wprm-comment-ratings-container, .wprm-user-ratings-modal-stars",e))&&t.commentRating(),n('#wp-admin-bar-wprm-debug, [id^="wp-admin-bar-wprm-debug-entry"]',e)&&t.debug(),n(".wprm-expandable-button",e)&&t.expandable(),n(".wprm-recipe-grow",e)&&t.grow(),n(".wprm-recipe-shop-instacart",e)&&t.instacart(),n(".wprm-recipe-jump, .wprm-recipe-jump-to-comments, .wprm-recipe-jump-video, .wprm-jump-smooth-scroll, .wprm-recipe-jump-to-section",e)&&t.jump(),n(".wprm-recipe-jump-to-section-container-scroll",e)&&t.jumpToSection(),n(".wprm-recipe-media-toggle, .wprm-media-toggle-checkbox",e)&&t.media(),n(".wprm-popup-modal, [data-modal-uid]",e)&&t.modal(),n(".wprm-recipe-my-shopping-help",e)&&t.myShoppingHelp(),n(".wprm-recipe-cookpal",e)&&t.cookpal(),n(".wprm-recipe-pin",e)&&t.pinterest(),n(".wprm-recipe-print, .wprm-print-recipe-shortcode",e)&&t.print(),n(".wprm-recipe-slickstream",e)&&t.slickstream(),n(".wprm-tooltip",e)&&t.tooltip(),wprm_public.settings.video_force_ratio&&n(".wprm-recipe iframe, .wprm-recipe object, .wprm-recipe video, .wprm-recipe-video-container iframe, .wprm-recipe-video-container object, .wprm-recipe-video-container video",e)&&t.video()},h=new Set;let d=!1;const g=(e=document)=>{h.add(e||document),d||(d=!0,window.setTimeout(()=>{d=!1;const e=Array.from(h);h.clear();for(const t of e)O(t)},0))};window.WPRecipeMaker.publicLoader={detect:g,has:n,load:e=>t[e]?t[e]():Promise.resolve()},(e=>{"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e)})(()=>{O(),(()=>{if(!window.MutationObserver||!document.body)return;new MutationObserver(e=>{for(const t of e)for(const e of t.addedNodes)if(1===e.nodeType){g(t.target);break}}).observe(document.body,{childList:!0,subtree:!0})})()}),document.addEventListener("wprmRecipeInit",()=>{g()})})(),o=e.O(o),(WPRecipeMaker=0[0]===WPRecipeMaker?{}:WPRecipeMaker)["public-modern-split"]=o})()
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.