"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;
Šajā rakstā tiks aplūkots, kā modernās tehnoloģijas, ko piedāvā lex casino, var uzlabot spēļu pieredzi. Mēs izpētīsim jaunas funkcijas, inovatīvas platformas un interaktīvus risinājumus, kas padara spēlēšanu aizraujošāku un ērtāku. Turklāt tiks apskatītas tendences, kas veido nākotnes iGaming nozari un kā tās ietekmē spēlētāju pieredzi. Jaunākās tehnoloģijas, kas maina iGaming pasauli Interaktīvā spēļu pieredze ar …
W artykule omówimy, jak nowi gracze mogą maksymalnie skorzystać z bonusu powitalnego oferowanego przez Casino Alf. Przedstawimy praktyczne porady, strategie oraz autentyczne opinie graczy, które pomogą zrozumieć, jak najlepiej wykorzystać dostępne promocje. Dzięki temu każdy nowy użytkownik ma szansę na udany start w świecie gier online. Zrozumienie bonusu powitalnego w Casino Alf Jak aktywować bonus …
En este artículo, exploraremos cómo Avia Master ha implementado una serie de estrategias innovadoras para ayudar a los jugadores a adaptarse a las nuevas tecnologías en el ámbito del juego. Desde la integración de plataformas digitales hasta el uso de inteligencia artificial, analizaremos cómo estas herramientas pueden mejorar la experiencia del jugador y optimizar los …
Die Welt der Online-Casinos hat sich in den letzten Jahren rasant entwickelt, und Spielautomaten zählen dabei zu den beliebtesten Spielen überhaupt. Aber wie funktionieren eigentlich diese digitalen Spielautomaten, und was bedeutet der Begriff Auszahlungsquote? In diesem Artikel tauchen wir tief in die faszinierende Welt der Slots und Online Spielautomaten ein, um ihre Funktionsweise zu erklären …
Il blackjack è da sempre il re dei giochi da tavolo nell’universo iGaming, capace di attrarre sia i neofiti che i giocatori più esperti. La semplicità delle regole – “avvicinati a 21 senza superare” – nasconde una complessità matematica che, se sfruttata, può trasformare una semplice scommessa in un vero esercizio di ottimizzazione del valore …
Il gioco responsabile è ormai una delle pietre miliari del panorama dei casinò online. Le autorità di regolamentazione, gli operatori e i giocatori stessi hanno riconosciuto che la protezione dei consumatori non è più un optional, ma una condizione imprescindibile per la sostenibilità del mercato. In un contesto in cui le tecnologie di tracciamento e …
Gambling has been a popular form of entertainment for centuries, with people all over the world enjoying the thrill of risking their money in the hopes of winning big. In recent years, online gambling has become increasingly popular, allowing players to enjoy their favorite casino games from the comfort of their own homes. However, with …
Negli ultimi due anni i game‑show live hanno conquistato una fetta sempre più ampia del mercato dei casinò online. Titoli come Monopoly Live, Deal or No Deal Live o Crazy Time offrono un’esperienza che ricorda i tradizionali programmi televisivi, ma con la possibilità di puntare denaro reale in tempo reale. Questa fusione di intrattenimento e …
Imagine the hum of a subway car, the rhythmic clatter of wheels on rails, and the soft glow of a smartphone screen displaying a flashing progressive slot. The commuter leans back, places a quick bet, and watches the reels spin while the city rushes past. That moment—part escape, part adrenaline rush—has become a daily reality …
Mobile casino gaming has exploded in the past few years, turning commutes, coffee breaks and late‑night lounge sessions into high‑stakes entertainment. Yet every spin, every live‑dealer hand, and every provably fair game draws power from the very device that makes the action possible. The hidden cost? A rapidly draining battery that forces players to pause, …