"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;
Дивлячись на тенденції індустрії онлайн‑азартних ігрових платформ, українські гравці дедалі більше цінують послуги, що забезпечують безпеку та контроль за своїми гральними активностями. У цій статті розглянемо, яку роль відіграє відповідальна гральна політика у Goxbet casino і як гравці можуть скористатися її інструментами для підтримки здорових ігрових звичок. Чому це важливо? Перш за все, це допомагає …
In the dynamic realm of online casinos, understanding the pros and cons is crucial for players seeking the best gaming experience. This article will delve into the essentials of online casino reviews, helping players navigate options effectively, such as those found at https://dubibet24.com/ where they can explore games, bonuses, and more. From the variety of …
As the world of online casinos continues to evolve, 2026 presents a myriad of exciting possibilities for both new and seasoned players. Whether you are just dipping your toes into the adrenaline-fueled realm of online gambling or looking to refine your strategy, understanding the fundamental aspects of online casino gameplay, including where to log in …
El mundo de los casinos online ha crecido exponencialmente en los últimos años, ofreciendo a los jugadores la posibilidad de disfrutar de una experiencia de juego emocionante desde la comodidad de sus hogares. Sin embargo, con esta expansión también ha aumentado la preocupación por la seguridad y la legitimidad de los sitios disponibles. En 2026, …
I casinò online hanno guadagnato una notevole popolarità negli ultimi anni, con migliaia di giocatori che si connettono ogni giorno per provare la loro fortuna. La facilità d’accesso e la varietà di giochi disponibili hanno reso queste piattaforme estremamente attrattive. Nel 2026, è fondamentale sapere come navigare in questo mondo in continua evoluzione, garantendosi un’esperienza …
As the online gambling landscape continues to evolve, bettors in the UK are seeking out new betting sites that not only offer exciting games but also prioritize player security and responsible gaming. For those interested in exploring new uk betting sites , Gamstop integration has emerged as a key feature that enhances safety and helps …
For online gaming enthusiasts in Australia, fast deposits are crucial for a seamless gaming experience. PayID has emerged as a reliable payment method for funding online pokies accounts quickly and efficiently. This guide will explore how to leverage PayID for swift deposits at various online casinos, including australian online pokies , ensuring that players can …
In the exciting world of online gaming, real money casinos offer players a thrilling experience, combining entertainment with the chance to win significant rewards. Among the various payment methods available, PayID has emerged as a popular choice for Australians looking to play their favorite pokies, such as those found at payid pokies australia , which …
The Rise of Online Gambling The rise of online gambling has dramatically transformed the landscape of the casino industry in recent years. Initially, it provided a convenient alternative to traditional brick-and-mortar casinos, allowing players to enjoy their favorite games from the comfort of their homes. Technological advancements, particularly the expansion of high-speed internet and mobile …
In the world of online gaming, Bitcoin casinos have emerged as a popular choice among players, especially in Canada. These platforms offer a unique blend of traditional casino games and innovative technology, allowing users to enjoy gaming experiences with enhanced security and privacy. One of the standout features of these casinos is the option for …