"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;
Negli ultimi anni il mercato delle slot online è esploso, e nel 2026 il fenomeno sembra ancora più intenso. La combinazione di grafica iperrealistica, temi sempre più vicini alla cultura pop e la possibilità di giocare da qualsiasi dispositivo ha trasformato le slot da semplice passatempo a vero spettacolo interattivo. In questo contesto i Free …
The clatter of dice has echoed through imperial courts, temple festivals, and smoky riverboat gambling halls for centuries. From the silk‑laden corridors of the Tang Dynasty to the neon‑lit backrooms of today’s online casinos, the simple act of shaking three dice has always carried a promise of fate and fortune. In the past few years …
Negli ultimi cinque anni il panorama del gioco online è passato da una semplice offerta di slot a un ecosistema completo di scommesse sportive, poker, bingo e, soprattutto, tavoli con dealer reali. Questa evoluzione è stata alimentata da connessioni a banda larga più veloci, da piattaforme mobile ottimizzate e da un crescente desiderio dei giocatori …
Negli ultimi cinque anni il settore del gioco online ha vissuto una trasformazione profonda: i giocatori non cercano più solo la possibilità di puntare denaro, ma desiderano un’interazione reale, una sensazione di comunità che ricordi l’atmosfera di un casinò tradizionale. I tavoli con dealer dal vivo hanno risposto a questa esigenza, fungendo da ponte tra …
Negli ultimi anni la responsabilità di gioco è diventata un pilastro fondamentale per gli operatori italiani di casino online. Oltre alle tradizionali misure di auto‑esclusione e limiti di deposito, i programmi di fedeltà stanno assumendo un ruolo sempre più centrale: non solo premiano la frequenza di gioco, ma possono anche guidare comportamenti più consapevoli. Un …
The casino world has gone mobile, and 2024 is the year the shift becomes unmistakable. Players are no longer tethered to desktop browsers; they spin reels while waiting for the train, scrolling through live‑dealer tables during a holiday dinner, or checking bonus balances from a cozy couch. This mobile‑first reality collides perfectly with the Christmas …
The morning rush is a familiar tableau: a sea of commuters shoulder‑to‑shoulder on a packed subway, the hum of the train rattling against the tracks, and the endless scroll of the same tired news feed. Hours slip by, punctuated only by the occasional stoplight or the squeak of a door opening. In that liminal space …
Best Practices to Ensure Your Trailer Sale is Legally Binding When buying or selling a trailer, clarity and legality are paramount. A trailer isn’t just a vehicle; it’s often a significant investment. To avoid disputes and ensure a smooth transaction, following best practices for making your sale legally binding is essential. Below are several key …
Returning to the dating scene after a breakup can feel daunting, especially when you’re navigating the world of online dating for the first time in years. Connecting with https://shanti-date.com online starts with choosing where to look. The landscape has evolved significantly, with numerous platforms offering connections that might lead to meaningful relationships. Whether you’re curious …