"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 world of online casinos is a vast ocean overflowing with exciting games and opportunities. Among them, the fishing-themed slot game, Big Bass Bonanza online slot , stands out with its engaging gameplay and the potential for significant rewards. As players cast their lines into this thrilling sea, they can enjoy the high volatility gameplay …
El mundo de los casinos en línea ha evolucionado considerablemente en los últimos años, y garantizar que los pagos y retiros sean seguros es fundamental. En este artículo, exploraremos cómo los jugadores pueden maximizar la seguridad de sus transacciones en 2026 al jugar en casinos en línea como M777 casino Mexico , donde abordaremos temáticas …
Exploring the world of online casinos is an exhilarating journey filled with numerous gaming options and thrilling rewards. With platforms like JetX leading the way in fast-paced gameplay and engaging experiences, players in Kenya can enjoy real-time entertainment right at their fingertips, such as https://jetx-app.co.ke/ which provides various exciting features that elevate gaming to new …
Ang industriya ng casino ay patuloy na umuunlad, at ang mga online na laro ay nagiging pangunahing paborito ng mga manlalaro. Ang mga platform gaya ng Chicken Road Philippines ay nagbibigay ng mas mabilis at mas maginhawang paraan upang makapaglaro at kumita. Sa artikulong ito, tatalakayin natin ang mga pangunahing aspeto na ginagawa itong kaakit-akit …
El mundo de los casinos en línea ofrece una experiencia emocionante y diversa para los jugadores. Hacer tu primer depósito en plataformas como doradobet es el primer paso para disfrutar de una amplia variedad de juegos y promociones. Desde juegos de mesa clásicos hasta las más modernas tragaperras, hay algo para todos. En este artículo, …
Navigating payouts is simple and efficient at Rocketplay, where straightforward gameplay pairs well with one of the faster withdrawal processes found in Australian online casinos.
In de wereld van online gokken is het belangrijk om niet alleen de beste spellen te vinden, maar ook een veilig en betrouwbaar casino. Dit artikel gaat in op de voordelen van het spelen bij online casino’s zonder CRUKS-registratie, inclusief de nieuwste promoties die beschikbaar zijn in 2026. Ontdek hoe je optimaal kunt profiteren van …
W świecie gier hazardowych online, Polska staje się coraz bardziej ekscytującym miejscem. W 2026 roku dostęp do najwyższej jakości usług kasynowych jest na wyciągnięcie ręki, a gracze mają do dyspozycji liczne oferty bonusowe, legalne platformy oraz polskie kasyna online bogaty wybór gier. Warto zrozumieć, jak te elementy wpływają na doświadczenia graczy i na co zwrócić …
Los casinos en línea han revolucionado la manera en que los jugadores disfrutan de sus juegos de azar favoritos. Entre ellos, las tragamonedas son una de las opciones más populares, ofreciendo una variedad de temáticas y características emocionantes. En este artículo, exploraremos lo que hace que un casino en línea, como Pin Up slots , …