formed.css
Advanced tools
Comparing version 0.8.2 to 0.8.3
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.formed=e():t.formed=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=58)}([function(t,e,n){function r(t){return null==t?void 0===t?c:a:l&&l in Object(t)?o(t):s(t)}var i=n(5),o=n(37),s=n(43),a="[object Null]",c="[object Undefined]",l=i?i.toStringTag:void 0;t.exports=r},function(t,e,n){var r=n(9),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},function(t,e,n){function r(t){return null!=t&&o(t.length)&&!i(t)}var i=n(14),o=n(15);t.exports=r},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e,n){var r=n(1),i=r.Symbol;t.exports=i},function(t,e,n){function r(t,e,n){var r=t[e];a.call(t,e)&&o(r,n)&&(void 0!==n||e in t)||i(t,e,n)}var i=n(7),o=n(12),s=Object.prototype,a=s.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e,n){"__proto__"==e&&i?i(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var i=n(8);t.exports=r},function(t,e,n){var r=n(36),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(57))},function(t,e){function n(t,e){return!!(e=null==e?r:e)&&("number"==typeof t||i.test(t))&&t>-1&&t%1==0&&t<e}var r=9007199254740991,i=/^(?:0|[1-9]\d*)$/;t.exports=n},function(t,e){function n(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}var r=Object.prototype;t.exports=n},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t){if(!o(t))return!1;var e=i(t);return e==a||e==c||e==s||e==l}var i=n(0),o=n(3),s="[object AsyncFunction]",a="[object Function]",c="[object GeneratorFunction]",l="[object Proxy]";t.exports=r},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){t&&this.element.blur()}function e(e){e._onBlur=t.bind(e),e.element.addEventListener("mouseup",e._onBlur),e.element.addEventListener("mouseleave",e._onBlur)}function n(){this.element.removeEventListener("mouseup",this._onBlur),this.element.removeEventListener("mouseleave",this._onBlur)}function r(){return this.element.disabled=!0,this}function i(){return this.element.disabled=!1,this}function o(){return this.element.classList.contains(a.IS_ACTIVE)?this.element.classList.remove(a.IS_ACTIVE):this.element.classList.add(a.IS_ACTIVE),this}function s(t){var n=Object.create(c);return n.element=t,e(n),n}var a={IS_ACTIVE:"is-active"},c={destroy:n,disable:r,enable:i,toggle:o};return s}();e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){this.element.classList.remove(h.IS_FOCUSED)}function e(){a.call(this)}function n(t){this.element.classList.add(h.IS_FOCUSED)}function r(r){r.control.addEventListener("blur",t.bind(r)),r.control.addEventListener("change",e.bind(r)),r.control.addEventListener("focus",n.bind(r))}function i(){var t=this.control.disabled?"add":"remove";this.element.classList[t](h.IS_DISABLED)}function o(){var t=this.control.checked?"add":"remove";this.element.classList[t](h.IS_CHECKED)}function s(t,e){t.classList.add(h.IS_CUSTOM);var n=document.createElement("span");return n.classList.add(h.BOX),t.insertBefore(n,e.nextSibling),n}function a(){i.call(this),o.call(this)}function c(){this.control.checked=!0,a()}function l(){this.control.checked=!1,a()}function u(){this.control.disabled=!0,a()}function d(){this.control.disabled=!1,a()}function f(t){if(t&&1!==t.nodeType)throw new TypeError("Element passed in is not a HTML node.");var e=Object.create(p);return e.element=t,e.control=t.querySelector("."+h.CONTROL),e.label=t.querySelector("."+h.LABEL),e.box=s(e.element,e.control),r(e),a.call(e),e}var h={CHECKBOX:"Checkbox",CONTROL:"Checkbox-control",BOX:"Checkbox-box",LABEL:"Checkbox-label",IS_CHECKED:"is-checked",IS_CUSTOM:"is-custom",IS_DISABLED:"is-disabled",IS_FOCUSED:"is-focused"},p={check:c,uncheck:l,disable:u,enable:d};return f}();e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){return this.controlEl.disabled=!0,this.refreshState()}function e(){return this.controlEl.disabled=!1,this.refreshState()}function n(t){var e=Object.create(E);if(t&&1!==t.nodeType)throw new TypeError("Element passed in is not a HTML node.");return e.editorEl=t,e.controlEl=e.editorEl.querySelector("."+b.CONTROL),e.iconEl=e.editorEl.querySelector("."+b.ICON),e.labelEl=e.editorEl.querySelector("."+b.LABEL),o.call(e),d.call(e),e.refreshState(),e.controlEl.hasAttribute("autofocus")&&(e.editorEl.focus(),a.call(e)),e}function r(){this.controlEl.removeEventListener("blur",f.bind(this)),this.controlEl.removeEventListener("focus",h.bind(this)),this.controlEl.removeEventListener("input",p.bind(this)),this.controlEl.removeEventListener("reset",v.bind(this))}function i(){return c.call(this),s.call(this),a.call(this),l.call(this),u.call(this),this}function o(){this.controlEl.addEventListener("blur",f.bind(this)),this.controlEl.addEventListener("focus",h.bind(this)),this.controlEl.addEventListener("input",p.bind(this)),this.controlEl.addEventListener("reset",v.bind(this))}function s(){var t=this.controlEl.hasAttribute("disabled"),e=t?"add":"remove";this.editorEl.classList[e](b.IS_DISABLED)}function a(){var t=!!this.editorEl.querySelector(":focus"),e=t?"add":"remove";this.editorEl.classList[e](b.IS_FOCUSED)}function c(){var t=this.controlEl.value&&this.controlEl.value.length>0,e=t?"add":"remove";this.editorEl.classList[e](b.IS_DIRTY)}function l(){var t=this.controlEl.hasAttribute("readonly"),e=t?"add":"remove";this.editorEl.classList[e](b.IS_READONLY)}function u(){if(this.controlEl.validity){var t=this.controlEl.validity.valid,e=t?"remove":"add";this.editorEl.classList[e](b.IS_INVALID)}}function d(){this.controlEl&&this.controlEl.hasAttribute("placeholder")&&this.editorEl.classList.add(b.HAS_PLACEHOLDER)}function f(){this.editorEl.classList.remove(b.IS_FOCUSED)}function h(){this.editorEl.classList.add(b.IS_FOCUSED)}function p(){this.refreshState()}function v(){this.refreshState()}var b={CONTROL:"Editor-control",LABEL:"Editor-label",ICON:"Editor-icon",HAS_ICON:"has-icon",HAS_PLACEHOLDER:"has-placeholder",IS_DIRTY:"is-dirty",IS_DISABLED:"is-disabled",IS_FOCUSED:"is-focused",IS_INVALID:"is-invalid",IS_READONLY:"is-readonly"},E={disable:t,enable:e,refreshState:i,destroy:r};return n}();e.default=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(49),o=r(i),s=function(){function t(){return this.drawer&&this.drawer.classList.contains(E.isDrawerActiveClass)}function e(){return this.drawer&&this.element.classList.contains("Layout--drawerFixed")}function n(){d.call(this)}function r(){return d.call(this),h.call(this),this.drawer&&p.call(this),this.screenSizeHandler(),u.call(this),this}function i(){return this.drawer.classList.toggle(E.isDrawerActiveClass),this.mask.classList.toggle(E.isDrawerActiveClass),this.hasActiveDrawer()?(this.drawer.setAttribute("aria-hidden","false"),this.drawerBtn.setAttribute("aria-expanded","true")):(this.drawer.setAttribute("aria-hidden","true"),this.drawerBtn.setAttribute("aria-expanded","false")),this}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.create(y);return n.config=(0,o.default)({},b,e),n.element=t,n.drawerToggleHandler=a.bind(n),n.keyboardHandler=c.bind(n),n.screenSizeHandler=l.bind(n),f.call(n),h.call(n),n.drawer&&p.call(n),n.breakpoint=window.matchMedia(E.breakpoint),n.screenSizeHandler(),u.call(n),n}function a(t){var e=m.SPACE,n=m.ENTER;if(t&&"keydown"===t.type){if(t.keyCode!==e&&t.keyCode!==n)return;t.preventDefault()}this.toggleDrawer()}function c(t){t.keyCode===m.ESCAPE&&this.hasActiveDrawer()&&this.toggleDrawer()}function l(){this.breakpoint.matches&&this.drawer?(this.drawer.setAttribute("aria-hidden",(!this.hasDrawerFixed()).toString()),this.drawerBtn.setAttribute("aria-expanded","false"),this.drawer.classList.remove(E.isDrawerActiveClass),this.mask.classList.remove(E.isDrawerActiveClass)):this.hasDrawerFixed()&&this.drawer.setAttribute("aria-hidden","true")}function u(){return this.drawer&&(this.drawerBtn.addEventListener("click",this.drawerToggleHandler),this.drawerBtn.addEventListener("keydown",this.drawerToggleHandler),this.drawer.addEventListener("keydown",this.keyboardHandler),this.mask.addEventListener("click",this.drawerToggleHandler)),this.breakpoint.addListener(this.screenSizeHandler),this}function d(){this.drawer&&(this.drawerBtn.removeEventListener("click",this.drawerToggleHandler),this.drawerBtn.removeEventListener("keydown",this.drawerToggleHandler),this.drawer.removeEventListener("keydown",this.keyboardHandler),this.mask.removeEventListener("click",this.drawerToggleHandler)),this.breakpoint.removeListener(l)}function f(){var t=this.config.parent?document.querySelector(this.config.parent):document.createElement("div");t.classList.add("layout-absoluteViewport");var e=document.querySelector(":focus");return this.config.parent||(this.element.parentNode.insertBefore(t,this.element),this.element.parentNode.removeChild(this.element),t.appendChild(this.element)),e&&e.focus(),this}function h(){for(var t=this.element.childNodes,e=t.length,n=0;n<e;n++){var r=t[n];r.classList&&r.classList.contains(E.headerClass)&&(this.header=r),r.classList&&r.classList.contains(E.drawerClass)&&(this.drawer=r),r.classList&&r.classList.contains(E.mainClass)&&(this.main=r)}return this}function p(){if(this.drawerBtn=this.element.querySelector("."+E.drawerBtnClass),!this.drawerBtn)throw Error("No "+E.drawerBtnClass+" detected.");return this.drawer.setAttribute("aria-hidden","true"),this.drawerBtn.setAttribute("aria-expanded","false"),this.drawerBtn.setAttribute("tabindex","0"),this.drawerBtn.setAttribute("type","button"),"button"!==this.drawerBtn.tagName.toLowerCase()&&this.drawerBtn.setAttribute("role","button"),v.call(this),this}function v(){return this.mask=document.createElement("div"),this.mask.classList.add(E.maskClass),this.element.appendChild(this.mask),this}var b={parent:null},E={headerClass:"Layout-header",drawerClass:"Layout-drawer",drawerBtnClass:"Layout-header-menu",mainClass:"Layout-main",maskClass:"Layout-mask",isDrawerActiveClass:"is-active",breakpoint:"(min-width: 992px)"},m={ENTER:13,ESCAPE:27,SPACE:32},y={destroy:n,hasActiveDrawer:t,hasDrawerFixed:e,toggleDrawer:i,refresh:r};return s}();e.default=s},function(t,e,n){"use strict";function r(t){return Array.prototype.slice.call(t)}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t){t.wrapper=document.createElement("div"),t.wrapper.classList.add(m.WRAPPER),t.element.parentElement.insertBefore(t.wrapper,t.element),t.element.parentElement.removeChild(t.element),t.wrapper.appendChild(t.element),t.shadow=document.createElement("div"),t.shadow.classList.add(m.SHADOW),t.wrapper.insertBefore(t.shadow,t.element)}function e(t){[m.AUTO,m.BOTTOM_LEFT,m.BOTTOM_RIGHT,m.TOP_LEFT,m.TOP_RIGHT].forEach(function(e){t.element.classList.contains(e)&&t.shadow.classList.add(e)})}function n(t,e){var n=document.getElementById(t);n&&(n.setAttribute("aria-haspopup",!0),n.setAttribute("aria-expanded",!1),e.wrapper.setAttribute("aria-labelledby",t),e._onTriggerClick=s.bind(e),e._onTriggerKeyboardEvent=a.bind(e),n.addEventListener("click",e._onTriggerClick),n.addEventListener("keydown",e._onTriggerKeyboardEvent),e.trigger=n)}function i(t){return r(t.element.querySelectorAll("."+m.ITEM))}function o(){function t(t){t.target.classList.remove(m.IS_ANIMATING)}var e=this.element;e.addEventListener("transitionend",t),e.addEventListener("webkitTransitionend",t)}function s(t){if(this.trigger){var e=this.trigger.getBoundingClientRect(),n=this.trigger.parentElement.getBoundingClientRect();this.element.classList.contains(m.BOTTOM_RIGHT)?(this.wrapper.style.right=n.right-e.right+"px",this.wrapper.style.top=this.trigger.offsetTop+this.trigger.offsetHeight+"px"):this.element.classList.contains(m.TOP_LEFT)?(this.wrapper.style.left=this.trigger.offsetLeft+"px",this.wrapper.style.bottom=n.bottom-e.top+"px"):this.element.classList.contains(m.TOP_RIGHT)?(this.wrapper.style.right=n.right-e.right+"px",this.wrapper.style.bottom=n.bottom-e.top+"px"):(this.wrapper.style.left=this.trigger.offsetLeft+"px",this.wrapper.style.top=this.trigger.offsetTop+this.trigger.offsetHeight+"px"),this.toggle(t)}}function a(t){var e=this.element.querySelectorAll("."+m.ITEM+":not([disabled])"),n=this.wrapper.classList.contains(m.IS_ACTIVE);e&&e.length&&n&&t.which&&(t.preventDefault(),t.keyCode===E.UP_ARROW?e[e.length-1].focus():t.keyCode===E.DOWN_ARROW&&e[0].focus())}function c(t){t.target.hasAttribute("disabled")?t.stopPropagation():this.hide()}function l(t){var e="."+m.ITEM+":not([disabled])",n=this.element.querySelectorAll(e),r=this.wrapper.classList.contains(m.IS_ACTIVE);if(n&&n.length&&r){var i=Array.prototype.slice.call(n).indexOf(t.target);t.which&&t.preventDefault(),t.keyCode===E.UP_ARROW?i>0?n[i-1].focus():n[n.length-1].focus():t.keyCode===E.DOWN_ARROW?n.length>i+1?n[i+1].focus():n[0].focus():t.keyCode===E.ESCAPE&&this.hide()}}function u(){var t=this;return i(this).forEach(function(e){e.removeEventListener("click",t._onItemClick),e.removeEventListener("keydown",t._onItemKeyboardEvent)}),this.trigger&&(this.trigger.removeEventListener("click",this._onTriggerClick),this.trigger.removeEventListener("keydown",this.onTriggerKeyboardEvent)),this}function d(){i(this).forEach(function(t){t.style.removeProperty("transition-delay")}),this.element.classList.add(m.IS_ANIMATING),this.wrapper.classList.remove(m.IS_ACTIVE),this.trigger.setAttribute("aria-expanded",!1),o.call(this)}function f(t){var e=this,n=this.element.getBoundingClientRect(),r=n.height,s=n.width;this.wrapper.style.width=s+"px",this.wrapper.style.height=r+"px",this.shadow.style.width=s+"px",this.shadow.style.height=r+"px";var a=v*b;i(this).forEach(function(t){var n=null;n=e.element.classList.contains(m.TOP_LEFT)||e.element.classList.contains(m.TOP_RIGHT)?(r-t.offsetTop-t.offsetHeight)/r*a+"s":t.offsetTop/r*a+"s",t.style.transitionDelay=n});var c=function t(){e.element.classList.add(m.IS_ANIMATING),e.wrapper.classList.add(m.IS_ACTIVE),e.trigger.setAttribute("aria-expanded",!0),window.cancelAnimationFrame(t)};window.requestAnimationFrame(c),o.call(this);var l=function n(r){r!==t&&r.target.parentNode!==e.element&&(document.removeEventListener("click",n),e.hide())};document.addEventListener("click",l)}function h(t){this.wrapper.classList.contains(m.IS_ACTIVE)?this.hide():this.show(t)}function p(r){if(r&&1!==r.nodeType)throw new TypeError("Element passed in is not a HTML node.");var o=Object.create(y);o.element=r,t(o);var s=o.element.dataset.trigger;return s&&n(s,o),o._onItemClick=c.bind(o),o._onItemKeyboardEvent=l.bind(o),i(o).forEach(function(t){t.tabIndex="-1",t.addEventListener("click",o._onItemClick),t.addEventListener("keydown",o._onItemKeyboardEvent)}),e(o),o}var v=.3,b=.8,E={ENTER:13,ESCAPE:27,SPACE:32,UP_ARROW:38,DOWN_ARROW:40},m={WRAPPER:"_MenuWrapper",SHADOW:"_MenuShadow",ITEM:"Menu-item",IS_ACTIVE:"is-active",IS_ANIMATING:"is-animating",BOTTOM_LEFT:"Menu--bottomLeft",BOTTOM_RIGHT:"Menu--bottomRight",TOP_LEFT:"Menu--topLeft",TOP_RIGHT:"Menu--topRight",AUTO:"Menu--auto"},y={destroy:u,hide:d,show:f,toggle:h};return p}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){this.element.classList.remove(v.IS_FOCUSED)}function e(){this.radioSet.forEach(function(t){var e=new Event("radio:update");t.dispatchEvent(e)})}function n(t){this.element.classList.add(v.IS_FOCUSED)}function r(){this.element.classList.add(v.IS_PRESSED)}function i(){this.element.classList.remove(v.IS_PRESSED)}function o(o){o.control.addEventListener("blur",t.bind(o)),o.control.addEventListener("change",e.bind(o)),o.control.addEventListener("focus",n.bind(o)),o.element.addEventListener("radio:update",l.bind(o)),o.element.addEventListener("mousedown",r.bind(o)),o.element.addEventListener("mouseup",i.bind(o))}function s(){var t=this.control.disabled?"add":"remove";this.element.classList[t](v.IS_DISABLED)}function a(){var t=this.control.checked?"add":"remove";this.element.classList[t](v.IS_CHECKED)}function c(t,e){t.classList.add(v.IS_CUSTOM);var n=document.createElement("span");return n.classList.add(v.CIRCLE),t.insertBefore(n,e.nextSibling),n}function l(){s.call(this),a.call(this)}function u(){this.control.checked=!0,l()}function d(){this.control.checked=!1,l()}function f(){this.control.disabled=!0,l()}function h(){this.control.disabled=!1,l()}function p(t){if(t&&1!==t.nodeType)throw new TypeError("Element passed in is not a HTML node.");var e=Object.create(b);return e.element=t,e.control=t.querySelector("."+v.CONTROL),e.label=t.querySelector("."+v.LABEL),e.circle=c(e.element,e.control),e.radioSet=Array.from(t.parentNode.getElementsByClassName(v.RADIO)),o(e),l.call(e),e}var v={RADIO:"Radio",CONTROL:"Radio-control",CIRCLE:"Radio-circle",LABEL:"Radio-label",IS_CHECKED:"is-checked",IS_CUSTOM:"is-custom",IS_DISABLED:"is-disabled",IS_FOCUSED:"is-focused",IS_PRESSED:"is-pressed"},b={check:u,uncheck:d,disable:f,enable:h};return p}();e.default=r},function(t,e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=n},function(t,e,n){function r(t,e){var n=s(t),r=!n&&o(t),u=!n&&!r&&a(t),f=!n&&!r&&!u&&l(t),h=n||r||u||f,p=h?i(t.length,String):[],v=p.length;for(var b in t)!e&&!d.call(t,b)||h&&("length"==b||u&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||c(b,v))||p.push(b);return p}var i=n(31),o=n(51),s=n(52),a=n(53),c=n(10),l=n(54),u=Object.prototype,d=u.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){return o(t)&&i(t)==s}var i=n(0),o=n(4),s="[object Arguments]";t.exports=r},function(t,e,n){function r(t){return!(!s(t)||o(t))&&(i(t)?p:l).test(a(t))}var i=n(14),o=n(40),s=n(3),a=n(48),c=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,d=Object.prototype,f=u.toString,h=d.hasOwnProperty,p=RegExp("^"+f.call(h).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},function(t,e,n){function r(t){return s(t)&&o(t.length)&&!!a[i(t)]}var i=n(0),o=n(15),s=n(4),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=r},function(t,e,n){function r(t){if(!i(t))return o(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e}var i=n(11),o=n(41),s=Object.prototype,a=s.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e){return s(o(t,e,i),t+"")}var i=n(13),o=n(45),s=n(46);t.exports=r},function(t,e,n){var r=n(50),i=n(8),o=n(13),s=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o;t.exports=s},function(t,e){function n(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}t.exports=n},function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},function(t,e,n){function r(t,e,n,r){var s=!n;n||(n={});for(var a=-1,c=e.length;++a<c;){var l=e[a],u=r?r(n[l],t[l],l,n,t):void 0;void 0===u&&(u=t[l]),s?o(n,l,u):i(n,l,u)}return n}var i=n(6),o=n(7);t.exports=r},function(t,e,n){var r=n(1),i=r["__core-js_shared__"];t.exports=i},function(t,e,n){function r(t){return i(function(e,n){var r=-1,i=n.length,s=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(s=t.length>3&&"function"==typeof s?(i--,s):void 0,a&&o(n[0],n[1],a)&&(s=i<3?void 0:s,i=1),e=Object(e);++r<i;){var c=n[r];c&&t(e,c,r,s)}return e})}var i=n(29),o=n(39);t.exports=r},function(t,e,n){function r(t,e){var n=o(t,e);return i(n)?n:void 0}var i=n(26),o=n(38);t.exports=r},function(t,e,n){function r(t){var e=s.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[c]=n:delete t[c]),i}var i=n(5),o=Object.prototype,s=o.hasOwnProperty,a=o.toString,c=i?i.toStringTag:void 0;t.exports=r},function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},function(t,e,n){function r(t,e,n){if(!a(n))return!1;var r=typeof e;return!!("number"==r?o(n)&&s(e,n.length):"string"==r&&e in n)&&i(n[e],t)}var i=n(12),o=n(2),s=n(10),a=n(3);t.exports=r},function(t,e,n){function r(t){return!!o&&o in t}var i=n(34),o=function(){var t=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=r},function(t,e,n){var r=n(44),i=r(Object.keys,Object);t.exports=i},function(t,e,n){(function(t){var r=n(9),i="object"==typeof e&&e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===i,a=s&&r.process,c=function(){try{return a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=c}).call(e,n(16)(t))},function(t,e){function n(t){return i.call(t)}var r=Object.prototype,i=r.toString;t.exports=n},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){function r(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var r=arguments,s=-1,a=o(r.length-e,0),c=Array(a);++s<a;)c[s]=r[e+s];s=-1;for(var l=Array(e+1);++s<e;)l[s]=r[s];return l[e]=n(c),i(t,this,l)}}var i=n(23),o=Math.max;t.exports=r},function(t,e,n){var r=n(30),i=n(47),o=i(r);t.exports=o},function(t,e){function n(t){var e=0,n=0;return function(){var s=o(),a=i-(s-n);if(n=s,a>0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var r=800,i=16,o=Date.now;t.exports=n},function(t,e){function n(t){if(null!=t){try{return i.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var r=Function.prototype,i=r.toString;t.exports=n},function(t,e,n){var r=n(6),i=n(33),o=n(35),s=n(2),a=n(11),c=n(55),l=Object.prototype,u=l.hasOwnProperty,d=o(function(t,e){if(a(e)||s(e))return void i(e,c(e),t);for(var n in e)u.call(e,n)&&r(t,n,e[n])});t.exports=d},function(t,e){function n(t){return function(){return t}}t.exports=n},function(t,e,n){var r=n(25),i=n(4),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return i(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){(function(t){var r=n(1),i=n(56),o="object"==typeof e&&e&&!e.nodeType&&e,s=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=s&&s.exports===o,c=a?r.Buffer:void 0,l=c?c.isBuffer:void 0,u=l||i;t.exports=u}).call(e,n(16)(t))},function(t,e,n){var r=n(27),i=n(32),o=n(42),s=o&&o.isTypedArray,a=s?i(s):r;t.exports=a},function(t,e,n){function r(t){return s(t)?i(t):o(t)}var i=n(24),o=n(28),s=n(2);t.exports=r},function(t,e){function n(){return!1}t.exports=n},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(17),o=r(i),s=n(18),a=r(s),c=n(19),l=r(c),u=n(20),d=r(u),f=n(21),h=r(f),p=n(22),v=r(p);e.default={button:o.default,checkbox:a.default,editor:l.default,layout:d.default,menu:h.default,radio:v.default}}])}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.formed=e():t.formed=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=58)}([function(t,e,n){function r(t){return null==t?void 0===t?c:a:l&&l in Object(t)?o(t):s(t)}var i=n(5),o=n(37),s=n(43),a="[object Null]",c="[object Undefined]",l=i?i.toStringTag:void 0;t.exports=r},function(t,e,n){var r=n(9),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},function(t,e,n){function r(t){return null!=t&&o(t.length)&&!i(t)}var i=n(14),o=n(15);t.exports=r},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e,n){var r=n(1),i=r.Symbol;t.exports=i},function(t,e,n){function r(t,e,n){var r=t[e];a.call(t,e)&&o(r,n)&&(void 0!==n||e in t)||i(t,e,n)}var i=n(7),o=n(12),s=Object.prototype,a=s.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e,n){"__proto__"==e&&i?i(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var i=n(8);t.exports=r},function(t,e,n){var r=n(36),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(57))},function(t,e){function n(t,e){return!!(e=null==e?r:e)&&("number"==typeof t||i.test(t))&&t>-1&&t%1==0&&t<e}var r=9007199254740991,i=/^(?:0|[1-9]\d*)$/;t.exports=n},function(t,e){function n(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}var r=Object.prototype;t.exports=n},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t){if(!o(t))return!1;var e=i(t);return e==a||e==c||e==s||e==l}var i=n(0),o=n(3),s="[object AsyncFunction]",a="[object Function]",c="[object GeneratorFunction]",l="[object Proxy]";t.exports=r},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){t&&this.element.blur()}function e(e){e._onBlur=t.bind(e),e.element.addEventListener("mouseup",e._onBlur),e.element.addEventListener("mouseleave",e._onBlur)}function n(){this.element.removeEventListener("mouseup",this._onBlur),this.element.removeEventListener("mouseleave",this._onBlur)}function r(){return this.element.disabled=!0,this}function i(){return this.element.disabled=!1,this}function o(){return this.element.classList.contains(a.IS_ACTIVE)?this.element.classList.remove(a.IS_ACTIVE):this.element.classList.add(a.IS_ACTIVE),this}function s(t){var n=Object.create(c);return n.element=t,e(n),n}var a={IS_ACTIVE:"is-active"},c={destroy:n,disable:r,enable:i,toggle:o};return s}();e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){this.element.classList.remove(h.IS_FOCUSED)}function e(){a.call(this)}function n(t){this.element.classList.add(h.IS_FOCUSED)}function r(r){r.control.addEventListener("blur",t.bind(r)),r.control.addEventListener("change",e.bind(r)),r.control.addEventListener("focus",n.bind(r))}function i(){var t=this.control.disabled?"add":"remove";this.element.classList[t](h.IS_DISABLED)}function o(){var t=this.control.checked?"add":"remove";this.element.classList[t](h.IS_CHECKED)}function s(t,e){t.classList.add(h.IS_CUSTOM);var n=document.createElement("span");return n.classList.add(h.BOX),t.insertBefore(n,e.nextSibling),n}function a(){i.call(this),o.call(this)}function c(){this.control.checked=!0,a()}function l(){this.control.checked=!1,a()}function u(){this.control.disabled=!0,a()}function d(){this.control.disabled=!1,a()}function f(t){if(t&&1!==t.nodeType)throw new TypeError("Element passed in is not a HTML node.");var e=Object.create(p);return e.element=t,e.control=t.querySelector("."+h.CONTROL),e.label=t.querySelector("."+h.LABEL),e.box=s(e.element,e.control),r(e),a.call(e),e}var h={CHECKBOX:"Checkbox",CONTROL:"Checkbox-control",BOX:"Checkbox-box",LABEL:"Checkbox-label",IS_CHECKED:"is-checked",IS_CUSTOM:"is-custom",IS_DISABLED:"is-disabled",IS_FOCUSED:"is-focused"},p={check:c,uncheck:l,disable:u,enable:d};return f}();e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){return this.controlEl.disabled=!0,this.refreshState()}function e(){return this.controlEl.disabled=!1,this.refreshState()}function n(t){var e=Object.create(E);if(t&&1!==t.nodeType)throw new TypeError("Element passed in is not a HTML node.");return e.editorEl=t,e.controlEl=e.editorEl.querySelector("."+b.CONTROL),e.iconEl=e.editorEl.querySelector("."+b.ICON),e.labelEl=e.editorEl.querySelector("."+b.LABEL),o.call(e),d.call(e),e.refreshState(),e.controlEl.hasAttribute("autofocus")&&(e.editorEl.focus(),a.call(e)),e}function r(){this.controlEl.removeEventListener("blur",f.bind(this)),this.controlEl.removeEventListener("focus",h.bind(this)),this.controlEl.removeEventListener("input",p.bind(this)),this.controlEl.removeEventListener("reset",v.bind(this))}function i(){return c.call(this),s.call(this),a.call(this),l.call(this),u.call(this),this}function o(){this.controlEl.addEventListener("blur",f.bind(this)),this.controlEl.addEventListener("focus",h.bind(this)),this.controlEl.addEventListener("input",p.bind(this)),this.controlEl.addEventListener("reset",v.bind(this))}function s(){var t=this.controlEl.hasAttribute("disabled"),e=t?"add":"remove";this.editorEl.classList[e](b.IS_DISABLED)}function a(){var t=!!this.editorEl.querySelector(":focus"),e=t?"add":"remove";this.editorEl.classList[e](b.IS_FOCUSED)}function c(){var t=this.controlEl.value&&this.controlEl.value.length>0,e=t?"add":"remove";this.editorEl.classList[e](b.IS_DIRTY)}function l(){var t=this.controlEl.hasAttribute("readonly"),e=t?"add":"remove";this.editorEl.classList[e](b.IS_READONLY)}function u(){if(this.controlEl.validity){var t=this.controlEl.validity.valid,e=t?"remove":"add";this.editorEl.classList[e](b.IS_INVALID)}}function d(){this.controlEl&&this.controlEl.hasAttribute("placeholder")&&this.editorEl.classList.add(b.HAS_PLACEHOLDER)}function f(){this.editorEl.classList.remove(b.IS_FOCUSED)}function h(){this.editorEl.classList.add(b.IS_FOCUSED)}function p(){this.refreshState()}function v(){this.refreshState()}var b={CONTROL:"Editor-control",LABEL:"Editor-label",ICON:"Editor-icon",HAS_ICON:"has-icon",HAS_PLACEHOLDER:"has-placeholder",IS_DIRTY:"is-dirty",IS_DISABLED:"is-disabled",IS_FOCUSED:"is-focused",IS_INVALID:"is-invalid",IS_READONLY:"is-readonly"},E={disable:t,enable:e,refreshState:i,destroy:r};return n}();e.default=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(49),o=r(i),s=function(){function t(){return this.drawer&&this.drawer.classList.contains(E.isDrawerActiveClass)}function e(){return this.drawer&&this.element.classList.contains("Layout--drawerFixed")}function n(){d.call(this)}function r(){return d.call(this),h.call(this),this.drawer&&p.call(this),this.screenSizeHandler(),u.call(this),this}function i(){return this.drawer.classList.toggle(E.isDrawerActiveClass),this.mask.classList.toggle(E.isDrawerActiveClass),this.hasActiveDrawer()?(this.drawer.setAttribute("aria-hidden","false"),this.drawerBtn.setAttribute("aria-expanded","true")):(this.drawer.setAttribute("aria-hidden","true"),this.drawerBtn.setAttribute("aria-expanded","false")),this}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.create(y);return n.config=(0,o.default)({},b,e),n.element=t,n.drawerToggleHandler=a.bind(n),n.keyboardHandler=c.bind(n),n.screenSizeHandler=l.bind(n),f.call(n),h.call(n),n.drawer&&p.call(n),n.breakpoint=window.matchMedia(E.breakpoint),n.screenSizeHandler(),u.call(n),n}function a(t){var e=m.SPACE,n=m.ENTER;if(t&&"keydown"===t.type){if(t.keyCode!==e&&t.keyCode!==n)return;t.preventDefault()}this.toggleDrawer()}function c(t){t.keyCode===m.ESCAPE&&this.hasActiveDrawer()&&this.toggleDrawer()}function l(){this.breakpoint.matches&&this.drawer?(this.drawer.setAttribute("aria-hidden",(!this.hasDrawerFixed()).toString()),this.drawerBtn.setAttribute("aria-expanded","false"),this.drawer.classList.remove(E.isDrawerActiveClass),this.mask.classList.remove(E.isDrawerActiveClass)):this.hasDrawerFixed()&&this.drawer.setAttribute("aria-hidden","true")}function u(){return this.drawer&&(this.drawerBtn.addEventListener("click",this.drawerToggleHandler),this.drawerBtn.addEventListener("keydown",this.drawerToggleHandler),this.drawer.addEventListener("keydown",this.keyboardHandler),this.mask.addEventListener("click",this.drawerToggleHandler)),this.breakpoint.addListener(this.screenSizeHandler),this}function d(){this.drawer&&(this.drawerBtn.removeEventListener("click",this.drawerToggleHandler),this.drawerBtn.removeEventListener("keydown",this.drawerToggleHandler),this.drawer.removeEventListener("keydown",this.keyboardHandler),this.mask.removeEventListener("click",this.drawerToggleHandler)),this.breakpoint.removeListener(l)}function f(){var t=this.config.parent?document.querySelector(this.config.parent):document.createElement("div");t.classList.add("layout-absoluteViewport");var e=document.querySelector(":focus");return this.config.parent||(this.element.parentNode.insertBefore(t,this.element),this.element.parentNode.removeChild(this.element),t.appendChild(this.element)),e&&e.focus(),this}function h(){for(var t=this.element.childNodes,e=t.length,n=0;n<e;n++){var r=t[n];r.classList&&r.classList.contains(E.headerClass)&&(this.header=r),r.classList&&r.classList.contains(E.drawerClass)&&(this.drawer=r),r.classList&&r.classList.contains(E.mainClass)&&(this.main=r)}return this}function p(){if(this.drawerBtn=this.element.querySelector("."+E.drawerBtnClass),!this.drawerBtn)throw Error("No "+E.drawerBtnClass+" detected.");return this.drawer.setAttribute("aria-hidden","true"),this.drawerBtn.setAttribute("aria-expanded","false"),this.drawerBtn.setAttribute("tabindex","0"),this.drawerBtn.setAttribute("type","button"),"button"!==this.drawerBtn.tagName.toLowerCase()&&this.drawerBtn.setAttribute("role","button"),v.call(this),this}function v(){return this.mask=document.createElement("div"),this.mask.classList.add(E.maskClass),this.element.appendChild(this.mask),this}var b={parent:null},E={headerClass:"Layout-header",drawerClass:"Layout-drawer",drawerBtnClass:"Layout-header-menu",mainClass:"Layout-main",maskClass:"Layout-mask",isDrawerActiveClass:"is-active",breakpoint:"(min-width: 992px)"},m={ENTER:13,ESCAPE:27,SPACE:32},y={destroy:n,hasActiveDrawer:t,hasDrawerFixed:e,toggleDrawer:i,refresh:r};return s}();e.default=s},function(t,e,n){"use strict";function r(t){return Array.prototype.slice.call(t)}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t){t.wrapper=document.createElement("div"),t.wrapper.classList.add(m.WRAPPER),t.element.parentElement.insertBefore(t.wrapper,t.element),t.element.parentElement.removeChild(t.element),t.wrapper.appendChild(t.element),t.shadow=document.createElement("div"),t.shadow.classList.add(m.SHADOW),t.wrapper.insertBefore(t.shadow,t.element)}function e(t){[m.AUTO,m.BOTTOM_LEFT,m.BOTTOM_RIGHT,m.TOP_LEFT,m.TOP_RIGHT].forEach(function(e){t.element.classList.contains(e)&&t.shadow.classList.add(e)})}function n(t,e){var n=document.getElementById(t);n&&(n.setAttribute("aria-haspopup",!0),n.setAttribute("aria-expanded",!1),e.wrapper.setAttribute("aria-labelledby",t),e._onTriggerClick=s.bind(e),e._onTriggerKeyboardEvent=a.bind(e),n.addEventListener("click",e._onTriggerClick),n.addEventListener("keydown",e._onTriggerKeyboardEvent),e.trigger=n)}function i(t){return r(t.element.querySelectorAll("."+m.ITEM))}function o(){function t(t){t.target.classList.remove(m.IS_ANIMATING)}var e=this.element;e.addEventListener("transitionend",t),e.addEventListener("webkitTransitionend",t)}function s(t){if(this.trigger){var e=this.trigger.getBoundingClientRect(),n=this.trigger.parentElement.getBoundingClientRect();this.element.classList.contains(m.BOTTOM_RIGHT)?(this.wrapper.style.right=n.right-e.right+"px",this.wrapper.style.top=this.trigger.offsetTop+this.trigger.offsetHeight+"px"):this.element.classList.contains(m.TOP_LEFT)?(this.wrapper.style.left=this.trigger.offsetLeft+"px",this.wrapper.style.bottom=n.bottom-e.top+"px"):this.element.classList.contains(m.TOP_RIGHT)?(this.wrapper.style.right=n.right-e.right+"px",this.wrapper.style.bottom=n.bottom-e.top+"px"):(this.wrapper.style.left=this.trigger.offsetLeft+"px",this.wrapper.style.top=this.trigger.offsetTop+this.trigger.offsetHeight+"px"),this.toggle(t)}}function a(t){var e=this.element.querySelectorAll("."+m.ITEM+":not([disabled])"),n=this.wrapper.classList.contains(m.IS_ACTIVE);e&&e.length&&n&&t.which&&(t.preventDefault(),t.keyCode===E.UP_ARROW?e[e.length-1].focus():t.keyCode===E.DOWN_ARROW&&e[0].focus())}function c(t){t.target.hasAttribute("disabled")?t.stopPropagation():this.hide()}function l(t){var e="."+m.ITEM+":not([disabled])",n=this.element.querySelectorAll(e),r=this.wrapper.classList.contains(m.IS_ACTIVE);if(n&&n.length&&r){var i=Array.prototype.slice.call(n).indexOf(t.target);t.which&&t.preventDefault(),t.keyCode===E.UP_ARROW?i>0?n[i-1].focus():n[n.length-1].focus():t.keyCode===E.DOWN_ARROW?n.length>i+1?n[i+1].focus():n[0].focus():t.keyCode===E.ESCAPE&&this.hide()}}function u(){var t=this;return i(this).forEach(function(e){e.removeEventListener("click",t._onItemClick),e.removeEventListener("keydown",t._onItemKeyboardEvent)}),this.trigger&&(this.trigger.removeEventListener("click",this._onTriggerClick),this.trigger.removeEventListener("keydown",this.onTriggerKeyboardEvent)),this}function d(){i(this).forEach(function(t){t.style.removeProperty("transition-delay")}),this.element.classList.add(m.IS_ANIMATING),this.wrapper.classList.remove(m.IS_ACTIVE),this.trigger&&this.trigger.setAttribute("aria-expanded",!1),o.call(this)}function f(t){var e=this,n=this.element.getBoundingClientRect(),r=n.height,s=n.width;this.wrapper.style.width=s+"px",this.wrapper.style.height=r+"px",this.shadow.style.width=s+"px",this.shadow.style.height=r+"px";var a=v*b;i(this).forEach(function(t){var n=null;n=e.element.classList.contains(m.TOP_LEFT)||e.element.classList.contains(m.TOP_RIGHT)?(r-t.offsetTop-t.offsetHeight)/r*a+"s":t.offsetTop/r*a+"s",t.style.transitionDelay=n});var c=function t(){e.element.classList.add(m.IS_ANIMATING),e.wrapper.classList.add(m.IS_ACTIVE),e.trigger.setAttribute("aria-expanded",!0),window.cancelAnimationFrame(t)};window.requestAnimationFrame(c),o.call(this);var l=function n(r){r!==t&&r.target.parentNode!==e.element&&(document.removeEventListener("click",n),e.hide())};document.addEventListener("click",l)}function h(t){this.wrapper.classList.contains(m.IS_ACTIVE)?this.hide():this.show(t)}function p(r){if(r&&1!==r.nodeType)throw new TypeError("Element passed in is not a HTML node.");var o=Object.create(y);o.element=r,t(o);var s=o.element.dataset.trigger;return s&&n(s,o),o._onItemClick=c.bind(o),o._onItemKeyboardEvent=l.bind(o),i(o).forEach(function(t){t.tabIndex="-1",t.addEventListener("click",o._onItemClick),t.addEventListener("keydown",o._onItemKeyboardEvent)}),e(o),o}var v=.3,b=.8,E={ENTER:13,ESCAPE:27,SPACE:32,UP_ARROW:38,DOWN_ARROW:40},m={WRAPPER:"_MenuWrapper",SHADOW:"_MenuShadow",ITEM:"Menu-item",IS_ACTIVE:"is-active",IS_ANIMATING:"is-animating",BOTTOM_LEFT:"Menu--bottomLeft",BOTTOM_RIGHT:"Menu--bottomRight",TOP_LEFT:"Menu--topLeft",TOP_RIGHT:"Menu--topRight",AUTO:"Menu--auto"},y={destroy:u,hide:d,show:f,toggle:h};return p}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){this.element.classList.remove(v.IS_FOCUSED)}function e(){this.radioSet.forEach(function(t){var e=new Event("radio:update");t.dispatchEvent(e)})}function n(t){this.element.classList.add(v.IS_FOCUSED)}function r(){this.element.classList.add(v.IS_PRESSED)}function i(){this.element.classList.remove(v.IS_PRESSED)}function o(o){o.control.addEventListener("blur",t.bind(o)),o.control.addEventListener("change",e.bind(o)),o.control.addEventListener("focus",n.bind(o)),o.element.addEventListener("radio:update",l.bind(o)),o.element.addEventListener("mousedown",r.bind(o)),o.element.addEventListener("mouseup",i.bind(o))}function s(){var t=this.control.disabled?"add":"remove";this.element.classList[t](v.IS_DISABLED)}function a(){var t=this.control.checked?"add":"remove";this.element.classList[t](v.IS_CHECKED)}function c(t,e){t.classList.add(v.IS_CUSTOM);var n=document.createElement("span");return n.classList.add(v.CIRCLE),t.insertBefore(n,e.nextSibling),n}function l(){s.call(this),a.call(this)}function u(){this.control.checked=!0,l()}function d(){this.control.checked=!1,l()}function f(){this.control.disabled=!0,l()}function h(){this.control.disabled=!1,l()}function p(t){if(t&&1!==t.nodeType)throw new TypeError("Element passed in is not a HTML node.");var e=Object.create(b);return e.element=t,e.control=t.querySelector("."+v.CONTROL),e.label=t.querySelector("."+v.LABEL),e.circle=c(e.element,e.control),e.radioSet=Array.from(t.parentNode.getElementsByClassName(v.RADIO)),o(e),l.call(e),e}var v={RADIO:"Radio",CONTROL:"Radio-control",CIRCLE:"Radio-circle",LABEL:"Radio-label",IS_CHECKED:"is-checked",IS_CUSTOM:"is-custom",IS_DISABLED:"is-disabled",IS_FOCUSED:"is-focused",IS_PRESSED:"is-pressed"},b={check:u,uncheck:d,disable:f,enable:h};return p}();e.default=r},function(t,e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=n},function(t,e,n){function r(t,e){var n=s(t),r=!n&&o(t),u=!n&&!r&&a(t),f=!n&&!r&&!u&&l(t),h=n||r||u||f,p=h?i(t.length,String):[],v=p.length;for(var b in t)!e&&!d.call(t,b)||h&&("length"==b||u&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||c(b,v))||p.push(b);return p}var i=n(31),o=n(51),s=n(52),a=n(53),c=n(10),l=n(54),u=Object.prototype,d=u.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){return o(t)&&i(t)==s}var i=n(0),o=n(4),s="[object Arguments]";t.exports=r},function(t,e,n){function r(t){return!(!s(t)||o(t))&&(i(t)?p:l).test(a(t))}var i=n(14),o=n(40),s=n(3),a=n(48),c=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,d=Object.prototype,f=u.toString,h=d.hasOwnProperty,p=RegExp("^"+f.call(h).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},function(t,e,n){function r(t){return s(t)&&o(t.length)&&!!a[i(t)]}var i=n(0),o=n(15),s=n(4),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=r},function(t,e,n){function r(t){if(!i(t))return o(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e}var i=n(11),o=n(41),s=Object.prototype,a=s.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e){return s(o(t,e,i),t+"")}var i=n(13),o=n(45),s=n(46);t.exports=r},function(t,e,n){var r=n(50),i=n(8),o=n(13),s=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o;t.exports=s},function(t,e){function n(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}t.exports=n},function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},function(t,e,n){function r(t,e,n,r){var s=!n;n||(n={});for(var a=-1,c=e.length;++a<c;){var l=e[a],u=r?r(n[l],t[l],l,n,t):void 0;void 0===u&&(u=t[l]),s?o(n,l,u):i(n,l,u)}return n}var i=n(6),o=n(7);t.exports=r},function(t,e,n){var r=n(1),i=r["__core-js_shared__"];t.exports=i},function(t,e,n){function r(t){return i(function(e,n){var r=-1,i=n.length,s=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(s=t.length>3&&"function"==typeof s?(i--,s):void 0,a&&o(n[0],n[1],a)&&(s=i<3?void 0:s,i=1),e=Object(e);++r<i;){var c=n[r];c&&t(e,c,r,s)}return e})}var i=n(29),o=n(39);t.exports=r},function(t,e,n){function r(t,e){var n=o(t,e);return i(n)?n:void 0}var i=n(26),o=n(38);t.exports=r},function(t,e,n){function r(t){var e=s.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[c]=n:delete t[c]),i}var i=n(5),o=Object.prototype,s=o.hasOwnProperty,a=o.toString,c=i?i.toStringTag:void 0;t.exports=r},function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},function(t,e,n){function r(t,e,n){if(!a(n))return!1;var r=typeof e;return!!("number"==r?o(n)&&s(e,n.length):"string"==r&&e in n)&&i(n[e],t)}var i=n(12),o=n(2),s=n(10),a=n(3);t.exports=r},function(t,e,n){function r(t){return!!o&&o in t}var i=n(34),o=function(){var t=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=r},function(t,e,n){var r=n(44),i=r(Object.keys,Object);t.exports=i},function(t,e,n){(function(t){var r=n(9),i="object"==typeof e&&e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===i,a=s&&r.process,c=function(){try{return a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=c}).call(e,n(16)(t))},function(t,e){function n(t){return i.call(t)}var r=Object.prototype,i=r.toString;t.exports=n},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){function r(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var r=arguments,s=-1,a=o(r.length-e,0),c=Array(a);++s<a;)c[s]=r[e+s];s=-1;for(var l=Array(e+1);++s<e;)l[s]=r[s];return l[e]=n(c),i(t,this,l)}}var i=n(23),o=Math.max;t.exports=r},function(t,e,n){var r=n(30),i=n(47),o=i(r);t.exports=o},function(t,e){function n(t){var e=0,n=0;return function(){var s=o(),a=i-(s-n);if(n=s,a>0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var r=800,i=16,o=Date.now;t.exports=n},function(t,e){function n(t){if(null!=t){try{return i.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var r=Function.prototype,i=r.toString;t.exports=n},function(t,e,n){var r=n(6),i=n(33),o=n(35),s=n(2),a=n(11),c=n(55),l=Object.prototype,u=l.hasOwnProperty,d=o(function(t,e){if(a(e)||s(e))return void i(e,c(e),t);for(var n in e)u.call(e,n)&&r(t,n,e[n])});t.exports=d},function(t,e){function n(t){return function(){return t}}t.exports=n},function(t,e,n){var r=n(25),i=n(4),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return i(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){(function(t){var r=n(1),i=n(56),o="object"==typeof e&&e&&!e.nodeType&&e,s=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=s&&s.exports===o,c=a?r.Buffer:void 0,l=c?c.isBuffer:void 0,u=l||i;t.exports=u}).call(e,n(16)(t))},function(t,e,n){var r=n(27),i=n(32),o=n(42),s=o&&o.isTypedArray,a=s?i(s):r;t.exports=a},function(t,e,n){function r(t){return s(t)?i(t):o(t)}var i=n(24),o=n(28),s=n(2);t.exports=r},function(t,e){function n(){return!1}t.exports=n},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(17),o=r(i),s=n(18),a=r(s),c=n(19),l=r(c),u=n(20),d=r(u),f=n(21),h=r(f),p=n(22),v=r(p);e.default={button:o.default,checkbox:a.default,editor:l.default,layout:d.default,menu:h.default,radio:v.default}}])}); | ||
//# sourceMappingURL=formed.min.js.map |
@@ -294,4 +294,7 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
this.wrapper.classList.remove(classNames.IS_ACTIVE); | ||
this.trigger.setAttribute('aria-expanded', false); | ||
if (this.trigger) { | ||
this.trigger.setAttribute('aria-expanded', false); | ||
} | ||
transitionEndListeners.call(this); | ||
@@ -298,0 +301,0 @@ } |
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.formed=e():t.formed=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=58)}([function(t,e,n){function r(t){return null==t?void 0===t?c:a:l&&l in Object(t)?o(t):s(t)}var i=n(5),o=n(37),s=n(43),a="[object Null]",c="[object Undefined]",l=i?i.toStringTag:void 0;t.exports=r},function(t,e,n){var r=n(9),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},function(t,e,n){function r(t){return null!=t&&o(t.length)&&!i(t)}var i=n(14),o=n(15);t.exports=r},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e,n){var r=n(1),i=r.Symbol;t.exports=i},function(t,e,n){function r(t,e,n){var r=t[e];a.call(t,e)&&o(r,n)&&(void 0!==n||e in t)||i(t,e,n)}var i=n(7),o=n(12),s=Object.prototype,a=s.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e,n){"__proto__"==e&&i?i(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var i=n(8);t.exports=r},function(t,e,n){var r=n(36),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(57))},function(t,e){function n(t,e){return!!(e=null==e?r:e)&&("number"==typeof t||i.test(t))&&t>-1&&t%1==0&&t<e}var r=9007199254740991,i=/^(?:0|[1-9]\d*)$/;t.exports=n},function(t,e){function n(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}var r=Object.prototype;t.exports=n},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t){if(!o(t))return!1;var e=i(t);return e==a||e==c||e==s||e==l}var i=n(0),o=n(3),s="[object AsyncFunction]",a="[object Function]",c="[object GeneratorFunction]",l="[object Proxy]";t.exports=r},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){t&&this.element.blur()}function e(e){e._onBlur=t.bind(e),e.element.addEventListener("mouseup",e._onBlur),e.element.addEventListener("mouseleave",e._onBlur)}function n(){this.element.removeEventListener("mouseup",this._onBlur),this.element.removeEventListener("mouseleave",this._onBlur)}function r(){return this.element.disabled=!0,this}function i(){return this.element.disabled=!1,this}function o(){return this.element.classList.contains(a.IS_ACTIVE)?this.element.classList.remove(a.IS_ACTIVE):this.element.classList.add(a.IS_ACTIVE),this}function s(t){var n=Object.create(c);return n.element=t,e(n),n}var a={IS_ACTIVE:"is-active"},c={destroy:n,disable:r,enable:i,toggle:o};return s}();e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){this.element.classList.remove(h.IS_FOCUSED)}function e(){a.call(this)}function n(t){this.element.classList.add(h.IS_FOCUSED)}function r(r){r.control.addEventListener("blur",t.bind(r)),r.control.addEventListener("change",e.bind(r)),r.control.addEventListener("focus",n.bind(r))}function i(){var t=this.control.disabled?"add":"remove";this.element.classList[t](h.IS_DISABLED)}function o(){var t=this.control.checked?"add":"remove";this.element.classList[t](h.IS_CHECKED)}function s(t,e){t.classList.add(h.IS_CUSTOM);var n=document.createElement("span");return n.classList.add(h.BOX),t.insertBefore(n,e.nextSibling),n}function a(){i.call(this),o.call(this)}function c(){this.control.checked=!0,a()}function l(){this.control.checked=!1,a()}function u(){this.control.disabled=!0,a()}function d(){this.control.disabled=!1,a()}function f(t){if(t&&1!==t.nodeType)throw new TypeError("Element passed in is not a HTML node.");var e=Object.create(p);return e.element=t,e.control=t.querySelector("."+h.CONTROL),e.label=t.querySelector("."+h.LABEL),e.box=s(e.element,e.control),r(e),a.call(e),e}var h={CHECKBOX:"Checkbox",CONTROL:"Checkbox-control",BOX:"Checkbox-box",LABEL:"Checkbox-label",IS_CHECKED:"is-checked",IS_CUSTOM:"is-custom",IS_DISABLED:"is-disabled",IS_FOCUSED:"is-focused"},p={check:c,uncheck:l,disable:u,enable:d};return f}();e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){return this.controlEl.disabled=!0,this.refreshState()}function e(){return this.controlEl.disabled=!1,this.refreshState()}function n(t){var e=Object.create(E);if(t&&1!==t.nodeType)throw new TypeError("Element passed in is not a HTML node.");return e.editorEl=t,e.controlEl=e.editorEl.querySelector("."+b.CONTROL),e.iconEl=e.editorEl.querySelector("."+b.ICON),e.labelEl=e.editorEl.querySelector("."+b.LABEL),o.call(e),d.call(e),e.refreshState(),e.controlEl.hasAttribute("autofocus")&&(e.editorEl.focus(),a.call(e)),e}function r(){this.controlEl.removeEventListener("blur",f.bind(this)),this.controlEl.removeEventListener("focus",h.bind(this)),this.controlEl.removeEventListener("input",p.bind(this)),this.controlEl.removeEventListener("reset",v.bind(this))}function i(){return c.call(this),s.call(this),a.call(this),l.call(this),u.call(this),this}function o(){this.controlEl.addEventListener("blur",f.bind(this)),this.controlEl.addEventListener("focus",h.bind(this)),this.controlEl.addEventListener("input",p.bind(this)),this.controlEl.addEventListener("reset",v.bind(this))}function s(){var t=this.controlEl.hasAttribute("disabled"),e=t?"add":"remove";this.editorEl.classList[e](b.IS_DISABLED)}function a(){var t=!!this.editorEl.querySelector(":focus"),e=t?"add":"remove";this.editorEl.classList[e](b.IS_FOCUSED)}function c(){var t=this.controlEl.value&&this.controlEl.value.length>0,e=t?"add":"remove";this.editorEl.classList[e](b.IS_DIRTY)}function l(){var t=this.controlEl.hasAttribute("readonly"),e=t?"add":"remove";this.editorEl.classList[e](b.IS_READONLY)}function u(){if(this.controlEl.validity){var t=this.controlEl.validity.valid,e=t?"remove":"add";this.editorEl.classList[e](b.IS_INVALID)}}function d(){this.controlEl&&this.controlEl.hasAttribute("placeholder")&&this.editorEl.classList.add(b.HAS_PLACEHOLDER)}function f(){this.editorEl.classList.remove(b.IS_FOCUSED)}function h(){this.editorEl.classList.add(b.IS_FOCUSED)}function p(){this.refreshState()}function v(){this.refreshState()}var b={CONTROL:"Editor-control",LABEL:"Editor-label",ICON:"Editor-icon",HAS_ICON:"has-icon",HAS_PLACEHOLDER:"has-placeholder",IS_DIRTY:"is-dirty",IS_DISABLED:"is-disabled",IS_FOCUSED:"is-focused",IS_INVALID:"is-invalid",IS_READONLY:"is-readonly"},E={disable:t,enable:e,refreshState:i,destroy:r};return n}();e.default=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(49),o=r(i),s=function(){function t(){return this.drawer&&this.drawer.classList.contains(E.isDrawerActiveClass)}function e(){return this.drawer&&this.element.classList.contains("Layout--drawerFixed")}function n(){d.call(this)}function r(){return d.call(this),h.call(this),this.drawer&&p.call(this),this.screenSizeHandler(),u.call(this),this}function i(){return this.drawer.classList.toggle(E.isDrawerActiveClass),this.mask.classList.toggle(E.isDrawerActiveClass),this.hasActiveDrawer()?(this.drawer.setAttribute("aria-hidden","false"),this.drawerBtn.setAttribute("aria-expanded","true")):(this.drawer.setAttribute("aria-hidden","true"),this.drawerBtn.setAttribute("aria-expanded","false")),this}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.create(y);return n.config=(0,o.default)({},b,e),n.element=t,n.drawerToggleHandler=a.bind(n),n.keyboardHandler=c.bind(n),n.screenSizeHandler=l.bind(n),f.call(n),h.call(n),n.drawer&&p.call(n),n.breakpoint=window.matchMedia(E.breakpoint),n.screenSizeHandler(),u.call(n),n}function a(t){var e=m.SPACE,n=m.ENTER;if(t&&"keydown"===t.type){if(t.keyCode!==e&&t.keyCode!==n)return;t.preventDefault()}this.toggleDrawer()}function c(t){t.keyCode===m.ESCAPE&&this.hasActiveDrawer()&&this.toggleDrawer()}function l(){this.breakpoint.matches&&this.drawer?(this.drawer.setAttribute("aria-hidden",(!this.hasDrawerFixed()).toString()),this.drawerBtn.setAttribute("aria-expanded","false"),this.drawer.classList.remove(E.isDrawerActiveClass),this.mask.classList.remove(E.isDrawerActiveClass)):this.hasDrawerFixed()&&this.drawer.setAttribute("aria-hidden","true")}function u(){return this.drawer&&(this.drawerBtn.addEventListener("click",this.drawerToggleHandler),this.drawerBtn.addEventListener("keydown",this.drawerToggleHandler),this.drawer.addEventListener("keydown",this.keyboardHandler),this.mask.addEventListener("click",this.drawerToggleHandler)),this.breakpoint.addListener(this.screenSizeHandler),this}function d(){this.drawer&&(this.drawerBtn.removeEventListener("click",this.drawerToggleHandler),this.drawerBtn.removeEventListener("keydown",this.drawerToggleHandler),this.drawer.removeEventListener("keydown",this.keyboardHandler),this.mask.removeEventListener("click",this.drawerToggleHandler)),this.breakpoint.removeListener(l)}function f(){var t=this.config.parent?document.querySelector(this.config.parent):document.createElement("div");t.classList.add("layout-absoluteViewport");var e=document.querySelector(":focus");return this.config.parent||(this.element.parentNode.insertBefore(t,this.element),this.element.parentNode.removeChild(this.element),t.appendChild(this.element)),e&&e.focus(),this}function h(){for(var t=this.element.childNodes,e=t.length,n=0;n<e;n++){var r=t[n];r.classList&&r.classList.contains(E.headerClass)&&(this.header=r),r.classList&&r.classList.contains(E.drawerClass)&&(this.drawer=r),r.classList&&r.classList.contains(E.mainClass)&&(this.main=r)}return this}function p(){if(this.drawerBtn=this.element.querySelector("."+E.drawerBtnClass),!this.drawerBtn)throw Error("No "+E.drawerBtnClass+" detected.");return this.drawer.setAttribute("aria-hidden","true"),this.drawerBtn.setAttribute("aria-expanded","false"),this.drawerBtn.setAttribute("tabindex","0"),this.drawerBtn.setAttribute("type","button"),"button"!==this.drawerBtn.tagName.toLowerCase()&&this.drawerBtn.setAttribute("role","button"),v.call(this),this}function v(){return this.mask=document.createElement("div"),this.mask.classList.add(E.maskClass),this.element.appendChild(this.mask),this}var b={parent:null},E={headerClass:"Layout-header",drawerClass:"Layout-drawer",drawerBtnClass:"Layout-header-menu",mainClass:"Layout-main",maskClass:"Layout-mask",isDrawerActiveClass:"is-active",breakpoint:"(min-width: 992px)"},m={ENTER:13,ESCAPE:27,SPACE:32},y={destroy:n,hasActiveDrawer:t,hasDrawerFixed:e,toggleDrawer:i,refresh:r};return s}();e.default=s},function(t,e,n){"use strict";function r(t){return Array.prototype.slice.call(t)}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t){t.wrapper=document.createElement("div"),t.wrapper.classList.add(m.WRAPPER),t.element.parentElement.insertBefore(t.wrapper,t.element),t.element.parentElement.removeChild(t.element),t.wrapper.appendChild(t.element),t.shadow=document.createElement("div"),t.shadow.classList.add(m.SHADOW),t.wrapper.insertBefore(t.shadow,t.element)}function e(t){[m.AUTO,m.BOTTOM_LEFT,m.BOTTOM_RIGHT,m.TOP_LEFT,m.TOP_RIGHT].forEach(function(e){t.element.classList.contains(e)&&t.shadow.classList.add(e)})}function n(t,e){var n=document.getElementById(t);n&&(n.setAttribute("aria-haspopup",!0),n.setAttribute("aria-expanded",!1),e.wrapper.setAttribute("aria-labelledby",t),e._onTriggerClick=s.bind(e),e._onTriggerKeyboardEvent=a.bind(e),n.addEventListener("click",e._onTriggerClick),n.addEventListener("keydown",e._onTriggerKeyboardEvent),e.trigger=n)}function i(t){return r(t.element.querySelectorAll("."+m.ITEM))}function o(){function t(t){t.target.classList.remove(m.IS_ANIMATING)}var e=this.element;e.addEventListener("transitionend",t),e.addEventListener("webkitTransitionend",t)}function s(t){if(this.trigger){var e=this.trigger.getBoundingClientRect(),n=this.trigger.parentElement.getBoundingClientRect();this.element.classList.contains(m.BOTTOM_RIGHT)?(this.wrapper.style.right=n.right-e.right+"px",this.wrapper.style.top=this.trigger.offsetTop+this.trigger.offsetHeight+"px"):this.element.classList.contains(m.TOP_LEFT)?(this.wrapper.style.left=this.trigger.offsetLeft+"px",this.wrapper.style.bottom=n.bottom-e.top+"px"):this.element.classList.contains(m.TOP_RIGHT)?(this.wrapper.style.right=n.right-e.right+"px",this.wrapper.style.bottom=n.bottom-e.top+"px"):(this.wrapper.style.left=this.trigger.offsetLeft+"px",this.wrapper.style.top=this.trigger.offsetTop+this.trigger.offsetHeight+"px"),this.toggle(t)}}function a(t){var e=this.element.querySelectorAll("."+m.ITEM+":not([disabled])"),n=this.wrapper.classList.contains(m.IS_ACTIVE);e&&e.length&&n&&t.which&&(t.preventDefault(),t.keyCode===E.UP_ARROW?e[e.length-1].focus():t.keyCode===E.DOWN_ARROW&&e[0].focus())}function c(t){t.target.hasAttribute("disabled")?t.stopPropagation():this.hide()}function l(t){var e="."+m.ITEM+":not([disabled])",n=this.element.querySelectorAll(e),r=this.wrapper.classList.contains(m.IS_ACTIVE);if(n&&n.length&&r){var i=Array.prototype.slice.call(n).indexOf(t.target);t.which&&t.preventDefault(),t.keyCode===E.UP_ARROW?i>0?n[i-1].focus():n[n.length-1].focus():t.keyCode===E.DOWN_ARROW?n.length>i+1?n[i+1].focus():n[0].focus():t.keyCode===E.ESCAPE&&this.hide()}}function u(){var t=this;return i(this).forEach(function(e){e.removeEventListener("click",t._onItemClick),e.removeEventListener("keydown",t._onItemKeyboardEvent)}),this.trigger&&(this.trigger.removeEventListener("click",this._onTriggerClick),this.trigger.removeEventListener("keydown",this.onTriggerKeyboardEvent)),this}function d(){i(this).forEach(function(t){t.style.removeProperty("transition-delay")}),this.element.classList.add(m.IS_ANIMATING),this.wrapper.classList.remove(m.IS_ACTIVE),this.trigger.setAttribute("aria-expanded",!1),o.call(this)}function f(t){var e=this,n=this.element.getBoundingClientRect(),r=n.height,s=n.width;this.wrapper.style.width=s+"px",this.wrapper.style.height=r+"px",this.shadow.style.width=s+"px",this.shadow.style.height=r+"px";var a=v*b;i(this).forEach(function(t){var n=null;n=e.element.classList.contains(m.TOP_LEFT)||e.element.classList.contains(m.TOP_RIGHT)?(r-t.offsetTop-t.offsetHeight)/r*a+"s":t.offsetTop/r*a+"s",t.style.transitionDelay=n});var c=function t(){e.element.classList.add(m.IS_ANIMATING),e.wrapper.classList.add(m.IS_ACTIVE),e.trigger.setAttribute("aria-expanded",!0),window.cancelAnimationFrame(t)};window.requestAnimationFrame(c),o.call(this);var l=function n(r){r!==t&&r.target.parentNode!==e.element&&(document.removeEventListener("click",n),e.hide())};document.addEventListener("click",l)}function h(t){this.wrapper.classList.contains(m.IS_ACTIVE)?this.hide():this.show(t)}function p(r){if(r&&1!==r.nodeType)throw new TypeError("Element passed in is not a HTML node.");var o=Object.create(y);o.element=r,t(o);var s=o.element.dataset.trigger;return s&&n(s,o),o._onItemClick=c.bind(o),o._onItemKeyboardEvent=l.bind(o),i(o).forEach(function(t){t.tabIndex="-1",t.addEventListener("click",o._onItemClick),t.addEventListener("keydown",o._onItemKeyboardEvent)}),e(o),o}var v=.3,b=.8,E={ENTER:13,ESCAPE:27,SPACE:32,UP_ARROW:38,DOWN_ARROW:40},m={WRAPPER:"_MenuWrapper",SHADOW:"_MenuShadow",ITEM:"Menu-item",IS_ACTIVE:"is-active",IS_ANIMATING:"is-animating",BOTTOM_LEFT:"Menu--bottomLeft",BOTTOM_RIGHT:"Menu--bottomRight",TOP_LEFT:"Menu--topLeft",TOP_RIGHT:"Menu--topRight",AUTO:"Menu--auto"},y={destroy:u,hide:d,show:f,toggle:h};return p}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){this.element.classList.remove(v.IS_FOCUSED)}function e(){this.radioSet.forEach(function(t){var e=new Event("radio:update");t.dispatchEvent(e)})}function n(t){this.element.classList.add(v.IS_FOCUSED)}function r(){this.element.classList.add(v.IS_PRESSED)}function i(){this.element.classList.remove(v.IS_PRESSED)}function o(o){o.control.addEventListener("blur",t.bind(o)),o.control.addEventListener("change",e.bind(o)),o.control.addEventListener("focus",n.bind(o)),o.element.addEventListener("radio:update",l.bind(o)),o.element.addEventListener("mousedown",r.bind(o)),o.element.addEventListener("mouseup",i.bind(o))}function s(){var t=this.control.disabled?"add":"remove";this.element.classList[t](v.IS_DISABLED)}function a(){var t=this.control.checked?"add":"remove";this.element.classList[t](v.IS_CHECKED)}function c(t,e){t.classList.add(v.IS_CUSTOM);var n=document.createElement("span");return n.classList.add(v.CIRCLE),t.insertBefore(n,e.nextSibling),n}function l(){s.call(this),a.call(this)}function u(){this.control.checked=!0,l()}function d(){this.control.checked=!1,l()}function f(){this.control.disabled=!0,l()}function h(){this.control.disabled=!1,l()}function p(t){if(t&&1!==t.nodeType)throw new TypeError("Element passed in is not a HTML node.");var e=Object.create(b);return e.element=t,e.control=t.querySelector("."+v.CONTROL),e.label=t.querySelector("."+v.LABEL),e.circle=c(e.element,e.control),e.radioSet=Array.from(t.parentNode.getElementsByClassName(v.RADIO)),o(e),l.call(e),e}var v={RADIO:"Radio",CONTROL:"Radio-control",CIRCLE:"Radio-circle",LABEL:"Radio-label",IS_CHECKED:"is-checked",IS_CUSTOM:"is-custom",IS_DISABLED:"is-disabled",IS_FOCUSED:"is-focused",IS_PRESSED:"is-pressed"},b={check:u,uncheck:d,disable:f,enable:h};return p}();e.default=r},function(t,e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=n},function(t,e,n){function r(t,e){var n=s(t),r=!n&&o(t),u=!n&&!r&&a(t),f=!n&&!r&&!u&&l(t),h=n||r||u||f,p=h?i(t.length,String):[],v=p.length;for(var b in t)!e&&!d.call(t,b)||h&&("length"==b||u&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||c(b,v))||p.push(b);return p}var i=n(31),o=n(51),s=n(52),a=n(53),c=n(10),l=n(54),u=Object.prototype,d=u.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){return o(t)&&i(t)==s}var i=n(0),o=n(4),s="[object Arguments]";t.exports=r},function(t,e,n){function r(t){return!(!s(t)||o(t))&&(i(t)?p:l).test(a(t))}var i=n(14),o=n(40),s=n(3),a=n(48),c=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,d=Object.prototype,f=u.toString,h=d.hasOwnProperty,p=RegExp("^"+f.call(h).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},function(t,e,n){function r(t){return s(t)&&o(t.length)&&!!a[i(t)]}var i=n(0),o=n(15),s=n(4),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=r},function(t,e,n){function r(t){if(!i(t))return o(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e}var i=n(11),o=n(41),s=Object.prototype,a=s.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e){return s(o(t,e,i),t+"")}var i=n(13),o=n(45),s=n(46);t.exports=r},function(t,e,n){var r=n(50),i=n(8),o=n(13),s=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o;t.exports=s},function(t,e){function n(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}t.exports=n},function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},function(t,e,n){function r(t,e,n,r){var s=!n;n||(n={});for(var a=-1,c=e.length;++a<c;){var l=e[a],u=r?r(n[l],t[l],l,n,t):void 0;void 0===u&&(u=t[l]),s?o(n,l,u):i(n,l,u)}return n}var i=n(6),o=n(7);t.exports=r},function(t,e,n){var r=n(1),i=r["__core-js_shared__"];t.exports=i},function(t,e,n){function r(t){return i(function(e,n){var r=-1,i=n.length,s=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(s=t.length>3&&"function"==typeof s?(i--,s):void 0,a&&o(n[0],n[1],a)&&(s=i<3?void 0:s,i=1),e=Object(e);++r<i;){var c=n[r];c&&t(e,c,r,s)}return e})}var i=n(29),o=n(39);t.exports=r},function(t,e,n){function r(t,e){var n=o(t,e);return i(n)?n:void 0}var i=n(26),o=n(38);t.exports=r},function(t,e,n){function r(t){var e=s.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[c]=n:delete t[c]),i}var i=n(5),o=Object.prototype,s=o.hasOwnProperty,a=o.toString,c=i?i.toStringTag:void 0;t.exports=r},function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},function(t,e,n){function r(t,e,n){if(!a(n))return!1;var r=typeof e;return!!("number"==r?o(n)&&s(e,n.length):"string"==r&&e in n)&&i(n[e],t)}var i=n(12),o=n(2),s=n(10),a=n(3);t.exports=r},function(t,e,n){function r(t){return!!o&&o in t}var i=n(34),o=function(){var t=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=r},function(t,e,n){var r=n(44),i=r(Object.keys,Object);t.exports=i},function(t,e,n){(function(t){var r=n(9),i="object"==typeof e&&e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===i,a=s&&r.process,c=function(){try{return a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=c}).call(e,n(16)(t))},function(t,e){function n(t){return i.call(t)}var r=Object.prototype,i=r.toString;t.exports=n},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){function r(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var r=arguments,s=-1,a=o(r.length-e,0),c=Array(a);++s<a;)c[s]=r[e+s];s=-1;for(var l=Array(e+1);++s<e;)l[s]=r[s];return l[e]=n(c),i(t,this,l)}}var i=n(23),o=Math.max;t.exports=r},function(t,e,n){var r=n(30),i=n(47),o=i(r);t.exports=o},function(t,e){function n(t){var e=0,n=0;return function(){var s=o(),a=i-(s-n);if(n=s,a>0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var r=800,i=16,o=Date.now;t.exports=n},function(t,e){function n(t){if(null!=t){try{return i.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var r=Function.prototype,i=r.toString;t.exports=n},function(t,e,n){var r=n(6),i=n(33),o=n(35),s=n(2),a=n(11),c=n(55),l=Object.prototype,u=l.hasOwnProperty,d=o(function(t,e){if(a(e)||s(e))return void i(e,c(e),t);for(var n in e)u.call(e,n)&&r(t,n,e[n])});t.exports=d},function(t,e){function n(t){return function(){return t}}t.exports=n},function(t,e,n){var r=n(25),i=n(4),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return i(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){(function(t){var r=n(1),i=n(56),o="object"==typeof e&&e&&!e.nodeType&&e,s=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=s&&s.exports===o,c=a?r.Buffer:void 0,l=c?c.isBuffer:void 0,u=l||i;t.exports=u}).call(e,n(16)(t))},function(t,e,n){var r=n(27),i=n(32),o=n(42),s=o&&o.isTypedArray,a=s?i(s):r;t.exports=a},function(t,e,n){function r(t){return s(t)?i(t):o(t)}var i=n(24),o=n(28),s=n(2);t.exports=r},function(t,e){function n(){return!1}t.exports=n},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(17),o=r(i),s=n(18),a=r(s),c=n(19),l=r(c),u=n(20),d=r(u),f=n(21),h=r(f),p=n(22),v=r(p);e.default={button:o.default,checkbox:a.default,editor:l.default,layout:d.default,menu:h.default,radio:v.default}}])}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.formed=e():t.formed=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=58)}([function(t,e,n){function r(t){return null==t?void 0===t?c:a:l&&l in Object(t)?o(t):s(t)}var i=n(5),o=n(37),s=n(43),a="[object Null]",c="[object Undefined]",l=i?i.toStringTag:void 0;t.exports=r},function(t,e,n){var r=n(9),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},function(t,e,n){function r(t){return null!=t&&o(t.length)&&!i(t)}var i=n(14),o=n(15);t.exports=r},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e,n){var r=n(1),i=r.Symbol;t.exports=i},function(t,e,n){function r(t,e,n){var r=t[e];a.call(t,e)&&o(r,n)&&(void 0!==n||e in t)||i(t,e,n)}var i=n(7),o=n(12),s=Object.prototype,a=s.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e,n){"__proto__"==e&&i?i(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var i=n(8);t.exports=r},function(t,e,n){var r=n(36),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(57))},function(t,e){function n(t,e){return!!(e=null==e?r:e)&&("number"==typeof t||i.test(t))&&t>-1&&t%1==0&&t<e}var r=9007199254740991,i=/^(?:0|[1-9]\d*)$/;t.exports=n},function(t,e){function n(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}var r=Object.prototype;t.exports=n},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t){if(!o(t))return!1;var e=i(t);return e==a||e==c||e==s||e==l}var i=n(0),o=n(3),s="[object AsyncFunction]",a="[object Function]",c="[object GeneratorFunction]",l="[object Proxy]";t.exports=r},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){t&&this.element.blur()}function e(e){e._onBlur=t.bind(e),e.element.addEventListener("mouseup",e._onBlur),e.element.addEventListener("mouseleave",e._onBlur)}function n(){this.element.removeEventListener("mouseup",this._onBlur),this.element.removeEventListener("mouseleave",this._onBlur)}function r(){return this.element.disabled=!0,this}function i(){return this.element.disabled=!1,this}function o(){return this.element.classList.contains(a.IS_ACTIVE)?this.element.classList.remove(a.IS_ACTIVE):this.element.classList.add(a.IS_ACTIVE),this}function s(t){var n=Object.create(c);return n.element=t,e(n),n}var a={IS_ACTIVE:"is-active"},c={destroy:n,disable:r,enable:i,toggle:o};return s}();e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){this.element.classList.remove(h.IS_FOCUSED)}function e(){a.call(this)}function n(t){this.element.classList.add(h.IS_FOCUSED)}function r(r){r.control.addEventListener("blur",t.bind(r)),r.control.addEventListener("change",e.bind(r)),r.control.addEventListener("focus",n.bind(r))}function i(){var t=this.control.disabled?"add":"remove";this.element.classList[t](h.IS_DISABLED)}function o(){var t=this.control.checked?"add":"remove";this.element.classList[t](h.IS_CHECKED)}function s(t,e){t.classList.add(h.IS_CUSTOM);var n=document.createElement("span");return n.classList.add(h.BOX),t.insertBefore(n,e.nextSibling),n}function a(){i.call(this),o.call(this)}function c(){this.control.checked=!0,a()}function l(){this.control.checked=!1,a()}function u(){this.control.disabled=!0,a()}function d(){this.control.disabled=!1,a()}function f(t){if(t&&1!==t.nodeType)throw new TypeError("Element passed in is not a HTML node.");var e=Object.create(p);return e.element=t,e.control=t.querySelector("."+h.CONTROL),e.label=t.querySelector("."+h.LABEL),e.box=s(e.element,e.control),r(e),a.call(e),e}var h={CHECKBOX:"Checkbox",CONTROL:"Checkbox-control",BOX:"Checkbox-box",LABEL:"Checkbox-label",IS_CHECKED:"is-checked",IS_CUSTOM:"is-custom",IS_DISABLED:"is-disabled",IS_FOCUSED:"is-focused"},p={check:c,uncheck:l,disable:u,enable:d};return f}();e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){return this.controlEl.disabled=!0,this.refreshState()}function e(){return this.controlEl.disabled=!1,this.refreshState()}function n(t){var e=Object.create(E);if(t&&1!==t.nodeType)throw new TypeError("Element passed in is not a HTML node.");return e.editorEl=t,e.controlEl=e.editorEl.querySelector("."+b.CONTROL),e.iconEl=e.editorEl.querySelector("."+b.ICON),e.labelEl=e.editorEl.querySelector("."+b.LABEL),o.call(e),d.call(e),e.refreshState(),e.controlEl.hasAttribute("autofocus")&&(e.editorEl.focus(),a.call(e)),e}function r(){this.controlEl.removeEventListener("blur",f.bind(this)),this.controlEl.removeEventListener("focus",h.bind(this)),this.controlEl.removeEventListener("input",p.bind(this)),this.controlEl.removeEventListener("reset",v.bind(this))}function i(){return c.call(this),s.call(this),a.call(this),l.call(this),u.call(this),this}function o(){this.controlEl.addEventListener("blur",f.bind(this)),this.controlEl.addEventListener("focus",h.bind(this)),this.controlEl.addEventListener("input",p.bind(this)),this.controlEl.addEventListener("reset",v.bind(this))}function s(){var t=this.controlEl.hasAttribute("disabled"),e=t?"add":"remove";this.editorEl.classList[e](b.IS_DISABLED)}function a(){var t=!!this.editorEl.querySelector(":focus"),e=t?"add":"remove";this.editorEl.classList[e](b.IS_FOCUSED)}function c(){var t=this.controlEl.value&&this.controlEl.value.length>0,e=t?"add":"remove";this.editorEl.classList[e](b.IS_DIRTY)}function l(){var t=this.controlEl.hasAttribute("readonly"),e=t?"add":"remove";this.editorEl.classList[e](b.IS_READONLY)}function u(){if(this.controlEl.validity){var t=this.controlEl.validity.valid,e=t?"remove":"add";this.editorEl.classList[e](b.IS_INVALID)}}function d(){this.controlEl&&this.controlEl.hasAttribute("placeholder")&&this.editorEl.classList.add(b.HAS_PLACEHOLDER)}function f(){this.editorEl.classList.remove(b.IS_FOCUSED)}function h(){this.editorEl.classList.add(b.IS_FOCUSED)}function p(){this.refreshState()}function v(){this.refreshState()}var b={CONTROL:"Editor-control",LABEL:"Editor-label",ICON:"Editor-icon",HAS_ICON:"has-icon",HAS_PLACEHOLDER:"has-placeholder",IS_DIRTY:"is-dirty",IS_DISABLED:"is-disabled",IS_FOCUSED:"is-focused",IS_INVALID:"is-invalid",IS_READONLY:"is-readonly"},E={disable:t,enable:e,refreshState:i,destroy:r};return n}();e.default=r},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(49),o=r(i),s=function(){function t(){return this.drawer&&this.drawer.classList.contains(E.isDrawerActiveClass)}function e(){return this.drawer&&this.element.classList.contains("Layout--drawerFixed")}function n(){d.call(this)}function r(){return d.call(this),h.call(this),this.drawer&&p.call(this),this.screenSizeHandler(),u.call(this),this}function i(){return this.drawer.classList.toggle(E.isDrawerActiveClass),this.mask.classList.toggle(E.isDrawerActiveClass),this.hasActiveDrawer()?(this.drawer.setAttribute("aria-hidden","false"),this.drawerBtn.setAttribute("aria-expanded","true")):(this.drawer.setAttribute("aria-hidden","true"),this.drawerBtn.setAttribute("aria-expanded","false")),this}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.create(y);return n.config=(0,o.default)({},b,e),n.element=t,n.drawerToggleHandler=a.bind(n),n.keyboardHandler=c.bind(n),n.screenSizeHandler=l.bind(n),f.call(n),h.call(n),n.drawer&&p.call(n),n.breakpoint=window.matchMedia(E.breakpoint),n.screenSizeHandler(),u.call(n),n}function a(t){var e=m.SPACE,n=m.ENTER;if(t&&"keydown"===t.type){if(t.keyCode!==e&&t.keyCode!==n)return;t.preventDefault()}this.toggleDrawer()}function c(t){t.keyCode===m.ESCAPE&&this.hasActiveDrawer()&&this.toggleDrawer()}function l(){this.breakpoint.matches&&this.drawer?(this.drawer.setAttribute("aria-hidden",(!this.hasDrawerFixed()).toString()),this.drawerBtn.setAttribute("aria-expanded","false"),this.drawer.classList.remove(E.isDrawerActiveClass),this.mask.classList.remove(E.isDrawerActiveClass)):this.hasDrawerFixed()&&this.drawer.setAttribute("aria-hidden","true")}function u(){return this.drawer&&(this.drawerBtn.addEventListener("click",this.drawerToggleHandler),this.drawerBtn.addEventListener("keydown",this.drawerToggleHandler),this.drawer.addEventListener("keydown",this.keyboardHandler),this.mask.addEventListener("click",this.drawerToggleHandler)),this.breakpoint.addListener(this.screenSizeHandler),this}function d(){this.drawer&&(this.drawerBtn.removeEventListener("click",this.drawerToggleHandler),this.drawerBtn.removeEventListener("keydown",this.drawerToggleHandler),this.drawer.removeEventListener("keydown",this.keyboardHandler),this.mask.removeEventListener("click",this.drawerToggleHandler)),this.breakpoint.removeListener(l)}function f(){var t=this.config.parent?document.querySelector(this.config.parent):document.createElement("div");t.classList.add("layout-absoluteViewport");var e=document.querySelector(":focus");return this.config.parent||(this.element.parentNode.insertBefore(t,this.element),this.element.parentNode.removeChild(this.element),t.appendChild(this.element)),e&&e.focus(),this}function h(){for(var t=this.element.childNodes,e=t.length,n=0;n<e;n++){var r=t[n];r.classList&&r.classList.contains(E.headerClass)&&(this.header=r),r.classList&&r.classList.contains(E.drawerClass)&&(this.drawer=r),r.classList&&r.classList.contains(E.mainClass)&&(this.main=r)}return this}function p(){if(this.drawerBtn=this.element.querySelector("."+E.drawerBtnClass),!this.drawerBtn)throw Error("No "+E.drawerBtnClass+" detected.");return this.drawer.setAttribute("aria-hidden","true"),this.drawerBtn.setAttribute("aria-expanded","false"),this.drawerBtn.setAttribute("tabindex","0"),this.drawerBtn.setAttribute("type","button"),"button"!==this.drawerBtn.tagName.toLowerCase()&&this.drawerBtn.setAttribute("role","button"),v.call(this),this}function v(){return this.mask=document.createElement("div"),this.mask.classList.add(E.maskClass),this.element.appendChild(this.mask),this}var b={parent:null},E={headerClass:"Layout-header",drawerClass:"Layout-drawer",drawerBtnClass:"Layout-header-menu",mainClass:"Layout-main",maskClass:"Layout-mask",isDrawerActiveClass:"is-active",breakpoint:"(min-width: 992px)"},m={ENTER:13,ESCAPE:27,SPACE:32},y={destroy:n,hasActiveDrawer:t,hasDrawerFixed:e,toggleDrawer:i,refresh:r};return s}();e.default=s},function(t,e,n){"use strict";function r(t){return Array.prototype.slice.call(t)}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t){t.wrapper=document.createElement("div"),t.wrapper.classList.add(m.WRAPPER),t.element.parentElement.insertBefore(t.wrapper,t.element),t.element.parentElement.removeChild(t.element),t.wrapper.appendChild(t.element),t.shadow=document.createElement("div"),t.shadow.classList.add(m.SHADOW),t.wrapper.insertBefore(t.shadow,t.element)}function e(t){[m.AUTO,m.BOTTOM_LEFT,m.BOTTOM_RIGHT,m.TOP_LEFT,m.TOP_RIGHT].forEach(function(e){t.element.classList.contains(e)&&t.shadow.classList.add(e)})}function n(t,e){var n=document.getElementById(t);n&&(n.setAttribute("aria-haspopup",!0),n.setAttribute("aria-expanded",!1),e.wrapper.setAttribute("aria-labelledby",t),e._onTriggerClick=s.bind(e),e._onTriggerKeyboardEvent=a.bind(e),n.addEventListener("click",e._onTriggerClick),n.addEventListener("keydown",e._onTriggerKeyboardEvent),e.trigger=n)}function i(t){return r(t.element.querySelectorAll("."+m.ITEM))}function o(){function t(t){t.target.classList.remove(m.IS_ANIMATING)}var e=this.element;e.addEventListener("transitionend",t),e.addEventListener("webkitTransitionend",t)}function s(t){if(this.trigger){var e=this.trigger.getBoundingClientRect(),n=this.trigger.parentElement.getBoundingClientRect();this.element.classList.contains(m.BOTTOM_RIGHT)?(this.wrapper.style.right=n.right-e.right+"px",this.wrapper.style.top=this.trigger.offsetTop+this.trigger.offsetHeight+"px"):this.element.classList.contains(m.TOP_LEFT)?(this.wrapper.style.left=this.trigger.offsetLeft+"px",this.wrapper.style.bottom=n.bottom-e.top+"px"):this.element.classList.contains(m.TOP_RIGHT)?(this.wrapper.style.right=n.right-e.right+"px",this.wrapper.style.bottom=n.bottom-e.top+"px"):(this.wrapper.style.left=this.trigger.offsetLeft+"px",this.wrapper.style.top=this.trigger.offsetTop+this.trigger.offsetHeight+"px"),this.toggle(t)}}function a(t){var e=this.element.querySelectorAll("."+m.ITEM+":not([disabled])"),n=this.wrapper.classList.contains(m.IS_ACTIVE);e&&e.length&&n&&t.which&&(t.preventDefault(),t.keyCode===E.UP_ARROW?e[e.length-1].focus():t.keyCode===E.DOWN_ARROW&&e[0].focus())}function c(t){t.target.hasAttribute("disabled")?t.stopPropagation():this.hide()}function l(t){var e="."+m.ITEM+":not([disabled])",n=this.element.querySelectorAll(e),r=this.wrapper.classList.contains(m.IS_ACTIVE);if(n&&n.length&&r){var i=Array.prototype.slice.call(n).indexOf(t.target);t.which&&t.preventDefault(),t.keyCode===E.UP_ARROW?i>0?n[i-1].focus():n[n.length-1].focus():t.keyCode===E.DOWN_ARROW?n.length>i+1?n[i+1].focus():n[0].focus():t.keyCode===E.ESCAPE&&this.hide()}}function u(){var t=this;return i(this).forEach(function(e){e.removeEventListener("click",t._onItemClick),e.removeEventListener("keydown",t._onItemKeyboardEvent)}),this.trigger&&(this.trigger.removeEventListener("click",this._onTriggerClick),this.trigger.removeEventListener("keydown",this.onTriggerKeyboardEvent)),this}function d(){i(this).forEach(function(t){t.style.removeProperty("transition-delay")}),this.element.classList.add(m.IS_ANIMATING),this.wrapper.classList.remove(m.IS_ACTIVE),this.trigger&&this.trigger.setAttribute("aria-expanded",!1),o.call(this)}function f(t){var e=this,n=this.element.getBoundingClientRect(),r=n.height,s=n.width;this.wrapper.style.width=s+"px",this.wrapper.style.height=r+"px",this.shadow.style.width=s+"px",this.shadow.style.height=r+"px";var a=v*b;i(this).forEach(function(t){var n=null;n=e.element.classList.contains(m.TOP_LEFT)||e.element.classList.contains(m.TOP_RIGHT)?(r-t.offsetTop-t.offsetHeight)/r*a+"s":t.offsetTop/r*a+"s",t.style.transitionDelay=n});var c=function t(){e.element.classList.add(m.IS_ANIMATING),e.wrapper.classList.add(m.IS_ACTIVE),e.trigger.setAttribute("aria-expanded",!0),window.cancelAnimationFrame(t)};window.requestAnimationFrame(c),o.call(this);var l=function n(r){r!==t&&r.target.parentNode!==e.element&&(document.removeEventListener("click",n),e.hide())};document.addEventListener("click",l)}function h(t){this.wrapper.classList.contains(m.IS_ACTIVE)?this.hide():this.show(t)}function p(r){if(r&&1!==r.nodeType)throw new TypeError("Element passed in is not a HTML node.");var o=Object.create(y);o.element=r,t(o);var s=o.element.dataset.trigger;return s&&n(s,o),o._onItemClick=c.bind(o),o._onItemKeyboardEvent=l.bind(o),i(o).forEach(function(t){t.tabIndex="-1",t.addEventListener("click",o._onItemClick),t.addEventListener("keydown",o._onItemKeyboardEvent)}),e(o),o}var v=.3,b=.8,E={ENTER:13,ESCAPE:27,SPACE:32,UP_ARROW:38,DOWN_ARROW:40},m={WRAPPER:"_MenuWrapper",SHADOW:"_MenuShadow",ITEM:"Menu-item",IS_ACTIVE:"is-active",IS_ANIMATING:"is-animating",BOTTOM_LEFT:"Menu--bottomLeft",BOTTOM_RIGHT:"Menu--bottomRight",TOP_LEFT:"Menu--topLeft",TOP_RIGHT:"Menu--topRight",AUTO:"Menu--auto"},y={destroy:u,hide:d,show:f,toggle:h};return p}();e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){this.element.classList.remove(v.IS_FOCUSED)}function e(){this.radioSet.forEach(function(t){var e=new Event("radio:update");t.dispatchEvent(e)})}function n(t){this.element.classList.add(v.IS_FOCUSED)}function r(){this.element.classList.add(v.IS_PRESSED)}function i(){this.element.classList.remove(v.IS_PRESSED)}function o(o){o.control.addEventListener("blur",t.bind(o)),o.control.addEventListener("change",e.bind(o)),o.control.addEventListener("focus",n.bind(o)),o.element.addEventListener("radio:update",l.bind(o)),o.element.addEventListener("mousedown",r.bind(o)),o.element.addEventListener("mouseup",i.bind(o))}function s(){var t=this.control.disabled?"add":"remove";this.element.classList[t](v.IS_DISABLED)}function a(){var t=this.control.checked?"add":"remove";this.element.classList[t](v.IS_CHECKED)}function c(t,e){t.classList.add(v.IS_CUSTOM);var n=document.createElement("span");return n.classList.add(v.CIRCLE),t.insertBefore(n,e.nextSibling),n}function l(){s.call(this),a.call(this)}function u(){this.control.checked=!0,l()}function d(){this.control.checked=!1,l()}function f(){this.control.disabled=!0,l()}function h(){this.control.disabled=!1,l()}function p(t){if(t&&1!==t.nodeType)throw new TypeError("Element passed in is not a HTML node.");var e=Object.create(b);return e.element=t,e.control=t.querySelector("."+v.CONTROL),e.label=t.querySelector("."+v.LABEL),e.circle=c(e.element,e.control),e.radioSet=Array.from(t.parentNode.getElementsByClassName(v.RADIO)),o(e),l.call(e),e}var v={RADIO:"Radio",CONTROL:"Radio-control",CIRCLE:"Radio-circle",LABEL:"Radio-label",IS_CHECKED:"is-checked",IS_CUSTOM:"is-custom",IS_DISABLED:"is-disabled",IS_FOCUSED:"is-focused",IS_PRESSED:"is-pressed"},b={check:u,uncheck:d,disable:f,enable:h};return p}();e.default=r},function(t,e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=n},function(t,e,n){function r(t,e){var n=s(t),r=!n&&o(t),u=!n&&!r&&a(t),f=!n&&!r&&!u&&l(t),h=n||r||u||f,p=h?i(t.length,String):[],v=p.length;for(var b in t)!e&&!d.call(t,b)||h&&("length"==b||u&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||c(b,v))||p.push(b);return p}var i=n(31),o=n(51),s=n(52),a=n(53),c=n(10),l=n(54),u=Object.prototype,d=u.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){return o(t)&&i(t)==s}var i=n(0),o=n(4),s="[object Arguments]";t.exports=r},function(t,e,n){function r(t){return!(!s(t)||o(t))&&(i(t)?p:l).test(a(t))}var i=n(14),o=n(40),s=n(3),a=n(48),c=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,d=Object.prototype,f=u.toString,h=d.hasOwnProperty,p=RegExp("^"+f.call(h).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},function(t,e,n){function r(t){return s(t)&&o(t.length)&&!!a[i(t)]}var i=n(0),o=n(15),s=n(4),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=r},function(t,e,n){function r(t){if(!i(t))return o(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e}var i=n(11),o=n(41),s=Object.prototype,a=s.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e){return s(o(t,e,i),t+"")}var i=n(13),o=n(45),s=n(46);t.exports=r},function(t,e,n){var r=n(50),i=n(8),o=n(13),s=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o;t.exports=s},function(t,e){function n(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}t.exports=n},function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},function(t,e,n){function r(t,e,n,r){var s=!n;n||(n={});for(var a=-1,c=e.length;++a<c;){var l=e[a],u=r?r(n[l],t[l],l,n,t):void 0;void 0===u&&(u=t[l]),s?o(n,l,u):i(n,l,u)}return n}var i=n(6),o=n(7);t.exports=r},function(t,e,n){var r=n(1),i=r["__core-js_shared__"];t.exports=i},function(t,e,n){function r(t){return i(function(e,n){var r=-1,i=n.length,s=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(s=t.length>3&&"function"==typeof s?(i--,s):void 0,a&&o(n[0],n[1],a)&&(s=i<3?void 0:s,i=1),e=Object(e);++r<i;){var c=n[r];c&&t(e,c,r,s)}return e})}var i=n(29),o=n(39);t.exports=r},function(t,e,n){function r(t,e){var n=o(t,e);return i(n)?n:void 0}var i=n(26),o=n(38);t.exports=r},function(t,e,n){function r(t){var e=s.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[c]=n:delete t[c]),i}var i=n(5),o=Object.prototype,s=o.hasOwnProperty,a=o.toString,c=i?i.toStringTag:void 0;t.exports=r},function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},function(t,e,n){function r(t,e,n){if(!a(n))return!1;var r=typeof e;return!!("number"==r?o(n)&&s(e,n.length):"string"==r&&e in n)&&i(n[e],t)}var i=n(12),o=n(2),s=n(10),a=n(3);t.exports=r},function(t,e,n){function r(t){return!!o&&o in t}var i=n(34),o=function(){var t=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=r},function(t,e,n){var r=n(44),i=r(Object.keys,Object);t.exports=i},function(t,e,n){(function(t){var r=n(9),i="object"==typeof e&&e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===i,a=s&&r.process,c=function(){try{return a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=c}).call(e,n(16)(t))},function(t,e){function n(t){return i.call(t)}var r=Object.prototype,i=r.toString;t.exports=n},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){function r(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var r=arguments,s=-1,a=o(r.length-e,0),c=Array(a);++s<a;)c[s]=r[e+s];s=-1;for(var l=Array(e+1);++s<e;)l[s]=r[s];return l[e]=n(c),i(t,this,l)}}var i=n(23),o=Math.max;t.exports=r},function(t,e,n){var r=n(30),i=n(47),o=i(r);t.exports=o},function(t,e){function n(t){var e=0,n=0;return function(){var s=o(),a=i-(s-n);if(n=s,a>0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var r=800,i=16,o=Date.now;t.exports=n},function(t,e){function n(t){if(null!=t){try{return i.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var r=Function.prototype,i=r.toString;t.exports=n},function(t,e,n){var r=n(6),i=n(33),o=n(35),s=n(2),a=n(11),c=n(55),l=Object.prototype,u=l.hasOwnProperty,d=o(function(t,e){if(a(e)||s(e))return void i(e,c(e),t);for(var n in e)u.call(e,n)&&r(t,n,e[n])});t.exports=d},function(t,e){function n(t){return function(){return t}}t.exports=n},function(t,e,n){var r=n(25),i=n(4),o=Object.prototype,s=o.hasOwnProperty,a=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return i(t)&&s.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){(function(t){var r=n(1),i=n(56),o="object"==typeof e&&e&&!e.nodeType&&e,s=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=s&&s.exports===o,c=a?r.Buffer:void 0,l=c?c.isBuffer:void 0,u=l||i;t.exports=u}).call(e,n(16)(t))},function(t,e,n){var r=n(27),i=n(32),o=n(42),s=o&&o.isTypedArray,a=s?i(s):r;t.exports=a},function(t,e,n){function r(t){return s(t)?i(t):o(t)}var i=n(24),o=n(28),s=n(2);t.exports=r},function(t,e){function n(){return!1}t.exports=n},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(17),o=r(i),s=n(18),a=r(s),c=n(19),l=r(c),u=n(20),d=r(u),f=n(21),h=r(f),p=n(22),v=r(p);e.default={button:o.default,checkbox:a.default,editor:l.default,layout:d.default,menu:h.default,radio:v.default}}])}); | ||
//# sourceMappingURL=formed.min.js.map |
{ | ||
"name": "formed.css", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"description": "Formed solutions visual style and component-based library.", | ||
@@ -5,0 +5,0 @@ "style": "dist/css/formed.css", |
@@ -222,4 +222,7 @@ | ||
this.wrapper.classList.remove(classNames.IS_ACTIVE); | ||
this.trigger.setAttribute('aria-expanded', false); | ||
if (this.trigger) { | ||
this.trigger.setAttribute('aria-expanded', false); | ||
} | ||
transitionEndListeners.call(this); | ||
@@ -226,0 +229,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1471755
3862