"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 cinque anni il mercato dei giochi d’azzardo online ha visto una crescita esponenziale, spinta soprattutto dalla capacità dei siti di trattenere i giocatori con programmi di fedeltà sempre più sofisticati. Questi programmi, simili a quelli dei retailer, offrono punti, bonus e vantaggi esclusivi in cambio di attività di gioco costante. La loro efficacia …
In diesem Artikel erfahren Sie, wie Sie im Cocoa Casino zum VIP-Spieler aufsteigen können. Wir werden die verschiedenen Schritte und Strategien besprechen, die Ihnen helfen, Ihre Loyalität zu zeigen und von exklusiven Vorteilen zu profitieren. Ob es um die Nutzung von Boni, das Spielen bestimmter Spiele oder die Teilnahme an Aktionen geht, wir haben alle …
In today’s digital age, online gambling has gained immense popularity, particularly among Canadians. This article delves into the numerous benefits that come with using slots gallery promo codes. From enhancing your gaming experience to maximizing your winnings, these codes can make a significant difference in how you engage with online casinos. We’ll also explore practical …
In diesem Artikel werden wir die besten Strategien zur Nutzung des drückglück Bonus Codes für neue Spieler beleuchten. Wir erklären, wie du den Bonuscode drückglück optimal einsetzen kannst, um deine Gewinnchancen zu maximieren und die verschiedenen Angebote des drück glück Casinos zu nutzen. Egal, ob du an Slots, Tischspielen oder Live-Action interessiert bist, wir haben …
Trong những năm gần đây, Megaways đã trở thành một trong những xu hướng “hot” nhất của thế giới slot online. Không chỉ mang lại hình ảnh lò xo đầy màu sắc, các trò chơi Megaways còn thu hút người chơi mới bởi khả năng tạo ra hàng ngàn, thậm chí hàng triệu, cách thắng …
Il periodo natalizio è ormai un vero e proprio spettacolo per i casinò online: luci scintillanti, melodie festose e, quest’anno, una nuova ossessione che spaventa e affascina al tempo stesso. Le slot horror a tema natalizio hanno conquistato le classifiche, mescolando l’atmosfera gelida del dicembre con i brividi tipici di Halloween. Questo “doppio brivido” attira …
Navigating online gambling options today often starts with a key choice: where you gamble and how much you risk. For players seeking a low-stakes entry, the option of a not on gamstop £10 deposit can seem appealing. This phrase describes sites that operate outside the UK self-exclusion framework and accept a modest first stake, typically …
The turn of the calendar always brings a fresh wave of marketing slogans, and 2024 is no exception. Across banners, push‑notifications and livestreams, iGaming operators are shouting about “green” platforms, carbon‑neutral reels and eco‑friendly bonuses. The promise is seductive: players can spin the same classic slots while “saving the planet,” all without sacrificing the thrill …
Negli ultimi cinque anni il dibattito tra gioco single‑player e multiplayer nei casinò digitali si è spostato da una semplice questione di preferenza personale a un vero e proprio campo di battaglia strategica per gli operatori. Da una parte, le slot tradizionali offrono una esperienza controllata, basata su RTP, volatilità e free spins isolate; dall’altra, …
Il panorama dei pagamenti nei casinò digitali sta attraversando una fase di profonda trasformazione. Oggi i giocatori non si accontentano più di velocità e convenienza: la loro fedeltà dipende soprattutto dalla percezione di un ambiente protetto, dove il denaro può fluire senza timori di frode o furto di dati. Una violazione di sicurezza, anche se …