text: !function(t,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports):"function"==typeof define&&define.amd?define(["exports"],o):o((t="undefined"!=typeof globalThis?globalThis:t||self).dpctrlCcc={})}(this,(function(t){"use strict";var o=function(){function t(t){this._mgr=t}return t.prototype.onInit=function(t){},t.prototype.onShow=function(t){this.node&&(this.node.active=!0)},t.prototype.getRess=function(){},t.prototype.getNode=function(){return this.node},t.prototype.onUpdate=function(t){},t.prototype.getFace=function(){return this},t.prototype.onDestroy=function(t){this.node&&this.node.destroy()},t.prototype.onHide=function(){this.node&&(this.node.active=!1)},t.prototype.forceHide=function(){this.node&&(this.node.active=!1),this.isShowed=!1},t.prototype.onResize=function(){},t}(),e=function(t,o){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)o.hasOwnProperty(e)&&(t[e]=o[e])})(t,o)};
  /*! *****************************************************************************
      Copyright (c) Microsoft Corporation. All rights reserved.
      Licensed under the Apache License, Version 2.0 (the "License"); you may not use
      this file except in compliance with the License. You may obtain a copy of the
      License at http://www.apache.org/licenses/LICENSE-2.0
  
      THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
      KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
      WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
      MERCHANTABLITY OR NON-INFRINGEMENT.
  
      See the Apache Version 2.0 License for specific language governing permissions
      and limitations under the License.
      ***************************************************************************** */var n=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return function(t,o){function n(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}(o,t),o.prototype.onInit=function(t,o,e){this._layerType=o,this.name=t,this._layerMgr=e},o.prototype.onDestroy=function(){},Object.defineProperty(o.prototype,"layerType",{get:function(){return this._layerType},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"layerName",{get:function(){return this.name},enumerable:!1,configurable:!0}),o.prototype.onAdd=function(t){t.addChild(this),this.width=t.width,this.height=t.height},o.prototype.onHide=function(){this.active=!1},o.prototype.onShow=function(){this.active=!0},o.prototype.onSpAdd=function(t){this.addChild(t)},o.prototype.onNodeAdd=function(t){t.parent&&t.parent===this||this.addChild(t)},o}(cc.Node);t.Layer=n,t.NodeCtrl=o,Object.defineProperty(t,"__esModule",{value:!0})}));var globalTarget=window||global;globalTarget.dpctrlCcc?Object.assign({},globalTarget.dpctrlCcc):globalTarget.dpctrlCcc=dpctrlCcc;
  