define(["/intranet/pages/build/js/pages.libs.js"],function(__WEBPACK_EXTERNAL_MODULE_11__){return function(modules){function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.l=!0,module.exports}var installedModules={};return __webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.i=function(value){return value},__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{configurable:!1,enumerable:!0,get:getter})},__webpack_require__.n=function(module){var getter=module&&module.__esModule?function(){return module.default}:function(){return module};return __webpack_require__.d(getter,"a",getter),getter},__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__webpack_require__.p="/intranet/pages/build/js/",__webpack_require__(__webpack_require__.s=31)}({"./assets/js/Pages.API.class.js":function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__("./assets/js/PagesReadonly.class.js")],void 0!==(__WEBPACK_AMD_DEFINE_RESULT__=function(Pages){return Pages.prototype._notifyTileAdded=function(element){element.trigger("pages-tile-add")},Pages.prototype._notifyTileMoved=function(element){element.trigger("pages-tile-move")},Pages.prototype._notifyTileDeleted=function(element){element.trigger("pages-tile-delete")},Pages.prototype._notifyTileResized=function(element){element.trigger("pages-tile-resize",element)},Pages.prototype._notifyPagesStarted=function(){$("body").trigger("pages-started")},Pages}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__))&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},"./assets/js/PagesReadonly.class.js":function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[],void 0!==(__WEBPACK_AMD_DEFINE_RESULT__=function(){var Pages=function(){};return Pages.prototype.grid=null,Pages.prototype.verticalMargin=20,Pages.prototype.horizontalMargin=20,Pages.prototype.columnCount=4,Pages.prototype.initGridStack=function(){var dragClass="ui-draggable-handle";$("html").hasClass("touch-enabled")&&/Android|iPad/i.test(navigator.userAgent)&&(dragClass+="-touchscreen");var min_width=768;6===this.columnCount&&(min_width=980);var options={width:this.columnCount,cellHeight:47,verticalMargin:this.verticalMargin,animate:!0,handleClass:dragClass,disableDrag:!0,disableResize:!0,placeholderClass:"grid-stack-placeholder grid-stack-item-"+this.columnCount,minWidth:min_width},grid=$(".grid-stack");grid.css("display","none"),grid.gridstack(options),grid.css("display","block"),this.grid=grid.data("gridstack"),$("body:has(.grid-stack)").addClass("pages-index"),$(".panel:has(.empty-component-alert)").addClass("empty-component")},Pages.prototype.init=function(columns){this.grid=null,this.columnCount=columns,this.initGridStack(),$(".pages-startup").css("opacity","1").css("transition","moz-opacity 0.5s ease-in-out").css("transition","webkit-opacity 0.5s ease-in-out").css("transition","opacity 0.5s ease-in-out"),this._notifyPagesStarted(),$(".js-tile").trigger("pages-tile-add")},Pages.prototype.populateTile=function(tile_id,header,body){var base=$('.js-tile[data-tile_id="'+tile_id+'"]');$(".js-tile-body-container",base).css("opacity","0");var $header=$(".js-tile-header",base);return null!==header&&""!==header?($header.html(header),$header.removeClass("hide-header sr-only")):$header.addClass("hide-header sr-only"),$(".js-tile-body-container",base).html(body),window.setTimeout(function(){$(".js-tile-body-container",base).css("opacity","1")},100),this._notifyTileAdded(base),base},Pages}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__))&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},"./assets/js/pages.readonly.js":function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;__WEBPACK_AMD_DEFINE_ARRAY__=[__webpack_require__("./assets/js/Pages.API.class.js"),__webpack_require__("./assets/js/PagesReadonly.class.js"),__webpack_require__(11)],void 0!==(__WEBPACK_AMD_DEFINE_RESULT__=function(Pages){return new Pages}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__))&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},11:function(module,exports){module.exports=__WEBPACK_EXTERNAL_MODULE_11__},31:function(module,exports,__webpack_require__){module.exports=__webpack_require__("./assets/js/pages.readonly.js")}})});
//# sourceMappingURL=pages.readonly.js.map