"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;
Il Caribbean Stud Poker è passato da semplice curiosità nei casinò fisici a protagonista dei tavoli da gioco online, soprattutto nella versione con dealer dal vivo. Questa evoluzione ha trasformato il modo in cui i giocatori percepiscono il rischio e il divertimento, introducendo un’interazione più realistica rispetto alle versioni software. Per chi desidera approfondire le offerte …
In the dynamic world of casinos, players constantly seek ways to enhance their gaming experience through various promotions, bonuses, and rewards. Understanding how to leverage these offers not only improves your chances of winning but also adds enjoyment to your gaming sessions. This article explores essential strategies and insights on maximizing your gaming experience at …
Navigating the variety of best online pokies NZ can feel overwhelming, but a clear layout and straightforward features help players focus on what matters most: enjoying the game.
In der aufregenden Welt der Online-Casinos gibt es viele Aspekte zu beachten, insbesondere für neue Spieler. Die Sicherstellung einer sicheren Spielumgebung ist entscheidend, um ein unterhaltsames und vor allem geschütztes Spielerlebnis zu gewährleisten. Außerdem werden Sie durch die Auswahl eines angesehenen Anbieters wie ThorFortune Casino wertvolle Ressourcen für Ihr Spiel finden, um die besten Entscheidungen …
Nel 2026, il mondo dei casinò online continua a evolversi, offrendo esperienze di gioco sempre più coinvolgenti e sicure. Questa guida pratica è pensata per chi desidera avvicinarsi al gioco online, fornendo informazioni chiare e dettagliate su come iniziare e quali caratteristiche tenere in considerazione. Che tu sia un principiante o un giocatore esperto, le …
Navigating the world of online casino promotions can be an exciting yet challenging experience, especially in 2026. With a plethora of offers available, from welcome bonuses to loyalty rewards, players must understand how to take full advantage of these promotions, such as those found on LoonaBet , which can enhance your gaming experience and potentially …
Im Jahr 2026 erleben die Spieler in Österreich ein aufregendes Angebot an Online-Casinos, die nicht nur spannende Spiele, sondern auch schnelle Einzahlungen und attraktive Boni bieten. Die Wahl des richtigen Wettanbieters ist entscheidend, um die bester wettanbieter österreich besten Spielerlebnisse zu genießen. In diesem Artikel werfen wir einen Blick auf die Schlüsselfaktoren, die beim Spielen …
El mercado global de juegos de azar en línea ha superado los 80 mil millones de dólares, y su ritmo de expansión sigue superando las previsiones de los analistas. La proliferación de dispositivos móviles, la liberalización de licencias en jurisdicciones emergentes y la presión de los reguladores han obligado a los operadores a buscar vías de …
In the exhilarating world of online casinos, Australian players are constantly seeking ways to enhance their gaming experience. With the advent of PayID pokies, a new era of fast withdrawals and secure payments has emerged, especially as players explore online pokies that offer diverse features and exciting gameplay options. PayID offers a seamless payment method …