window.__require=function t(e,r,n){function o(c,u){if(!r[c]){if(!e[c]){var s=c.split("/");if(s=s[s.length-1],!e[s]){var p="function"==typeof __require&&__require;if(!u&&p)return p(s,!0);if(i)return i(s,!0);throw new Error("Cannot find module '"+c+"'")}}var a=r[c]={exports:{}};e[c][0].call(a.exports,function(t){return o(e[c][1][t]||t)},a,a.exports,t,e,r,n)}return r[c].exports}for(var i="function"==typeof __require&&__require,c=0;c<n.length;c++)o(n[c]);return o}({Main:[function(t,e,r){"use strict";cc._RF.push(e,"337becKCQBDJoQObVrQClKi","Main"),Object.defineProperty(r,"__esModule",{value:!0});var n=cc._decorator,o=n.ccclass,i=(n.property,function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.start=function(){wx.postMessage({ms:"hello"})},e=__decorate([o],e)}(cc.Component));r.default=i,cc._RF.pop()},{}],SubContextView:[function(t,e,r){"use strict";cc._RF.push(e,"124c5NbJ4hHy7jsCaBjKWTz","SubContextView"),Object.defineProperty(r,"__esModule",{value:!0});var n=cc._decorator,o=n.ccclass,i=(n.property,function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.texture=cc.Texture2D,e.sprite=null,e.subContextView=null,e}return __extends(e,t),e.prototype.onLoad=function(){this.texture=new cc.Texture2D,this.sprite=this.getComponent(cc.Sprite),this.subContextView=this.getComponent(cc.WXSubContextView)},e.prototype.update=function(t){if(cc.sys.platform==cc.sys.WECHAT_GAME){var e=wx.getOpenDataContext().canvas;this.texture.initWithElement(e),this.texture.handleLoadedTexture(),this.sprite.spriteFrame=new cc.SpriteFrame(this.texture)}this.subContextView.updateSubContextViewport()},e=__decorate([o],e)}(cc.Component));r.default=i,cc._RF.pop()},{}]},{},["Main","SubContextView"]);