"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;
The lights dim, a soft red glow washes over the casino floor, and a playlist of love‑songs drifts through the air. It’s Valentine’s night, and the promise of a “sweetheart bonus” feels as intoxicating as a first kiss. Yet behind the glitter of hearts and the clink of chips lies a quieter danger: the longer …
Nel 2026 il gioco mobile rappresenta più del 70 % del volume totale di scommesse online in Europa. L’adozione di smartphone 5G, la proliferazione di app ibride e l’integrazione di wallet digitali hanno spinto gli operatori a investire risorse enormi nella user experience. Parallelamente, le minacce informatiche si sono evolute: malware specifici per SDK di giochi, …
The world of online gambling has never been more dynamic. In the past few years, live‑dealer streams have exploded onto the scene, letting players watch real croupiers shuffle cards and spin wheels from the comfort of their laptops. At the same time, advances in artificial intelligence have made random‑number‑generator (RNG) tables faster and more mathematically …
The first week of January feels like a fresh canvas for anyone who swore a New‑Year’s resolution to finally win big. The glitter of a spinning wheel, the soft clatter of chips, and the promise of a life‑changing jackpot are enough to make even the most cautious player place a bet. While many head straight …
La Coppa del Mondo 2026 è più di un semplice evento sportivo: è un catalizzatore di cambiamenti nel panorama del gioco d’azzardo italiano. Mentre i tifosi si radunano davanti ai grandi schermi, gli operatori di casinò cercano di trasformare la passione per il calcio in esperienze di gioco più immersive e, soprattutto, più responsabili. Questo …
In this article, we’ll explore effective strategies to uncover and maximize the benefits of the best magical Vegas casino promotions. From understanding the different types of bonuses available to tips on how to leverage them for maximum enjoyment and profit, we’ve got you covered. Whether you’re a seasoned gambler or new to the scene, our …
In diesem Artikel werden wir das Tipico Online Casino und seine zahlreichen Vorteile eingehend untersuchen. Wir werden die verschiedenen Spiele, Bonusangebote, die Benutzererfahrung und vieles mehr beleuchten. Außerdem geben wir praktische Tipps, um das Beste aus deinem Spielerlebnis herauszuholen. Egal, ob du ein erfahrener Spieler oder ein Neuling bist, dieser Leitfaden bietet wertvolle Informationen für …
In diesem Artikel erfahren Sie, wie der NV Casino Login dazu beiträgt, die Sicherheit Ihrer persönlichen Daten und finanziellen Transaktionen beim Spielen zu gewährleisten. Wir werden die verschiedenen Sicherheitsmaßnahmen untersuchen, die das NV Casino implementiert hat, um ein sicheres und vertrauenswürdiges Spielerlebnis zu bieten. Zudem werden wir die Vorteile eines sicheren Logins und die Nutzung …
El mundo del juego ha dejado de ser una actividad estática para convertirse en una experiencia que acompaña al usuario a lo largo de su día. Los smartphones, con pantallas de alta resolución y conexiones 5G, permiten que los jugadores accedan a sus casinos favoritos mientras esperan el autobús, viajan en metro o incluso conducen …
Negli ultimi cinque anni il gioco su smartphone è passato da un hobby di nicchia a una vera e propria forza di mercato. I giocatori italiani, abituati a fare scommesse durante la pausa caffè o mentre attendono il treno, chiedono sempre più esperienze fluide, rapide e, soprattutto, che non prosciughino la batteria del dispositivo. La …