"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;
Forstå spillene og oddsene Det er avgjørende å ha en solid forståelse av de ulike spillene som tilbys i kasinoer, enten de er fysiske eller nettbaserte. Hver enkelt type spill, fra spilleautomater til bordspill som blackjack og poker, kommer med sine egne regler og strategier. Hvis man ønsker å utforske de beste alternativene, kan man …
As the online casino landscape continues to evolve, players are increasingly interested in streamlined processes, especially when it comes to withdrawals. In 2026, the Australian online casino market promises faster transactions and user-friendly platforms that make it easy for players to access their winnings quickly, including options for online pokies australia real money that enhance …
Negli ultimi anni il mercato dei casinò digitali ha conosciuto una crescita esponenziale: nel 2026 le scommesse online rappresentano più del 30 % del fatturato globale del gioco d’azzardo, spinto da smartphone sempre più potenti e da una rete di pagamenti istantanei. I giocatori non sono più limitati a tavoli fisici; possono accedere a centinaia di …
Online casinos in South Africa have become increasingly popular among players seeking exciting gaming experiences that also promise quick and reliable payouts. With the growth of the industry, many players are eager to choose platforms that offer not just a fantastic selection of games, but also secure payment methods and enticing bonuses. In 2026, finding …
As online gambling continues to thrive, Canadian players are increasingly gravitating towards fast withdrawal casinos that promise not just entertainment but also quick access to their winnings. The allure of online casino instant withdrawal enhances the overall gaming experience, making it more thrilling and rewarding. This guide will delve into the world of fast withdrawal …
As the online gambling landscape continues to evolve, new platforms emerge, offering innovative features, generous bonuses, and improved player experiences. For Canadian players in 2026, identifying a trusted new casino online canada is vital. This article examines the essential characteristics that make new online casinos in Canada reliable and appealing, ensuring players can enjoy a …
When diving into the vibrant world of online casinos, particularly for players in New Zealand, understanding the safest payment methods is crucial. Online Pokies NZ offers a comprehensive guide to selecting top-notch casinos where real money slots await, alongside enticing welcome bonuses, including options like casino online nz that cater to various preferences. Whether you …
Exploring the world of online casinos has never been more captivating, especially with the rise of PayID pokies in Australia. This innovative payment method offers players a seamless and efficient way to deposit funds at their favorite gaming sites. Understanding deposit limits is crucial for any player looking to manage their bankroll effectively while enjoying …
When it comes to enjoying the thrill of online pokies in Australia, safety in banking is paramount. Players must ensure they are using secure and reliable payment methods to protect their funds and personal information, especially when engaging with sites like australia online casino that offer exciting games and promotions. In this guide, we will …
Australia’s online casino scene is thriving, offering an exciting array of games, generous bonuses, and secure banking options. If you are new to this world, getting started can seem overwhelming, especially when considering options like online pokies real money that enhance your gaming experience. This guide will break down everything you need to know about …