Test Post Created
Test Post Created
"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;
Test Post Created
Test Post Created
The interface guides users with clear, intuitive steps that make getting started with winexch feel approachable, even for those unfamiliar with the platform.
Test Post Created
Nell’era digitale il gioco d’azzardo patologico ha assunto forme più nascoste e pervasivi, spostandosi dalle sale fisiche ai click su dispositivi mobili. La disponibilità 24 h, le offerte di benvenuto e le campagne di marketing mirate aumentano il rischio di comportamenti compulsivi, ma al tempo stesso creano un’opportunità per inserire meccanismi di protezione direttamente nella piattaforma. …
La navegación en casino argentina online destaca por su interfaz sencilla y accesible, que permite a los usuarios concentrarse en el juego sin complicaciones, favoreciendo una experiencia fluida y cómoda.
Test Post Created
While online gambling offers entertainment and potential winnings, it also carries risk. The phrase login gamstop is often heard by players who want to pause or prevent access to betting sites across the market. GamStop is a self exclusion scheme designed to help adults manage gambling impulses by blocking participation on participating sites for a …
Understanding login gamstop and self exclusion in online gambling Read More »
El mundo de los casinos en línea ha crecido exponencialmente en los últimos años, ofreciendo a los jugadores una variedad de juegos y oportunidades para ganar dinero real. Entre estas opciones, destaca Joker Jewels, una plataforma que permite a los usuarios registrarse, jugar y disfrutar de un atractivo bono de bienvenida. En este artículo, descubrirás …
Descubre cómo jugar en Joker Jewels como funciona y ganar dinero real con bonos Read More »
Simplified layouts and intuitive navigation bring a calm clarity to betting platforms, making the experience feel more approachable and less overwhelming than expected.