"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; Page 24

Exploring the Boundaries of Science: Unraveling the Mysteries of the Universe

Science has always been a beacon of discovery that illuminates the unknown. From the depths of the oceans to the furthest reaches of space, it strives to answer questions about our world and the universe we inhabit. As we delve deeper into various fields of science, we continue to uncover intricacies that challenge our understanding …

Exploring the Boundaries of Science: Unraveling the Mysteries of the Universe Read More »

Успокойтесь и выберите идеальную квартиру на сутки в Минске с UBIC

Почему стоит рассмотреть посуточную аренду в Минске Когда вы планируете поездку в Минск, одной из главных задач становится выбор жилья. Кому-то важна близость к центру города, другим — комфорт и наличие всех необходимых удобств. В этом контексте аренда квартиры посуточно становится отличным вариантом. Она позволяет не только сэкономить деньги по сравнению с отелями, но и …

Успокойтесь и выберите идеальную квартиру на сутки в Минске с UBIC Read More »

1red Online: Strategien zur optimalen Nutzung von Promotions

Online-Casinos bieten eine aufregende Welt des Glücksspiels mit zahlreichen Möglichkeiten, Gewinne zu erzielen und das Spielerlebnis zu bereichern. Um wirklich von den vielfältigen Aktionen und Verlosungen zu profitieren, ist es jedoch wichtig, diese strategisch einzusetzen. Spieler sollten nicht nur nach den attraktivsten Angeboten Ausschau halten, sondern auch die Bedingungen sorgfältig prüfen. Wer sich mit den …

1red Online: Strategien zur optimalen Nutzung von Promotions Read More »

La Rivoluzione Megaways: Come i Live Dealer Stanno Ridefinendo i Top Slot Payout Online

Nel 2026 i Megaways hanno superato la semplice idea di rulli variabili per diventare una piattaforma ibrida dove la casualità dei reel incontra l’interazione umana dei dealer in tempo reale. La prima generazione di slot Megaways, lanciata nel 2016, si basava su un algoritmo che cambiava il numero di simboli per rullo ad ogni spin, …

La Rivoluzione Megaways: Come i Live Dealer Stanno Ridefinendo i Top Slot Payout Online Read More »

Summer Legends: How Cultural Moments Shape Progressive Jackpot Wins in Modern Slot Rooms

The scent of sunscreen, the hum of distant surf, and the promise of a life‑changing payout create a perfect summer cocktail for slot lovers. When the temperature climbs, many players trade boardrooms for beach chairs, and the reels start to spin with a newfound urgency. Progressive jackpots—those ever‑growing prize pools that can explode from a …

Summer Legends: How Cultural Moments Shape Progressive Jackpot Wins in Modern Slot Rooms Read More »

Navegar en 1win nunca fue tan sencillo, incluso para quienes arrancan desde cero

Navegar en 1win nunca fue tan sencillo, incluso para quienes arrancan desde cero. La plataforma ha logrado combinar una interfaz intuitiva con herramientas prácticas que facilitan la experiencia de usuario, sin importar el nivel de experiencia previa. Desde el momento en que accedes, se percibe un entorno diseñado para que cualquiera pueda entender rápidamente cómo …

Navegar en 1win nunca fue tan sencillo, incluso para quienes arrancan desde cero Read More »

Navegar en 1win nunca fue tan sencillo, incluso para quienes arrancan desde cero

Navegar en 1win nunca fue tan sencillo, incluso para quienes arrancan desde cero. La plataforma ha logrado combinar una interfaz intuitiva con herramientas prácticas que facilitan la experiencia de usuario, sin importar el nivel de experiencia previa. Desde el momento en que accedes, se percibe un entorno diseñado para que cualquiera pueda entender rápidamente cómo …

Navegar en 1win nunca fue tan sencillo, incluso para quienes arrancan desde cero Read More »

Navegar en 1win nunca fue tan sencillo, incluso para quienes arrancan desde cero

Navegar en 1win nunca fue tan sencillo, incluso para quienes arrancan desde cero. La plataforma ha logrado combinar una interfaz intuitiva con herramientas prácticas que facilitan la experiencia de usuario, sin importar el nivel de experiencia previa. Desde el momento en que accedes, se percibe un entorno diseñado para que cualquiera pueda entender rápidamente cómo …

Navegar en 1win nunca fue tan sencillo, incluso para quienes arrancan desde cero Read More »