PageSourceSearch

https://www.oyonesa.com/7030.c1f8e18c372a34b0.js

js oyonesa.com collected 2026-10-03 02:38:47 UTC 6,050 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7030],{84649:(k,u,l)=>{l.r(u),l.d(u,{ion_reorder:()=>_,ion_reorder_group:()=>g});var R=l(10467),n=l(48225),E=l(19225),p=l(61902),b=l(18620),T=l(3418),f=l(90906);l(16780),l(99596);const _=class{constructor(t){(0,n.r)(this,t)}onClick(t){const e=this.el.closest("ion-reorder-group");t.preventDefault(),(!e||!e.disabled)&&t.stopImmediatePropagation()}render(){const t=(0,p.b)(this);return(0,n.h)(n.d,{key:"b869db61ca6393cf1476f2111a66b387b567c6d1",class:t},(0,n.h)("slot",{key:"a78edd1776835282b8b5c841377018f36c83296c"},(0,n.h)("ion-icon",{key:"7fb067c47bbb9a7258e5063f028282cc097d0f94",icon:"ios"===t?E.j:E.k,lazy:!1,class:"reorder-icon",part:"icon","aria-hidden":"true"})))}get el(){return(0,n.g)(this)}};_.style={ios:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block}::slotted(ion-icon){font-size:dynamic-font(16px)}.reorder-icon{font-size:2.125rem;opacity:0.4}",md:":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block}::slotted(ion-icon){font-size:dynamic-font(16px)}.reorder-icon{font-size:1.9375rem;opacity:0.3}"};const g=class{constructor(t){(0,n.r)(this,t),this.ionItemReorder=(0,n.c)(this,"ionItemReorder",7),this.ionReorderStart=(0,n.c)(this,"ionReorderStart",7),this.ionReorderMove=(0,n.c)(this,"ionReorderMove",7),this.ionReorderEnd=(0,n.c)(this,"ionReorderEnd",7),this.lastToIndex=-1,this.cachedHeights=[],this.scrollElTop=0,this.scrollElBottom=0,this.scrollElInitial=0,this.containerTop=0,this.containerBottom=0,this.state=0,this.disabled=!0}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}connectedCallback(){var t=this;return(0,R.A)(function*(){const e=(0,b.a)(t.el);e&&(t.scrollEl=yield(0,b.g)(e)),t.gesture=(yield Promise.resolve().then(l.bind(l,3787))).createGesture({el:t.el,gestureName:"reorder",gesturePriority:110,threshold:0,direction:"y",passive:!1,canStart:s=>t.canStart(s),onStart:s=>t.onStart(s),onMove:s=>t.onMove(s),onEnd:()=>t.onEnd()}),t.disabledChanged()})()}disconnectedCallback(){this.onEnd(),this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}complete(t){return Promise.resolve(this.completeReorder(t))}canStart(t){if(this.selectedItemEl||0!==this.state)return!1;const s=t.event.target.closest("ion-reorder");if(!s)return!1;const r=D(s,this.el);return!!r&&(t.data=r,!0)}onStart(t){t.event.preventDefault();const e=this.selectedItemEl=t.data,s=this.cachedHeights;s.length=0;const r=this.el,o=r.__children||r.children;if(!o||0===o.length)return;let c=0;for(let d=0;d<o.length;d++){const h=o[d];c+=h.offsetHeight,s.push(c),h.$ionIndex=d}const i=r.getBoundingClientRect();if(this.containerTop=i.top,this.containerBottom=i.bottom,this.scrollEl){const d=this.scrollEl.getBoundingClientRect();this.scrollElInitial=this.scrollEl.scrollTop,this.scrollElTop=d.top+I,this.scrollElBottom=d.bottom-I}else this.scrollElInitial=0,this.scrollElTop=0,this.scrollElBottom=0;this.lastToIndex=a(e),this.selectedItemHeight=e.offsetHeight,this.state=1,e.classList.add(M),(0,f.b)(),this.ionReorderStart.emit()}onMove(t){const e=this.selectedItemEl;if(!e)return;const s=this.autoscroll(t.currentY),r=this.containerTop-s,c=Math.max(r,Math.min(t.currentY,this.containerBottom-s)),i=s+c-t.startY,h=this.lastToIndex,m=this.itemIndexForTop(c-r);if(m!==this.lastToIndex){const B=a(e);this.lastToIndex=m,(0,f.a)(),this.reorderMove(B,m)}e.style.transform=`translateY(${i}px)`,this.ionReorderMove.emit({from:h,to:m})}onEnd(){const t=this.selectedItemEl;if(this.state=2,!t)return void(this.state=0);const e=this.lastToIndex,s=a(t);e===s?this.completeReorder():this.ionItemReorder.emit({from:s,to:e,complete:this.completeReorder.bind(this)}),(0,f.h)(),this.ionReorderEnd.emit({from:s,to:e,complete:this.completeReorder.bind(this)})}completeReorder(t){const e=this.selectedItemEl;if(e&&2===this.state){const s=this.el.__children||this.el.children,r=s.length,o=this.lastToIndex,c=a(e);(0,T.r)(()=>{o===c||void 0!==t&&!0!==t||this.el.insertBefore(e,c<o?s[o+1]:s[o]);for(let i=0;i<r;i++)s[i].style.transform=""}),Array.isArray(t)&&(t=P(t,c,o)),e.style.transition="",e.classList.remove(M),this.selectedItemEl=void 0,this.state=0}return t}itemIndexForTop(t){const e=this.cachedHeights;for(let s=0;s<e.length;s++)if(e[s]>t)return s;return e.length-1}reorderMove(t,e){const s=this.selectedItemHeight,r=this.el.__children||this.el.children;for(let o=0;o<r.length;o++){let i="";o>t&&o<=e?i=`translateY(${-s}px)`:o<t&&o>=e&&(i=`translateY(${s}px)`),r[o].style.transform=i}}autoscroll(t){if(!this.scrollEl)return 0;let e=0;return t<this.scrollElTop?e=-x:t>this.scrollElBottom&&(e=x),0!==e&&this.scrollEl.scrollBy(0,e),this.scrollEl.scrollTop-this.scrollElInitial}render(){const t=(0,p.b)(this);return(0,n.h)(n.d,{key:"9527bbdedaab63d31f562c874a7332ea60c4b47b",class:{[t]:!0,"reorder-enabled":!this.disabled,"reorder-list-active":0!==this.state}})}get el(){return(0,n.g)(this)}static get watchers(){return{disabled:[{disabledChanged:0}]}}},a=t=>t.$ionIndex,D=(t,e)=>{let s;for(;t;){if(s=t.parentElement,s===e)return t;t=s}},I=60,x=10,M="reorder-selected",P=(t,e,s)=>{const r=t[e];return t.splice(e,1),t.splice(s,0,r),t.slice()};g.style=".reorder-list-active>*{display:block;-webkit-transition:-webkit-transform 300ms;transition:-webkit-transform 300ms;transition:transform 300ms;transition:transform 300ms, -webkit-transform 300ms;will-change:transform}.reorder-enabled{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reorder-enabled ion-reorder{display:block;cursor:-webkit-grab;cursor:grab;pointer-events:all;-ms-touch-action:none;touch-action:none}.reorder-selected,.reorder-selected ion-reorder{cursor:-webkit-grabbing;cursor:grabbing}.reorder-selected{position:relative;-webkit-transition:none !important;transition:none !important;-webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.4);box-shadow:0 0 10px rgba(0, 0, 0, 0.4);opacity:0.8;z-index:100}.reorder-visible ion-reorder .reorder-icon{-webkit-transform:translate3d(0,  0,  0);transform:translate3d(0,  0,  0)}"}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.