"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; administrators, Author at - Page 48 of 384

administrators

Top 10 Best UK Casinos Not on Gamstop in 2026 Compared

Top 10 Best UK Casinos Not on Gamstop in 2026 Compared The quality of any non GamStop casino is only as good as the studios it partners with. The gap between “standard” and “premium” gaming is wider than ever, with a handful of developers leading the charge in innovation, high-volatility mechanics, and immersive live experiences. …

Top 10 Best UK Casinos Not on Gamstop in 2026 Compared Read More »

Legit Casinos Not On GamStop for UK Players August 2024 List

Legit Casinos Not On GamStop for UK Players August 2024 List In recent years, online gambling has become a prominent part of the entertainment landscape, offering convenience and excitement to players all over the UK. While this initiative has had significant success, it has led some players to seek alternatives to GamStop, particularly those who …

Legit Casinos Not On GamStop for UK Players August 2024 List Read More »

Non GamStop Casinos Best Casinos Not on GamStop for UK Players

Non GamStop Casinos Best Casinos Not on GamStop for UK Players Some UK banks may decline transactions to offshore gambling sites, making crypto the most reliable deposit method at sites not on GamStop. FreshBet has carved a distinctive niche among UK non-gamstop casinos as the platform most dedicated to keeping its player base continuously rewarded …

Non GamStop Casinos Best Casinos Not on GamStop for UK Players Read More »

Innovate Change: Top 10 real money casino sites York Press

Innovate Change: Top 10 real money casino sites York Press While all reputable internationally licensed casinos meet baseline standards, key differences can significantly affect your experience. Its sleek interface ensures a seamless real-money gaming experience on both Android and iOS. Whether you enjoy slots, roulette, blackjack, or live dealer tables, the right casino site should …

Innovate Change: Top 10 real money casino sites York Press Read More »

Innovate Change: Top 10 real money casino sites York Press

Innovate Change: Top 10 real money casino sites York Press This is exactly what separates real money casinos from social or sweepstakes casinos. Real money casinos let you wager real funds on casino games, with the potential to withdraw winnings as cash. Mention the range of most readily useful real money gambling enterprises for online …

Innovate Change: Top 10 real money casino sites York Press Read More »

Online Casino Games That Pay Real Money Motorsport UK Scottish Rally Championship

Online Casino Games That Pay Real Money Motorsport UK Scottish Rally Championship At Casino.org, he puts that insight to work, helping readers find secure, high-quality UK casinos with bonuses and features that truly stand out. He’s reviewed hundreds of operators, explored thousands of games, and understands exactly what players value most. Tournaments Players earn points …

Online Casino Games That Pay Real Money Motorsport UK Scottish Rally Championship Read More »

Most readily useful Online casinos 2026: Most useful Real money Casino Sites Woodlands Estates Limited

Most readily useful Online casinos 2026: Most useful Real money Casino Sites Woodlands Estates Limited It offers a vast array of gaming options, including slots, table games, live dealer experiences, and an extensive sportsbook. The platform reviews casinos based on their security, fairness, game variety, and overall user experience to help you find the best …

Most readily useful Online casinos 2026: Most useful Real money Casino Sites Woodlands Estates Limited Read More »