@hyext/builder-revues 0.0.1-beta.3 → 0.0.1-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +484 -0
- package/package.json +13 -13
- package/static/framework/.DS_Store +0 -0
- package/static/framework/css/index.css +4896 -0
- package/static/framework/script/console.js +1 -0
- package/static/framework/script/game-adapt.js +9715 -0
- package/static/framework/script/game-service.js +27004 -0
- package/static/framework/script/service.js +49536 -0
- package/static/framework/script/view.js +83900 -0
- package/static/framework/script/worker.js +1 -0
- package/static/template/game-frame.hbs +43 -0
- package/static/template/miniapp-page-manager.hbs +38 -0
- package/static/template/minigame-page-manager.hbs +46 -0
@@ -0,0 +1 @@
|
|
1
|
+
!function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="script/",r(r.s=124)}([function(t,n){var r=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},function(t,n,r){var e=r(2),o=r(0),i=r(13),u=r(7),c=r(9),f=function(t,n,r){var s,a,l,p=t&f.F,v=t&f.G,y=t&f.S,h=t&f.P,d=t&f.B,x=t&f.W,b=v?o:o[n]||(o[n]={}),g=b.prototype,w=v?e:y?e[n]:(e[n]||{}).prototype;for(s in v&&(r=n),r)(a=!p&&w&&void 0!==w[s])&&c(b,s)||(l=a?w[s]:r[s],b[s]=v&&"function"!=typeof w[s]?r[s]:d&&a?i(l,e):x&&w[s]==l?function(t){var n=function(n,r,e){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,e)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((b.virtual||(b.virtual={}))[s]=l,t&f.R&&g&&!g[s]&&u(g,s,l)))};f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n,r){var e=r(28)("wks"),o=r(18),i=r(2).Symbol,u="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=e},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){var e=r(10),o=r(42),i=r(26),u=Object.defineProperty;n.f=r(6)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){t.exports=!r(8)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,n,r){var e=r(5),o=r(14);t.exports=r(6)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(4);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n,r){var e=r(30),o=r(22);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(22);t.exports=function(t){return Object(e(t))}},function(t,n,r){var e=r(41);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e=r(46),o=r(34);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n){t.exports={}},function(t,n,r){var e=r(18)("meta"),o=r(4),i=r(9),u=r(5).f,c=0,f=Object.isExtensible||function(){return!0},s=!r(8)((function(){return f(Object.preventExtensions({}))})),a=function(t){u(t,e,{value:{i:"O"+ ++c,w:{}}})},l=t.exports={KEY:e,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,e)){if(!f(t))return"F";if(!n)return"E";a(t)}return t[e].i},getWeak:function(t,n){if(!i(t,e)){if(!f(t))return!0;if(!n)return!1;a(t)}return t[e].w},onFreeze:function(t){return s&&l.NEED&&f(t)&&!i(t,e)&&a(t),t}}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n){t.exports=!0},function(t,n,r){var e=r(5).f,o=r(9),i=r(3)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){n.f=r(3)},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(32),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,r){t.exports=r(108)},function(t,n,r){var e=r(4);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){t.exports=r(7)},function(t,n,r){var e=r(0),o=r(2),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:e.version,mode:r(19)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var e=r(2),o=r(0),i=r(19),u=r(21),c=r(5).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:e.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n,r){var e=r(31);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(28)("keys"),o=r(18);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(31);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(13),o=r(30),i=r(12),u=r(23),c=r(110);t.exports=function(t,n){var r=1==t,f=2==t,s=3==t,a=4==t,l=6==t,p=5==t||l,v=n||c;return function(n,c,y){for(var h,d,x=i(n),b=o(x),g=e(c,y,3),w=u(b.length),m=0,S=r?v(n,w):f?v(n,0):void 0;w>m;m++)if((p||m in b)&&(d=g(h=b[m],m,x),t))if(r)S[m]=d;else if(d)switch(t){case 3:return!0;case 5:return h;case 6:return m;case 2:S.push(h)}else if(a)return!1;return l?-1:s||a?a:S}}},function(t,n,r){var e=r(13),o=r(55),i=r(56),u=r(10),c=r(23),f=r(57),s={},a={};(n=t.exports=function(t,n,r,l,p){var v,y,h,d,x=p?function(){return t}:f(t),b=e(r,l,n?2:1),g=0;if("function"!=typeof x)throw TypeError(t+" is not iterable!");if(i(x)){for(v=c(t.length);v>g;g++)if((d=n?b(u(y=t[g])[0],y[1]):b(t[g]))===s||d===a)return d}else for(h=x.call(t);!(y=h.next()).done;)if((d=o(h,b,y.value,n))===s||d===a)return d}).BREAK=s,n.RETURN=a},function(t,n,r){var e=r(4);t.exports=function(t,n){if(!e(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},function(t,n,r){t.exports=r(90)},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){t.exports=!r(6)&&!r(8)((function(){return 7!=Object.defineProperty(r(43)("div"),"a",{get:function(){return 7}}).a}))},function(t,n,r){var e=r(4),o=r(2).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){var e=r(45),o=r(50);function i(n){return t.exports=i="function"==typeof e&&"symbol"==typeof o?function(t){return typeof t}:function(t){return t&&"function"==typeof e&&t.constructor===e&&t!==e.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,i(n)}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,n,r){r(72),r(49),r(80),r(81),t.exports=r(0).Symbol},function(t,n,r){var e=r(9),o=r(11),i=r(74)(!1),u=r(33)("IE_PROTO");t.exports=function(t,n){var r,c=o(t),f=0,s=[];for(r in c)r!=u&&e(c,r)&&s.push(r);for(;n.length>f;)e(c,r=n[f++])&&(~i(s,r)||s.push(r));return s}},function(t,n,r){var e=r(10),o=r(76),i=r(34),u=r(33)("IE_PROTO"),c=function(){},f=function(){var t,n=r(43)("iframe"),e=i.length;for(n.style.display="none",r(77).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),f=t.F;e--;)delete f.prototype[i[e]];return f()};t.exports=Object.create||function(t,n){var r;return null!==t?(c.prototype=e(t),r=new c,c.prototype=null,r[u]=t):r=f(),void 0===n?r:o(r,n)}},function(t,n,r){var e=r(46),o=r(34).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n){},function(t,n,r){r(51),r(53),t.exports=r(21).f("iterator")},function(t,n,r){"use strict";var e=r(82)(!0);r(52)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,n=this._t,r=this._i;return r>=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})}))},function(t,n,r){"use strict";var e=r(19),o=r(1),i=r(27),u=r(7),c=r(16),f=r(83),s=r(20),a=r(84),l=r(3)("iterator"),p=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,n,r,y,h,d,x){f(r,n,y);var b,g,w,m=function(t){if(!p&&t in k)return k[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},S=n+" Iterator",O="values"==h,_=!1,k=t.prototype,j=k[l]||k["@@iterator"]||h&&k[h],E=j||m(h),M=h?O?m("entries"):E:void 0,P="Array"==n&&k.entries||j;if(P&&(w=a(P.call(new t)))!==Object.prototype&&w.next&&(s(w,S,!0),e||"function"==typeof w[l]||u(w,l,v)),O&&j&&"values"!==j.name&&(_=!0,E=function(){return j.call(this)}),e&&!x||!p&&!_&&k[l]||u(k,l,E),c[n]=E,c[S]=v,h)if(b={values:O?E:m("values"),keys:d?E:m("keys"),entries:M},x)for(g in b)g in k||i(k,g,b[g]);else o(o.P+o.F*(p||_),n,b);return b}},function(t,n,r){r(85);for(var e=r(2),o=r(7),i=r(16),u=r(3)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),f=0;f<c.length;f++){var s=c[f],a=e[s],l=a&&a.prototype;l&&!l[u]&&o(l,u,s),i[s]=i.Array}},function(t,n,r){r(92),t.exports=r(0).Array.isArray},function(t,n,r){var e=r(10);t.exports=function(t,n,r,o){try{return o?n(e(r)[0],r[1]):n(r)}catch(n){var i=t.return;throw void 0!==i&&e(i.call(t)),n}}},function(t,n,r){var e=r(16),o=r(3)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||i[o]===t)}},function(t,n,r){var e=r(98),o=r(3)("iterator"),i=r(16);t.exports=r(0).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[e(t)]}},function(t,n){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,n,r){var e=r(7);t.exports=function(t,n,r){for(var o in n)r&&t[o]?t[o]=n[o]:e(t,o,n[o]);return t}},function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,n){t.exports=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,n,r){var e=r(69),o=r(71);function i(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),e(t,o(i.key),i)}}t.exports=function(t,n,r){return n&&i(t.prototype,n),r&&i(t,r),e(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,n,r){var e=r(91),o=r(93),i=r(94),u=r(101);t.exports=function(t,n){return e(t)||o(t,n)||i(t,n)||u()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,n,r){t.exports=r(102)},function(t,n,r){t.exports=r(104)},function(t,n,r){t.exports=r(119)},function(t,n,r){t.exports=r(54)},function(t,n,r){t.exports=r(121)},function(t,n,r){r(70);var e=r(0).Object;t.exports=function(t,n,r){return e.defineProperty(t,n,r)}},function(t,n,r){var e=r(1);e(e.S+e.F*!r(6),"Object",{defineProperty:r(5).f})},function(t,n,r){var e=r(44).default,o=r(88);t.exports=function(t){var n=o(t,"string");return"symbol"==e(n)?n:String(n)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,n,r){"use strict";var e=r(2),o=r(9),i=r(6),u=r(1),c=r(27),f=r(17).KEY,s=r(8),a=r(28),l=r(20),p=r(18),v=r(3),y=r(21),h=r(29),d=r(73),x=r(36),b=r(10),g=r(4),w=r(12),m=r(11),S=r(26),O=r(14),_=r(47),k=r(78),j=r(79),E=r(35),M=r(5),P=r(15),A=j.f,T=M.f,N=k.f,I=e.Symbol,C=e.JSON,F=C&&C.stringify,L=v("_hidden"),W=v("toPrimitive"),D={}.propertyIsEnumerable,H=a("symbol-registry"),R=a("symbols"),G=a("op-symbols"),J=Object.prototype,B="function"==typeof I&&!!E.f,V=e.QObject,K=!V||!V.prototype||!V.prototype.findChild,z=i&&s((function(){return 7!=_(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a}))?function(t,n,r){var e=A(J,n);e&&delete J[n],T(t,n,r),e&&t!==J&&T(J,n,e)}:T,q=function(t){var n=R[t]=_(I.prototype);return n._k=t,n},U=B&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},X=function(t,n,r){return t===J&&X(G,n,r),b(t),n=S(n,!0),b(r),o(R,n)?(r.enumerable?(o(t,L)&&t[L][n]&&(t[L][n]=!1),r=_(r,{enumerable:O(0,!1)})):(o(t,L)||T(t,L,O(1,{})),t[L][n]=!0),z(t,n,r)):T(t,n,r)},Y=function(t,n){b(t);for(var r,e=d(n=m(n)),o=0,i=e.length;i>o;)X(t,r=e[o++],n[r]);return t},$=function(t){var n=D.call(this,t=S(t,!0));return!(this===J&&o(R,t)&&!o(G,t))&&(!(n||!o(this,t)||!o(R,t)||o(this,L)&&this[L][t])||n)},Q=function(t,n){if(t=m(t),n=S(n,!0),t!==J||!o(R,n)||o(G,n)){var r=A(t,n);return!r||!o(R,n)||o(t,L)&&t[L][n]||(r.enumerable=!0),r}},Z=function(t){for(var n,r=N(m(t)),e=[],i=0;r.length>i;)o(R,n=r[i++])||n==L||n==f||e.push(n);return e},tt=function(t){for(var n,r=t===J,e=N(r?G:m(t)),i=[],u=0;e.length>u;)!o(R,n=e[u++])||r&&!o(J,n)||i.push(R[n]);return i};B||(c((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(r){this===J&&n.call(G,r),o(this,L)&&o(this[L],t)&&(this[L][t]=!1),z(this,t,O(1,r))};return i&&K&&z(J,t,{configurable:!0,set:n}),q(t)}).prototype,"toString",(function(){return this._k})),j.f=Q,M.f=X,r(48).f=k.f=Z,r(24).f=$,E.f=tt,i&&!r(19)&&c(J,"propertyIsEnumerable",$,!0),y.f=function(t){return q(v(t))}),u(u.G+u.W+u.F*!B,{Symbol:I});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;nt.length>rt;)v(nt[rt++]);for(var et=P(v.store),ot=0;et.length>ot;)h(et[ot++]);u(u.S+u.F*!B,"Symbol",{for:function(t){return o(H,t+="")?H[t]:H[t]=I(t)},keyFor:function(t){if(!U(t))throw TypeError(t+" is not a symbol!");for(var n in H)if(H[n]===t)return n},useSetter:function(){K=!0},useSimple:function(){K=!1}}),u(u.S+u.F*!B,"Object",{create:function(t,n){return void 0===n?_(t):Y(_(t),n)},defineProperty:X,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:tt});var it=s((function(){E.f(1)}));u(u.S+u.F*it,"Object",{getOwnPropertySymbols:function(t){return E.f(w(t))}}),C&&u(u.S+u.F*(!B||s((function(){var t=I();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))}))),"JSON",{stringify:function(t){for(var n,r,e=[t],o=1;arguments.length>o;)e.push(arguments[o++]);if(r=n=e[1],(g(n)||void 0!==t)&&!U(t))return x(n)||(n=function(t,n){if("function"==typeof r&&(n=r.call(this,t,n)),!U(n))return n}),e[1]=n,F.apply(C,e)}}),I.prototype[W]||r(7)(I.prototype,W,I.prototype.valueOf),l(I,"Symbol"),l(Math,"Math",!0),l(e.JSON,"JSON",!0)},function(t,n,r){var e=r(15),o=r(35),i=r(24);t.exports=function(t){var n=e(t),r=o.f;if(r)for(var u,c=r(t),f=i.f,s=0;c.length>s;)f.call(t,u=c[s++])&&n.push(u);return n}},function(t,n,r){var e=r(11),o=r(23),i=r(75);t.exports=function(t){return function(n,r,u){var c,f=e(n),s=o(f.length),a=i(u,s);if(t&&r!=r){for(;s>a;)if((c=f[a++])!=c)return!0}else for(;s>a;a++)if((t||a in f)&&f[a]===r)return t||a||0;return!t&&-1}}},function(t,n,r){var e=r(32),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=e(t))<0?o(t+n,0):i(t,n)}},function(t,n,r){var e=r(5),o=r(10),i=r(15);t.exports=r(6)?Object.defineProperties:function(t,n){o(t);for(var r,u=i(n),c=u.length,f=0;c>f;)e.f(t,r=u[f++],n[r]);return t}},function(t,n,r){var e=r(2).document;t.exports=e&&e.documentElement},function(t,n,r){var e=r(11),o=r(48).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return u.slice()}}(t):o(e(t))}},function(t,n,r){var e=r(24),o=r(14),i=r(11),u=r(26),c=r(9),f=r(42),s=Object.getOwnPropertyDescriptor;n.f=r(6)?s:function(t,n){if(t=i(t),n=u(n,!0),f)try{return s(t,n)}catch(t){}if(c(t,n))return o(!e.f.call(t,n),t[n])}},function(t,n,r){r(29)("asyncIterator")},function(t,n,r){r(29)("observable")},function(t,n,r){var e=r(32),o=r(22);t.exports=function(t){return function(n,r){var i,u,c=String(o(n)),f=e(r),s=c.length;return f<0||f>=s?t?"":void 0:(i=c.charCodeAt(f))<55296||i>56319||f+1===s||(u=c.charCodeAt(f+1))<56320||u>57343?t?c.charAt(f):i:t?c.slice(f,f+2):u-56320+(i-55296<<10)+65536}}},function(t,n,r){"use strict";var e=r(47),o=r(14),i=r(20),u={};r(7)(u,r(3)("iterator"),(function(){return this})),t.exports=function(t,n,r){t.prototype=e(u,{next:o(1,r)}),i(t,n+" Iterator")}},function(t,n,r){var e=r(9),o=r(12),i=r(33)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,r){"use strict";var e=r(86),o=r(87),i=r(16),u=r(11);t.exports=r(52)(Array,"Array",(function(t,n){this._t=u(t),this._i=0,this._k=n}),(function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])}),"values"),i.Arguments=i.Array,e("keys"),e("values"),e("entries")},function(t,n){t.exports=function(){}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,r){var e=r(89),o=r(44).default;t.exports=function(t,n){if("object"!=o(t)||!t)return t;var r=t[e];if(void 0!==r){var i=r.call(t,n||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,n,r){t.exports=r(21).f("toPrimitive")},function(t,n,r){var e=r(0),o=e.JSON||(e.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},function(t,n,r){var e=r(54);t.exports=function(t){if(e(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,n,r){var e=r(1);e(e.S,"Array",{isArray:r(36)})},function(t,n,r){var e=r(45),o=r(50);t.exports=function(t,n){var r=null==t?null:void 0!==e&&t[o]||t["@@iterator"];if(null!=r){var i,u,c,f,s=[],a=!0,l=!1;try{if(c=(r=r.call(t)).next,0===n){if(Object(r)!==r)return;a=!1}else for(;!(a=(i=c.call(r)).done)&&(s.push(i.value),s.length!==n);a=!0);}catch(t){l=!0,u=t}finally{try{if(!a&&null!=r.return&&(f=r.return(),Object(f)!==f))return}finally{if(l)throw u}}return s}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,n,r){var e=r(95),o=r(100);t.exports=function(t,n){if(t){if("string"==typeof t)return o(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?e(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(t,n):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,n,r){r(51),r(96),t.exports=r(0).Array.from},function(t,n,r){"use strict";var e=r(13),o=r(1),i=r(12),u=r(55),c=r(56),f=r(23),s=r(97),a=r(57);o(o.S+o.F*!r(99)((function(t){Array.from(t)})),"Array",{from:function(t){var n,r,o,l,p=i(t),v="function"==typeof this?this:Array,y=arguments.length,h=y>1?arguments[1]:void 0,d=void 0!==h,x=0,b=a(p);if(d&&(h=e(h,y>2?arguments[2]:void 0,2)),null==b||v==Array&&c(b))for(r=new v(n=f(p.length));n>x;x++)s(r,x,d?h(p[x],x):p[x]);else for(l=b.call(p),r=new v;!(o=l.next()).done;x++)s(r,x,d?u(l,h,[o.value,x],!0):o.value);return r.length=x,r}})},function(t,n,r){"use strict";var e=r(5),o=r(14);t.exports=function(t,n,r){n in t?e.f(t,n,o(0,r)):t[n]=r}},function(t,n,r){var e=r(31),o=r(3)("toStringTag"),i="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?r:i?e(n):"Object"==(u=e(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,r){var e=r(3)("iterator"),o=!1;try{var i=[7][e]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i=[7],u=i[e]();u.next=function(){return{done:r=!0}},i[e]=function(){return u},t(i)}catch(t){}return r}},function(t,n){t.exports=function(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=new Array(n);r<n;r++)e[r]=t[r];return e},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,n){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,n,r){r(103),t.exports=r(0).Date.now},function(t,n,r){var e=r(1);e(e.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,n,r){r(105),t.exports=r(0).parseInt},function(t,n,r){var e=r(1),o=r(106);e(e.G+e.F*(parseInt!=o),{parseInt:o})},function(t,n,r){var e=r(2).parseInt,o=r(107).trim,i=r(58),u=/^[-+]?0[xX]/;t.exports=8!==e(i+"08")||22!==e(i+"0x16")?function(t,n){var r=o(String(t),3);return e(r,n>>>0||(u.test(r)?16:10))}:e},function(t,n,r){var e=r(1),o=r(22),i=r(8),u=r(58),c="["+u+"]",f=RegExp("^"+c+c+"*"),s=RegExp(c+c+"*$"),a=function(t,n,r){var o={},c=i((function(){return!!u[t]()||"
"!="
"[t]()})),f=o[t]=c?n(l):u[t];r&&(o[r]=f),e(e.P+e.F*c,"String",o)},l=a.trim=function(t,n){return t=String(o(t)),1&n&&(t=t.replace(f,"")),2&n&&(t=t.replace(s,"")),t};t.exports=a},function(t,n,r){r(49),r(53),r(109),r(115),r(117),t.exports=r(0).WeakMap},function(t,n,r){"use strict";var e,o=r(2),i=r(37)(0),u=r(27),c=r(17),f=r(112),s=r(113),a=r(4),l=r(39),p=r(39),v=!o.ActiveXObject&&"ActiveXObject"in o,y=c.getWeak,h=Object.isExtensible,d=s.ufstore,x=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(t){if(a(t)){var n=y(t);return!0===n?d(l(this,"WeakMap")).get(t):n?n[this._i]:void 0}},set:function(t,n){return s.def(l(this,"WeakMap"),t,n)}},g=t.exports=r(114)("WeakMap",x,b,s,!0,!0);p&&v&&(f((e=s.getConstructor(x,"WeakMap")).prototype,b),c.NEED=!0,i(["delete","has","get","set"],(function(t){var n=g.prototype,r=n[t];u(n,t,(function(n,o){if(a(n)&&!h(n)){this._f||(this._f=new e);var i=this._f[t](n,o);return"set"==t?this:i}return r.call(this,n,o)}))})))},function(t,n,r){var e=r(111);t.exports=function(t,n){return new(e(t))(n)}},function(t,n,r){var e=r(4),o=r(36),i=r(3)("species");t.exports=function(t){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)||(n=void 0),e(n)&&null===(n=n[i])&&(n=void 0)),void 0===n?Array:n}},function(t,n,r){"use strict";var e=r(6),o=r(15),i=r(35),u=r(24),c=r(12),f=r(30),s=Object.assign;t.exports=!s||r(8)((function(){var t={},n={},r=Symbol(),e="abcdefghijklmnopqrst";return t[r]=7,e.split("").forEach((function(t){n[t]=t})),7!=s({},t)[r]||Object.keys(s({},n)).join("")!=e}))?function(t,n){for(var r=c(t),s=arguments.length,a=1,l=i.f,p=u.f;s>a;)for(var v,y=f(arguments[a++]),h=l?o(y).concat(l(y)):o(y),d=h.length,x=0;d>x;)v=h[x++],e&&!p.call(y,v)||(r[v]=y[v]);return r}:s},function(t,n,r){"use strict";var e=r(59),o=r(17).getWeak,i=r(10),u=r(4),c=r(60),f=r(38),s=r(37),a=r(9),l=r(39),p=s(5),v=s(6),y=0,h=function(t){return t._l||(t._l=new d)},d=function(){this.a=[]},x=function(t,n){return p(t.a,(function(t){return t[0]===n}))};d.prototype={get:function(t){var n=x(this,t);if(n)return n[1]},has:function(t){return!!x(this,t)},set:function(t,n){var r=x(this,t);r?r[1]=n:this.a.push([t,n])},delete:function(t){var n=v(this.a,(function(n){return n[0]===t}));return~n&&this.a.splice(n,1),!!~n}},t.exports={getConstructor:function(t,n,r,i){var s=t((function(t,e){c(t,s,n,"_i"),t._t=n,t._i=y++,t._l=void 0,null!=e&&f(e,r,t[i],t)}));return e(s.prototype,{delete:function(t){if(!u(t))return!1;var r=o(t);return!0===r?h(l(this,n)).delete(t):r&&a(r,this._i)&&delete r[this._i]},has:function(t){if(!u(t))return!1;var r=o(t);return!0===r?h(l(this,n)).has(t):r&&a(r,this._i)}}),s},def:function(t,n,r){var e=o(i(n),!0);return!0===e?h(t).set(n,r):e[t._i]=r,t},ufstore:h}},function(t,n,r){"use strict";var e=r(2),o=r(1),i=r(17),u=r(8),c=r(7),f=r(59),s=r(38),a=r(60),l=r(4),p=r(20),v=r(5).f,y=r(37)(0),h=r(6);t.exports=function(t,n,r,d,x,b){var g=e[t],w=g,m=x?"set":"add",S=w&&w.prototype,O={};return h&&"function"==typeof w&&(b||S.forEach&&!u((function(){(new w).entries().next()})))?(w=n((function(n,r){a(n,w,t,"_c"),n._c=new g,null!=r&&s(r,x,n[m],n)})),y("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),(function(t){var n="add"==t||"set"==t;!(t in S)||b&&"clear"==t||c(w.prototype,t,(function(r,e){if(a(this,w,t),!n&&b&&!l(r))return"get"==t&&void 0;var o=this._c[t](0===r?0:r,e);return n?this:o}))})),b||v(w.prototype,"size",{get:function(){return this._c.size}})):(w=d.getConstructor(n,t,x,m),f(w.prototype,r),i.NEED=!0),p(w,t),O[t]=w,o(o.G+o.W+o.F,O),b||d.setStrong(w,t,x),w}},function(t,n,r){r(116)("WeakMap")},function(t,n,r){"use strict";var e=r(1);t.exports=function(t){e(e.S,t,{of:function(){for(var t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return new this(n)}})}},function(t,n,r){r(118)("WeakMap")},function(t,n,r){"use strict";var e=r(1),o=r(41),i=r(13),u=r(38);t.exports=function(t){e(e.S,t,{from:function(t){var n,r,e,c,f=arguments[1];return o(this),(n=void 0!==f)&&o(f),null==t?new this:(r=[],n?(e=0,c=i(f,arguments[2],2),u(t,!1,(function(t){r.push(c(t,e++))}))):u(t,!1,r.push,r),new this(r))}})}},function(t,n,r){r(120),t.exports=r(0).Number.isNaN},function(t,n,r){var e=r(1);e(e.S,"Number",{isNaN:function(t){return t!=t}})},function(t,n,r){r(122),t.exports=r(0).Object.keys},function(t,n,r){var e=r(12),o=r(15);r(123)("keys",(function(){return function(t){return o(e(t))}}))},function(t,n,r){var e=r(1),o=r(0),i=r(8);t.exports=function(t,n){var r=(o.Object||{})[t]||Object[t],u={};u[t]=n(r),e(e.S+e.F*i((function(){r(1)})),"Object",u)}},function(t,n,r){"use strict";r.r(n);var e=r(61),o=r.n(e),i=r(62),u=r.n(i),c=r(40),f=r.n(c),s=(r(63),r(64),r(65),r(25),r(66)),a=r.n(s),l=r(67),p=r.n(l),v=(r(68),window.navigator.userAgent),y=-1!==v.indexOf("Android"),h=(window.isAndroidJ2V8,-1!==v.indexOf("iPhone")||-1!==v.indexOf("iPad")),d=Boolean(window.isWinSDK);window.isIDE,window.self,window.top,window.isWebviewGame;var x=Object.prototype.toString,b=Function.prototype.call.bind(x);function g(t){return b(t).slice(8,-1)}a.a,p.a;var w=function(){function t(){o()(this,t),this.isIOS=!1,this.callbacks={},this.callbackIndex=0,this.defaultEventHandlers={},this.eventPrefix="custom_event_",this.handlers={},this.isAndroid=y,this.isIOS=h,this.isWinSDK=d}return u()(t,[{key:"postMessage",value:function(t,n,r){var e={C:t,paramsString:n,callbackId:r,type:"invoke"};if(this.isIOS)window.webkit.messageHandlers.invokeHandler.postMessage(e);else if(this.isWinSDK)e.command="postMessage",window.FinClipExecuteCommandAsync({request:f()(e),persistent:!1,onSuccess:function(){},onFailure:function(){}});else if(this.isWeb){var o=parent.window&&parent.window.FinChatJSCore;if(o){e.from="view",e.webviewId=window.__webviewId__;var i=o.invokeHandler(e);i&&this.invokeCallbackHandler(r,i)}}else{var u=FinChatJSCore.invokeHandler(t,n,r);if(void 0!==u&&"function"==typeof this.callbacks[r]&&""!==u){try{u=JSON.parse(u)}catch(t){u={}}this.callbacks[r](u),delete this.callbacks[r]}}}},{key:"invoke",value:function(t,n,r){var e=f()(n||{}),o=++this.callbackIndex;this.callbacks[o]=r,this.postMessage(t,e,o)}},{key:"invokeCallbackHandler",value:function(t,n){var r=this.callbacks[t];"function"==typeof r&&r(n),delete this.callbacks[t]}},{key:"on",value:function(t,n){this.defaultEventHandlers[t]=this.defaultEventHandlers[t]||[],this.defaultEventHandlers[t].push(n)}},{key:"subscribeHandler",value:function(t,n,r,e){var o=this.defaultEventHandlers[t];o&&o.forEach((function(t){if("function"==typeof t)return t(n,r,e)}))}}]),t}();window.WorkerBridge=new w,window.worker={postMessage:function(t){window.WorkerBridge.invoke("postWorkerMessage",t,(function(){}))},onMessage:function(t){window.WorkerBridge.on("onWorkerMessage",(function(n){t(n)}))}}}]);
|
@@ -0,0 +1,43 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
|
4
|
+
<head>
|
5
|
+
<meta name="content-type" content="text/html; charset=utf-8">
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
+
<meta id="viewport" name="viewport"
|
8
|
+
content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1,viewport-fit=cover">
|
9
|
+
<style>
|
10
|
+
html,
|
11
|
+
body {
|
12
|
+
width: 100%;
|
13
|
+
height: 100%;
|
14
|
+
padding: 0;
|
15
|
+
margin: 0;
|
16
|
+
-webkit-user-select:none;
|
17
|
+
user-select:none;
|
18
|
+
touch-callout:none;
|
19
|
+
-webkit-touch-callout:none;
|
20
|
+
background-color: #000;
|
21
|
+
}
|
22
|
+
|
23
|
+
canvas {
|
24
|
+
position: fixed;
|
25
|
+
width: 100%;
|
26
|
+
height: 100%;
|
27
|
+
top: 0;
|
28
|
+
left: 0;
|
29
|
+
right: 0;
|
30
|
+
bottom: 0;
|
31
|
+
transform: none!important;
|
32
|
+
z-index: 0;
|
33
|
+
}
|
34
|
+
|
35
|
+
</style>
|
36
|
+
<script charset="utf-8" src="{{sourcePathPrefix}}/framework/script/game-adapt.js"></script>
|
37
|
+
<script charset="utf-8" src="{{sourcePathPrefix}}/framework/script/game-service.js"></script>
|
38
|
+
</head>
|
39
|
+
|
40
|
+
<body>
|
41
|
+
<script charset="utf-8" src="game.js"></script>
|
42
|
+
</body>
|
43
|
+
</html>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8" />
|
6
|
+
<meta id="viewport" name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover" />
|
7
|
+
<meta name="content-type" content="text/html; charset=utf-8">
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
|
+
<style>
|
10
|
+
.service,
|
11
|
+
.service-preload,
|
12
|
+
.views>.worker {
|
13
|
+
position: absolute;
|
14
|
+
top: 0;
|
15
|
+
left: 0;
|
16
|
+
width: 1px;
|
17
|
+
height: 1px;
|
18
|
+
opacity: 0;
|
19
|
+
}
|
20
|
+
.views>.webview {
|
21
|
+
position: absolute;
|
22
|
+
width: 100%;
|
23
|
+
height: 100%;
|
24
|
+
}
|
25
|
+
</style>
|
26
|
+
<script charset="utf-8">
|
27
|
+
window.packageExtConfig = {{packageExtConfig}}
|
28
|
+
</script>
|
29
|
+
<script charset="utf-8" src="{{sourcePathPrefix}}/sdk/web-sdk-core.js"></script>
|
30
|
+
</head>
|
31
|
+
|
32
|
+
<body>
|
33
|
+
<div class="views" id="webview-container">
|
34
|
+
<iframe class="service" id="webview-service" src="./service.html"></iframe>
|
35
|
+
</div>
|
36
|
+
</body>
|
37
|
+
|
38
|
+
</html>
|
@@ -0,0 +1,46 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8" />
|
6
|
+
<meta id="viewport" name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover" />
|
7
|
+
<meta name="content-type" content="text/html; charset=utf-8">
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9
|
+
<style>
|
10
|
+
.service,
|
11
|
+
.service-preload,
|
12
|
+
.views>.worker {
|
13
|
+
position: absolute;
|
14
|
+
top: 0;
|
15
|
+
left: 0;
|
16
|
+
width: 1px;
|
17
|
+
height: 1px;
|
18
|
+
opacity: 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
.views>.webview {
|
22
|
+
position: absolute;
|
23
|
+
width: 100%;
|
24
|
+
height: 100%;
|
25
|
+
}
|
26
|
+
|
27
|
+
.service.service-view {
|
28
|
+
width: 100%;
|
29
|
+
height: 100%;
|
30
|
+
opacity: 1;
|
31
|
+
z-index: 10;
|
32
|
+
}
|
33
|
+
</style>
|
34
|
+
<script charset="utf-8">
|
35
|
+
window.__sdkUrlTemplate = "{{hyextSDKUrl}}"
|
36
|
+
</script>
|
37
|
+
<script charset="utf-8" src="{{sourcePathPrefix}}/sdk/web-sdk-core.js"></script>
|
38
|
+
</head>
|
39
|
+
|
40
|
+
<body>
|
41
|
+
<div class="views" id="webview-container">
|
42
|
+
<iframe class="service service-view" id="webview-service" src="./game-frame.html"></iframe>
|
43
|
+
</div>
|
44
|
+
</body>
|
45
|
+
|
46
|
+
</html>
|