From 64e600b126ae8edcfbb3c2716febb01d221520b5 Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Tue, 14 Apr 2020 14:14:31 +0200 Subject: Fix path clash with top-level declarations, catch link resolving exception, remove default values while merging, merge expect by targets --- .../expect/signatureTest/out/html/scripts/main.js | 59 ++++++++++++++++++++++ .../signatureTest/out/html/scripts/main.js.map | 1 + 2 files changed, 60 insertions(+) create mode 100644 plugins/base/src/test/resources/expect/signatureTest/out/html/scripts/main.js create mode 100644 plugins/base/src/test/resources/expect/signatureTest/out/html/scripts/main.js.map (limited to 'plugins/base/src/test/resources/expect/signatureTest/out/html') diff --git a/plugins/base/src/test/resources/expect/signatureTest/out/html/scripts/main.js b/plugins/base/src/test/resources/expect/signatureTest/out/html/scripts/main.js new file mode 100644 index 00000000..3b60ce46 --- /dev/null +++ b/plugins/base/src/test/resources/expect/signatureTest/out/html/scripts/main.js @@ -0,0 +1,59 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=601)}([function(e,t,n){e.exports=n(460)()},function(e,t,n){"use strict";e.exports=n(455)},function(e,t,n){var r; +/*! + Copyright (c) 2017 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;to;)Q(e,n=r[o++],t[n]);return e},Y=function(e){var t=N.call(this,e=x(e,!0));return!(this===D&&o(V,e)&&!o(B,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,H)&&this[H][e])||t)},J=function(e,t){if(e=_(e),t=x(t,!0),e!==D||!o(V,t)||o(B,t)){var n=M(e,t);return!n||!o(V,t)||o(e,H)&&e[H][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=I(_(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==H||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===D,r=I(n?B:_(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(D,t)||i.push(V[t]);return i};U||(l((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===D&&t.call(B,n),o(this,H)&&o(this[H],e)&&(this[H][e]=!1),K(this,e,S(1,n))};return i&&G&&K(D,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),z.f=J,T.f=Q,n(112).f=O.f=Z,n(92).f=Y,E.f=ee,i&&!n(105)&&l(D,"propertyIsEnumerable",Y,!0),h.f=function(e){return q(d(e))}),a(a.G+a.W+a.F*!U,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=C(d.store),oe=0;re.length>oe;)g(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?k(e):X(k(e),t)},defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=s((function(){E.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return E.f(w(e))}}),L&&a(a.S+a.F*(!U||s((function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!$(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,R.apply(L,r)}}),A.prototype[j]||n(56)(A.prototype,j,A.prototype.valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperty:n(37).f})},function(e,t,n){"use strict";n(472);var r=n(26),o=n(135),i=n(30),a=/./.toString,l=function(e){n(40)(RegExp.prototype,"toString",e,!0)};n(31)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&l((function(){return a.call(this)}))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(40)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){n(167)("asyncIterator")},function(e,t,n){var r=n(32),o=n(79),i=n(56),a=n(40),l=n(80),c=function(e,t,n){var s,u,f,p,d=e&c.F,h=e&c.G,g=e&c.S,v=e&c.P,m=e&c.B,y=h?r:g?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),w=b.prototype||(b.prototype={});for(s in h&&(n=t),n)f=((u=!d&&y&&void 0!==y[s])?y:n)[s],p=m&&u?l(f,r):v&&"function"==typeof f?l(Function.call,f):f,y&&a(y,s,f,e&c.U),b[s]!=f&&i(b,s,p),v&&w[s]!=f&&(w[s]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){for(var r=n(12),o=n(69),i=n(40),a=n(32),l=n(56),c=n(94),s=n(24),u=s("iterator"),f=s("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),g=0;g=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(10);r(r.S,"Object",{create:n(82)})},function(e,t,n){var r=n(10),o=n(82),i=n(81),a=n(26),l=n(29),c=n(31),s=n(173),u=(n(32).Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),p=!c((function(){u((function(){}))}));r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var c=n.prototype,d=o(l(c)?c:Object.prototype),h=Function.apply.call(e,d,t);return l(h)?h:d}})},function(e,t,n){var r=n(10);r(r.S,"Object",{setPrototypeOf:n(174).set})},function(e,t,n){var r=n(51),o=n(69);n(478)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";var r=n(10),o=n(131)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(73)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(492);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(182)})},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(10),o=n(58)(0),i=n(73)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(62);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(84)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(588);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(37),o=n(89);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(109),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(80),o=n(109),i=n(51),a=n(50),l=n(475);e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,u=4==e,f=6==e,p=5==e||f,d=t||l;return function(t,l,h){for(var g,v,m=i(t),y=o(m),b=r(l,h,3),w=a(y.length),_=0,x=n?d(t,w):c?d(t,0):void 0;w>_;_++)if((p||_ in y)&&(v=b(g=y[_],_,m),e))if(n)x[_]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:x.push(g)}else if(u)return!1;return f?-1:s||u?u:x}}},function(e,t,n){var r=n(10);r(r.S,"Array",{isArray:n(134)})},function(e,t,n){"use strict";var r=n(183)(!0);n(137)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(53),o=n(202),i=n(151),a=Object.defineProperty;t.f=n(54)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,n){e.exports={default:n(537),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(559)),o=a(n(563)),i=a(n(207));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){var r=n(484);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(592);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(27)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(171),o=n(133);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperties:n(172)})},function(e,t,n){var r=n(10),o=n(474),i=n(57),a=n(93),l=n(175);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),c=a.f,s=o(r),u={},f=0;s.length>f;)void 0!==(n=c(r,t=s[f++]))&&l(u,t,n);return u}})},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(26),o=n(51),i=n(50),a=n(110),l=n(139),c=n(140),s=Math.max,u=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(141)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),p=String(this),d="function"==typeof t;d||(t=String(t));var v=f.global;if(v){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var b=c(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=l(p,i(f.lastIndex),m))}for(var w,_="",x=0,S=0;S=x&&(_+=p.slice(x,O)+M,x=O+k.length)}return _+p.slice(x)}];function g(e,t,r,i,a,l){var c=r+e.length,s=i.length,u=d;return void 0!==a&&(a=o(a),u=p),n.call(l,u,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":l=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>s){var p=f(u/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}l=i[u-1]}return void 0===l?"":l}))}}))},function(e,t,n){"use strict";var r=n(80),o=n(10),i=n(51),a=n(186),l=n(187),c=n(50),s=n(175),u=n(188);o(o.S+o.F*!n(189)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g,m=0,y=u(p);if(v&&(g=r(g,h>2?arguments[2]:void 0,2)),null==y||d==Array&&l(y))for(n=new d(t=c(p.length));t>m;m++)s(n,m,v?g(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(o=f.next()).done;m++)s(n,m,v?a(f,g,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(61),o=n(119);e.exports=n(54)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(204),o=n(152);e.exports=function(e){return r(o(e))}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(81);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(26),o=n(172),i=n(133),a=n(132)("IE_PROTO"),l=function(){},c=function(){var e,t=n(170)("iframe"),r=i.length;for(t.style.display="none",n(470).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("