PageSourceSearch

https://tweak-by.com/_next/static/chunks/pages/image-editor-c20f81a7bf4a5ae2.js

js tweak-by.com collected 2026-10-02 01:47:42 UTC 10,806 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1611],{13742:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(84297);let o=(0,r.Z)("Check",[["polyline",{points:"20 6 9 17 4 12",key:"10jjfj"}]])},34374:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(84297);let o=(0,r.Z)("FlipHorizontal",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3",key:"1i73f7"}],["path",{d:"M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3",key:"saxlbk"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 2v2",key:"tus03m"}]])},41352:function(t,n,e){"use strict";e.d(n,{Z:function(){return o}});var r=e(84297);let o=(0,r.Z)("X",[["line",{x1:"18",x2:"6",y1:"6",y2:"18",key:"15jfxm"}],["line",{x1:"6",x2:"18",y1:"6",y2:"18",key:"d1lma3"}]])},76619:function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/image-editor",function(){return e(72750)}])},72750:function(t,n,e){"use strict";e.r(n),e.d(n,{default:function(){return r.IT}});var r=e(95933)},70804:function(t,n,e){"use strict";var r,o,i=e(67294),s=function(t,n){return(s=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(t,n)},c=(r=o={path:void 0,exports:{},require:function(t,n){return function(){throw Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==n&&o.path)}},o.exports,function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var s=n.apply(null,o);s&&e.push(s)}else if("object"===i)for(var c in o)t.call(o,c)&&o[c]&&e.push(c)}}return e.join(" ")}r.exports?(n.default=n,r.exports=n):window.classNames=n}
1(),o.exports);function a(t,n,e){function r(){var l=Date.now()-c;l<n&&l>=0?o=setTimeout(r,n-l):(o=null,e||(a=t.apply(s,i),s=i=null))}null==n&&(n=100);var o,i,s,c,a,l=function(){s=this,i=arguments,c=Date.now();var l=e&&!o;return o||(o=setTimeout(r,n)),l&&(a=t.apply(s,i),s=i=null),a};return l.clear=function(){o&&(clearTimeout(o),o=null)},l.flush=function(){o&&(a=t.apply(s,i),s=i=null,clearTimeout(o),o=null)},l}a.debounce=a,function(t,n){void 0===n&&(n={});var e=n.insertAt;if(t&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===e&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}(".indiana-scroll-container {\n  overflow: auto; }\n  .indiana-scroll-container--dragging {\n    scroll-behavior: auto !important; }\n    .indiana-scroll-container--dragging > * {\n      pointer-events: none;\n      cursor: -webkit-grab;\n      cursor: grab; }\n  .indiana-scroll-container--hide-scrollbars {\n    overflow: hidden;\n    overflow: -moz-scrollbars-none;\n    -ms-overflow-style: none;\n    scrollbar-width: none; }\n    .indiana-scroll-container--hide-scrollbars::-webkit-scrollbar {\n      display: none !important;\n      height: 0 !important;\n      width: 0 !important;\n      background: transparent !important;\n      -webkit-appearance: none !important; }\n  .indiana-scroll-container--native-scroll {\n    overflow: auto; }\n\n.indiana-dragging {\n  cursor: -webkit-grab;\n  cursor: grab; }\n");var l,u=(l="indiana-scroll-container",function(t,n){if(!t)return l;"string"==typeof t?e=t:n=t;var e,r=l;return e&&(r+="__"+e),r+(n?Object.keys(n).reduce(function(t,e){var o=n[e];return o&&(t+=" "+("boolean"==typeof o?r+"--"+e:r+"--"+e+"_"+o)),t},""):"")}),p=function(t){function n(n){var e=t.call(this,n)||this;return e.onEndScroll=function(){e.scrolling=!1,!e.pressed&&e.started&&e.processEnd()},e.onScroll=function(t){var n=e.container.current;n.scrollLeft===e.scrollLeft&&n.scrollTop===e.scrollTop||(e.scrolling=!0,e.processScroll(t),e.onEndScroll())},e.onTouchStart=function(t){var n=e.props.nativeMobileScroll;if(e.isDraggable(t.target)){if(e.internal=!0,n&&e.scrolling)e.pressed=!0;else{var r=t.touches[0];e.processClick(t,r.clientX,r.clientY),!n&&e.props.stopPropagation&&t.stopPropagation()}}},e.onTouchEnd=function(t){var n=e.props.nativeMobileScroll;e.pressed&&(!e.started||e.scrolling&&n?e.pressed=!1:e.processEnd(),e.forceUpdate())},e.onTouchMove=function(t){var n=e.props.nativeMobileScroll;if(e.pressed&&(!n||!e.isMobile)){var r=t.touches[0];r&&e.processMove(t,r.clientX,r.clientY),t.preventDefault(),e.props.stopPropagation&&t.stopPropagation()}},e.onMouseDown=function(t){e.isDraggable(t.target)&&e.isScrollable()&&(e.internal=!0,-1!==e.props.buttons.indexOf(t.button)&&(e.processClick(t,t.clientX,t.clientY),t.preventDefault(),e.props.stopPropagation&&t.stopPropagation()))},e.onMouseMove=function(t){e.pressed&&(e.processMove(t,t.clientX,t.clientY),t.preventDefault(),e.props.stopPropagation&&t.stopPropagation())},e.onMouseUp=function(t){e.pressed&&(e.started?e.processEnd():(e.internal=!1,e.pressed=!1,e.forceUpdate(),e.props.onClick&&e.props.onClick(t)),t.preventDefault(),e.props.stopPropagation&&t.stopPropagation())},e.container=i.createRef(),e.onEndScroll=a(e.onEndScroll,300),e.scrolling=!1,e.started=!1,e.pressed=!1,e.internal=!1,e.getRef=e.getRef.bind(e),e}return function(t,n){function e(){this.constructor=t}s(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}(n,t),n.prototype.componentDidMount=function(){var t=this.props.nativeMobileScroll,n=this.container.current;window.addEventListener("mouseup",this.onMouseUp),window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd),n.addEventListener("touchstart",this.onTouchStart,{passive:!1}),n.addEventListener("mousedown",this.onMouseDown,{passive:!1}),t&&(this.isMobile=this.isMobileDevice(),this.isMobile&&this.forceUpdate())},n.prototype.componentWillUnmount=function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},n.prototype.getElement=function(){return this.container.current},n.prototype.isMobileDevice=function(){return void 0!==window.orientation||-1!==navigator.userAgent.indexOf("IEMobile")},n.prototype.isDraggable=function(t){var n=this.props.ignoreElements;if(n){var e=t.closest(n);return null===e||e.contains(this.getElement())}return!0},n.prototype.isScrollable=function(){var t=this.container.current;return t&&(t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight)},n.prototype.processClick=function(t,n,e){var r=this.container.current;this.scrollLeft=r.scrollLeft,this.scrollTop=r.scrollTop,this.clientX=n,this.clientY=e,this.pressed=!0},n.prototype.processStart=function(t){void 0===t&&(t=!0);var n=this.props.onStartScroll;this.started=!0,t&&document.body.classList.add("indiana-dragging"),n&&n({external:!this.internal}),this.forceUpdate()},n.prototype.processScroll=function(t){if(this.started){var n=this.props.onScroll;n&&n({external:!this.internal})}else this.processStart(!1)},n.prototype.processMove=function(t,n,e){var r=this.props,o=r.horizontal,i=r.vertical,s=r.activationDistance,c=r.onScroll,a=this.container.current;this.started?(o&&(a.scrollLeft-=n-this.clientX),i&&(a.scrollTop-=e-this.clientY),c&&c({external:!this.internal}),this.clientX=n,this.clientY=e,this.scrollLeft=a.scrollLeft,this.scrollTop=a.scrollTop):(o&&Math.abs(n-this.clientX)>s||i&&Math.abs(e-this.clientY)>s)&&(this.clientX=n,this.clientY=e,this.processStart())},n.prototype.processEnd=function(){var t=this.props.onEndScroll;this.container.current&&t&&t({external:!this.internal}),this.pressed=!1,this.started=!1,this.scrolling=!1,this.internal=!1,document.body.classList.remove("indiana-dragging"),this.forceUpdate()},n.prototype.getRef=function(t){[this.container,this.props.innerRef].forEach(function(n){n&&("function"==typeof n?n(t):n.current=t)})},n.prototype.render=function(){var t=this.props,n=t.children,e=t.draggingClassName,r=t.className,o=t.style,s=t.hideScrollbars,a=t.component;return i.createElement(a,{className:c(r,this.pressed&&e,u({dragging:this.pressed,"hide-scrollbars":s,"native-scroll":this.isMobile})),style:o,ref:this.getRef,onScroll:this.onScroll},n)},n.defaultProps={nativeMobileScroll:!0,hideScrollbars:!0,activationDistance:10,vertical:!0,horizontal:!0,stopPropagation:!1,style:{},component:"div",buttons:[0]},n}(i.PureComponent);n.Z=p},24697:function(t,n,e){"use strict";e.d(n,{Nr:function(){return s}});var r=e(67294);function o(t,n){return t===n}function i(t){return"function"==typeof t?function(){return t}:t}function s(t,n,e){var s,c,a=e&&e.equalityFn||o,l=(c=(s=(0,r.useState)(i(t)))[1],[s[0],(0,r.useCallback)(function(t){return c(i(t))},[])]),u=l[0],p=l[1],f=function(t,n,e){var o=this,i=(0,r.useRef)(null),s=(0,r.useRef)(0),c=(0,r.useRef)(null),a=(0,r.useRef)([]),l=(0,r.useRef)(),u=(0,r.useRef)(),p=(0,r.useRef)(t),f=(0,r.useRef)(!0);(0,r.useEffect)(function(){p.current=t},[t]);var d=!n&&0!==n&&"undefined"!=typeof window;if("function"!=typeof t)throw TypeError("Expected a function");n=+n||0;var h=!!(e=e||{}).leading,v=!("trailing"in e)||!!e.trailing,g="maxWait"in e,m=g?Math.max(+e.maxWait||0,n):null;return(0,r.useEffect)(function(){return f.current=!0,function(){f.current=!1}},[]),(0,r.useMemo)(function(){var t=function(t){var n=a.current,e=l.current;return a.current=l.current=null,s.current=t,u.current=p.current.apply(e,n)},e=function(t,n){d&&cancelAnimationFrame(c.current),c.current=d?requestAnimationFrame(t):setTimeout(t,n)},r=function(t){if(!f.current)return!1;var e=t-i.current;return!i.current||e>=n||e<0||g&&t-s.current>=m},y=function(n){return c.current=null,v&&a.current?t(n):(a.current=l.current=null,u.current)},b=function t(){var o=Date.now();if(r(o))return y(o);if(f.current){var c=n-(o-i.current);e(t,g?Math.min(c,m-(o-s.current)):c)}},w=function(){var p=Date.now(),d=r(p);if(a.current=[].slice.call(arguments),l.current=o,i.current=p,d){if(!c.current&&f.current)return s.current=i.current,e(b,n),h?t(i.current):u.current;if(g)return e(b,n),t(i.current)}return c.current||e(b,n),u.current};return w.cancel=function(){c.current&&(d?cancelAnimationFrame(c.current):clearTimeout(c.current)),s.current=0,a.current=i.current=l.current=c.current=null},w.isPending=function(){return!!c.current},w.flush=function(){return c.current?y(Date.now()):u.current},w},[h,g,n,m,v,d])}((0,r.useCallback)(function(t){return p(t)},[p]),n,e),d=(0,r.useRef)(t);return a(d.current,t)||(f(t),d.current=t),[u,f]}}},function(t){t.O(0,[6126,4398,5933,9774,2888,179],function(){return t(t.s=76619)}),_N_E=t.O()}]);

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.