PageSourceSearch

https://www.scngobits.com/_next/static/chunks/8198.b03cd5769fa41928.js

js scngobits.com collected 2026-10-08 11:08:09 UTC 5,984 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8198],{83786:function(t,n,e){"use strict";e.r(n),e.d(n,{default:function(){return C}});var r=e(26042),i=e(69396),o=e(85893),u=e(45697),c=e.n(u),a=e(67294),s=e(38078),f=e.n(s),l=e(79006),p=e(68776),d=e(86058),h=e(51438),m=e(52951),y=e(28668),v=e(25171),g=e(9110),b=e(10253),Z=function(t){return/^on[A-Z]/.test(t)},_=function(t){return t.substr(2).toLowerCase()},E=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;(t.unsubs||[]).filter((function(t){var e=(0,b.Z)(t,1)[0];return!n||n.includes(e)})).forEach((function(t){return(0,(0,b.Z)(t,2)[1])()}))},j=function(t,n){E(t,function(t){return Object.keys(t).filter(Z).map(_)}(n)),t.unsubs=Object.keys(n).filter(Z).map((function(e){var r=_(e);return[r,t.editor.on(r,n[e])]}))},w=(a.Component,function(t){(0,y.Z)(e,t);var n=(0,v.Z)(e);function e(t){var r;return(0,h.Z)(this,e),(r=n.call(this,t)).editor=void 0,r.el=document.createElement("div"),r}return(0,m.Z)(e,[{key:"componentDidMount",value:function(){document.body.appendChild(this.el),this.el.className=this.props.className;var t=(0,r.Z)({},this.props);this.editor=(0,g.bM)(t,this.el),j(this,t)}},{key:"componentDidUpdate",value:function(){var t=(0,r.Z)({},this.props);Object.assign(this.editor,t),j(this,t)}},{key:"componentWillUnmount",value:function(){document.body.removeChild(this.el),this.editor&&(E(this),this.editor=void 0)}},{key:"show",value:function(){this.editor.show()}},{key:"hide",value:function(){this.editor.hide()}},{key:"render",value:function(){return null}}]),e}(a.Component)),x=(a.Component,function(t){var n=t.adDataElement,e=t.id,u=t.imageState,c=t.originalSrc,s=k(e),f=s.editorEnabled,l=s.toggleEditor,h=s.imageBeingEdited,m=(0,a.useState)(parseFloat(n.width)/parseFloat(n.height))[0],y=(0,a.useContext)(p.BuildPublicationContext).onProcessEditorImage;return c?(0,o.jsxs)(O,{children:[(0,o.jsx)(R,{onClick:l}),f&&h===e&&(0,o.jsx)(w,(0,i.Z)((0,r.Z)({},(0,g.zY)({imageWriter:{mimeType:"image/jpeg"}})),{className:d.pintura,src:c,utils:["crop","filter","finetune","frame","resize"],onHide:l,onProcess:y(e),imageState:u,imageCropAspectRatio:m}))]}):null});x.defaultProps={src:"",id:""},x.propTypes={src:c().string,id:c().string};var C=x,k=function(t){var n=(0,a.useContext)(p.BuildPublicationContext),e=n.imageEditorEnabled,r=n.setImageEditorEnabled,i=n.setImageBeingEdited,o=n.imageBeingEdited,u=(0,a.useCallback)((function(){e?(r(!1),i(null)):(r(!0),i(t))}),[e]);return{editorEnabled:e,toggleEditor:u,imageBeingEdited:o}},O=function(t){var n=t.children;return(0,o.jsx)("div",{className:f().editButtons,children:n})},R=function(t){var n=t.onClick;return(0,o.jsx)(l.Z,{color:"btnImageViewUpload",onClick:n,children:(0,o.jsx)("img",{src:"/static/images/icon/icon2.png",alt:"btn"})})}},86058:function(t){t.exports={pintura:"pintura_pintura__TYHMS",image_editor_spin:"pintura_image_editor_spin__3LJ31","pintura-img-loading":"pintura_pintura-img-loading__avExZ"}},4111:function(t,n,e){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}e.d(n,{Z:function(){return r}})},25171:function(t,n,e){"use strict";e.d(n,{Z:function(){return c}});var r=e(82662),i=e(4111),o=e(82222);function u(t,n){return!n||"object"!==(0,o.Z)(n)&&"function"!==typeof n?(0,i.Z)(t):n}function c(t){var n=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var e,i=(0,r.Z)(t);if(n){var o=(0,r.Z)(this).constructor;e=Reflect.construct(i,arguments,o)}else e=i.apply(this,arguments);return u(this,e)}}},82662:function(t,n,e){"use strict";function r(t){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},r(t)}function i(t){return r(t)}e.d(n,{Z:function(){return i}})},28668:function(t,n,e){"use strict";e.d(n,{Z:function(){return i}});var r=e(44998);function i(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&(0,r.Z)(t,n)}},44998:function(t,n,e){"use strict";function r(t,n){return r=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t},r(t,n)}function i(t,n){return r(t,n)}e.d(n,{Z:function(){return i}})},59637:function(t,n,e){"use strict";e.d(n,{Z:function(){return a}});var r=e(39474),o=e(13375),u=e(53128),c=e(91566);function a(t){return(0,r.Z)(t)||(0,o.Z)(t)||(0,c.Z)(t,i)||(0,u.Z)()}},82222:function(t,n,e){"use strict";function r(t){return t&&t.constructor===Symbol?"symbol":typeof t}e.d(n,{Z:function(){return r}})},25892:function(t,n,e){"use strict";e.d(n,{Z:function(){return s}});var r=e(44998);function i(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function o(t,n,e){return o=i()?Reflect.construct:function(t,n,e){var i=[null];i.push.apply(i,n);var o=new(Function.bind.apply(t,i));return e&&(0,r.Z)(o,e.prototype),o},o.apply(null,arguments)}function u(t,n,e){return o.apply(null,arguments)}var c=e(82662);function a(t){var n="function"===typeof Map?new Map:void 0;return a=function(t){if(null===t||(e=t,-1===Function.toString.call(e).indexOf("[native code]")))return t;var e;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof n){if(n.has(t))return n.get(t);n.set(t,i)}function i(){return u(t,arguments,(0,c.Z)(this).constructor)}return i.prototype=Object.create(t.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),(0,r.Z)(i,t)},a(t)}function s(t){return a(t)}}}]);

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.