"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;
Die Welt des Glücksspiels hat sich im Laufe der Jahren dramatisch weiterentwickelt. Vom mechanischen Einarmigen Banditen bis hin zu den hochmodernen Videoslots mit atemberaubenden Grafiken und innovativen Features – die Entwicklung dieser Spiele ist faszinierend. Online Casinos bieten heute eine unglaubliche Vielfalt an Spielautomaten, die für jeden Geschmack etwas Passendes bereithalten. Wenn Sie nach den …
It was a rainy Thursday night, and Sam—an ordinary office clerk with no prior gambling experience—decided to try his luck on a friend’s recommendation. He logged into a sleek online casino, deposited the minimum $5 allowed for a new player, and chose a bright‑colored slot that promised “big wins for beginners.” The screen flashed, the …
Nel panorama competitivo dell’iGaming, il “free play” è diventato più di una semplice offerta promozionale: è un vero e proprio banco di prova per i giocatori, che consente di familiarizzare con le dinamiche di gioco senza rischi finanziari. Questa fase di apprendimento non solo migliora l’esperienza dell’utente, ma crea anche una base di conoscenza che …
Finding meaningful connections in the digital age has become increasingly common, especially for those with unique lifestyles. Military personnel often face challenges when it comes to dating due to their demanding schedules and frequent relocations. This is where specialized platforms come into play, offering solutions for those looking to meet compatible partners. For service members …
Il mercato delle slot online ha raggiunto nel 2026 un livello di maturità senza precedenti. I grandi operatori hanno spostato l’attenzione dal semplice “gira e vinci” verso esperienze tematiche immerse, dove la narrazione, il design grafico e le colonne sonore sono parte integrante della value proposition. Questa evoluzione è stata spinta dalla crescente domanda di …
Die Registrierung und Verifizierung bei einem Online Casino ist ein entscheidender Schritt für jeden Spieler, der sicher und legal im Internet spielen möchte. Dieser Prozess, bekannt als KYC (Know Your Customer), stellt sicher, dass nur volljährige Personen spielen und dass die Transaktionen sicher sind. In diesem umfassenden Leitfaden erklären wir Ihnen Schritt für Schritt, wie …
Nel 2026 il live casino è diventato il punto di riferimento per i giocatori che cercano l’emozione di un tavolo reale senza lasciare il proprio salotto. La tecnologia 5G, i server a bassa latenza e le piattaforme di streaming in alta definizione hanno reso possibile una comunicazione in tempo reale così fluida da far sembrare …
Online Casinos bieten ihren Spielern eine Vielzahl von Boni, um neue Kunden anzuziehen und bestehende zu belohnen. Doch diese Bonuseinladungen sind oft mit komplexen Bedingungen verbunden, die nicht immer klar kommuniziert werden. Wer gezielt nach aktuellen Angeboten sucht, findet bei Wildrobin einen guten Ausgangspunkt. Ein Casino Bonus verstehen bedeutet, den reinen Betrag gegen die damit …
Nel panorama dei giochi d’azzardo online, il 2026 segna una svolta decisiva: i bonus non sono più semplici incentivi, ma veri e propri driver strategici. Le piattaforme più performanti hanno trasformato le offerte promozionali in leve di crescita, fidelizzazione e differenziazione competitiva. Questo cambiamento si riflette nella capacità di attrarre nuovi giocatori, nella riduzione del …