"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;
Trong kỷ nguyên số, casino trực tuyến đã trở thành một phần không thể thiếu của thị trường giải trí Việt Nam. Khi người chơi có thể truy cập hàng ngàn trò chơi chỉ bằng một cú nhấp chuột, việc duy trì thói quen chơi có trách nhiệm càng trở nên khó khăn hơn. Cảm …
The live‑dealer boom has taken a decisive turn: tables that once displayed a single flag now flash dozens of currency symbols. From the roulette wheel in a Dubai lounge to the blackjack seat streamed to a smartphone in Kuwait, operators are scrambling to let players wager in the money they already hold. This shift promises …
Il mercato iGaming del 2026 si presenta come un ecosistema altamente interconnesso, dove le barriere tra scommesse sportive e giochi da casinò si sono progressivamente assottigliate. L’avvento dei bookmaker ibridi è stato spinto da una crescente disponibilità di dati in tempo reale, da modelli statistici sempre più sofisticati e da una migliore comprensione della psicologia …
Nel 2026 il mercato dei casinò online ha superato i 30 miliardi di euro a livello globale, trainato da una domanda crescente di esperienze più “social”. I giocatori non vogliono più limitarsi a una postazione solitaria: cercano interazioni in tempo reale, sfide condivise e la possibilità di celebrare le vittorie insieme ad altri utenti. Questa tendenza …
L’autunno è tradizionalmente la stagione in cui i campionati europei riprendono a pieno ritmo, riempiendo stadi, bar e, sorprendentemente, anche i tavoli dei casinò live. La passione per il calcio non si limita più al semplice tifo: gli operatori di gioco d’azzardo hanno capito come trasformare l’energia di una partita in un’opportunità di guadagno, integrando …
Die Welt des Online-Glücksspiels entwickelt sich rasant, und eine der spannendsten Innovationen ist die Integration von Kryptowährungen. Bitcoin, Ethereum und andere digitale Währungen revolutionieren nicht nur Finanzmärkte, sondern auch die Art und Weise, wie wir Online Casinos erleben. Für deutsche Spieler bietet die Nutzung von Kryptowährungen mehr Privatsphäre, schnellere Transaktionen und oft attraktivere Bonusangebote. Wer …
Negli ultimi tre anni il mercato italiano dei giochi d’azzardo online ha registrato una crescita sostenuta, spinta soprattutto dall’espansione dei live casino. Grazie a connessioni a banda larga più veloci e a una maggiore disponibilità di dispositivi mobili, i tavoli di Baccarat in streaming live sono diventati un punto di riferimento per gli appassionati di …
The roar of a studio audience, flashing lights, and a charismatic host calling out “Deal!”—that electric atmosphere once belonged only to television. Today the same spectacle streams straight to your living room, thanks to live‑dealer game‑show tables that blend the drama of TV with the immediacy of online gambling. Whether you’re spinning the Monopoly wheel …
El mundo del juego ha dejado atrás la mesa de madera y el salón de máquinas para instalarse en la palma de la mano. En los últimos cinco años, el número de jugadores que acceden a sus cuentas de casino mediante smartphones ha crecido más del 70 % en España, impulsado por la expansión de la …
Die Welt des Online Glücksspiels entwickelt sich ständig weiter, und eine der spannendsten Innovationen ist die Integration von Kryptowährungen. Bitcoin, Ethereum und andere digitale Währungen revolutionieren nicht nur das Finanzwesen, sondern auch die Casino-Branche. Für deutsche Spieler bietet die Nutzung von Kryptowährungen im Online Casino mehrere Vorteile: schnellere Transaktionen, verbesserte Privatsphäre und oft geringere Gebühren. …