File manager - Edit - /home/web/vm-3fadc827.na4u.ru/www/bitrix/modules/landing/install/js/landing/screenshoter/dist/screenshoter.bundle.min.js
Back
this.BX=this.BX||{};(function(e,n,t){"use strict";var r=undefined&&undefined.__awaiter||function(e,n,t,r){function o(e){return e instanceof t?e:new t(function(n){n(e)})}return new(t||(t=Promise))(function(t,i){function u(e){try{c(r.next(e))}catch(e){i(e)}}function a(e){try{c(r["throw"](e))}catch(e){i(e)}}function c(e){e.done?t(e.value):o(e.value).then(u,a)}c((r=r.apply(e,n||[])).next())})};var o="application/font-woff";var i="image/jpeg";var u={woff:o,woff2:o,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:i,jpeg:i,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"};var a=function e(){var n=0;var t=function e(){return"0000".concat((Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)};return function(){n+=1;return"u".concat(t()).concat(n)}}();function c(e){var n=/\.([^./]*?)$/g.exec(e);return n?n[1]:""}function s(e){var n=c(e).toLowerCase();return u[n]||""}function f(e){return function(n){return new Promise(function(t){setTimeout(function(){t(n)},e)})}}function l(e){return e.search(/^(data:)/)!==-1}function h(e,n){return"data:".concat(n,";base64,").concat(e)}function d(e){return e.split(/,/)[1]}function v(e){return new Promise(function(n){var t=window.atob(e.toDataURL().split(",")[1]);var r=t.length;var o=new Uint8Array(r);for(var i=0;i<r;i+=1){o[i]=t.charCodeAt(i)}n(new Blob([o],{type:"image/png"}))})}function p(e){if(e.toBlob){return new Promise(function(n){return e.toBlob(n)})}return v(e)}function m(e){var n=[];for(var t=0,r=e.length;t<r;t+=1){n.push(e[t])}return n}function g(e,n){var t=window.getComputedStyle(e).getPropertyValue(n);return parseFloat(t.replace("px",""))}function w(e){var n=g(e,"border-left-width");var t=g(e,"border-right-width");return e.clientWidth+n+t}function b(e){var n=g(e,"border-top-width");var t=g(e,"border-bottom-width");return e.clientHeight+n+t}function y(){var e;var n;try{n=process}catch(e){}var t=n&&n.env?n.env.devicePixelRatio:null;if(t){e=parseInt(t,10);if(isNaN(e)){e=1}}return e||window.devicePixelRatio||1}function x(e){return new Promise(function(n,t){var r=new Image;r.onload=function(){return n(r)};r.onerror=t;r.crossOrigin="anonymous";r.src=e})}function R(e){return r(this,void 0,void 0,regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function n(t){while(1){switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.resolve().then(function(){return(new XMLSerializer).serializeToString(e)}).then(encodeURIComponent).then(function(e){return"data:image/svg+xml;charset=utf-8,".concat(e)}));case 1:case"end":return t.stop()}}},n)}))}var P=3e4;var S={};function E(e){return/ttf|otf|eot|woff2?/i.test(e)}function k(e,n){var t=e;if(BX.Type.isStringFilled(e)&&e.startsWith("http")&&!e.startsWith(window.location.origin)&&(e.endsWith(".svg")||e.endsWith(".png")||e.endsWith(".jpg")||e.endsWith(".gif"))){e=BX.Uri.addParam("/bitrix/tools/landing/proxy.php",{sessid:BX.bitrix_sessid(),url:e})}if(E(t)){t=t.replace(/.*\//,"")}if(S[t]){return S[t]}if(n.cacheBust){e+=(/\?/.test(e)?"&":"?")+(new Date).getTime()}var r=function t(r){var o="";if(n.imagePlaceholder){var i=n.imagePlaceholder.split(/,/);if(i&&i[1]){o=i[1]}}var u="Failed to fetch resource: ".concat(e);if(r){u=typeof r==="string"?r:r.message}if(u){console.error(u)}return o};var o=window.fetch?window.fetch(e,{mode:"no-cors"}).then(function(e){return e.blob().then(function(n){return{blob:n,contentType:e.headers.get("Content-Type")||""}})}).then(function(e){var n=e.blob,t=e.contentType;return new Promise(function(e,r){var o=new FileReader;o.onloadend=function(){return e({contentType:t,blob:o.result})};o.onerror=r;o.readAsDataURL(n)})}).then(function(e){var n=e.blob,t=e.contentType;return{contentType:t,blob:d(n)}}):new Promise(function(n,t){var r=new XMLHttpRequest;var o=function n(){t(new Error("Timeout of ".concat(P,"ms occured while fetching resource: ").concat(e)))};var i=function o(){if(r.readyState!==4){return}if(r.status!==200){t(new Error("Failed to fetch resource: ".concat(e,", status: ").concat(r.status)));return}var i=new FileReader;i.onloadend=function(){n({blob:d(i.result),contentType:r.getResponseHeader("Content-Type")||""})};i.readAsDataURL(r.response)};r.onreadystatechange=i;r.ontimeout=o;r.responseType="blob";r.timeout=P;r.open("GET",e,true);r.send()});var i=o.catch(r);S[t]=i;return i}var T;(function(e){function n(e,n,r){var o=window.getComputedStyle(e,r);var i=o.getPropertyValue("content");if(i===""||i==="none"){return}var u=a();try{n.className="".concat(n.className," ").concat(u)}catch(e){return}var c=document.createElement("style");c.appendChild(t(u,r,o));n.appendChild(c)}e.clonePseudoElement=n;function t(e,n,t){var i=".".concat(e,":").concat(n);var u=t.cssText?r(t):o(t);return document.createTextNode("".concat(i,"{").concat(u,"}"))}function r(e){var n=e.getPropertyValue("content");return"".concat(e.cssText," content: '").concat(n.replace(/'|"/g,""),"';")}function o(e){return m(e).map(function(n){var t=e.getPropertyValue(n);var r=e.getPropertyPriority(n);return"".concat(n,": ").concat(t).concat(r?" !important":"",";")}).join(" ")}})(T||(T={}));function C(e,n){var t=[":before",":after"];t.forEach(function(t){return T.clonePseudoElement(e,n,t)})}var L=undefined&&undefined.__awaiter||function(e,n,t,r){function o(e){return e instanceof t?e:new t(function(n){n(e)})}return new(t||(t=Promise))(function(t,i){function u(e){try{c(r.next(e))}catch(e){i(e)}}function a(e){try{c(r["throw"](e))}catch(e){i(e)}}function c(e){e.done?t(e.value):o(e.value).then(u,a)}c((r=r.apply(e,n||[])).next())})};function B(e,n){return L(this,void 0,void 0,regeneratorRuntime.mark(function t(){var r;return regeneratorRuntime.wrap(function t(o){while(1){switch(o.prev=o.next){case 0:if(!(e instanceof HTMLCanvasElement)){o.next=5;break}r=e.toDataURL();if(!(r==="data:,")){o.next=4;break}return o.abrupt("return",Promise.resolve(e.cloneNode(false)));case 4:return o.abrupt("return",x(r));case 5:if(!(e instanceof HTMLVideoElement&&e.poster)){o.next=7;break}return o.abrupt("return",Promise.resolve(e.poster).then(function(e){return k(e,n)}).then(function(n){return h(n.blob,s(e.poster)||n.contentType)}).then(function(e){return x(e)}));case 7:return o.abrupt("return",Promise.resolve(e.cloneNode(false)));case 8:case"end":return o.stop()}}},t)}))}function N(e,n,t){var r;return L(this,void 0,void 0,regeneratorRuntime.mark(function o(){var i;return regeneratorRuntime.wrap(function o(u){while(1){switch(u.prev=u.next){case 0:i=m(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes);if(!(i.length===0)){u.next=3;break}return u.abrupt("return",Promise.resolve(n));case 3:return u.abrupt("return",i.reduce(function(e,r){return e.then(function(){return j(r,t)}).then(function(e){if(e){n.appendChild(e)}})},Promise.resolve()).then(function(){return n}));case 4:case"end":return u.stop()}}},o)}))}function A(e,n){return L(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function t(r){while(1){switch(r.prev=r.next){case 0:if(n instanceof Element){r.next=2;break}return r.abrupt("return",n);case 2:return r.abrupt("return",Promise.resolve().then(function(){return H(e,n)}).then(function(){return C(e,n)}).then(function(){return F(e,n)}).then(function(){return n}));case 3:case"end":return r.stop()}}},t)}))}function H(e,n){var t=window.getComputedStyle(e);var r=n.style;if(!r){return}if(t.cssText){r.cssText=t.cssText}else{m(t).forEach(function(e){r.setProperty(e,t.getPropertyValue(e),t.getPropertyPriority(e))})}}function F(e,n){if(e instanceof HTMLTextAreaElement){n.innerHTML=e.value}if(e instanceof HTMLInputElement){n.setAttribute("value",e.value)}}function j(e,n,t){return L(this,void 0,void 0,regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function r(o){while(1){switch(o.prev=o.next){case 0:if(!(!t&&n.filter&&!n.filter(e))){o.next=2;break}return o.abrupt("return",Promise.resolve(null));case 2:return o.abrupt("return",Promise.resolve(e).then(function(e){return B(e,n)}).then(function(t){return N(e,t,n)}).then(function(n){return A(e,n)}));case 3:case"end":return o.stop()}}},r)}))}var X=/url\((['"]?)([^'"]+?)\1\)/g;var _=/url\([^)]+\)\s*format\((["'])([^"']+)\1\)/g;var D=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function M(e){return e.search(X)!==-1}function I(e,n,t){if(!M(e)){return Promise.resolve(e)}var r=U(e,t);return Promise.resolve(r).then(W).then(function(e){return e.reduce(function(e,r){return e.then(function(e){return V(e,r,n,t)})},Promise.resolve(r))})}function U(e,n){var t=n.preferredFontFormat;return!t?e:e.replace(D,function(e){while(true){var n=_.exec(e)||[],r=babelHelpers.slicedToArray(n,3),o=r[0],i=r[2];if(!i){return""}if(i===t){return"src: ".concat(o,";")}}})}function W(e){var n=[];e.replace(X,function(e,t,r){n.push(r);return e});return n.filter(function(e){return!l(e)})}function V(e,n,t,r,o){var i=t?O(n,t):n;return Promise.resolve(i).then(function(e){return o?o(e):k(e,r)}).then(function(e){if(typeof e==="string"){return h(e,s(n))}return h(e.blob,s(n)||e.contentType)}).then(function(t){return e.replace($(n),"$1".concat(t,"$3"))}).then(function(e){return e},function(){return i})}function O(e,n){if(e.match(/^[a-z]+:\/\//i)){return e}if(e.match(/^\/\//)){return window.location.protocol+e}if(e.match(/^[a-z]+:/i)){return e}var t=document.implementation.createHTMLDocument();var r=t.createElement("base");var o=t.createElement("a");t.head.appendChild(r);t.body.appendChild(o);if(n){r.href=n}o.href=e;return o.href}function $(e){return new RegExp("(url\\(['\"]?)(".concat(q(e),")(['\"]?\\))"),"g")}function q(e){return e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1")}var z=undefined&&undefined.__awaiter||function(e,n,t,r){function o(e){return e instanceof t?e:new t(function(n){n(e)})}return new(t||(t=Promise))(function(t,i){function u(e){try{c(r.next(e))}catch(e){i(e)}}function a(e){try{c(r["throw"](e))}catch(e){i(e)}}function c(e){e.done?t(e.value):o(e.value).then(u,a)}c((r=r.apply(e,n||[])).next())})};function G(e,n){return z(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function t(r){while(1){switch(r.prev=r.next){case 0:if(e instanceof Element){r.next=2;break}return r.abrupt("return",Promise.resolve(e));case 2:return r.abrupt("return",Promise.resolve(e).then(function(e){return J(e,n)}).then(function(e){return K(e,n)}).then(function(e){return Q(e,n)}));case 3:case"end":return r.stop()}}},t)}))}function J(e,n){var t;return z(this,void 0,void 0,regeneratorRuntime.mark(function r(){var o;return regeneratorRuntime.wrap(function r(i){while(1){switch(i.prev=i.next){case 0:o=(t=e.style)===null||t===void 0?void 0:t.getPropertyValue("background");if(o){i.next=3;break}return i.abrupt("return",Promise.resolve(e));case 3:return i.abrupt("return",Promise.resolve(o).then(function(e){return I(e,null,n)}).then(function(n){e.style.setProperty("background",n,e.style.getPropertyPriority("background"));return e}));case 4:case"end":return i.stop()}}},r)}))}function K(e,n){if(!(e instanceof HTMLImageElement)||l(e.src)){return Promise.resolve(e)}var t=e.src;return Promise.resolve(t).then(function(e){return k(e,n)}).then(function(e){return h(e.blob,s(t)||e.contentType)}).then(function(n){return new Promise(function(t,r){e.onload=t;e.onerror=r;e.srcset="";e.src=n})}).then(function(){return e},function(){return e})}function Q(e,n){return z(this,void 0,void 0,regeneratorRuntime.mark(function t(){var r,o;return regeneratorRuntime.wrap(function t(i){while(1){switch(i.prev=i.next){case 0:r=m(e.childNodes);o=r.map(function(e){return G(e,n)});return i.abrupt("return",Promise.all(o).then(function(){return e}));case 3:case"end":return i.stop()}}},t)}))}var Y=undefined&&undefined.__awaiter||function(e,n,t,r){function o(e){return e instanceof t?e:new t(function(n){n(e)})}return new(t||(t=Promise))(function(t,i){function u(e){try{c(r.next(e))}catch(e){i(e)}}function a(e){try{c(r["throw"](e))}catch(e){i(e)}}function c(e){e.done?t(e.value):o(e.value).then(u,a)}c((r=r.apply(e,n||[])).next())})};var Z={};function ee(e){return Y(this,void 0,void 0,regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function n(t){while(1){switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(n,t){if(!e.ownerDocument){t(new Error("Provided element is not within a Document"))}n(m(e.ownerDocument.styleSheets))}).then(function(e){return re(e)}).then(oe));case 1:case"end":return t.stop()}}},n)}))}function ne(e,n){return Y(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function t(r){while(1){switch(r.prev=r.next){case 0:return r.abrupt("return",(n.fontEmbedCss!=null?Promise.resolve(n.fontEmbedCss):te(e,n)).then(function(n){var t=document.createElement("style");var r=document.createTextNode(n);t.appendChild(r);if(e.firstChild){e.insertBefore(t,e.firstChild)}else{e.appendChild(t)}return e}));case 1:case"end":return r.stop()}}},t)}))}function te(e,n){return Y(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function t(r){while(1){switch(r.prev=r.next){case 0:return r.abrupt("return",ee(e).then(function(e){return Promise.all(e.map(function(e){var t=e.parentStyleSheet?e.parentStyleSheet.href:null;return I(e.cssText,t,n)}))}).then(function(e){return e.join("\n")}));case 1:case"end":return r.stop()}}},t)}))}function re(e){return Y(this,void 0,void 0,regeneratorRuntime.mark(function n(){var t,r;return regeneratorRuntime.wrap(function n(o){while(1){switch(o.prev=o.next){case 0:t=[];r=[];e.forEach(function(n){if("cssRules"in n){try{m(n.cssRules).forEach(function(e,t){if(e.type===CSSRule.IMPORT_RULE){var o=t+1;r.push(ue(e.href,n).then(ae).then(function(e){var t=ie(e);t.forEach(function(e){try{n.insertRule(e,e.startsWith("@import")?o=o+1:n.cssRules.length)}catch(n){console.log("Error inserting rule from remote css",{rule:e,error:n})}})}).catch(function(e){console.log("Error loading remote css",e.toString())}))}})}catch(o){var t=e.find(function(e){return e.href===null})||document.styleSheets[0];if(n.href!=null){r.push(ue(n.href,t).then(ae).then(function(e){var r=ie(e);r.forEach(function(e){t.insertRule(e,n.cssRules.length)})}).catch(function(e){console.log("Error loading remote stylesheet",e.toString())}))}console.log("Error inlining remote css file",o.toString())}}});return o.abrupt("return",Promise.all(r).then(function(){e.forEach(function(e){if("cssRules"in e){try{m(e.cssRules).forEach(function(e){t.push(e)})}catch(n){console.log("Error while reading CSS rules from ".concat(e.href),n.toString())}}});return t}));case 4:case"end":return o.stop()}}},n)}))}function oe(e){return e.filter(function(e){return e.type===CSSRule.FONT_FACE_RULE}).filter(function(e){return M(e.style.getPropertyValue("src"))})}function ie(e){if(e===undefined){return[]}var n=e;var t=[];var r="((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})";var o="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]"+"*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})";var i=/(\/\*[\s\S]*?\*\/)/gi;var u=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi;n=n.replace(i,"");var a=new RegExp(r,"gi");var c;while(true){c=a.exec(n);if(c===null){break}t.push(c[0])}n=n.replace(a,"");var s=new RegExp(o,"gi");while(true){c=u.exec(n);if(c===null){c=s.exec(n);if(c===null){break}else{u.lastIndex=s.lastIndex}}else{s.lastIndex=u.lastIndex}t.push(c[0])}return t}function ue(e,n){if(Z[e]){return Z[e]}var t=fetch(e,{mode:"no-cors"}).then(function(n){return{url:e,cssText:n.text()}},function(e){console.log("ERROR FETCHING CSS: ",e.toString())});Z[e]=t;return t}function ae(e){return Y(this,void 0,void 0,regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function n(t){while(1){switch(t.prev=t.next){case 0:return t.abrupt("return",e.cssText.then(function(n){var t=n;var r=/url\(["']?([^"')]+)["']?\)/g;var o=t.match(/url\([^)]+\)/g)||[];var i=o.map(function(n){var o=n.replace(r,"$1");if(!o.startsWith("https://")){var i=e.url;o=new URL(o,i).href}return new Promise(function(e,r){fetch(o,{mode:"no-cors"}).then(function(e){return e.blob()}).then(function(r){var o=new FileReader;o.addEventListener("load",function(r){t=t.replace(n,"url(".concat(o.result,")"));e([n,o.result])});o.readAsDataURL(r)}).catch(r)})});return Promise.all(i).then(function(){return t})}));case 1:case"end":return t.stop()}}},n)}))}function ce(e,n,t){var r="http://www.w3.org/2000/svg";var o=document.createElementNS(r,"svg");var i=document.createElementNS(r,"foreignObject");o.setAttributeNS("","width","".concat(n));o.setAttributeNS("","height","".concat(t));o.setAttributeNS("","viewBox","0 0 ".concat(n," ").concat(t));i.setAttributeNS("","width","100%");i.setAttributeNS("","height","100%");i.setAttributeNS("","x","0");i.setAttributeNS("","y","0");i.setAttributeNS("","externalResourcesRequired","true");o.appendChild(i);i.appendChild(e);return R(o)}function se(e,n){var t=e.style;if(n.backgroundColor){t.backgroundColor=n.backgroundColor}if(n.width){t.width="".concat(n.width,"px")}if(n.height){t.height="".concat(n.height,"px")}var r=n.style;if(r!=null){Object.keys(r).forEach(function(e){t[e]=r[e]})}return e}var fe=undefined&&undefined.__awaiter||function(e,n,t,r){function o(e){return e instanceof t?e:new t(function(n){n(e)})}return new(t||(t=Promise))(function(t,i){function u(e){try{c(r.next(e))}catch(e){i(e)}}function a(e){try{c(r["throw"](e))}catch(e){i(e)}}function c(e){e.done?t(e.value):o(e.value).then(u,a)}c((r=r.apply(e,n||[])).next())})};function le(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var t=n.width||w(e);var r=n.height||b(e);return{width:t,height:r}}function he(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return fe(this,void 0,void 0,regeneratorRuntime.mark(function t(){var r,o,i;return regeneratorRuntime.wrap(function t(u){while(1){switch(u.prev=u.next){case 0:r=le(e,n),o=r.width,i=r.height;return u.abrupt("return",j(e,n,true).then(function(e){return ne(e,n)}).then(function(e){return G(e,n)}).then(function(e){return se(e,n)}).then(function(e){return ce(e,o,i)}));case 2:case"end":return u.stop()}}},t)}))}function de(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return fe(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function t(r){while(1){switch(r.prev=r.next){case 0:return r.abrupt("return",he(e,n).then(x).then(f(100)).then(function(t){var r=document.createElement("canvas");var o=r.getContext("2d");var i=n.pixelRatio||y();var u=le(e,n),a=u.width,c=u.height;var s=n.canvasWidth||a;var f=n.canvasHeight||c;r.width=s*i;r.height=f*i;r.style.width="".concat(s);r.style.height="".concat(f);if(n.backgroundColor){o.fillStyle=n.backgroundColor;o.fillRect(0,0,r.width,r.height)}o.drawImage(t,0,0,r.width,r.height);return r}));case 1:case"end":return r.stop()}}},t)}))}function ve(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return fe(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function t(r){while(1){switch(r.prev=r.next){case 0:return r.abrupt("return",de(e,n).then(function(e){return e.toDataURL("image/jpeg",n.quality||1)}));case 1:case"end":return r.stop()}}},t)}))}function pe(e){var n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return fe(this,void 0,void 0,regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function t(r){while(1){switch(r.prev=r.next){case 0:return r.abrupt("return",de(e,n).then(p));case 1:case"end":return r.stop()}}},t)}))}var me=function(){function e(){babelHelpers.classCallCheck(this,e)}babelHelpers.createClass(e,null,[{key:"makeBlockScreenshot",value:function e(r){var o=n.PageObject.getEditorWindow();if(o!==window){return o.BX.Landing.Screenshoter.makeBlockScreenshot(r)}var i=document.querySelector("#block".concat(r));t.Dom.addClass(i,"landing-hide-ui-controls");var u=new Map;var a=t.Reflection.getClass("BX.Landing.OnscrollAnimationHelper");var c=a.getBlockAnimatedElements(i);var s=function(){if(t.Type.isArrayFilled(c)){return Promise.all(c.map(function(e){return a.animateElement(e)}))}return Promise.resolve()}();return s.then(function(){return ve(i,{backgroundColor:"#ffffff",cacheBust:true}).then(function(e){t.Dom.removeClass(i,"landing-hide-ui-controls");return fetch(e,{mode:"no-cors"}).then(function(e){return e.blob()}).then(function(e){u.forEach(function(e,n){n.setValue(e.sourceValue,true,true)});return new File([e],"block-".concat(r,"-preview.jpg"),{type:"image/jpg"})})})})}},{key:"makeElementScreenshot",value:function e(r){var o=n.PageObject.getEditorWindow();if(o!==window){return o.BX.Landing.Screenshoter.makeElementScreenshot(r)}return pe(r).then(function(e){return new File([e],"screenshot-".concat(t.Text.getRandom(16),".png"),{type:"image/png"})})}}]);return e}();e.Screenshoter=me})(this.BX.Landing=this.BX.Landing||{},BX.Landing,BX); //# sourceMappingURL=screenshoter.bundle.map.js
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.26 |
proxy
|
phpinfo
|
Settings