"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;
In der Welt der Online-Casinos sind Boni ohne Einzahlung eine beliebte Möglichkeit, um neue Spieler zu gewinnen. Sie ermöglichen es den Nutzern, Spiele auszuprobieren, ohne zunächst Geld investieren zu müssen. Doch bevor man sich auf diese Angebote stürzt, ist es wichtig, die Wettbedingungen und Umsatzanforderungen genau zu verstehen, insbesondere wenn es um einen casino bonus …
Die Welt des Online-Glücksspiels bietet unzählige Möglichkeiten für Unterhaltung und potenzielle Gewinne. Doch nicht alle Plattformen im Internet sind vertrauenswürdig. Ein seriöses Online Casino erkennen ist entscheidend für eine sichere und faire Spielerfahrung. Viele Spieler suchen nach den migliori siti scommesse, die nicht nur großzügige Boni anbieten, sondern auch transparent und lizenziert sind. Erfahrungsberichte zu …
Casino floor layouts organize gaming equipment and the routes between it. The arrangement must also accommodate staff movement, maintenance access, seating, and connections to other public facilities within the building or wider entertainment complex. Different activities need different amounts of space. A table with standing spectators has a different circulation pattern from a row of …
Casino floor layouts organize gaming equipment and the routes between it. The arrangement must also accommodate staff movement, maintenance access, seating, and connections to other public facilities within the building or wider entertainment complex. Different activities need different amounts of space. A table with standing spectators has a different circulation pattern from a row of …
Casino floor layouts organize gaming equipment and the routes between it. The arrangement must also accommodate staff movement, maintenance access, seating, and connections to other public facilities within the building or wider entertainment complex. Different activities need different amounts of space. A table with standing spectators has a different circulation pattern from a row of …
Casino floor layouts organize gaming equipment and the routes between it. The arrangement must also accommodate staff movement, maintenance access, seating, and connections to other public facilities within the building or wider entertainment complex. Different activities need different amounts of space. A table with standing spectators has a different circulation pattern from a row of …
Verantwortungsvolles Spielen ist ein wesentlicher Aspekt des modernen Online-Glücksspiels. Ein Blick auf die Nutzungsbedingungen bei Mehr erfahren lohnt sich vor der ersten Einzahlung. In einer Welt voller siti scommesse online ist es wichtig, dass Spieler wissen, wie sie ihre Spielgewohnheiten kontrollieren können. Durch das Setzen von Limits und regelmäßige Selbsttests können Sie sicherstellen, dass Ihr …
Negli ultimi dieci anni il panorama del betting si è radicalmente trasformato, passando da una semplice scommessa su eventi sportivi tradizionali a un ecosistema digitale in cui i videogiochi competitivi – gli esports – occupano una posizione di rilievo. Questo cambiamento non è avvenuto per caso; è stato alimentato da tre forze convergenti: la diffusione …
En los últimos años el baccarat en vivo ha pasado de ser una curiosidad de los salones de alto nivel a una de las propuestas más buscadas en los casinos online de España. La combinación de una mesa real, un crupier profesional transmitido en alta definición y la posibilidad de jugar desde el sofá ha …
Navegar por el mundo de los mejores casinos online implica reconocer detalles clave como la facilidad de uso y la seguridad, aspectos que marcan la diferencia en una oferta tan amplia y variada.