text: /**
   * Hilo 1.4.0 for cmd
   * Copyright 2016 alibaba.com
   * Licensed under the MIT License
   */
  define(function(e,t,n){var i=e("hilo/core/Hilo"),r=e("hilo/core/Class"),s=e("hilo/view/View"),o=e("hilo/view/Drawable"),a=r.create({Extends:s,constructor:function(e){e=e||{},this.id=this.id||e.id||i.getUid("DOMElement"),a.superclass.constructor.call(this,e),this.drawable=new o;var t=this.drawable.domElement=e.element||i.createElement("div");t.id=this.id,this.pointerEnabled&&!t.style.pointerEvents&&(t.style.pointerEvents="visible")},_render:function(e,t){this.onUpdate&&this.onUpdate(t)===!1||(e.transform(this),this.visible&&this.alpha>0&&this.render(e,t))},render:function(e,t){if("dom"!==e.renderType){var n=e.canvas,r=this.parent,s=e._domElementContainer;e._domElementContainer||(s=e._domElementContainer=i.createElement("div",{style:{position:"absolute",transform:"scale3d("+r.scaleX+","+r.scaleY+", 1)",transformOrigin:"0 0",zIndex:"1"}}),n.parentNode.insertBefore(e._domElementContainer,n.nextSibling));var o,a=this.drawable.domElement,l=this.depth,d=s.childNodes[0];if(a.parentNode)return;for(;d&&3!=d.nodeType&&(o=parseInt(d.style.zIndex)||0,!(o<=0||o>l));)d=d.nextSibling;s.insertBefore(this.drawable.domElement,d)}else e.draw(this)}});return a});