define(["exports","./../../registrationservices/registrationservices.js"],function(_exports,_registrationservices){Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0,require(["css!modules/emby-elements/emby-premierecontainer/emby-premierecontainer.css"]);var EmbyPremiereContainer=function(_HTMLDivElement){babelHelpers.inherits(EmbyPremiereContainer,_HTMLDivElement);var _super=_createSuper(EmbyPremiereContainer);function EmbyPremiereContainer(){babelHelpers.classCallCheck(this,EmbyPremiereContainer);var _this,self=_this=_super.call(this);return function(){this.hasInit||(this.hasInit=!0,this.classList.add("premirecontainer-forcehide"))}.call(self),babelHelpers.possibleConstructorReturn(_this,self)}return babelHelpers.createClass(EmbyPremiereContainer,[{key:"connectedCallback",value:function(){var elem;elem=this,_registrationservices.default.validateFeature("dvr",{showDialog:!1,viewOnly:!0}).then(function(){elem.classList.add("premirecontainer-forcehide")},function(){elem.classList.remove("premirecontainer-forcehide")})}},{key:"disconnectedCallback",value:function(){}}]),EmbyPremiereContainer}(babelHelpers.wrapNativeSuper(HTMLDivElement));customElements.define("emby-premierecontainer",EmbyPremiereContainer,{extends:"div"}),_exports.default=EmbyPremiereContainer});