"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;
El verano de 2024 ha consolidado al gaming móvil como el motor principal del crecimiento de los casinos online. Los usuarios pasan más tiempo al aire libre, pero siguen buscando experiencias de juego fluidas desde sus smartphones y tabletas, lo que obliga a los operadores a ofrecer bibliotecas de títulos que funcionen sin interrupciones, incluso …
Il gioco d’azzardo patologico è una delle dipendenze più insidiose del nostro tempo: colpisce persone di ogni età, erode le finanze familiari e compromette la salute mentale. Le statistiche più recenti indicano che circa il 2 % della popolazione adulta sperimenta forme di gioco problematico, con un rischio maggiore tra chi ha subito traumi o vive …
Il mese di febbraio è ormai sinonimo di cuori pulsanti, rose rosse e, per chi ama il gioco d’azzardo, di una pioggia di free spins a tema romantico. Le piattaforme di casinò online hanno trasformato la festa degli innamorati in una vera e propria stagione di promozioni, con grafiche a cuore, soundtrack di love‑song e …
Guide complet du casino en ligne – Tout ce que vous devez savoir Le monde du jeu s’est radicalement transformé depuis l’avènement d’Internet haut débit. Aujourd’hui, un joueur peut accéder à des centaines de tables virtuelles depuis son smartphone ou son ordinateur portable, sans se déplacer dans un établissement physique. Cette accessibilité a entraîné une …
Il Capodanno è da sempre il momento più atteso del calendario ludico: le luci scintillanti dei fuochi d’artificio si mescolano alle luci al neon dei casinò online, creando un’atmosfera in cui la promessa di un nuovo inizio si fonde con l’energia della scommessa. Nel mondo digitale, le “risoluzioni” di gioco – quegli impegni di giocare …
The rise of tournament‑style play has turned ordinary slot machines into high‑octane arenas where every spin can catapult a player to the leaderboard. Operators now host daily “Spin‑and‑Win” battles, weekly leaderboard challenges, and massive progressive‑prize events that attract both casual spinners and seasoned pros. What separates the occasional cash‑out from the tournament champion? More often …
Die Welt des Online-Glücksspiels entwickelt sich ständig weiter, mit immer mehr Plattformen, die attraktive Aktionen und Turniere anbieten, um Spieler zu begeistern. Für deutsche Spieler bedeutet dies eine Fülle an Möglichkeiten, ihr Glück zu versuchen und dabei von exklusiven Angeboten zu profitieren. Die Saisonaktionen und der Turnierkalender im Online-Casino sind dabei besondere Highlights, die nicht …
The online casino world has been on a rapid evolution curve for the past decade. Where once the industry relied on Adobe Flash and clunky Java applets, today the dominant force is HTML5. This shift is more than a cosmetic upgrade; it reshapes how quickly a game loads, how fluidly it runs on a phone, …
La roulette, con il suo tavolo rotondo e la ruota che gira al ritmo di un battito, è da sempre il simbolo del fascino classico del casinò. Dal glamour dei saloni di Monte Carlo alle luci al neon di Las Vegas, il gioco ha mantenuto un’aura di mistero e di possibilità di trasformare una puntata in …
Guide complet du casino en ligne – Tout ce que vous devez savoir pour jouer en toute sécurité et maximiser vos gains Le jeu en ligne connaît une explosion sans précédent : des millions de joueurs se connectent chaque jour pour tenter leur chance sur des plateformes qui offrent bien plus que les salles terrestres …