"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;
Ambiance and Atmosphere The ambiance and atmosphere of a casino play a pivotal role in shaping the overall experience for visitors. A well-designed casino creates an enticing environment that draws players in and retains their interest. Factors such as lighting, sound, and decoration all contribute to this sensory experience, creating a lively yet comfortable setting. …
The online casino landscape in South Africa is evolving rapidly, with players seeking engaging experiences, generous bonuses, and secure gaming environments. As we step into 2026, the best online casinos are not only focusing on a broad selection of games but also on providing valuable features that enhance player satisfaction, such as the best online …
A magyar online kaszinók világa folyamatosan fejlődik, és 2026-ban számos izgalmas ajánlatot és bónuszt kínálnak a játékosoknak. Az online szerencsejátékok népszerűsége, valamint az új technológiák megjelenése lehetővé teszi a felhasználók számára, hogy kényelmesen és biztonságosan élvezzék kedvenc játékaikat. Ebben a cikkben megvizsgáljuk, hogyan működik az online kaszinók regisztrációja, és a legjobb lehetőségek között találhatóak a …
Understanding the Games Before diving into any casino experience, it’s essential to understand the games available. Each game, whether it’s poker, blackjack, or slots, has its own set of rules, strategies, and odds. Familiarizing yourself with these is crucial as it allows you to make informed decisions while playing. For instance, in blackjack, knowing when …
Het spelen in een online casino biedt nieuwe spelers een opwindende ervaring met tal van voordelen. Het kiezen van een online casino dat geen Cruks-registratie vereist, opent de deur naar meer speelmogelijkheden en gemak, zoals bijvoorbeeld bij zonder cruks casino , waar je een breed scala aan spellen kunt vinden die je kunt spelen. In …
The Evolution of Slot Machines Slot machines have a fascinating history that traces back to the late 19th century. Originally designed as mechanical devices, these early machines featured simple symbols, such as fruits and bells, and operated using a lever mechanism. The first of these machines, known as the Liberty Bell, quickly gained popularity in …
Die Welt der Online Casinos hat in den letzten Jahren enorm an Popularität gewonnen, insbesondere im Bereich des Mobile Gaming. Spieler können nun von überall aus sicher und bequem Echtgeld einsetzen und ihre Lieblingsspiele genießen. In diesem Artikel erfahren Sie, wie Online Casinos Echtgeld und die beste online casino den Bedürfnissen der Spieler gerecht werden, …
The Basics of Casino Odds Understanding odds is fundamental to navigating the complex world of casinos. Odds represent the likelihood of a certain outcome occurring and are a crucial part of gaming. For example, when you place a bet in a game like blackjack, the odds help you assess the risk versus reward of your …
Live casino-segmentet växer snabbt, och spelare söker nu de bästa alternativen utan licens. År 2026 är det fullt möjligt att njuta av en fantastisk spelupplevelse genom att välja internationella live casino-leverantörer. Dessa plattformar erbjuder spännande bordsspel, stora bonusar och flexibla betalningsmetoder, allt designat med svenska spelare i åtanke, inklusive casino utan licens som kan ge …
Negli ultimi anni, i casinò online non AAMS in Italia hanno guadagnato sempre più popolarità. Offrendo un’ampia gamma di giochi e vantaggi, questi casinò attraggono molti giocatori. Tuttavia, è fondamentale capire come garantire pagamenti sicuri e veloci, per poter giocare in tutta tranquillità. Un esempio di piattaforma affidabile è il casino non AAMS che offre …