"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VariableProductTour=void 0;const element_1=require("@wordpress/element"),i18n_1=require("@wordpress/i18n"),components_1=require("@woocommerce/components"),data_1=require("@woocommerce/data"),tracks_1=require("@woocommerce/tracks"),data_2=require("@wordpress/data"),core_data_1=require("@wordpress/core-data"),constants_1=require("../../../constants"),VariableProductTour=()=>{const[e,o]=(0,element_1.useState)(!1),t=(0,core_data_1.useEntityId)("postType","product"),r=(0,element_1.useRef)(),a=(0,element_1.useMemo)((()=>({product_id:t,page:1,per_page:constants_1.DEFAULT_VARIATION_PER_PAGE_OPTION,order:"asc",orderby:"menu_order"})),[t]),{totalCount:c}=(0,data_2.useSelect)((e=>{const{getProductVariationsTotalCount:o}=e(data_1.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);return{totalCount:o(a)}}),[t]),{updateUserPreferences:n,variable_product_block_tour_shown:s}=(0,data_1.useUserPreferences)(),i={placement:"top",steps:[{referenceElements:{desktop:".wp-block-woocommerce-product-variation-items-field"},focusElement:{desktop:".wp-block-woocommerce-product-variation-items-field"},meta:{name:"product-variations-2",heading:(0,i18n_1.__)("⚡️ This product now has variations","woocommerce"),descriptions:{desktop:(0,i18n_1.__)("From now on, you’ll manage pricing, shipping, and inventory for each variation individually—just like any other product in your store.","woocommerce")},primaryButton:{text:(0,i18n_1.__)("Got it","woocommerce")}}}],options:{classNames:["variation-items-product-tour"],effects:{arrowIndicator:!0,spotlight:{interactivity:{enabled:!0}}},callbacks:{onStepViewOnce:()=>{(0,tracks_1.recordEvent)("variable_product_block_tour_shown",{variable_count:c})}},popperModifiers:[{name:"offset",options:{offset:[0,32]}}]},closeHandler:()=>{n({variable_product_block_tour_shown:"yes"}),o(!1),(0,tracks_1.recordEvent)("variable_product_block_tour_dismissed")}};(0,element_1.useEffect)((()=>{const t=r.current!==c&&c>0&&0===r.current;r.current=c,t&&!e&&o(!0)}),[c]);const{hasShownProductEditorTour:u}=(0,data_2.useSelect)((e=>{const{getOption:o}=e(data_1.OPTIONS_STORE_NAME);return{hasShownProductEditorTour:"yes"===o("woocommerce_block_product_tour_shown")}}));return"yes"!==s&&e&&u?(0,element_1.createElement)(components_1.TourKit,{config:i}):null};exports.VariableProductTour=VariableProductTour;
In today’s competitive online gaming landscape, players are always looking for ways to enhance their experience and maximize their rewards. Utilizing a harry casino promo code can be a game-changer, offering bonuses, free spins, and other benefits. This article will delve into the various strategies for effectively using these codes, based on real player experiences …
This article dives into the intricacies of withdrawal times and requirements at strike wild casino. Players often face uncertainties regarding how long it takes to receive their winnings and what conditions must be met before a withdrawal can be initiated. By exploring real player experiences and detailed insights, we aim to provide a comprehensive understanding …
StrayaLuck Casino is an exciting destination for online gamers, particularly those from Australia. With a variety of enticing gaming options, generous promotions, and a distinctive VIP program, it offers an exceptional experience for players. Whether you prefer thrilling online pokies or crypto-friendly gaming, StrayaLuck Casino aims to enhance your gaming journey and reward your loyalty. …
Negli ultimi anni i giochi casino online hanno guadagnato una popolarità tale da trasformare il modo in cui i giocatori scommettono, ma la rapidità dell’adozione ha anche generato molte domande sulla sicurezza dei pagamenti. Quando si parla di “muri di ferro” digitali, la maggior parte degli utenti immagina una cassaforte impenetrabile, quando in realtà la …
Black Friday has evolved from a retail‑only phenomenon into a cornerstone of the online casino calendar. Operators line up exclusive live‑dealer promotions, from “double‑up” roulette spins to high‑roller blackjack tables that promise six‑figure jackpots. For players, the day offers a rare convergence of heightened traffic, generous bonus structures and a palpable sense of urgency that …
In the exciting world of online gaming, 9winz Casino stands out by offering a diverse range of gaming experiences. Focused on providing Indian players with an extensive portfolio of slots, live tables, and unique bonuses, players frequently find that 9winz Casino ensures that both new and experienced gamers enjoy seamless entertainment. With a commitment to …
Naviguer sur Casino Corgibet séduit par son interface épurée qui facilite l’accès aux jeux, offrant une expérience fluide où simplicité rime avec plaisir immédiat.
Online casino’s hebben de afgelopen jaren een enorme opkomst gekend. Voor veel spelers biedt het een spannende manier om te gokken vanuit het comfort van hun huis. Dit artikel biedt een uitgebreide gids over hoe je kunt beginnen met gokken in een online casino, inclusief informatie over het kaasino casino en veiligheidstips die essentieel zijn …