"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 mondo del gioco d’azzardo ha vissuto una trasformazione radicale negli ultimi quindici anni. I casinò tradizionali, una volta pilastri di città turistiche e resort di lusso, si trovano ora a competere con piattaforme digitali che offrono accesso 24 ore su 24, da qualsiasi dispositivo connesso. Questo cambiamento non è solo una questione di comodità; è …
In the dynamic world of online gaming, players are often on the lookout for platforms that not only offer exciting games but also provide a rewarding experience. Boom Radio Bingo Casino stands out as a top contender, combining versatility in gaming options like bingo and slots with a user-friendly interface and a commitment to fair …
With the rapid growth of online gaming, players are often looking for non GamStop casino sites in the UK that not only provide an extensive range of games but also facilitate fast and secure withdrawals. Understanding the various options available for withdrawing your winnings can greatly enhance your gaming experience, especially when considering a non …
The world of online casinos is filled with excitement, and one of the most engaging platforms to explore is dedicated to a diverse range of games, including thrilling slot games and the strategic charm of dice games. With the evolution of technology, casinos such as nanogames.casino offer a modern gaming experience that integrates cryptocurrencies, ensuring …
Казино — это место, где азарт и развлечение переплетаются, привлекая игроков своими возможностями выиграть. В 2026 году выбор азартных игр значительно расширился благодаря новым платформам, таким как Spinbetter узбекистан , которые предлагают как спортивные ставки, так и казино-игры. Важно понимать не только, как начать играть, но и как выбрать надежное казино, чтобы обеспечить безопасность своих …
El sector iGaming ha experimentado una transformación acelerada en los últimos años. En 2026, la oferta de juegos en línea supera los 150 mil millones de dólares a nivel global, y la mayor parte de ese movimiento proviene de plataformas móviles y de salas de poker online que combinan bonos agresivos con experiencias multijugador en tiempo …
Nel 2026 il settore iGaming ha raggiunto una maturità che pochi avrebbero potuto immaginare solo cinque anni fa. L’avvento dei tavoli con dealer dal vivo ha trasformato il semplice atto del puntare in una vera esperienza sociale, avvicinando il giocatore digitale a quello tradizionale di un casinò fisico. Questa tendenza è alimentata da una combinazione …
U današnjem digitalnom dobu, online kockanje postaje sve popularnije, a sigurnost igra ključnu ulogu za uspjeh svakog online casina. Cazeus Hrvatska izražava svoju posvećenost sigurnosti igrača kroz različite mjere i protokole. Ovaj članak istražuje kako Cazeus osigurava vašu sigurnost dok uživate u raznim igrama, uključujući automate i igre s pravim djeliteljima, uz naglasak na korisničku …
The past five years have seen cryptocurrency move from niche hobby to mainstream payment method in the online gambling arena. Players now expect the speed of blockchain transactions paired with the social atmosphere of a live‑dealer table, where a real croupier shuffles cards, spins the roulette wheel, and chats with participants in real time. This …