"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;
Stopppunkt Feedback Thesperator praktisch den Ausbeuter Erfahrung existieren im Allgemeinen , mit feindlicher Glückwünsche für die okuläre Erfindung und Ruhe der Navigation . lediglich , ungefähr Nutzer werfen beschreiben beiläufig hinkend Verzögerung während Blüte Stunde , die töpfchen beeinträchtigung das einsatz leben . Das Casino setzt seine Arbeit fort, um seine Aufgaben zu erfüllen. Spieler …
Río Móvil abuso de sustancias llamar el recibir incentivo y complementario giro del sitio oficial lugar quirófano aplicación. incentive pageboy , footing , y choose atomic number 49 mirror screen background para British people histrion . Creemos que la transparencia es casi la misma que la de nuestras fortalezas y las áreas donde las expectativas …
Il nuovo anno porta con sé un’ondata di speranze e, per i giocatori di casinò online, anche la promessa di jackpot progressivi che possono trasformare una serata di gioco in una storia da raccontare. Nel 2024 i jackpot hanno registrato una crescita record, alimentata da promozioni stagionali, da una maggiore adozione di tecnologie come la …
Vermont’s Boating Culture: A Deep Dive into Local Regulations and Practices Vermont might not be the first state that comes to mind when you think of boating, but its lakes and rivers offer unique opportunities for both residents and visitors. The Green Mountain State boasts stunning waterways, including Lake Champlain and the Connecticut River, where …
Guide complet du casino en ligne – Tout ce que vous devez savoir Introduction Le phénomène des jeux de hasard sur Internet ne montre aucun signe de ralentissement. En France comme à l’étranger, les joueurs affluent chaque jour vers des plateformes qui promettent des graphismes immersifs, des bonus généreux et la possibilité de jouer depuis …
Online gambling has become a playground of choices, and one of the most decisive variables is how much a player is willing to risk on each spin. Some gamblers thrive on the adrenaline rush of hefty wagers, chasing massive payouts and exclusive VIP treatment, while others prefer a measured approach, stretching modest deposits into longer …
Free spins are the crown jewel of online slot promotions. Players love the idea of spinning the reels without risking their own stake, hoping that a single lucky round will trigger a cascade of wins. The allure is amplified when the same free‑spin mechanic is wrapped inside a tournament structure, where every spin can move …
Nel mondo dei casinò online il bonus è molto più di un semplice incentivo economico: è il primo elemento di interazione che plasma la percezione di sicurezza, affidabilità e divertimento. Quando un nuovo giocatore atterra sulla homepage, il layout del banner di benvenuto, i colori usati e il posizionamento dei pulsanti di claim determinano se …
Il settore dei casinò online sta vivendo una crescita senza precedenti: negli ultimi cinque anni il numero di giocatori attivi è aumentato del 70 %, e la domanda di esperienze live è diventata una delle principali leve di differenziazione. In questo contesto la velocità di connessione non è più un optional, ma una condizione imprescindibile per …
Il cinema ha sempre amato dipingere il mondo del gioco d’azzardo come un palcoscenico luccicante, dove i protagonisti entrano in una sala da poker con il sorriso di chi sa già di aver vinto. Da Rain Man a The Gambler, le luci soffuse, le fiches scintillanti e le voci fuori campo che recitano “sei nella …