silverstripe-webpack/app/client/dist/js/sample.js

2 lines
277 KiB
JavaScript
Raw Normal View History

2020-05-14 14:06:58 +02:00
/*! For license information please see sample.js.LICENSE.txt */
2021-01-02 15:08:21 +01:00
!function(){var h={999:function(h,g,v){var y={"./bg.png":384,"./logo.png":286,"./original.png":359,"./original2.png":542,"./photo1.png":603,"./photo2.jpg":356,"./photo3.svg":559,"app/client/src/img/bg.png":384,"app/client/src/img/logo.png":286,"app/client/src/img/original.png":359,"app/client/src/img/original2.png":542,"app/client/src/img/photo1.png":603,"app/client/src/img/photo2.jpg":356,"app/client/src/img/photo3.svg":559,"bg.png":384,"img/bg.png":384,"img/logo.png":286,"img/original.png":359,"img/original2.png":542,"img/photo1.png":603,"img/photo2.jpg":356,"img/photo3.svg":559,"logo.png":286,"original.png":359,"original2.png":542,"photo1.png":603,"photo2.jpg":356,"photo3.svg":559};function webpackContext(h){var g=webpackContextResolve(h);return v(g)}function webpackContextResolve(h){if(!v.o(y,h)){var g=new Error("Cannot find module '"+h+"'");throw g.code="MODULE_NOT_FOUND",g}return y[h]}webpackContext.keys=function webpackContextKeys(){return Object.keys(y)},webpackContext.resolve=webpackContextResolve,h.exports=webpackContext,webpackContext.id=999},537:function(h,g,v){"use strict";v(192),v(6),v(276),v(195),v(259);var $,y,b,w,C=v(609),T=v.n(C),A={AJAX:"ajax-load",AJAXMAIN:"ajax-main-load",MAININIT:"main-init",TABHIDDEN:"tab-hidden",TABFOCUSED:"tab-focused",OFFLINE:"offline",ONLINE:"online",BACKONLINE:"back-online",TOUCHENABLE:"touch-enabled",TOUCHDISABLED:"touch-disabled",LOADED:"load",SWIPELEFT:"swipeleft panleft",SWIPERIGHT:"swiperight panright",ALLERTAPPEARED:"alert-appeared",ALERTREMOVED:"alert-removed",LODEDANDREADY:"load-ready",LAZYIMAGEREADY:"image-lazy-bg-loaded",LAZYIMAGESREADY:"images-lazy-loaded",MAPLOADED:"map-loaded",MAPAPILOADED:"map-api-loaded",MAPMARKERCLICK:"map-marker-click",MAPPOPUPCLOSE:"map-popup-close",SCROLL:"scroll",RESIZE:"resize",CAROUSEL_READY:"bs.carousel.ready",SET_TARGET_UPDATE:"set-target-update",RESTORE_FIELD:"restore-field",FORM_INIT_BASICS:"form-basics",FORM_INIT_STEPPED:"form-init-stepped",FORM_INIT_VALIDATE:"form-init-validate",FORM_INIT_VALIDATE_FIELD:"form-init-validate-field",FORM_INIT_STORAGE:"form-init-storage",FORM_VALIDATION_FAILED:"form-validation-failed",FORM_STEPPED_NEW_STEP:"form-new-step",FORM_STEPPED_FIRST_STEP:"form-first-step",FORM_STEPPED_LAST_STEP:"form-last-step",FORM_FIELDS:"input,textarea,select"},k=($=T(),y=window,b=document,w="ShrinkUI",console.log("".concat(w,": init")),$(y).on("".concat(w,".init ").concat(A.LOADED," ").concat(A.SCROLL," ").concat(A.RESIZE),(function(){if(!$("#Navigation > .navbar-collapse").hasClass("show")){var h=$("#SiteWideMessage").height();h||(h=0);var g=$("#SiteWideOffline").height();g||(g=0);var v=$("#Header").height();v||(v=0);var y=h+g+v;$(b).scrollTop()>y?$("body").addClass("shrink"):$("body").removeClass("shrink")}})),k);v(368);function _typeof(h){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(h){return typeof h}:function _typeof(h){return h&&"function"===typeof Symbol&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h})(h)}function _defineProperties(h,g){for(var v=0;v<g.length;v++){var y=g[v];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(h,y.key,y)}}function _setPrototypeOf(h,g){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(h,g){return h.__proto__=g,h})(h,g)}function _createSuper(h){var g=function _isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(h){return!1}}();return function _createSuperInternal(){var v,y=_getPrototypeOf(h);if(g){var b=_getPrototypeOf(this).constructor;v=Reflect.construct(y,arguments,b)}else v=y.apply(this,arguments);return _possibleConstructorReturn(this,v)}}function _possibleConstructorReturn(h,g){return!g||"object"!==_typeof(g)&&"function"!==typeof g?_assertThisInitialized(h):g}function _assertThisInitialized(h){if(void 0===h)throw new ReferenceError("this hasn't been in