(function(){ class SPZCustomToast extends SPZ.BaseElement { constructor(element) { super(element); } isLayoutSupported(layout) { return layout === SPZCore.Layout.LOGIC; } buildCallback(){ /* this.registerAction('showToast', (invocation) => { console.info('[showToast]',invocation.args ); }); */ console.info('[build toast]', ); window.customToast = (message, type) => { const msg = (type == 'error'? '❗ ' : "😀 ") + message; const toast = document.querySelector('#custom_solution_toast'); SPZ.whenApiDefined(toast).then(apis=>{ apis.showToast(msg, 3000); }) } } } SPZ.defineElement('spz-custom-toast', SPZCustomToast); })() class SpzCustomProductImpression extends SPZ.BaseElement { constructor(element) { super(element); } isLayoutSupported(layout) { return true; } mountCallback() { const script = this.element; let isInView = false; const rootSelecter = script.getAttribute('root-selector') || 'spz-product-snippet'; const root = script.closest(rootSelecter); const callback = (entries, observer) => { entries.forEach(entry => { if (entry.isIntersecting && !isInView) { isInView = true; window.csTracker.track('impression', { name: this.element.getAttribute('product-title'), id: this.element.getAttribute('product-id'), }); window.csTracker.track('function_expose', { event_name: 'function_expose', event_type: 'expose', event_info: JSON.stringify({ skit_user_id: window.csTracker.getSkitUid(), product_ids: [this.element.getAttribute('product-id')], expose_type: 1 }), }, ['sa']); console.log('Product in view', this.element.getAttribute('product-id')); } }) }; const observer = new IntersectionObserver(callback, { threshold: 1 }); observer.observe(root); } } SPZ.defineElement('spz-custom-product-impression', SpzCustomProductImpression); (function(){ class SPZCustomNetworkDetection extends SPZ.BaseElement { constructor(element) { super(element); this.payResult = null; } isLayoutSupported(layout) { return layout === SPZCore.Layout.LOGIC; } mountCallback(){ this.addNetWorkListener(); const bg = document.querySelector('.network_wrapper'); bg.onclick = function(e){ e.stopPropagation(); } } addNetWorkListener(){ window.addEventListener('online', () => { console.warn('[network online]'); const box = document.getElementById('network_tip_box'); SPZ.whenApiDefined(box).then(apis=>{ apis.close(); window?.currentVideoPlayer?.play(); }) }); window.addEventListener('offline', () => { console.warn('[network offline]'); const box = document.getElementById('network_tip_box'); SPZ.whenApiDefined(box).then(apis=>{ apis.open(); window?.currentVideoPlayer?.pause(); }) }); } } SPZ.defineElement('spz-custom-network-detection', SPZCustomNetworkDetection); })()
You have no internet connection
Please check your internetconnection and try again

dramazyn dramazyn

  • History
  • More links
History

dramazyn dramazyn

  • History
  • Log in
  • Create an account
  • (function(){ let w = window.innerWidth; function setHeaderCssVar() { const headerEle = document.getElementById('shoplaza-section-header'); if(!headerEle){ return }; document.body.style.setProperty('--window-height', `${window.innerHeight}px`); document.body.style.setProperty('--header-height', `${headerEle.clientHeight}px`); const mdScorllHideEle = headerEle.querySelector('.header__mobile .header__scroll_hide'); if (mdScorllHideEle) { document.body.style.setProperty('--header-scroll-hide-height-md', `${mdScorllHideEle.clientHeight}px`); } const pcScorllHideEle = headerEle.querySelector('.header__desktop .header__scroll_hide'); if (pcScorllHideEle) { document.body.style.setProperty('--header-scroll-hide-height-pc', `${pcScorllHideEle.clientHeight}px`); } } function handlResize() { if(w == window.innerWidth){return}; w = window.innerWidth; setHeaderCssVar(); }; function init(){ setHeaderCssVar(); window.removeEventListener('resize', window._theme_header_listener) window._theme_header_listener = handlResize; window.addEventListener('resize', window._theme_header_listener); } init(); })();
    Home  /  short-recently
    History

    ABOUT

    • Terms of Service
    • Privacy Policy
    • Refund Policy
    • Acceptable Use Policy
    • FAQs

    ABOUT

    • Terms of Service
    • Privacy Policy
    • Refund Policy
    • Acceptable Use Policy
    • FAQs

    CONTACT US

    • [email protected]
      Lei Hao Inc
      1500 N Grant Street Ste 1562, Denver, Colorado(CO), 80203

    CONTACT US

    • [email protected]
      Lei Hao Inc
      1500 N Grant Street Ste 1562, Denver, Colorado(CO), 80203
     All Rights Reserved. 2025 Lei Hao Inc
    Add 'Dramazyn' to the desktop.
    Add 'Dramazyn iOS' to the desktop
    1. Click on the toolbar 2. Select “Add to Home Screen”.
    (function () { class SPZCutomRightsManager extends SPZ.BaseElement { constructor(element) { super(element); } isLayoutSupported(layout) { return layout === 'logic'; } buildCallback() { this.setupAction_(); } setupAction_() { this.registerAction('removeSignatureQueryParams', () => { window.keepRightsManager?.removeSignatureQueryParams(); }); } } SPZ.defineElement('spz-custom-rights-manager', SPZCutomRightsManager); })();