text: !function(){return function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){return o(e[i][1][r]||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}}()({1:[function(require,module,exports){"use strict";function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}var E=function(){function E(node){!function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,E),this.node=node}var Constructor,protoProps,staticProps;return Constructor=E,(protoProps=[{key:"activate",value:function(){throw new Error("activate function must be defined")}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),E}();module.exports=E},{}],2:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var E=require("./E"),as=require("./../cutie/exports").as,_require2=require("./../async-ajax/exports"),ResponseFromAjaxRequest=_require2.ResponseFromAjaxRequest,ResponseBody=_require2.ResponseBody,ResponseHeaders=_require2.ResponseHeaders,ResponseStatusCode=_require2.ResponseStatusCode,JSResponseByHTTPReponseComponents=_require2.JSResponseByHTTPReponseComponents,CreatedOptions=require("./../async-object/exports").CreatedOptions,_require4=require("./../async-dom/exports"),ShownElement=_require4.ShownElement,HiddenElement=_require4.HiddenElement,EnabledElement=_require4.EnabledElement,DisabledElement=_require4.DisabledElement,FirstParsedElmSelector=_require4.FirstParsedElmSelector,_require5=require("./../async-json/exports"),ParsedJSON=_require5.ParsedJSON,StringifiedJSON=_require5.StringifiedJSON,StringFromBuffer=require("./../async-string/exports").StringFromBuffer,AppliedActionsOnResponse=require("./../actions/exports").AppliedActionsOnResponse,FileInfo=require("./../file/exports").FileInfo,_require9=require("./../events/exports"),ShowProgressEvent=_require9.ShowProgressEvent,ShowFileReaderProgressEvent=_require9.ShowFileReaderProgressEvent,ShowFileReaderEndEvent=_require9.ShowFileReaderEndEvent,VALIDATION_PATTERNS={date:/\d\d\d\d-\d\d-\d\d/,dateTime:/[0-3]\d\/[0-1]\d\/\d\d\d\d, \d\d:\d\d/,email:/^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/,month:/^\d\d\d\d-\d\d$/,number:/(\d)+/,password:/^.*(?=.{8,})(?=.*[a-zA-Z])(?=.*\d)(?=.*[!#$%&? "]).*$/,tel:/[0-9]{0,14}$/,time:/\d\d:\d\d/,url:/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[\-;:&=\+\$,\w]+@)?[A-Za-z0-9\.\-]+|(?:www\.|[\-;:&=\+\$,\w]+@)[A-Za-z0-9\.\-]+)((?:\/[\+~%\/\.\w\-_]*)?\??(?:[\-\+=&;%@\.\w_]*)#?(?:[\.\!\/\\\w]*))?)/},E_FORM=function(_E){function E_FORM(node){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,E_FORM),_possibleConstructorReturn(this,_getPrototypeOf(E_FORM).call(this,node))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(E_FORM,E),Constructor=E_FORM,(protoProps=[{key:"activate",value:function(){this.setup(),this.node.hasAttribute("data-request-url")&&this.submit(this.node,!0)}},{key:"setup",value:function(){this.replaceWithForm(),this.node.progressBars=this.node.getElementsByTagName("progress"),this.node.inputs=this.node.getElementsByTagName("input"),this.node.selects=this.node.getElementsByTagName("select"),this.node.textareas=this.node.getElementsByTagName("textarea"),this.node.localStorageValues=this.node.getElementsByTagName("e-local-storage-value"),this.node.sessionStorageValues=this.node.getElementsByTagName("e-session-storage-value"),this.node.buttons=this.node.getElementsByTagName("button"),this.tuneFileInputs(this.filteredFileInputs(this.node.inputs)),this.prepareDifferentFormElements(),this.prepareProgressBars(this.node.progressBars)}},{key:"replaceWithForm",value:function(){var form=document.createElement("form");form.setAttribute("novalidate","true"),form.setAttribute("data-e-form","true");for(var i=0;i<this.node.attributes.length;i++)form.setAttribute(this.node.attributes[i].name,this.node.attributes[i].value);for(form.onsubmit=function(){return!1},form.submit=this.submit,form.validationErrorBoxes=[],this.setupMethodsForForm(form);this.node.firstChild;){var child=this.node.removeChild(this.node.firstChild);form.appendChild(child)}this.node.parentNode.replaceChild(form,this.node),this.node=form}},{key:"setupMethodsForForm",value:function(form){form.requestBody=this.requestBody,form.retrievedValuesFromInputsForRequestBody=this.retrievedValuesFromInputsForRequestBody,form.retrievedValuesFromSelectsForRequestBody=this.retrievedValuesFromSelectsForRequestBody,form.retrievedValuesFromTextareasForRequestBody=this.retrievedValuesFromTextareasForRequestBody,form.retrievedValuesFromLocalStorageForRequestBody=this.retrievedValuesFromLocalStorageForRequestBody,form.retrievedValuesFromSessionStorageForRequestBody=this.retrievedValuesFromSessionStorageForRequestBody,form.hideAllErrorsForForm=this.hideAllErrorsForForm,form.validateDifferentFormElements=this.validateDifferentFormElements,form.validateFormElements=this.validateFormElements,form.validateFormElement=this.validateFormElement,form.isFormValid=this.isFormValid,form.isCheckbox=this.isCheckbox,form.isFile=this.isFile,form.scrollToFirstErrorBox=this.scrollToFirstErrorBox,form.showErrorForFormElement=this.showErrorForFormElement}},{key:"prepareDifferentFormElements",value:function(){this.prepareFormElements(this.node.inputs),this.prepareFormElements(this.node.selects),this.prepareFormElements(this.node.textareas),this.prepareFormElements(this.node.localStorageValues),this.prepareFormElements(this.node.sessionStorageValues),this.prepareFormElements(this.node.buttons)}},{key:"prepareFormElements",value:function(elms){for(var index=0;index<elms.length;index++){var elm=elms[index],ajaxIcon=document.querySelector(elm.getAttribute("data-ajax-icon"));ajaxIcon&&(ajaxIcon.style.display="none")}}},{key:"prepareProgressBars",value:function(progressBars){for(var index=0;index<progressBars.length;index++)if(progressBars[index]){var progressBar=progressBars[index];progressBar.max=100,progressBar.value=0,progressBar.style.display="none"}}},{key:"submit",value:function(target){var requestBody,isThisTarget=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!target)throw new Error("you must pass target in submit method like: 'this.form.submit(this)'");var isFormValid,validations=[];isThisTarget?(requestBody=this.requestBody(target),this.hideAllErrorsForForm(target),this.validateDifferentFormElements(target,requestBody,validations),isFormValid=this.isFormValid(target,validations)):(requestBody=this.requestBody(this),this.hideAllErrorsForForm(this),this.validateDifferentFormElements(this,requestBody,validations),isFormValid=this.isFormValid(this,validations)),isFormValid?new DisabledElement(target).after(new FirstParsedElmSelector(target.getAttribute("data-ajax-icon")).as("AJAX_ICON").after(new ShownElement(as("AJAX_ICON")).after(new ResponseFromAjaxRequest(new CreatedOptions("url",target.getAttribute("data-request-url"),"headers",new ParsedJSON(target.getAttribute("data-request-headers")||"{}"),"method",target.getAttribute("data-request-method")||"POST","uploadProgressEvent",new ShowProgressEvent(new FirstParsedElmSelector(target.getAttribute("data-upload-progress-bar"))),"progressEvent",new ShowProgressEvent(new FirstParsedElmSelector(target.getAttribute("data-progress-bar")))),new StringifiedJSON(requestBody)).as("RESPONSE").after(new EnabledElement(target).after(new HiddenElement(as("AJAX_ICON")).after(new AppliedActionsOnResponse(target.tagName,target.getAttribute("data-response-name"),new JSResponseByHTTPReponseComponents(new ParsedJSON(new StringFromBuffer(new ResponseBody(as("RESPONSE")))),new ResponseHeaders(as("RESPONSE")),new ResponseStatusCode(as("RESPONSE"))),target.getAttribute("data-actions-on-response")))))))).call():this.scrollToFirstErrorBox(this)}},{key:"isFormValid",value:function(form,validations){for(var i=0;i<validations.length;i++)if(!validations[i])return form.showErrorForFormElement(form,form,form.getAttribute("data-validation-error-message")||"the form is invalid",form.getAttribute("data-validation-error-class-for-element"),form.getAttribute("data-validation-error-class-for-message-box")),!1;return!0}},{key:"validateDifferentFormElements",value:function(form,requestBody,validations){form.validateFormElements(form,form.inputs,requestBody,validations),form.validateFormElements(form,form.selects,requestBody,validations),form.validateFormElements(form,form.textareas,requestBody,validations),form.validateFormElements(form,form.localStorageValues,requestBody,validations),form.validateFormElements(form,form.sessionStorageValues,requestBody,validations)}},{key:"validateFormElements",value:function(form,elements,requestBody,results){for(var i=0;i<elements.length;i++){var element=elements[i];results.push(form.validateFormElement(form,element,requestBody))}}},{key:"validateFormElement",value:function(form,element,requestBody){var validationPatternAttribute=element.getAttribute("data-validation-pattern"),requiredAttribute=element.hasAttribute("required"),nameAttribute=element.getAttribute("name"),value=requestBody[nameAttribute];if("string"==typeof value&&(value=value.trim()),requiredAttribute){if(!value)return form.showErrorForFormElement(form,element,element.getAttribute("data-validation-absence-error-message")||"".concat(nameAttribute," is required"),element.getAttribute("data-validation-error-class-for-element"),element.getAttribute("data-validation-error-class-for-message-box")),!1;if(form.isFile(element)){var minFilesNumber=1*element.getAttribute("data-validation-min-files-number")||1;if(value.length<minFilesNumber)return form.showErrorForFormElement(form,element,element.getAttribute("data-validation-absence-error-message")||"".concat(nameAttribute," must have at least ").concat(minFilesNumber," files"),element.getAttribute("data-validation-error-class-for-element"),element.getAttribute("data-validation-error-class-for-message-box")),!1}if(form.isCheckbox(element)){var checkboxValue=element.getAttribute("value");if(!checkboxValue)throw new Error("checkbox must have 'value' attribute");if(-1===value.indexOf(checkboxValue))return form.showErrorForFormElement(form,element,element.getAttribute("data-validation-absence-error-message")||"".concat(nameAttribute," is required to be true for this value"),element.getAttribute("data-validation-error-class-for-element"),element.getAttribute("data-validation-error-class-for-message-box")),!1}}if(validationPatternAttribute){var validationPattern=VALIDATION_PATTERNS[validationPatternAttribute]||new RegExp(validationPatternAttribute,"ig");if(!validationPattern.test(value))return form.showErrorForFormElement(form,element,element.getAttribute("data-validation-bad-format-error-message")||"".concat(nameAttribute," must have format ").concat(validationPattern),element.getAttribute("data-validation-error-class-for-element"),element.getAttribute("data-validation-error-class-for-message-box")),!1}return!0}},{key:"isCheckbox",value:function(element){return element instanceof HTMLInputElement&&"checkbox"===element.type.toLowerCase()}},{key:"isFile",value:function(element){return element instanceof HTMLInputElement&&"file"===element.type.toLowerCase()}},{key:"showErrorForFormElement",value:function(form,element,errorMessage,elementErrorClass,messageBoxErrorClass){var elementWithErrorMessageBox=document.createElement("div"),messageBox=document.createElement("div");messageBox.innerText=errorMessage,element.parentNode.replaceChild(elementWithErrorMessageBox,element),elementWithErrorMessageBox.appendChild(element),elementWithErrorMessageBox.appendChild(messageBox),elementErrorClass&&element.classList.add(elementErrorClass),messageBoxErrorClass&&messageBox.classList.add(messageBoxErrorClass),form.validationErrorBoxes.push({elementWithErrorMessageBox:elementWithErrorMessageBox,element:element});element.addEventListener("focus",function listener(){elementWithErrorMessageBox.parentNode&&(elementWithErrorMessageBox.parentNode.replaceChild(element,elementWithErrorMessageBox),elementErrorClass&&element.classList.remove(elementErrorClass)),element.removeEventListener("focus",listener),element.focus(),element.click()})}},{key:"hideAllErrorsForForm",value:function(form){form.validationErrorBoxes.forEach(function(errorBox){errorBox.elementWithErrorMessageBox.parentNode&&errorBox.elementWithErrorMessageBox.parentNode.replaceChild(errorBox.element,errorBox.elementWithErrorMessageBox);var elementErrorClass=errorBox.element.getAttribute("data-validation-error-class-for-element");elementErrorClass&&errorBox.element.classList.remove(elementErrorClass)}),form.validationErrorBoxes=[]}},{key:"scrollToFirstErrorBox",value:function(form){form.validationErrorBoxes[0].elementWithErrorMessageBox.scrollIntoView({behavior:"smooth",block:"center"})}},{key:"requestBody",value:function(form){var requestBody={};return form.retrievedValuesFromInputsForRequestBody(form.inputs,requestBody),form.retrievedValuesFromSelectsForRequestBody(form.selects,requestBody),form.retrievedValuesFromTextareasForRequestBody(form.textareas,requestBody),form.retrievedValuesFromLocalStorageForRequestBody(form.localStorageValues,requestBody),form.retrievedValuesFromSessionStorageForRequestBody(form.sessionStorageValues,requestBody),requestBody}},{key:"retrievedValuesFromInputsForRequestBody",value:function(inputs,requestBody){for(var index=0;index<inputs.length;index++){var input=inputs[index];if(!input.name)throw new Error("input ".concat(input," has no name"));if("radio"===input.type.toLowerCase())input.checked&&(requestBody[input.name]=input.value);else if("checkbox"===input.type.toLowerCase()){requestBody[input.name]||(requestBody[input.name]=[]);var inputValue=input.value;if(!inputValue)throw new Error("checkbox must have 'value' attribute");input.checked&&requestBody[input.name].push(inputValue)}else"file"===input.type.toLowerCase()?requestBody[input.name]=input.filesInfo:requestBody[input.name]=input.value}}},{key:"retrievedValuesFromSelectsForRequestBody",value:function(selects,requestBody){for(var index=0;index<selects.length;index++){var select=selects[index];if(!select.name)throw new Error("select ".concat(select," has no name"));requestBody[select.name]=select.value}}},{key:"retrievedValuesFromTextareasForRequestBody",value:function(textareas,requestBody){for(var index=0;index<textareas.length;index++){var textarea=textareas[index];if(!textarea.name)throw new Error("textarea ".concat(textarea," has no name"));requestBody[textarea.name]=textarea.value}}},{key:"retrievedValuesFromLocalStorageForRequestBody",value:function(localStorageValues,requestBody){for(var index=0;index<localStorageValues.length;index++){var localStorageValue=localStorageValues[index];if(!localStorageValue.name)throw new Error("localStorageValue ".concat(localStorageValue," has no name"));requestBody[localStorageValue.name]=localStorageValue.value()}}},{key:"retrievedValuesFromSessionStorageForRequestBody",value:function(sessionStorageValues,requestBody){for(var index=0;index<sessionStorageValues.length;index++){var sessionStorageValue=sessionStorageValues[index];if(!sessionStorageValue.name)throw new Error("sessionStorageValue ".concat(sessionStorageValue," has no name"));requestBody[sessionStorageValue.name]=sessionStorageValue.value()}}},{key:"tuneFileInputs",value:function(fileInputs){for(var index=0;index<fileInputs.length;index++)this.tuneFileInput(fileInputs[index])}},{key:"tuneFileInput",value:function(fileInput){var _this=this,readProgressBar=document.querySelector(fileInput.getAttribute("data-read-progress-bar"));fileInput.addEventListener("change",function(){_this.readFilesContentForRequestBody(fileInput,readProgressBar)})}},{key:"readFilesContentForRequestBody",value:function(fileInput,readProgressBar){fileInput.filesInfo=[];for(var filesRead={count:0},index=0;index<fileInput.files.length;index++)this.readFileContentForRequestBody(fileInput,readProgressBar,index,filesRead,fileInput.files.length)}},{key:"readFileContentForRequestBody",value:function(fileInput,readProgressBar,index,filesRead,filesLength){var file=fileInput.files[index],reader=new FileReader;reader.readAsDataURL(file),reader.onload=function(){fileInput.filesInfo[index]=new FileInfo(file.name,file.size,file.type,reader.result,file.lastModifiedDate)},reader.onprogress=new ShowFileReaderProgressEvent(readProgressBar),reader.onloadend=new ShowFileReaderEndEvent(readProgressBar,filesRead,filesLength),reader.onerror=function(){throw new Error("cound not read file ".concat(file.name))}}},{key:"filteredFileInputs",value:function(inputs){for(var fileInputs={length:0},index=0;index<inputs.length;index++)"file"===inputs[index].type.toLowerCase()&&(fileInputs[fileInputs.length]=inputs[index],fileInputs.length+=1);return fileInputs}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),E_FORM}();module.exports=E_FORM},{"./../actions/exports":24,"./../async-ajax/exports":31,"./../async-dom/exports":65,"./../async-json/exports":75,"./../async-object/exports":84,"./../async-string/exports":93,"./../cutie/exports":106,"./../events/exports":112,"./../file/exports":114,"./E":1}],3:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var E=require("./E"),E_FOR_EACH=function(_E){function E_FOR_EACH(node){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,E_FOR_EACH),_possibleConstructorReturn(this,_getPrototypeOf(E_FOR_EACH).call(this,node))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(E_FOR_EACH,E),Constructor=E_FOR_EACH,(protoProps=[{key:"activate",value:function(){throw new Error('You can use e-for-each only for mapping objects in the attribute "data-actions-on-response", probably in the future there will be elements that would help you map global elements')}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),E_FOR_EACH}();module.exports=E_FOR_EACH},{"./E":1}],4:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var E=require("./E"),E_GITHUB_OAUTH_BUTTON=function(_E){function E_GITHUB_OAUTH_BUTTON(node){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,E_GITHUB_OAUTH_BUTTON),_possibleConstructorReturn(this,_getPrototypeOf(E_GITHUB_OAUTH_BUTTON).call(this,node))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(E_GITHUB_OAUTH_BUTTON,E),Constructor=E_GITHUB_OAUTH_BUTTON,(protoProps=[{key:"activate",value:function(){this.replaceWithButton(),this.initGighubOauth()}},{key:"replaceWithButton",value:function(){var button=document.createElement("button");button.setAttribute("data-e-github-oauth-button","true");for(var i=0;i<this.node.attributes.length;i++)button.setAttribute(this.node.attributes[i].name,this.node.attributes[i].value);for(;this.node.firstChild;){var child=this.node.removeChild(this.node.firstChild);button.appendChild(child)}this.node.parentNode.replaceChild(button,this.node),this.node=button}},{key:"initGighubOauth",value:function(){var clientId=this.node.getAttribute("data-client-id"),redirectURI=this.node.getAttribute("data-redirect-uri"),scope=this.node.getAttribute("data-scope");this.node.addEventListener("click",function(){window.location="https://github.com/login/oauth/authorize?client_id=".concat(clientId,"&redirect_uri=").concat(redirectURI,"&scope=").concat(scope)})}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),E_GITHUB_OAUTH_BUTTON}();module.exports=E_GITHUB_OAUTH_BUTTON},{"./E":1}],5:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var E=require("./E"),as=require("./../cutie/exports").as,_require2=require("./../async-ajax/exports"),ResponseFromAjaxRequest=_require2.ResponseFromAjaxRequest,ResponseBody=_require2.ResponseBody,ResponseHeaders=_require2.ResponseHeaders,ResponseStatusCode=_require2.ResponseStatusCode,JSResponseByHTTPReponseComponents=_require2.JSResponseByHTTPReponseComponents,StringFromBuffer=require("./../async-string/exports").StringFromBuffer,ParsedJSON=require("./../async-json/exports").ParsedJSON,AppliedActionsOnResponse=require("./../actions/exports").AppliedActionsOnResponse,E_GOOGLE_OAUTH_BUTTON=function(_E){function E_GOOGLE_OAUTH_BUTTON(node){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,E_GOOGLE_OAUTH_BUTTON),_possibleConstructorReturn(this,_getPrototypeOf(E_GOOGLE_OAUTH_BUTTON).call(this,node))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(E_GOOGLE_OAUTH_BUTTON,E),Constructor=E_GOOGLE_OAUTH_BUTTON,(protoProps=[{key:"activate",value:function(){var _this=this;this.replaceWithButton();var googleSignInMetaElm=this.googleSignInMetaElm(),googleApiScriptElm=this.googleApiScriptElm();document.head.prepend(googleSignInMetaElm,googleApiScriptElm),this.node.style.display="none",googleApiScriptElm.onload=function(){_this.initGoogleOauth()}}},{key:"replaceWithButton",value:function(){var button=document.createElement("button");button.setAttribute("data-e-google-oauth-button","true");for(var i=0;i<this.node.attributes.length;i++)button.setAttribute(this.node.attributes[i].name,this.node.attributes[i].value);for(;this.node.firstChild;){var child=this.node.removeChild(this.node.firstChild);button.appendChild(child)}this.node.parentNode.replaceChild(button,this.node),this.node=button}},{key:"initGoogleOauth",value:function(){var _this2=this;this.node.style.display="",gapi.load("auth2",function(){gapi.auth2.init({client_id:_this2.node.getAttribute("data-client-id"),cookiepolicy:_this2.node.getAttribute("data-cookiepolicy")||"single_host_origin",scope:_this2.node.getAttribute("data-scope")||"profile"}).attachClickHandler(_this2.node,{},function(googleUser){var body={};body[_this2.node.getAttribute("data-request-token-key")||"googleToken"]=googleUser.getAuthResponse().id_token,new ResponseFromAjaxRequest({url:_this2.node.getAttribute("data-redirect-url")||"/",method:"POST"},JSON.stringify(body)).as("RESPONSE").after(new AppliedActionsOnResponse(_this2.node.tagName,_this2.node.getAttribute("data-response-name"),new JSResponseByHTTPReponseComponents(new ParsedJSON(new StringFromBuffer(new ResponseBody(as("RESPONSE")))),new ResponseHeaders(as("RESPONSE")),new ResponseStatusCode(as("RESPONSE"))),_this2.node.getAttribute("data-actions-on-response"))).call()},function(error){throw error})})}},{key:"googleSignInMetaElm",value:function(){var googleSignInMetaElm=document.createElement("meta");return googleSignInMetaElm.setAttribute("name","google-signin-client_id"),googleSignInMetaElm.setAttribute("content",this.node.getAttribute("data-client-id")),googleSignInMetaElm}},{key:"googleApiScriptElm",value:function(){var googleApiScriptElm=document.createElement("script");return googleApiScriptElm.setAttribute("src","https://apis.google.com/js/api:client.js"),googleApiScriptElm}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),E_GOOGLE_OAUTH_BUTTON}();module.exports=E_GOOGLE_OAUTH_BUTTON},{"./../actions/exports":24,"./../async-ajax/exports":31,"./../async-json/exports":75,"./../async-string/exports":93,"./../cutie/exports":106,"./E":1}],6:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var E=require("./E"),_require=require("./../async-dom/exports"),UnwrappedChildrenOfParent=_require.UnwrappedChildrenOfParent,ElementWithInnerHTML=_require.ElementWithInnerHTML,_require2=require("./../async-ajax/exports"),ResponseFromAjaxRequest=_require2.ResponseFromAjaxRequest,ResponseBody=_require2.ResponseBody,CreatedOptions=require("./../async-object/exports").CreatedOptions,ParsedJSON=require("./../async-json/exports").ParsedJSON,E_HTML=function(_E){function E_HTML(node){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,E_HTML),_possibleConstructorReturn(this,_getPrototypeOf(E_HTML).call(this,node))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(E_HTML,E),Constructor=E_HTML,(protoProps=[{key:"activate",value:function(){new UnwrappedChildrenOfParent(new ElementWithInnerHTML(this.node,new ResponseBody(new ResponseFromAjaxRequest(new CreatedOptions("url",this.node.getAttribute("data-src"),"method","GET","headers",new ParsedJSON(this.node.getAttribute("data-headers")||"{}")))))).call()}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),E_HTML}();module.exports=E_HTML},{"./../async-ajax/exports":31,"./../async-dom/exports":65,"./../async-json/exports":75,"./../async-object/exports":84,"./E":1}],7:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?_assertThisInitialized(self):call}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var E=require("./E"),E_IF=function(_E){function E_IF(node){return _classCallCheck(this,E_IF),_possibleConstructorReturn(this,_getPrototypeOf(E_IF).call(this,node))}return _inherits(E_IF,_E),_createClass(E_IF,[{key:"activate",value:function(){var toDisplayExpression=this.node.getAttribute("data-condition-to-display");if(!toDisplayExpression)throw new Error('e-if must have "data-condition-to-display" attribute');if("true"===this.appliedExpressionsInString(toDisplayExpression)){var contentNode=document.importNode(this.node.content,!0);this.node.parentNode.insertBefore(contentNode,this.node)}this.node.parentNode.removeChild(this.node)}},{key:"appliedExpressionsInString",value:function appliedExpressionsInString(string){return string.replace(/\$\{([^${}]+)\}/gm,function(match,p1){var appliedExpression=eval(p1);return"object"===_typeof(appliedExpression)?JSON.stringify(appliedExpression):appliedExpression})}}]),E_IF}(E);module.exports=E_IF},{"./E":1}],8:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var E=require("./E"),as=require("./../cutie/exports").as,_require2=require("./../async-dom/exports"),FirstParsedElmSelector=_require2.FirstParsedElmSelector,PreparedProgressBar=_require2.PreparedProgressBar,ShownElement=_require2.ShownElement,HiddenElement=_require2.HiddenElement,_require3=require("./../async-ajax/exports"),ResponseFromAjaxRequest=_require3.ResponseFromAjaxRequest,ResponseBody=_require3.ResponseBody,ResponseHeaders=_require3.ResponseHeaders,ResponseStatusCode=_require3.ResponseStatusCode,JSResponseByHTTPReponseComponents=_require3.JSResponseByHTTPReponseComponents,CreatedOptions=require("./../async-object/exports").CreatedOptions,ParsedJSON=require("./../async-json/exports").ParsedJSON,StringFromBuffer=require("./../async-string/exports").StringFromBuffer,ShowProgressEvent=require("./../events/exports").ShowProgressEvent,AppliedActionsOnResponse=require("./../actions/exports").AppliedActionsOnResponse,E_JSON=function(_E){function E_JSON(node){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,E_JSON),_possibleConstructorReturn(this,_getPrototypeOf(E_JSON).call(this,node))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(E_JSON,E),Constructor=E_JSON,(protoProps=[{key:"activate",value:function(){new ShownElement(new FirstParsedElmSelector(this.node.getAttribute("data-ajax-icon")).as("AJAX_ICON")).after(new PreparedProgressBar(new FirstParsedElmSelector(this.node.getAttribute("data-progress-bar"))).as("PROGRESS_BAR").after(new ResponseFromAjaxRequest(new CreatedOptions("url",this.node.getAttribute("data-src"),"method","GET","headers",new ParsedJSON(this.node.getAttribute("data-request-headers")||"{}"),"progressEvent",new ShowProgressEvent(as("PROGRESS_BAR")))).as("RESPONSE").after(new HiddenElement(as("AJAX_ICON")).after(new AppliedActionsOnResponse(this.node.tagName,this.node.getAttribute("data-response-name"),new JSResponseByHTTPReponseComponents(new ParsedJSON(new StringFromBuffer(new ResponseBody(as("RESPONSE")))),new ResponseHeaders(as("RESPONSE")),new ResponseStatusCode(as("RESPONSE"))),this.node.getAttribute("data-actions-on-response")))))).call()}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),E_JSON}();module.exports=E_JSON},{"./../actions/exports":24,"./../async-ajax/exports":31,"./../async-dom/exports":65,"./../async-json/exports":75,"./../async-object/exports":84,"./../async-string/exports":93,"./../cutie/exports":106,"./../events/exports":112,"./E":1}],9:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var E=require("./E"),as=require("./../cutie/exports").as,_require2=require("./../async-dom/exports"),FirstParsedElmSelector=_require2.FirstParsedElmSelector,PreparedProgressBar=_require2.PreparedProgressBar,ShownElement=_require2.ShownElement,HiddenElement=_require2.HiddenElement,_require3=require("./../async-ajax/exports"),ResponseFromAjaxRequest=_require3.ResponseFromAjaxRequest,ResponseBody=_require3.ResponseBody,ResponseHeaders=_require3.ResponseHeaders,ResponseStatusCode=_require3.ResponseStatusCode,JSResponseByHTTPReponseComponents=_require3.JSResponseByHTTPReponseComponents,CreatedOptions=require("./../async-object/exports").CreatedOptions,ParsedJSON=require("./../async-json/exports").ParsedJSON,StringFromBuffer=require("./../async-string/exports").StringFromBuffer,ShowProgressEvent=require("./../events/exports").ShowProgressEvent,ElementWithMappedObject=require("./../async-dom/exports").ElementWithMappedObject,E_JSON_TEMPLATE=function(_E){function E_JSON_TEMPLATE(node){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,E_JSON_TEMPLATE),_possibleConstructorReturn(this,_getPrototypeOf(E_JSON_TEMPLATE).call(this,node))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(E_JSON_TEMPLATE,E),Constructor=E_JSON_TEMPLATE,(protoProps=[{key:"activate",value:function(){new ShownElement(new FirstParsedElmSelector(this.node.getAttribute("data-ajax-icon")).as("AJAX_ICON")).after(new PreparedProgressBar(new FirstParsedElmSelector(this.node.getAttribute("data-progress-bar"))).as("PROGRESS_BAR").after(new ResponseFromAjaxRequest(new CreatedOptions("url",this.node.getAttribute("data-src"),"method","GET","headers",new ParsedJSON(this.node.getAttribute("data-request-headers")||"{}"),"progressEvent",new ShowProgressEvent(as("PROGRESS_BAR")))).as("RESPONSE").after(new HiddenElement(as("AJAX_ICON")).after(new ElementWithMappedObject(this.node,new JSResponseByHTTPReponseComponents(new ParsedJSON(new StringFromBuffer(new ResponseBody(as("RESPONSE")))),new ResponseHeaders(as("RESPONSE")),new ResponseStatusCode(as("RESPONSE")))))))).call()}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),E_JSON_TEMPLATE}();module.exports=E_JSON_TEMPLATE},{"./../async-ajax/exports":31,"./../async-dom/exports":65,"./../async-json/exports":75,"./../async-object/exports":84,"./../async-string/exports":93,"./../cutie/exports":106,"./../events/exports":112,"./E":1}],10:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var E=require("./E"),E_LOCAL_STORAGE_VALUE=function(_E){function E_LOCAL_STORAGE_VALUE(node){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,E_LOCAL_STORAGE_VALUE),_possibleConstructorReturn(this,_getPrototypeOf(E_LOCAL_STORAGE_VALUE).call(this,node))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(E_LOCAL_STORAGE_VALUE,E),Constructor=E_LOCAL_STORAGE_VALUE,(protoProps=[{key:"activate",value:function(){var _this=this;this.node.name=this.node.getAttribute("name"),this.node.value=function(){return localStorage.getItem(_this.node.getAttribute("data-key"))}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),E_LOCAL_STORAGE_VALUE}();module.exports=E_LOCAL_STORAGE_VALUE},{"./E":1}],11:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var E=require("./E"),E_PAGE_WITH_URL=function(_E){function E_PAGE_WITH_URL(node){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,E_PAGE_WITH_URL),_possibleConstructorReturn(this,_getPrototypeOf(E_PAGE_WITH_URL).call(this,node))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(E_PAGE_WITH_URL,E),Constructor=E_PAGE_WITH_URL,(protoProps=[{key:"activate",value:function(){var urlParams={},urlPattern=this.node.getAttribute("data-url-pattern"),parsedUrlPattern=this.parsedUrlPattern(urlPattern),locationPath=window.location.pathname,locationSearch=window.location.search,localtionPathParts=locationPath.split(/\//g).filter(function(part){return""!==part}),locationRequestParams=this.requestParamsOfLocationSearch(locationSearch);parsedUrlPattern.pathVariables.forEach(function(variable,index){/\{([^{}\s.]+)}/gm.test(variable)&&(urlParams[/\{([^{}\s.]+)}/gm.exec(variable)[1]]=localtionPathParts[index])}),parsedUrlPattern.requestParams.forEach(function(param){if(/\{([^{}\s.]+)}/gm.test(param)){var key=/\{([^{}\s.]+)}/gm.exec(param)[1];urlParams[key]=locationRequestParams[key]}}),window.urlParams=urlParams,this.node.parentNode.replaceChild(document.importNode(this.node.content,!0),this.node)}},{key:"parsedUrlPattern",value:function(url){return{pathVariables:url.split(/\?/g)[0].split(/\//g).filter(function(part){return""!==part}),requestParams:url.split(/\?/g)[1].split(/&/g).filter(function(part){return""!==part})}}},{key:"requestParamsOfLocationSearch",value:function(locationSearch){var requestParams={},searchPart=locationSearch.split("?")[1];return searchPart&&searchPart.split("&").forEach(function(exp){var parts=exp.split("=");void 0!==parts[1]&&(requestParams[parts[0]]=parts[1])}),requestParams}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),E_PAGE_WITH_URL}();module.exports=E_PAGE_WITH_URL},{"./E":1}],12:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var E=require("./E"),E_REUSABLE=function(_E){function E_REUSABLE(node){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,E_REUSABLE),_possibleConstructorReturn(this,_getPrototypeOf(E_REUSABLE).call(this,node))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(E_REUSABLE,E),Constructor=E_REUSABLE,(protoProps=[{key:"activate",value:function(){throw new Error('You can use e-reusable only for mapping objects in the attribute "data-actions-on-response", probably in the future there will be elements that would help you map global elements')}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),E_REUSABLE}();module.exports=E_REUSABLE},{"./E":1}],13:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var E=require("./E"),E_SELECT=function(_E){function E_SELECT(node){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,E_SELECT),_possibleConstructorReturn(this,_getPrototypeOf(E_SELECT).call(this,node))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(E_SELECT,E),Constructor=E_SELECT,(protoProps=[{key:"activate",value:function(){this.replaceWithSelect();for(var value=this.node.getAttribute("value"),index=0;index<this.node.options.length;index++){if(this.node.options.item(index).value===value){this.node.selectedIndex=index;break}}}},{key:"replaceWithSelect",value:function(){var select=document.createElement("select");select.setAttribute("data-e-select","true");for(var i=0;i<this.node.attributes.length;i++)select.setAttribute(this.node.attributes[i].name,this.node.attributes[i].value);for(;this.node.firstChild;){var child=this.node.removeChild(this.node.firstChild);select.appendChild(child)}this.node.parentNode.replaceChild(select,this.node),this.node=select}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),E_SELECT}();module.exports=E_SELECT},{"./E":1}],14:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var E=require("./E"),E_SESSION_STORAGE_VALUE=function(_E){function E_SESSION_STORAGE_VALUE(node){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,E_SESSION_STORAGE_VALUE),_possibleConstructorReturn(this,_getPrototypeOf(E_SESSION_STORAGE_VALUE).call(this,node))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(E_SESSION_STORAGE_VALUE,E),Constructor=E_SESSION_STORAGE_VALUE,(protoProps=[{key:"activate",value:function(){var _this=this;this.node.name=this.node.getAttribute("name"),this.node.value=function(){return sessionStorage.getItem(_this.node.getAttribute("data-key"))}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),E_SESSION_STORAGE_VALUE}();module.exports=E_SESSION_STORAGE_VALUE},{"./E":1}],15:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var E=require("./E"),_require=require("./../async-dom/exports"),UnwrappedChildrenOfParent=_require.UnwrappedChildrenOfParent,ElementWithInnerHTML=_require.ElementWithInnerHTML,_require2=require("./../async-ajax/exports"),ResponseFromAjaxRequest=_require2.ResponseFromAjaxRequest,ResponseBody=_require2.ResponseBody,CreatedOptions=require("./../async-object/exports").CreatedOptions,ParsedJSON=require("./../async-json/exports").ParsedJSON,E_SVG=function(_E){function E_SVG(node){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,E_SVG),_possibleConstructorReturn(this,_getPrototypeOf(E_SVG).call(this,node))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(E_SVG,E),Constructor=E_SVG,(protoProps=[{key:"activate",value:function(){new UnwrappedChildrenOfParent(new ElementWithInnerHTML(this.node,new ResponseBody(new ResponseFromAjaxRequest(new CreatedOptions("url",this.node.getAttribute("data-src"),"method","GET","headers",new ParsedJSON(this.node.getAttribute("data-headers")||"{}")))))).call()}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),E_SVG}();module.exports=E_SVG},{"./../async-ajax/exports":31,"./../async-dom/exports":65,"./../async-json/exports":75,"./../async-object/exports":84,"./E":1}],16:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var E=require("./E"),TurboRedirected=require("./../async-location/exports").TurboRedirected,ParsedJSON=require("./../async-json/exports").ParsedJSON,E_TURBOLINK=function(_E){function E_TURBOLINK(node){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,E_TURBOLINK),_possibleConstructorReturn(this,_getPrototypeOf(E_TURBOLINK).call(this,node))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(E_TURBOLINK,E),Constructor=E_TURBOLINK,(protoProps=[{key:"activate",value:function(){var _this=this;this.replaceWithLink(),this.node.addEventListener("click",function(){new TurboRedirected(_this.node.getAttribute("data-href"),new ParsedJSON(_this.node.getAttribute("data-headers")||"{}"),{ajaxFavicon:_this.node.getAttribute("data-ajax-favicon"),progressBarClassName:_this.node.getAttribute("data-with-progress-bar"),progressBarPlace:_this.node.getAttribute("data-progress-bar-place")}).call()})}},{key:"replaceWithLink",value:function(){var link=document.createElement("a");link.setAttribute("data-e-turbolink","true");for(var i=0;i<this.node.attributes.length;i++)link.setAttribute(this.node.attributes[i].name,this.node.attributes[i].value);for(;this.node.firstChild;){var child=this.node.removeChild(this.node.firstChild);link.appendChild(child)}this.node.parentNode.replaceChild(link,this.node),this.node=link}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),E_TURBOLINK}();module.exports=E_TURBOLINK},{"./../async-json/exports":75,"./../async-location/exports":79,"./E":1}],17:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var E=require("./E"),ReleasedWrapperTemplateWithInnerContent=require("./../async-dom/exports").ReleasedWrapperTemplateWithInnerContent,_require2=require("./../async-ajax/exports"),ResponseFromAjaxRequest=_require2.ResponseFromAjaxRequest,ResponseBody=_require2.ResponseBody,CreatedOptions=require("./../async-object/exports").CreatedOptions,ParsedJSON=require("./../async-json/exports").ParsedJSON,E_WRAPPER=function(_E){function E_WRAPPER(node){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,E_WRAPPER),_possibleConstructorReturn(this,_getPrototypeOf(E_WRAPPER).call(this,node))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(E_WRAPPER,E),Constructor=E_WRAPPER,(protoProps=[{key:"activate",value:function(){new ReleasedWrapperTemplateWithInnerContent(new ResponseBody(new ResponseFromAjaxRequest(new CreatedOptions("url",this.node.getAttribute("data-src"),"method","GET","headers",new ParsedJSON(this.node.getAttribute("data-headers")||"{}")))),this.node).call()}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),E_WRAPPER}();module.exports=E_WRAPPER},{"./../async-ajax/exports":31,"./../async-dom/exports":65,"./../async-json/exports":75,"./../async-object/exports":84,"./E":1}],18:[function(require,module,exports){"use strict";module.exports={"e-html":require("./E_HTML"),"e-json":require("./E_JSON"),"e-json-template":require("./E_JSON_TEMPLATE"),"e-if":require("./E_IF"),"e-for-each":require("./E_FOR_EACH"),"e-form":require("./E_FORM"),"e-local-storage-value":require("./E_LOCAL_STORAGE_VALUE"),"e-session-storage-value":require("./E_SESSION_STORAGE_VALUE"),"e-google-oauth-button":require("./E_GOOGLE_OAUTH_BUTTON"),"e-github-oauth-button":require("./E_GITHUB_OAUTH_BUTTON"),"e-page-with-url":require("./E_PAGE_WITH_URL"),"e-reusable":require("./E_REUSABLE"),"e-turbolink":require("./E_TURBOLINK"),"e-select":require("./E_SELECT"),"e-svg":require("./E_SVG"),"e-wrapper":require("./E_WRAPPER")}},{"./E_FORM":2,"./E_FOR_EACH":3,"./E_GITHUB_OAUTH_BUTTON":4,"./E_GOOGLE_OAUTH_BUTTON":5,"./E_HTML":6,"./E_IF":7,"./E_JSON":8,"./E_JSON_TEMPLATE":9,"./E_LOCAL_STORAGE_VALUE":10,"./E_PAGE_WITH_URL":11,"./E_REUSABLE":12,"./E_SELECT":13,"./E_SESSION_STORAGE_VALUE":14,"./E_SVG":15,"./E_TURBOLINK":16,"./E_WRAPPER":17}],19:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}var ELEMENTS=require("./E/exports"),MutationObservation=function(){function MutationObservation(){_classCallCheck(this,MutationObservation),this.targetNode=document}return _createClass(MutationObservation,[{key:"run",value:function(){var _this=this;new MutationObserver(function(mutationsList,observer){var _iteratorNormalCompletion=!0,_didIteratorError=!1,_iteratorError=void 0;try{for(var _step,_iterator=mutationsList[Symbol.iterator]();!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=!0){var mutation=_step.value;if("childList"===mutation.type)for(var i=0;i<mutation.addedNodes.length;i++){var node=mutation.addedNodes[i];_this.processNodeWithItsChildNodes(node)}}}catch(err){_didIteratorError=!0,_iteratorError=err}finally{try{_iteratorNormalCompletion||null==_iterator.return||_iterator.return()}finally{if(_didIteratorError)throw _iteratorError}}}).observe(this.targetNode,{childList:!0,subtree:!0})}},{key:"processNodeWithItsChildNodes",value:function(node){if(!node.observedByEHTML){node.observedByEHTML=!0;var nodeName=this.nodeName(node);this.processAttributesOfNode(node),ELEMENTS[nodeName]&&(node.activatedByEHTML||(node.activatedByEHTML=!0,new ELEMENTS[nodeName](node).activate()));for(var childNodes=node.childNodes,i=0;i<childNodes.length;i++)this.processNodeWithItsChildNodes(childNodes[i])}}},{key:"processAttributesOfNode",value:function processAttributesOfNode(node){if(node.attributes)for(var i=0;i<node.attributes.length;i++){var attr=node.attributes[i];if(this.isForProcessing(attr))if(node.setAttribute(attr.name,attr.value.replace(/\$\{([^${}]+)\}/gm,function(match,p1){var appliedExpression=eval(p1);return"object"===_typeof(appliedExpression)?JSON.stringify(appliedExpression):appliedExpression})),"data-text"===attr.name){var textNode=document.createTextNode(attr.value);0===node.childNodes.length?node.appendChild(textNode):node.insertBefore(textNode,node.childNodes[0]),node.removeAttribute("data-text")}else"data-value"===attr.name&&(node.value=attr.value,node.removeAttribute("data-value"))}}},{key:"isForProcessing",value:function(attr){return-1===["data-actions-on-response","data-list-to-iterate","data-item-name"].indexOf(attr.name)&&/\$\{([^${}]+)\}/gm.test(attr.value)}},{key:"nodeName",value:function(node){return this.isTemplateWithType(node,"e-json")?"e-json-template":this.isTemplateWithTypeExclusively(node,"e-page-with-url")?"e-page-with-url":this.isTemplateWithTypeExclusively(node,"e-if")?"e-if":this.isTemplateWithTypeExclusively(node,"e-for-each")?"e-for-each":this.isTemplateWithTypeExclusively(node,"e-wrapper")?"e-wrapper":node.nodeName.toLowerCase()}},{key:"isTemplateWithTypeExclusively",value:function(node,type){if(node.nodeName.toLowerCase()===type)throw new Error("".concat(type," must be <template>"));return this.isTemplateWithType(node,type)}},{key:"isTemplateWithType",value:function(node,type){if(this.isTemplate(node)){var templateType=node.getAttribute("is");return!!templateType&&templateType===type}return!1}},{key:"isTemplate",value:function(node){return"template"===node.nodeName.toLowerCase()}}]),MutationObservation}();(new MutationObservation).run()},{"./E/exports":18}],20:[function(require,module,exports){"use strict";function _toConsumableArray(arr){return function(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}(arr)||function(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}(arr)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _construct(Parent,args,Class){return(_construct=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?Reflect.construct:function(Parent,args,Class){var a=[null];a.push.apply(a,args);var instance=new(Function.bind.apply(Parent,a));return Class&&_setPrototypeOf(instance,Class.prototype),instance}).apply(null,arguments)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var _require=require("./../async-ajax/exports"),ResponseFromAjaxRequest=_require.ResponseFromAjaxRequest,ResponseBody=_require.ResponseBody,CreatedOptions=require("./../async-object/exports").CreatedOptions,_require3=require("./../async-dom/exports"),ElementWithInnerHTML=_require3.ElementWithInnerHTML,ElementWithAdditionalHTML=_require3.ElementWithAdditionalHTML,ElementWithTextContent=_require3.ElementWithTextContent,HiddenElements=_require3.HiddenElements,ShownElements=_require3.ShownElements,DisabledElements=_require3.DisabledElements,EnabledElements=_require3.EnabledElements,ElementWithMappedObject=_require3.ElementWithMappedObject,ElementsWithToggledClass=_require3.ElementsWithToggledClass,ElementWithChangedValue=_require3.ElementWithChangedValue,ElementWithChangedAttribute=_require3.ElementWithChangedAttribute,ParsedElmSelectors=_require3.ParsedElmSelectors,RemovedElements=_require3.RemovedElements,Logged=require("./../async-log/exports").Logged,If=require("./../async-if-else/exports").If,_require6=require("./../async-location/exports"),RedirectedLocation=_require6.RedirectedLocation,ReloadedLocation=_require6.ReloadedLocation,TurboRedirected=_require6.TurboRedirected,_require7=require("./../async-storage/exports"),LocalStorageWithSetValue=_require7.LocalStorageWithSetValue,SessionStorageWithSetValue=_require7.SessionStorageWithSetValue,LocalStorageWithRemovedValue=_require7.LocalStorageWithRemovedValue,SessionStorageWithRemovedValue=_require7.SessionStorageWithRemovedValue,First=require("./../async-array/exports").First,EncodedURI=require("./../async-uri/exports").EncodedURI,actions={if:function(statement,action){return new If(statement,action)},logToConsole:function(){for(var _len=arguments.length,objs=new Array(_len),_key=0;_key<_len;_key++)objs[_key]=arguments[_key];return _construct(Logged,objs)},mapToTemplate:function(obj,elmSelector){return new ElementWithMappedObject(new First(new ParsedElmSelectors(elmSelector)),obj)},redirect:function(url){return new RedirectedLocation(new EncodedURI(url))},reload:function(){return new ReloadedLocation},turboRedirect:function(href,headers){var _ref=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},progressBarPlace=_ref.progressBarPlace,progressBarClassName=_ref.progressBarClassName,ajaxFavicon=_ref.ajaxFavicon;return new TurboRedirected(href,headers,{progressBarPlace:progressBarPlace,progressBarClassName:progressBarClassName,ajaxFavicon:ajaxFavicon})},saveToLocalStorage:function(key,value){return new LocalStorageWithSetValue(localStorage,key,value)},saveToSessionStorage:function(key,value){return new SessionStorageWithSetValue(sessionStorage,key,value)},removeFromLocalStorage:function(key){return new LocalStorageWithRemovedValue(localStorage,key)},removeFromSessionStorage:function(key,value){return new SessionStorageWithRemovedValue(sessionStorage,key)},hideElms:function(){for(var _len2=arguments.length,elmSelectors=new Array(_len2),_key2=0;_key2<_len2;_key2++)elmSelectors[_key2]=arguments[_key2];return new HiddenElements(_construct(ParsedElmSelectors,elmSelectors))},showElms:function(){for(var _len3=arguments.length,elmSelectors=new Array(_len3),_key3=0;_key3<_len3;_key3++)elmSelectors[_key3]=arguments[_key3];return new ShownElements(_construct(ParsedElmSelectors,elmSelectors))},disableElms:function(){for(var _len4=arguments.length,elmSelectors=new Array(_len4),_key4=0;_key4<_len4;_key4++)elmSelectors[_key4]=arguments[_key4];return new DisabledElements(_construct(ParsedElmSelectors,elmSelectors))},enableElms:function(){for(var _len5=arguments.length,elmSelectors=new Array(_len5),_key5=0;_key5<_len5;_key5++)elmSelectors[_key5]=arguments[_key5];return new EnabledElements(_construct(ParsedElmSelectors,elmSelectors))},removeElms:function(){for(var _len6=arguments.length,elmSelectors=new Array(_len6),_key6=0;_key6<_len6;_key6++)elmSelectors[_key6]=arguments[_key6];return new RemovedElements(_construct(ParsedElmSelectors,elmSelectors))},toggleElms:function(className){for(var _len7=arguments.length,elmSelectors=new Array(_len7>1?_len7-1:0),_key7=1;_key7<_len7;_key7++)elmSelectors[_key7-1]=arguments[_key7];return new ElementsWithToggledClass(className,_construct(ParsedElmSelectors,elmSelectors))},innerHTML:function(elmSelector,url,headers){return new ElementWithInnerHTML(new First(new ParsedElmSelectors(elmSelector)),new ResponseBody(new ResponseFromAjaxRequest(new CreatedOptions("url",new EncodedURI(url),"method","GET","headers",headers))))},addHTMLTo:function(elmSelector,url,headers){return new ElementWithAdditionalHTML(new First(new ParsedElmSelectors(elmSelector)),new ResponseBody(new ResponseFromAjaxRequest(new CreatedOptions("url",new EncodedURI(url),"method","GET","headers",headers))))},textContent:function(elmSelector,url,headers){return new ElementWithTextContent(new First(new ParsedElmSelectors(elmSelector)),new ResponseBody(new ResponseFromAjaxRequest(new CreatedOptions("url",new EncodedURI(url),"method","GET","headers",headers))))},changeValueOf:function(elmSelector,newValue){return new ElementWithChangedValue(new First(new ParsedElmSelectors(elmSelector)),newValue)},updateAttribute:function(elmSelector,attrName,attrValue){return new ElementWithChangedAttribute(new First(new ParsedElmSelectors(elmSelector)),attrName,attrValue)}},ActionByNameWithParams=function(){function ActionByNameWithParams(name){!function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ActionByNameWithParams),this.name=name;for(var _len8=arguments.length,params=new Array(_len8>1?_len8-1:0),_key8=1;_key8<_len8;_key8++)params[_key8-1]=arguments[_key8];this.params=params}var Constructor,protoProps,staticProps;return Constructor=ActionByNameWithParams,(protoProps=[{key:"value",value:function(){if(!actions[this.name])throw new Error('no such action with name "'.concat(this.name,'"'));return actions[this.name].apply(actions,_toConsumableArray(this.params))}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ActionByNameWithParams}();module.exports=ActionByNameWithParams},{"./../async-ajax/exports":31,"./../async-array/exports":33,"./../async-dom/exports":65,"./../async-if-else/exports":71,"./../async-location/exports":79,"./../async-log/exports":81,"./../async-object/exports":84,"./../async-storage/exports":91,"./../async-uri/exports":95}],21:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ParsedActions=require("./ParsedActions"),BuiltAsyncTreeByParsedActions=require("./BuiltAsyncTreeByParsedActions"),AppliedActionsOnResponse=function(_AsyncObject){function AppliedActionsOnResponse(tagName,resName,res,actions){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,AppliedActionsOnResponse),_possibleConstructorReturn(this,_getPrototypeOf(AppliedActionsOnResponse).call(this,tagName,resName,res,actions))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(AppliedActionsOnResponse,AsyncObject),Constructor=AppliedActionsOnResponse,(protoProps=[{key:"syncCall",value:function(){return function(tagName,resName,res,actions){if(!resName)throw new Error('You need to specify attribute "data-response-name" in <'.concat(tagName,">"));new BuiltAsyncTreeByParsedActions(new ParsedActions(actions,tagName,res,resName).value()).value().call()}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),AppliedActionsOnResponse}();module.exports=AppliedActionsOnResponse},{"./../cutie/exports":106,"./BuiltAsyncTreeByParsedActions":22,"./ParsedActions":23}],22:[function(require,module,exports){"use strict";function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}var EmptyAsyncObject=require("./../async/exports").EmptyAsyncObject,BuiltAsyncTreeByParsedActions=function(){function BuiltAsyncTreeByParsedActions(parsedActions){!function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,BuiltAsyncTreeByParsedActions),this.parsedActions=parsedActions}var Constructor,protoProps,staticProps;return Constructor=BuiltAsyncTreeByParsedActions,(protoProps=[{key:"value",value:function(){return 0===this.parsedActions.length?new EmptyAsyncObject:this.buildAsyncTree()}},{key:"buildAsyncTree",value:function(){var curIndex=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.parsedActions.length===curIndex?this.parsedActions[0]:(this.getLastNext(this.parsedActions[curIndex]).after(this.parsedActions[curIndex+1]),this.buildAsyncTree(curIndex+1))}},{key:"getLastNext",value:function(parsedAction){return parsedAction.next?this.getLastNext(parsedAction.next):parsedAction}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),BuiltAsyncTreeByParsedActions}();module.exports=BuiltAsyncTreeByParsedActions},{"./../async/exports":97}],23:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function _construct(Parent,args,Class){return(_construct=isNativeReflectConstruct()?Reflect.construct:function(Parent,args,Class){var a=[null];a.push.apply(a,args);var instance=new(Function.bind.apply(Parent,a));return Class&&_setPrototypeOf(instance,Class.prototype),instance}).apply(null,arguments)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}function _toConsumableArray(arr){return _arrayWithoutHoles(arr)||_iterableToArray(arr)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}function _arrayWithoutHoles(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}var ActionByNameWithParams=require("./ActionByNameWithParams"),ParsedActions=function(){function ParsedActions(actions,tagName,resObj,resName){_classCallCheck(this,ParsedActions),this.actions=actions,this.tagName=tagName,this.resObj=resObj,this.resName=resName}return _createClass(ParsedActions,[{key:"value",value:function(){var _this=this,parsedActions={};if(!this.actions)return{length:0};var splittedActions=this.actions.split(";").map(function(action){return action.trim()}).filter(function(action){return 0!==action.length});return splittedActions.forEach(function(action,index){var ifStatement,executedIfStatement=/if([\s]+)?(\(.+\))([\s]+)/.exec(action);executedIfStatement&&(ifStatement=executedIfStatement[0],action=action.replace(ifStatement,""));var parsedAction,actionName=_this.expressionName(action),actionParams=_this.expressionParams(action,actionName);if(ifStatement){var ifStatementName=_this.expressionName(ifStatement),ifStatementParam=_this.expressionParams(ifStatement,ifStatementName)[0];parsedAction=new ActionByNameWithParams(ifStatementName,ifStatementParam,_construct(ActionByNameWithParams,[actionName].concat(_toConsumableArray(actionParams))).value()).value()}else parsedAction=_construct(ActionByNameWithParams,[actionName].concat(_toConsumableArray(actionParams))).value();parsedActions[index]=parsedAction}),parsedActions.length=splittedActions.length,parsedActions}},{key:"expressionName",value:function(action){return action.split("(")[0].trim()}},{key:"expressionParams",value:function expressionParams(action,actionName){var params=action.split(actionName)[1];return eval("this.funcWithParams".concat(params))}},{key:"funcWithParams",value:function(){for(var _this2=this,_len=arguments.length,params=new Array(_len),_key=0;_key<_len;_key++)params[_key]=arguments[_key];return params.map(function(param){return _this2.evaluatedParam(param,_this2.resObj,_this2.resName)})}},{key:"evaluatedParam",value:function evaluatedParam(param,resObj,resName){if("string"==typeof param){if(!/\$\{([^${}]+)\}/gm.test(param))return param;var value=param.replace(/\$\{([^${}]+)\}/gm,function(match,p1){var value=eval("\n          const ".concat(resName," = resObj\n          ").concat(match.replace(/\$\{([^${}]+)\}/gm,function(match,p1){return p1}),"\n        "));return"object"===_typeof(value)?JSON.stringify(value):value});try{return JSON.parse(value)}catch(err){return value}}if("object"===_typeof(param)){for(var key in param)param[key]=this.evaluatedParam(param[key],resObj,resName);return param}return param}}]),ParsedActions}();module.exports=ParsedActions},{"./ActionByNameWithParams":20}],24:[function(require,module,exports){"use strict";module.exports={ActionByNameWithParams:require("./ActionByNameWithParams"),AppliedActionsOnResponse:require("./AppliedActionsOnResponse"),BuiltAsyncTreeByParsedActions:require("./BuiltAsyncTreeByParsedActions"),ParsedActions:require("./ParsedActions")}},{"./ActionByNameWithParams":20,"./AppliedActionsOnResponse":21,"./BuiltAsyncTreeByParsedActions":22,"./ParsedActions":23}],25:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,JSResponseByHTTPReponseComponents=function(_AsyncObject){function JSResponseByHTTPReponseComponents(body,headers,statusCode){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,JSResponseByHTTPReponseComponents),_possibleConstructorReturn(this,_getPrototypeOf(JSResponseByHTTPReponseComponents).call(this,body,headers,statusCode))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(JSResponseByHTTPReponseComponents,AsyncObject),Constructor=JSResponseByHTTPReponseComponents,(protoProps=[{key:"syncCall",value:function(){return function(body,headers,statusCode){return{body:body,headers:headers,statusCode:statusCode}}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),JSResponseByHTTPReponseComponents}();module.exports=JSResponseByHTTPReponseComponents},{"./../cutie/exports":106}],26:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ResponseBody=function(_AsyncObject){function ResponseBody(response){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ResponseBody),_possibleConstructorReturn(this,_getPrototypeOf(ResponseBody).call(this,response))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ResponseBody,AsyncObject),Constructor=ResponseBody,(protoProps=[{key:"syncCall",value:function(){return function(response){return response.body}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ResponseBody}();module.exports=ResponseBody},{"./../cutie/exports":106}],27:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,responseFromAjaxRequest=require("./custom-calls/responseFromAjaxRequest"),ResponseFromAjaxRequest=function(_AsyncObject){function ResponseFromAjaxRequest(options,requestBody){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ResponseFromAjaxRequest),_possibleConstructorReturn(this,_getPrototypeOf(ResponseFromAjaxRequest).call(this,options,requestBody||null))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ResponseFromAjaxRequest,AsyncObject),Constructor=ResponseFromAjaxRequest,(protoProps=[{key:"asyncCall",value:function(){return responseFromAjaxRequest}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ResponseFromAjaxRequest}();module.exports=ResponseFromAjaxRequest},{"./../cutie/exports":106,"./custom-calls/responseFromAjaxRequest":30}],28:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ResponseHeaders=function(_AsyncObject){function ResponseHeaders(response){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ResponseHeaders),_possibleConstructorReturn(this,_getPrototypeOf(ResponseHeaders).call(this,response))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ResponseHeaders,AsyncObject),Constructor=ResponseHeaders,(protoProps=[{key:"syncCall",value:function(){return function(response){return response.headers}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ResponseHeaders}();module.exports=ResponseHeaders},{"./../cutie/exports":106}],29:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ResponseStatusCode=function(_AsyncObject){function ResponseStatusCode(response){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ResponseStatusCode),_possibleConstructorReturn(this,_getPrototypeOf(ResponseStatusCode).call(this,response))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ResponseStatusCode,AsyncObject),Constructor=ResponseStatusCode,(protoProps=[{key:"syncCall",value:function(){return function(response){return response.statusCode}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ResponseStatusCode}();module.exports=ResponseStatusCode},{"./../cutie/exports":106}],30:[function(require,module,exports){"use strict";module.exports=function(options,requestBody,callback){var resObj={},req=new XMLHttpRequest;req.open(options.method,options.url,!0,options.user||null,options.password||null),req.withCredentials=options.withCredentials||!1,req.timeout=options.timeout||0,void 0!==options.overrideMimeType&&req.overrideMimeType(options.overrideMimeType);var headers=options.headers||{};for(var headerName in headers)req.setRequestHeader(headerName,headers[headerName]);req.onreadystatechange=function(){if(req.readyState===req.DONE){var headerMap={};req.getAllResponseHeaders().trim().split(/[\r\n]+/).forEach(function(line){var parts=line.split(/:\s*/),header=parts.shift(),value=parts.join(": ");headerMap[header]=value}),resObj.statusCode=req.status,resObj.headers=headerMap,resObj.body=req.response,callback(null,resObj)}},req.addEventListener("progress",options.progressEvent),req.upload.addEventListener("progress",options.uploadProgressEvent),req.send(requestBody)}},{}],31:[function(require,module,exports){"use strict";module.exports={JSResponseByHTTPReponseComponents:require("./JSResponseByHTTPReponseComponents"),ResponseBody:require("./ResponseBody"),ResponseFromAjaxRequest:require("./ResponseFromAjaxRequest"),ResponseHeaders:require("./ResponseHeaders"),ResponseStatusCode:require("./ResponseStatusCode")}},{"./JSResponseByHTTPReponseComponents":25,"./ResponseBody":26,"./ResponseFromAjaxRequest":27,"./ResponseHeaders":28,"./ResponseStatusCode":29}],32:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,First=function(_AsyncObject){function First(array){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,First),_possibleConstructorReturn(this,_getPrototypeOf(First).call(this,array))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(First,AsyncObject),Constructor=First,(protoProps=[{key:"syncCall",value:function(){return function(array){return array[0]||null}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),First}();module.exports=First},{"./../cutie/exports":106}],33:[function(require,module,exports){"use strict";module.exports={First:require("./First")}},{"./First":32}],34:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,BodyOfDocument=function(_AsyncObject){function BodyOfDocument(doc){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,BodyOfDocument),_possibleConstructorReturn(this,_getPrototypeOf(BodyOfDocument).call(this,doc))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(BodyOfDocument,AsyncObject),Constructor=BodyOfDocument,(protoProps=[{key:"syncCall",value:function(){return function(doc){if(doc.body)return doc.body;throw new Error("body element is missing in the html resource")}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),BodyOfDocument}();module.exports=BodyOfDocument},{"./../cutie/exports":106}],35:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ChangedPageFavicon=function(_AsyncObject){function ChangedPageFavicon(doc,favicon,ajax){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ChangedPageFavicon),_possibleConstructorReturn(this,_getPrototypeOf(ChangedPageFavicon).call(this,doc,favicon,ajax))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ChangedPageFavicon,AsyncObject),Constructor=ChangedPageFavicon,(protoProps=[{key:"syncCall",value:function(){return function(doc,favicon,ajax){if(favicon){var oldLink=document.querySelector("link[rel*='icon']"),newLink=document.createElement("link");newLink.type=ajax?"image/gif":"image/x-icon",newLink.rel="shortcut icon",newLink.href=favicon,oldLink&&document.head.removeChild(oldLink),document.head.appendChild(newLink)}return favicon}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ChangedPageFavicon}();module.exports=ChangedPageFavicon},{"./../cutie/exports":106}],36:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ChangedPageTitle=function(_AsyncObject){function ChangedPageTitle(doc,title){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ChangedPageTitle),_possibleConstructorReturn(this,_getPrototypeOf(ChangedPageTitle).call(this,doc,title))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ChangedPageTitle,AsyncObject),Constructor=ChangedPageTitle,(protoProps=[{key:"syncCall",value:function(){return function(doc,title){return doc.title=title,title}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ChangedPageTitle}();module.exports=ChangedPageTitle},{"./../cutie/exports":106}],37:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var DocumentFragmentWithAttributes=require("./../dom/exports").DocumentFragmentWithAttributes,AsyncObject=require("./../cutie/exports").AsyncObject,CreatedDocumentFragmentWithAttributes=function(_AsyncObject){function CreatedDocumentFragmentWithAttributes(fragment,attributes){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,CreatedDocumentFragmentWithAttributes),_possibleConstructorReturn(this,_getPrototypeOf(CreatedDocumentFragmentWithAttributes).call(this,fragment,attributes))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(CreatedDocumentFragmentWithAttributes,AsyncObject),Constructor=CreatedDocumentFragmentWithAttributes,(protoProps=[{key:"syncCall",value:function(){return function(fragment,attributes){return new DocumentFragmentWithAttributes(fragment,attributes)}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),CreatedDocumentFragmentWithAttributes}();module.exports=CreatedDocumentFragmentWithAttributes},{"./../cutie/exports":106,"./../dom/exports":108}],38:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,DisabledElement=function(_AsyncObject){function DisabledElement(elm){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,DisabledElement),_possibleConstructorReturn(this,_getPrototypeOf(DisabledElement).call(this,elm))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(DisabledElement,AsyncObject),Constructor=DisabledElement,(protoProps=[{key:"syncCall",value:function(){return function(elm){return elm&&elm.setAttribute("disabled",!0),elm}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),DisabledElement}();module.exports=DisabledElement},{"./../cutie/exports":106}],39:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,DisabledElements=function(_AsyncObject){function DisabledElements(elms){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,DisabledElements),_possibleConstructorReturn(this,_getPrototypeOf(DisabledElements).call(this,elms))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(DisabledElements,AsyncObject),Constructor=DisabledElements,(protoProps=[{key:"syncCall",value:function(){return function(elms){elms.forEach(function(elm){elm.setAttribute("disabled",!0)})}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),DisabledElements}();module.exports=DisabledElements},{"./../cutie/exports":106}],40:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ElementWithAdditionalHTML=function(_AsyncObject){function ElementWithAdditionalHTML(elm,html){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ElementWithAdditionalHTML),_possibleConstructorReturn(this,_getPrototypeOf(ElementWithAdditionalHTML).call(this,elm,html))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ElementWithAdditionalHTML,AsyncObject),Constructor=ElementWithAdditionalHTML,(protoProps=[{key:"syncCall",value:function(){return function(elm,html){return elm.innerHTML+=html,elm}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ElementWithAdditionalHTML}();module.exports=ElementWithAdditionalHTML},{"./../cutie/exports":106}],41:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ElementWithChangedAttribute=function(_AsyncObject){function ElementWithChangedAttribute(elm,attrName,attrValue){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ElementWithChangedAttribute),_possibleConstructorReturn(this,_getPrototypeOf(ElementWithChangedAttribute).call(this,elm,attrName,attrValue))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ElementWithChangedAttribute,AsyncObject),Constructor=ElementWithChangedAttribute,(protoProps=[{key:"syncCall",value:function(){return function(elm,attrName,attrValue){return elm.setAttribute(attrName,attrValue),elm}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ElementWithChangedAttribute}();module.exports=ElementWithChangedAttribute},{"./../cutie/exports":106}],42:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ElementWithChangedValue=function(_AsyncObject){function ElementWithChangedValue(elm,newValue){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ElementWithChangedValue),_possibleConstructorReturn(this,_getPrototypeOf(ElementWithChangedValue).call(this,elm,newValue))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ElementWithChangedValue,AsyncObject),Constructor=ElementWithChangedValue,(protoProps=[{key:"syncCall",value:function(){return function(elm,newValue){return elm.value=newValue,elm}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ElementWithChangedValue}();module.exports=ElementWithChangedValue},{"./../cutie/exports":106}],43:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ElementWithInnerHTML=function(_AsyncObject){function ElementWithInnerHTML(elm,html){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ElementWithInnerHTML),_possibleConstructorReturn(this,_getPrototypeOf(ElementWithInnerHTML).call(this,elm,html))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ElementWithInnerHTML,AsyncObject),Constructor=ElementWithInnerHTML,(protoProps=[{key:"syncCall",value:function(){return function(elm,html){return elm.innerHTML=html,elm}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ElementWithInnerHTML}();module.exports=ElementWithInnerHTML},{"./../cutie/exports":106}],44:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ElementWithMappedObject=require("./../dom/exports").ElementWithMappedObject,AsyncElementWithMappedObject=function(_AsyncObject){function AsyncElementWithMappedObject(element,obj){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,AsyncElementWithMappedObject),_possibleConstructorReturn(this,_getPrototypeOf(AsyncElementWithMappedObject).call(this,element,obj))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(AsyncElementWithMappedObject,AsyncObject),Constructor=AsyncElementWithMappedObject,(protoProps=[{key:"syncCall",value:function(){return function(element,response){return new ElementWithMappedObject(element,response).value()}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),AsyncElementWithMappedObject}();module.exports=AsyncElementWithMappedObject},{"./../cutie/exports":106,"./../dom/exports":108}],45:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ElementWithTextContent=function(_AsyncObject){function ElementWithTextContent(elm,html){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ElementWithTextContent),_possibleConstructorReturn(this,_getPrototypeOf(ElementWithTextContent).call(this,elm,html))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ElementWithTextContent,AsyncObject),Constructor=ElementWithTextContent,(protoProps=[{key:"syncCall",value:function(){return function(elm,html){return elm.textContent=html,elm}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ElementWithTextContent}();module.exports=ElementWithTextContent},{"./../cutie/exports":106}],46:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ElementsWithToggledClass=function(_AsyncObject){function ElementsWithToggledClass(className,elms){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ElementsWithToggledClass),_possibleConstructorReturn(this,_getPrototypeOf(ElementsWithToggledClass).call(this,className,elms))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ElementsWithToggledClass,AsyncObject),Constructor=ElementsWithToggledClass,(protoProps=[{key:"syncCall",value:function(){return function(className,elms){return elms.forEach(function(elm){elm.classList.toggle(className)}),elms}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ElementsWithToggledClass}();module.exports=ElementsWithToggledClass},{"./../cutie/exports":106}],47:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,EnabledElement=function(_AsyncObject){function EnabledElement(elm){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,EnabledElement),_possibleConstructorReturn(this,_getPrototypeOf(EnabledElement).call(this,elm))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(EnabledElement,AsyncObject),Constructor=EnabledElement,(protoProps=[{key:"syncCall",value:function(){return function(elm){return elm&&elm.removeAttribute("disabled"),elm}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),EnabledElement}();module.exports=EnabledElement},{"./../cutie/exports":106}],48:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,EnabledElements=function(_AsyncObject){function EnabledElements(elms){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,EnabledElements),_possibleConstructorReturn(this,_getPrototypeOf(EnabledElements).call(this,elms))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(EnabledElements,AsyncObject),Constructor=EnabledElements,(protoProps=[{key:"syncCall",value:function(){return function(elms){return elms.forEach(function(elm){elm.removeAttribute("disabled")}),elms}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),EnabledElements}();module.exports=EnabledElements},{"./../cutie/exports":106}],49:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ExtractedDocument=function(_AsyncObject){function ExtractedDocument(html){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ExtractedDocument),_possibleConstructorReturn(this,_getPrototypeOf(ExtractedDocument).call(this,html))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ExtractedDocument,AsyncObject),Constructor=ExtractedDocument,(protoProps=[{key:"syncCall",value:function(){return function(html){return(new DOMParser).parseFromString(html,"text/html")}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ExtractedDocument}();module.exports=ExtractedDocument},{"./../cutie/exports":106}],50:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,FaviconOfDocument=function(_AsyncObject){function FaviconOfDocument(doc){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,FaviconOfDocument),_possibleConstructorReturn(this,_getPrototypeOf(FaviconOfDocument).call(this,doc))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(FaviconOfDocument,AsyncObject),Constructor=FaviconOfDocument,(protoProps=[{key:"syncCall",value:function(){return function(doc){if(doc.head){var favicon=doc.head.querySelector("link[rel*='icon']");return favicon?favicon.href:null}return null}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),FaviconOfDocument}();module.exports=FaviconOfDocument},{"./../cutie/exports":106}],51:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,FirstParsedElmSelector=function(_AsyncObject){function FirstParsedElmSelector(elmSelector){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,FirstParsedElmSelector),_possibleConstructorReturn(this,_getPrototypeOf(FirstParsedElmSelector).call(this,elmSelector))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(FirstParsedElmSelector,AsyncObject),Constructor=FirstParsedElmSelector,(protoProps=[{key:"syncCall",value:function(){return function(elmSelector){return document.querySelector(elmSelector)}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),FirstParsedElmSelector}();module.exports=FirstParsedElmSelector},{"./../cutie/exports":106}],52:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,HiddenElement=function(_AsyncObject){function HiddenElement(elm){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,HiddenElement),_possibleConstructorReturn(this,_getPrototypeOf(HiddenElement).call(this,elm))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(HiddenElement,AsyncObject),Constructor=HiddenElement,(protoProps=[{key:"syncCall",value:function(){return function(elm){return elm&&(elm.style.display="none"),elm}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),HiddenElement}();module.exports=HiddenElement},{"./../cutie/exports":106}],53:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,HiddenElements=function(_AsyncObject){function HiddenElements(elms){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,HiddenElements),_possibleConstructorReturn(this,_getPrototypeOf(HiddenElements).call(this,elms))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(HiddenElements,AsyncObject),Constructor=HiddenElements,(protoProps=[{key:"syncCall",value:function(){return function(elms){return elms.forEach(function(elm){elm.style.display="none"}),elms}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),HiddenElements}();module.exports=HiddenElements},{"./../cutie/exports":106}],54:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ParsedElmSelectors=function(_AsyncObject){function ParsedElmSelectors(){var _getPrototypeOf2;!function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ParsedElmSelectors);for(var _len=arguments.length,elmSelectors=new Array(_len),_key=0;_key<_len;_key++)elmSelectors[_key]=arguments[_key];return _possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(ParsedElmSelectors)).call.apply(_getPrototypeOf2,[this].concat(elmSelectors)))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ParsedElmSelectors,AsyncObject),Constructor=ParsedElmSelectors,(protoProps=[{key:"syncCall",value:function(){return function(){for(var elms=[],_len2=arguments.length,elmSelectors=new Array(_len2),_key2=0;_key2<_len2;_key2++)elmSelectors[_key2]=arguments[_key2];return elmSelectors.forEach(function(elmSelector){if(elmSelector)for(var elmsToPush=document.querySelectorAll(elmSelector),i=0;i<elmsToPush.length;i++)elms.push(elmsToPush[i])}),elms}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ParsedElmSelectors}();module.exports=ParsedElmSelectors},{"./../cutie/exports":106}],55:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,PreparedProgressBar=function(_AsyncObject){function PreparedProgressBar(progressBar){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,PreparedProgressBar),_possibleConstructorReturn(this,_getPrototypeOf(PreparedProgressBar).call(this,progressBar))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(PreparedProgressBar,AsyncObject),Constructor=PreparedProgressBar,(protoProps=[{key:"syncCall",value:function(){return function(progressBar){return progressBar?(progressBar.max=100,progressBar.value=0,progressBar.style.display="none",progressBar):null}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),PreparedProgressBar}();module.exports=PreparedProgressBar},{"./../cutie/exports":106}],56:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,PreparedProgressBars=function(_AsyncObject){function PreparedProgressBars(progressBars){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,PreparedProgressBars),_possibleConstructorReturn(this,_getPrototypeOf(PreparedProgressBars).call(this,progressBars))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(PreparedProgressBars,AsyncObject),Constructor=PreparedProgressBars,(protoProps=[{key:"syncCall",value:function(){return function(progressBars){for(var index=0;index<progressBars.length;index++)if(progressBars[index]){var progressBar=progressBars[index];progressBar.max=100,progressBar.value=0,progressBar.style.display="none"}return progressBars}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),PreparedProgressBars}();module.exports=PreparedProgressBars},{"./../cutie/exports":106}],57:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ReleasedWrapperTemplateWithInnerContent=function(_AsyncObject){function ReleasedWrapperTemplateWithInnerContent(html,wrapperTemplate){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ReleasedWrapperTemplateWithInnerContent),_possibleConstructorReturn(this,_getPrototypeOf(ReleasedWrapperTemplateWithInnerContent).call(this,html,wrapperTemplate))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ReleasedWrapperTemplateWithInnerContent,AsyncObject),Constructor=ReleasedWrapperTemplateWithInnerContent,(protoProps=[{key:"syncCall",value:function(){return function(html,wrapperTemplate){var placeholderSelector=wrapperTemplate.getAttribute("data-where-to-place"),wayToPlace=wrapperTemplate.getAttribute("data-how-to-place")||"after",wrapperTemplateReplacement=document.createElement("template");wrapperTemplateReplacement.innerHTML=html;var wrapperTemplateReplacementContentNode=document.importNode(wrapperTemplateReplacement.content,!0);wrapperTemplate.parentNode.insertBefore(wrapperTemplateReplacementContentNode,wrapperTemplate);var placeholderElement=wrapperTemplate.parentNode.querySelector(placeholderSelector);if(!placeholderElement)throw new Error('element is not found by the selector in the attribute "data-where-to-place"');var wrapperTemplateContentNode=document.importNode(wrapperTemplate.content,!0);return"before"===wayToPlace?placeholderElement.parentNode.insertBefore(wrapperTemplateContentNode,placeholderElement):"after"===wayToPlace?placeholderElement.nextSibling?placeholderElement.parentNode.insertBefore(wrapperTemplateContentNode,placeholderElement.nextSibling):placeholderElement.parentNode.append(wrapperTemplateContentNode):placeholderElement.parentNode.replaceChild(wrapperTemplateContentNode,placeholderElement),wrapperTemplateContentNode}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ReleasedWrapperTemplateWithInnerContent}();module.exports=ReleasedWrapperTemplateWithInnerContent},{"./../cutie/exports":106}],58:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,RemovedElements=function(_AsyncObject){function RemovedElements(elms){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,RemovedElements),_possibleConstructorReturn(this,_getPrototypeOf(RemovedElements).call(this,elms))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(RemovedElements,AsyncObject),Constructor=RemovedElements,(protoProps=[{key:"syncCall",value:function(){return function(elms){return elms.forEach(function(elm){elm.parentNode.removeChild(elm)}),elms}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),RemovedElements}();module.exports=RemovedElements},{"./../cutie/exports":106}],59:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ReplacedElementWithAnotherOne=function(_AsyncObject){function ReplacedElementWithAnotherOne(oldElement,newElement){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ReplacedElementWithAnotherOne),_possibleConstructorReturn(this,_getPrototypeOf(ReplacedElementWithAnotherOne).call(this,oldElement,newElement))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ReplacedElementWithAnotherOne,AsyncObject),Constructor=ReplacedElementWithAnotherOne,(protoProps=[{key:"syncCall",value:function(){return function(oldElement,newElement){return oldElement.parentNode.replaceChild(newElement,oldElement),newElement}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ReplacedElementWithAnotherOne}();module.exports=ReplacedElementWithAnotherOne},{"./../cutie/exports":106}],60:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ShownElement=function(_AsyncObject){function ShownElement(elm){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ShownElement),_possibleConstructorReturn(this,_getPrototypeOf(ShownElement).call(this,elm))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ShownElement,AsyncObject),Constructor=ShownElement,(protoProps=[{key:"syncCall",value:function(){return function(elm){return elm&&(elm.style.display=""),elm}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ShownElement}();module.exports=ShownElement},{"./../cutie/exports":106}],61:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ShownElements=function(_AsyncObject){function ShownElements(elms){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ShownElements),_possibleConstructorReturn(this,_getPrototypeOf(ShownElements).call(this,elms))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ShownElements,AsyncObject),Constructor=ShownElements,(protoProps=[{key:"syncCall",value:function(){return function(elms){return elms.forEach(function(elm){elm.style.display=""}),elms}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ShownElements}();module.exports=ShownElements},{"./../cutie/exports":106}],62:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,TitleOfDocument=function(_AsyncObject){function TitleOfDocument(doc){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,TitleOfDocument),_possibleConstructorReturn(this,_getPrototypeOf(TitleOfDocument).call(this,doc))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(TitleOfDocument,AsyncObject),Constructor=TitleOfDocument,(protoProps=[{key:"syncCall",value:function(){return function(doc){return doc.title}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),TitleOfDocument}();module.exports=TitleOfDocument},{"./../cutie/exports":106}],63:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,UnwrappedChildrenOfParent=function(_AsyncObject){function UnwrappedChildrenOfParent(parent){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,UnwrappedChildrenOfParent),_possibleConstructorReturn(this,_getPrototypeOf(UnwrappedChildrenOfParent).call(this,parent))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(UnwrappedChildrenOfParent,AsyncObject),Constructor=UnwrappedChildrenOfParent,(protoProps=[{key:"syncCall",value:function(){return function(parent){for(var docFrag=document.createDocumentFragment();parent.firstChild;){var child=parent.removeChild(parent.firstChild);docFrag.appendChild(child)}return parent.parentNode.replaceChild(docFrag,parent),docFrag}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),UnwrappedChildrenOfParent}();module.exports=UnwrappedChildrenOfParent},{"./../cutie/exports":106}],64:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,UnwrappedTemplate=function(_AsyncObject){function UnwrappedTemplate(template){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,UnwrappedTemplate),_possibleConstructorReturn(this,_getPrototypeOf(UnwrappedTemplate).call(this,template))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(UnwrappedTemplate,AsyncObject),Constructor=UnwrappedTemplate,(protoProps=[{key:"syncCall",value:function(){return function(template){var fragment=template.content.cloneNode(!0);return template.parentNode.replaceChild(fragment,template),fragment}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),UnwrappedTemplate}();module.exports=UnwrappedTemplate},{"./../cutie/exports":106}],65:[function(require,module,exports){"use strict";module.exports={BodyOfDocument:require("./BodyOfDocument"),ChangedPageFavicon:require("./ChangedPageFavicon"),ChangedPageTitle:require("./ChangedPageTitle"),CreatedDocumentFragmentWithAttributes:require("./CreatedDocumentFragmentWithAttributes"),DisabledElement:require("./DisabledElement"),DisabledElements:require("./DisabledElements"),ElementWithAdditionalHTML:require("./ElementWithAdditionalHTML"),ElementWithChangedAttribute:require("./ElementWithChangedAttribute"),ElementWithChangedValue:require("./ElementWithChangedValue"),ElementWithInnerHTML:require("./ElementWithInnerHTML"),ElementWithMappedObject:require("./ElementWithMappedObject"),ElementWithTextContent:require("./ElementWithTextContent"),ElementsWithToggledClass:require("./ElementsWithToggledClass"),EnabledElement:require("./EnabledElement"),EnabledElements:require("./EnabledElements"),ExtractedDocument:require("./ExtractedDocument"),FaviconOfDocument:require("./FaviconOfDocument"),FirstParsedElmSelector:require("./FirstParsedElmSelector"),HiddenElement:require("./HiddenElement"),HiddenElements:require("./HiddenElements"),ParsedElmSelectors:require("./ParsedElmSelectors"),PreparedProgressBar:require("./PreparedProgressBar"),PreparedProgressBars:require("./PreparedProgressBars"),ReleasedWrapperTemplateWithInnerContent:require("./ReleasedWrapperTemplateWithInnerContent"),RemovedElements:require("./RemovedElements"),ReplacedElementWithAnotherOne:require("./ReplacedElementWithAnotherOne"),ShownElement:require("./ShownElement"),ShownElements:require("./ShownElements"),TitleOfDocument:require("./TitleOfDocument"),UnwrappedChildrenOfParent:require("./UnwrappedChildrenOfParent"),UnwrappedTemplate:require("./UnwrappedTemplate")}},{"./BodyOfDocument":34,"./ChangedPageFavicon":35,"./ChangedPageTitle":36,"./CreatedDocumentFragmentWithAttributes":37,"./DisabledElement":38,"./DisabledElements":39,"./ElementWithAdditionalHTML":40,"./ElementWithChangedAttribute":41,"./ElementWithChangedValue":42,"./ElementWithInnerHTML":43,"./ElementWithMappedObject":44,"./ElementWithTextContent":45,"./ElementsWithToggledClass":46,"./EnabledElement":47,"./EnabledElements":48,"./ExtractedDocument":49,"./FaviconOfDocument":50,"./FirstParsedElmSelector":51,"./HiddenElement":52,"./HiddenElements":53,"./ParsedElmSelectors":54,"./PreparedProgressBar":55,"./PreparedProgressBars":56,"./ReleasedWrapperTemplateWithInnerContent":57,"./RemovedElements":58,"./ReplacedElementWithAnotherOne":59,"./ShownElement":60,"./ShownElements":61,"./TitleOfDocument":62,"./UnwrappedChildrenOfParent":63,"./UnwrappedTemplate":64}],66:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,PushedStartStateToHistoryIfNeeded=function(_AsyncObject){function PushedStartStateToHistoryIfNeeded(state,href){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,PushedStartStateToHistoryIfNeeded),_possibleConstructorReturn(this,_getPrototypeOf(PushedStartStateToHistoryIfNeeded).call(this,state,href))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(PushedStartStateToHistoryIfNeeded,AsyncObject),Constructor=PushedStartStateToHistoryIfNeeded,(protoProps=[{key:"syncCall",value:function(){return function(state,href){return"false"===sessionStorage.getItem("isFirstStatePushedToHistory")&&(history.replaceState(state,null,href),sessionStorage.setItem("isFirstStatePushedToHistory","true")),state}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),PushedStartStateToHistoryIfNeeded}();module.exports=PushedStartStateToHistoryIfNeeded},{"./../cutie/exports":106}],67:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,PushedStateToHistory=function(_AsyncObject){function PushedStateToHistory(state,href){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,PushedStateToHistory),_possibleConstructorReturn(this,_getPrototypeOf(PushedStateToHistory).call(this,state,href))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(PushedStateToHistory,AsyncObject),Constructor=PushedStateToHistory,(protoProps=[{key:"syncCall",value:function(){return function(state,href){return history.pushState(state,null,href),state}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),PushedStateToHistory}();module.exports=PushedStateToHistory},{"./../cutie/exports":106}],68:[function(require,module,exports){"use strict";module.exports={PushedStartStateToHistoryIfNeeded:require("./PushedStartStateToHistoryIfNeeded"),PushedStateToHistory:require("./PushedStateToHistory")}},{"./PushedStartStateToHistoryIfNeeded":66,"./PushedStateToHistory":67}],69:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,Else=function(_AsyncObject){function Else(action){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,Else),_possibleConstructorReturn(this,_getPrototypeOf(Else).call(this,function(){return action}))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(Else,AsyncObject),Constructor=Else,(protoProps=[{key:"syncCall",value:function(){var _this=this;return function(action){var actionTree=action();return _this.propagateCache(actionTree),actionTree.call(),!0}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Else}();module.exports=Else},{"./../cutie/exports":106}],70:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,If=function(_AsyncObject){function If(statement,action,nextStatement){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,If),_possibleConstructorReturn(this,_getPrototypeOf(If).call(this,statement,function(){return action},nextStatement?function(){return nextStatement}:void 0))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(If,AsyncObject),Constructor=If,(protoProps=[{key:"syncCall",value:function(){var _this=this;return function(statement,action,nextStatement){if(statement){var actionTree=action();_this.propagateCache(actionTree),actionTree.call()}else if(nextStatement){var nextStatementTree=nextStatement();_this.propagateCache(nextStatementTree),nextStatementTree.call()}return statement}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),If}();module.exports=If},{"./../cutie/exports":106}],71:[function(require,module,exports){"use strict";module.exports={Else:require("./Else"),If:require("./If")}},{"./Else":69,"./If":70}],72:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ParsedJSON=function(_AsyncObject){function ParsedJSON(string){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ParsedJSON),_possibleConstructorReturn(this,_getPrototypeOf(ParsedJSON).call(this,string))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ParsedJSON,AsyncObject),Constructor=ParsedJSON,(protoProps=[{key:"syncCall",value:function(){return JSON.parse}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ParsedJSON}();module.exports=ParsedJSON},{"./../cutie/exports":106}],73:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ParsedJSONOrString=function(_AsyncObject){function ParsedJSONOrString(string){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ParsedJSONOrString),_possibleConstructorReturn(this,_getPrototypeOf(ParsedJSONOrString).call(this,string))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ParsedJSONOrString,AsyncObject),Constructor=ParsedJSONOrString,(protoProps=[{key:"syncCall",value:function(){return function(string){try{return JSON.parse(string)}catch(error){return string}}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ParsedJSONOrString}();module.exports=ParsedJSONOrString},{"./../cutie/exports":106}],74:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,StringifiedJSON=function(_AsyncObject){function StringifiedJSON(json){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,StringifiedJSON),_possibleConstructorReturn(this,_getPrototypeOf(StringifiedJSON).call(this,json))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(StringifiedJSON,AsyncObject),Constructor=StringifiedJSON,(protoProps=[{key:"syncCall",value:function(){return JSON.stringify}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),StringifiedJSON}();module.exports=StringifiedJSON},{"./../cutie/exports":106}],75:[function(require,module,exports){"use strict";module.exports={ParsedJSON:require("./ParsedJSON"),ParsedJSONOrString:require("./ParsedJSONOrString"),StringifiedJSON:require("./StringifiedJSON")}},{"./ParsedJSON":72,"./ParsedJSONOrString":73,"./StringifiedJSON":74}],76:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,RedirectedLocation=function(_AsyncObject){function RedirectedLocation(url){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,RedirectedLocation),_possibleConstructorReturn(this,_getPrototypeOf(RedirectedLocation).call(this,url))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(RedirectedLocation,AsyncObject),Constructor=RedirectedLocation,(protoProps=[{key:"syncCall",value:function(){return function(url){window.location.href=url}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),RedirectedLocation}();module.exports=RedirectedLocation},{"./../cutie/exports":106}],77:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ReloadedLocation=function(_AsyncObject){function ReloadedLocation(){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ReloadedLocation),_possibleConstructorReturn(this,_getPrototypeOf(ReloadedLocation).call(this))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ReloadedLocation,AsyncObject),Constructor=ReloadedLocation,(protoProps=[{key:"syncCall",value:function(){return function(){window.location.reload()}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ReloadedLocation}();module.exports=ReloadedLocation},{"./../cutie/exports":106}],78:[function(require,module,exports){"use strict";var as=require("./../cutie/exports").as,StringFromBuffer=require("./../async-string/exports").StringFromBuffer,_require3=require("./../async-ajax/exports"),ResponseFromAjaxRequest=_require3.ResponseFromAjaxRequest,ResponseBody=_require3.ResponseBody,CreatedOptions=require("./../async-object/exports").CreatedOptions,_require5=require("./../async-dom/exports"),ReplacedElementWithAnotherOne=_require5.ReplacedElementWithAnotherOne,ExtractedDocument=_require5.ExtractedDocument,BodyOfDocument=_require5.BodyOfDocument,TitleOfDocument=_require5.TitleOfDocument,FaviconOfDocument=_require5.FaviconOfDocument,ChangedPageTitle=_require5.ChangedPageTitle,ChangedPageFavicon=_require5.ChangedPageFavicon,_require6=require("./../async-history/exports"),PushedStartStateToHistoryIfNeeded=_require6.PushedStartStateToHistoryIfNeeded,PushedStateToHistory=_require6.PushedStateToHistory,ShowProgressEvent=require("./../events/exports").ShowProgressEvent;module.exports=function TurboRedirected(href,headers,_ref){var progressBar,progressBarPlace=_ref.progressBarPlace,progressBarClassName=_ref.progressBarClassName,ajaxFavicon=_ref.ajaxFavicon;return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,TurboRedirected),progressBarClassName&&((progressBar=document.createElement("progress")).setAttribute("class",progressBarClassName),progressBar.style.display="none",progressBar.max=100,progressBar.value=0,progressBarPlace?document.querySelector(progressBarPlace).prepend(progressBar):document.body.prepend(progressBar)),new PushedStartStateToHistoryIfNeeded(new CreatedOptions("url",location.href,"headers",headers),location.href).after(new ChangedPageFavicon(document,ajaxFavicon,!0).after(new ExtractedDocument(new StringFromBuffer(new ResponseBody(new ResponseFromAjaxRequest(new CreatedOptions("url",href,"method","GET","headers",headers,"progressEvent",new ShowProgressEvent(progressBar,!0)))))).as("DOC").after(new BodyOfDocument(as("DOC")).as("BODY").after(new TitleOfDocument(as("DOC")).as("TITLE").after(new FaviconOfDocument(as("DOC")).as("FAVICON").after(new PushedStateToHistory(new CreatedOptions("url",href,"headers",headers),href).after(new ReplacedElementWithAnotherOne(document.body,as("BODY")).after(new ChangedPageTitle(document,as("TITLE")).after(new ChangedPageFavicon(document,as("FAVICON")))))))))))}},{"./../async-ajax/exports":31,"./../async-dom/exports":65,"./../async-history/exports":68,"./../async-object/exports":84,"./../async-string/exports":93,"./../cutie/exports":106,"./../events/exports":112}],79:[function(require,module,exports){"use strict";module.exports={RedirectedLocation:require("./RedirectedLocation"),ReloadedLocation:require("./ReloadedLocation"),TurboRedirected:require("./TurboRedirected")}},{"./RedirectedLocation":76,"./ReloadedLocation":77,"./TurboRedirected":78}],80:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,Logged=function(_AsyncObject){function Logged(){var _getPrototypeOf2;!function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,Logged);for(var _len=arguments.length,objs=new Array(_len),_key=0;_key<_len;_key++)objs[_key]=arguments[_key];return _possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(Logged)).call.apply(_getPrototypeOf2,[this].concat(objs)))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(Logged,AsyncObject),Constructor=Logged,(protoProps=[{key:"syncCall",value:function(){return function(){for(var _console,_len2=arguments.length,objs=new Array(_len2),_key2=0;_key2<_len2;_key2++)objs[_key2]=arguments[_key2];return(_console=console).log.apply(_console,objs),objs}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Logged}();module.exports=Logged},{"./../cutie/exports":106}],81:[function(require,module,exports){"use strict";module.exports={Logged:require("./Logged")}},{"./Logged":80}],82:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,CreatedOptions=function(_AsyncObject){function CreatedOptions(){var _getPrototypeOf2;!function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,CreatedOptions);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _possibleConstructorReturn(this,(_getPrototypeOf2=_getPrototypeOf(CreatedOptions)).call.apply(_getPrototypeOf2,[this].concat(args)))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(CreatedOptions,AsyncObject),Constructor=CreatedOptions,(protoProps=[{key:"syncCall",value:function(){return function(){for(var options={},_len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];if(args.length%2!=0)throw new Error("odd number of parameters for options");for(var i=0;i<args.length-1;i+=2)options[args[i]]=args[i+1];return options}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),CreatedOptions}();module.exports=CreatedOptions},{"./../cutie/exports":106}],83:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,TheSameObjectWithValue=function(_AsyncObject){function TheSameObjectWithValue(obj,key,value){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,TheSameObjectWithValue),_possibleConstructorReturn(this,_getPrototypeOf(TheSameObjectWithValue).call(this,obj,key,value))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(TheSameObjectWithValue,AsyncObject),Constructor=TheSameObjectWithValue,(protoProps=[{key:"syncCall",value:function(){return function(obj,key,value){return obj[key]=value,obj}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),TheSameObjectWithValue}();module.exports=TheSameObjectWithValue},{"./../cutie/exports":106}],84:[function(require,module,exports){"use strict";module.exports={CreatedOptions:require("./CreatedOptions"),TheSameObjectWithValue:require("./TheSameObjectWithValue")}},{"./CreatedOptions":82,"./TheSameObjectWithValue":83}],85:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,LocalStorageWithRemovedValue=function(_AsyncObject){function LocalStorageWithRemovedValue(localStorage,key){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,LocalStorageWithRemovedValue),_possibleConstructorReturn(this,_getPrototypeOf(LocalStorageWithRemovedValue).call(this,localStorage,key))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(LocalStorageWithRemovedValue,AsyncObject),Constructor=LocalStorageWithRemovedValue,(protoProps=[{key:"syncCall",value:function(){return function(localStorage,key){return localStorage.removeItem(key),localStorage}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),LocalStorageWithRemovedValue}();module.exports=LocalStorageWithRemovedValue},{"./../cutie/exports":106}],86:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,LocalStorageWithSetValue=function(_AsyncObject){function LocalStorageWithSetValue(localStorage,key,value){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,LocalStorageWithSetValue),_possibleConstructorReturn(this,_getPrototypeOf(LocalStorageWithSetValue).call(this,localStorage,key,value))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(LocalStorageWithSetValue,AsyncObject),Constructor=LocalStorageWithSetValue,(protoProps=[{key:"syncCall",value:function(){return function(localStorage,key,value){return localStorage.setItem(key,value),localStorage}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),LocalStorageWithSetValue}();module.exports=LocalStorageWithSetValue},{"./../cutie/exports":106}],87:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,SessionStorageWithRemovedValue=function(_AsyncObject){function SessionStorageWithRemovedValue(sessionStorage,key){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,SessionStorageWithRemovedValue),_possibleConstructorReturn(this,_getPrototypeOf(SessionStorageWithRemovedValue).call(this,sessionStorage,key))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(SessionStorageWithRemovedValue,AsyncObject),Constructor=SessionStorageWithRemovedValue,(protoProps=[{key:"syncCall",value:function(){return function(sessionStorage,key){return sessionStorage.removeItem(key),sessionStorage}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),SessionStorageWithRemovedValue}();module.exports=SessionStorageWithRemovedValue},{"./../cutie/exports":106}],88:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,SessionStorageWithSetValue=function(_AsyncObject){function SessionStorageWithSetValue(sessionStorage,key,value){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,SessionStorageWithSetValue),_possibleConstructorReturn(this,_getPrototypeOf(SessionStorageWithSetValue).call(this,sessionStorage,key,value))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(SessionStorageWithSetValue,AsyncObject),Constructor=SessionStorageWithSetValue,(protoProps=[{key:"syncCall",value:function(){return function(sessionStorage,key,value){return sessionStorage.setItem(key,value),sessionStorage}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),SessionStorageWithSetValue}();module.exports=SessionStorageWithSetValue},{"./../cutie/exports":106}],89:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ValueFromLocalStorage=function(_AsyncObject){function ValueFromLocalStorage(localStorage,key){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ValueFromLocalStorage),_possibleConstructorReturn(this,_getPrototypeOf(ValueFromLocalStorage).call(this,localStorage,key))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ValueFromLocalStorage,AsyncObject),Constructor=ValueFromLocalStorage,(protoProps=[{key:"syncCall",value:function(){return function(localStorage,key){return localStorage.getItem(key)}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ValueFromLocalStorage}();module.exports=ValueFromLocalStorage},{"./../cutie/exports":106}],90:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ValueFromSessionStorage=function(_AsyncObject){function ValueFromSessionStorage(sessionStorage,key){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ValueFromSessionStorage),_possibleConstructorReturn(this,_getPrototypeOf(ValueFromSessionStorage).call(this,sessionStorage,key))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ValueFromSessionStorage,AsyncObject),Constructor=ValueFromSessionStorage,(protoProps=[{key:"syncCall",value:function(){return function(sessionStorage,key){return sessionStorage.getItem(key)}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ValueFromSessionStorage}();module.exports=ValueFromSessionStorage},{"./../cutie/exports":106}],91:[function(require,module,exports){"use strict";module.exports={LocalStorageWithRemovedValue:require("./LocalStorageWithRemovedValue"),LocalStorageWithSetValue:require("./LocalStorageWithSetValue"),SessionStorageWithRemovedValue:require("./SessionStorageWithRemovedValue"),SessionStorageWithSetValue:require("./SessionStorageWithSetValue"),ValueFromLocalStorage:require("./ValueFromLocalStorage"),ValueFromSessionStorage:require("./ValueFromSessionStorage")}},{"./LocalStorageWithRemovedValue":85,"./LocalStorageWithSetValue":86,"./SessionStorageWithRemovedValue":87,"./SessionStorageWithSetValue":88,"./ValueFromLocalStorage":89,"./ValueFromSessionStorage":90}],92:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,StringFromBuffer=function(_AsyncObject){function StringFromBuffer(buf,encoding,start,end){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,StringFromBuffer),_possibleConstructorReturn(this,_getPrototypeOf(StringFromBuffer).call(this,buf,encoding||"utf8",start||0,end||buf.length))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(StringFromBuffer,AsyncObject),Constructor=StringFromBuffer,(protoProps=[{key:"syncCall",value:function(){return function(buf,encoding,start,end){return buf.toString(encoding,start,end)}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),StringFromBuffer}();module.exports=StringFromBuffer},{"./../cutie/exports":106}],93:[function(require,module,exports){"use strict";module.exports={StringFromBuffer:require("./StringFromBuffer")}},{"./StringFromBuffer":92}],94:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,EncodedURI=function(_AsyncObject){function EncodedURI(url){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,EncodedURI),_possibleConstructorReturn(this,_getPrototypeOf(EncodedURI).call(this,url))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(EncodedURI,AsyncObject),Constructor=EncodedURI,(protoProps=[{key:"syncCall",value:function(){return function(url){return encodeURI(url)}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),EncodedURI}();module.exports=EncodedURI},{"./../cutie/exports":106}],95:[function(require,module,exports){"use strict";module.exports={EncodedURI:require("./EncodedURI")}},{"./EncodedURI":94}],96:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,EmptyAsyncObject=function(_AsyncObject){function EmptyAsyncObject(){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,EmptyAsyncObject),_possibleConstructorReturn(this,_getPrototypeOf(EmptyAsyncObject).call(this))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(EmptyAsyncObject,AsyncObject),Constructor=EmptyAsyncObject,(protoProps=[{key:"syncCall",value:function(){return function(){}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),EmptyAsyncObject}();module.exports=EmptyAsyncObject},{"./../cutie/exports":106}],97:[function(require,module,exports){"use strict";module.exports={EmptyAsyncObject:require("./EmptyAsyncObject")}},{"./EmptyAsyncObject":96}],98:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./AsyncObject"),As=function(_AsyncObject){function As(key){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,As),_possibleConstructorReturn(this,_getPrototypeOf(As).call(this,key))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(As,AsyncObject),Constructor=As,(protoProps=[{key:"syncCall",value:function(){var _this=this;return function(key){var result=_this.cache[key];if(void 0===result)throw new Error("There is no value that is cached with key: ".concat(key));return result}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),As}();module.exports=function(key){return new As(key)}},{"./AsyncObject":99}],99:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}var AsyncTree=require("./AsyncTree"),AsyncObject=function(){function AsyncObject(){!function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,AsyncObject);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];this.args=args,this.cache={},this.next=void 0,this.asKey=void 0}var Constructor,protoProps,staticProps;return Constructor=AsyncObject,(protoProps=[{key:"asyncCall",value:function(){throw new Error("asyncCall or syncCall must be defined")}},{key:"syncCall",value:function(){throw new Error("asyncCall or syncCall must be defined")}},{key:"onError",value:function(error){throw error}},{key:"onResult",value:function(result){return result}},{key:"onErrorAndResult",value:function(error,result){return error||result}},{key:"continueAfterFail",value:function(){return!1}},{key:"callbackWithError",value:function(){return!0}},{key:"call",value:function(){this.propagateCache(this),new AsyncTree(this).create().call()}},{key:"after",value:function(asyncObject){return this.next=asyncObject,this}},{key:"as",value:function(key){return this.asKey=key,this}},{key:"iterateArgs",value:function(func){var _this=this;this.args.forEach(function(arg,index){func(arg,index,_this.isAsyncObject(arg),_this.isEvent(arg))})}},{key:"hasNoArgs",value:function(){return 0===this.args.length}},{key:"readyToBeInvoked",value:function(readyResultsNum){return this.args.length===readyResultsNum}},{key:"callNextTreeIfExists",value:function(){this.next&&(this.propagateCache(this.next),new AsyncTree(this.next).create().call())}},{key:"propagateCache",value:function(arg){var _this2=this;this.isAsyncObject(arg)&&(arg.withCache(this.cache),arg.iterateArgs(function(arg){return _this2.propagateCache(arg)}))}},{key:"withCache",value:function(cache){return this.cache=cache,this}},{key:"saveValueIntoCacheIfNeeded",value:function(value){return this.asKey&&(this.cache[this.asKey]=value),this}},{key:"isAsyncObject",value:function(arg){return-1!==this.classChain(arg).indexOf("AsyncObject")}},{key:"isEvent",value:function(arg){return-1!==this.classChain(arg).indexOf("Event")}},{key:"classChain",value:function(obj,chain){return chain||(chain=[]),"function"==typeof obj?obj.name&&obj!==Object?this.classChain(Object.getPrototypeOf(obj),chain.concat(obj.name)):chain:"object"===_typeof(obj)&&null!==obj?this.classChain(obj.constructor,chain):chain}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),AsyncObject}();module.exports=AsyncObject},{"./AsyncTree":100}],100:[function(require,module,exports){"use strict";function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}var SimpleTreeNode=require("./SimpleTreeNode"),AsyncTreeNode=require("./AsyncTreeNode"),NotDefinedAsyncTreeNode=require("./NotDefinedAsyncTreeNode"),AsyncTree=function(){function AsyncTree(rootField){!function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,AsyncTree),this.rootField=rootField,this.nodes=[]}var Constructor,protoProps,staticProps;return Constructor=AsyncTree,(protoProps=[{key:"create",value:function(){return this.createAsyncTreeNode(this.rootField,new NotDefinedAsyncTreeNode,0),this}},{key:"call",value:function(){this.nodes.filter(function(node){return node.isLeaf()}).forEach(function(leaf){leaf.call()})}},{key:"createChildNodes",value:function(field,parent){var _this=this;field.iterateArgs(function(argAsField,index,isAsyncObject,isEvent){isAsyncObject?_this.createAsyncTreeNode(argAsField,parent,index):isEvent?_this.createSimpleTreeNode(function(){argAsField.body.apply(argAsField,arguments)},parent,index):_this.createSimpleTreeNode(argAsField,parent,index)})}},{key:"createAsyncTreeNode",value:function(field,parent,index){var asyncTreeNode=new AsyncTreeNode(field,parent,index);this.nodes.push(asyncTreeNode),this.createChildNodes(field,asyncTreeNode)}},{key:"createSimpleTreeNode",value:function(field,parent,index){var treeNode=new SimpleTreeNode(field,parent,index);this.nodes.push(treeNode)}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),AsyncTree}();module.exports=AsyncTree},{"./AsyncTreeNode":101,"./NotDefinedAsyncTreeNode":103,"./SimpleTreeNode":104}],101:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _toConsumableArray(arr){return function(arr){if(Array.isArray(arr)){for(var i=0,arr2=new Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}}(arr)||function(iter){if(Symbol.iterator in Object(iter)||"[object Arguments]"===Object.prototype.toString.call(iter))return Array.from(iter)}(arr)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _get(target,property,receiver){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(target,property,receiver){var base=function(object,property){for(;!Object.prototype.hasOwnProperty.call(object,property)&&null!==(object=_getPrototypeOf(object)););return object}(target,property);if(base){var desc=Object.getOwnPropertyDescriptor(base,property);return desc.get?desc.get.call(receiver):desc.value}})(target,property,receiver||target)}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var TreeNode=require("./TreeNode"),AsyncTreeNode=function(_TreeNode){function AsyncTreeNode(field,parent,position){var _this;return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,AsyncTreeNode),(_this=_possibleConstructorReturn(this,_getPrototypeOf(AsyncTreeNode).call(this,field,parent,position))).argResults=[],_this.readyResultsNum=0,_this}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(AsyncTreeNode,TreeNode),Constructor=AsyncTreeNode,(protoProps=[{key:"call",value:function(){var args=this.argResults;try{var asyncCall=this.field.asyncCall();this.field.callbackWithError()?this.invokeAsyncCallWithError.apply(this,[asyncCall].concat(_toConsumableArray(args))):this.invokeAsyncCallWithoutError.apply(this,[asyncCall].concat(_toConsumableArray(args)))}catch(error){if("asyncCall or syncCall must be defined"!==error.message)this.field.continueAfterFail()?this.field.onErrorAndResult(error):this.field.onError(error);else{var syncCall=this.field.syncCall();this.invokeSyncCall.apply(this,[syncCall].concat(_toConsumableArray(args)))}}}},{key:"isLeaf",value:function(){return this.field.hasNoArgs()}},{key:"readyToBeInvoked",value:function(){return this.field.readyToBeInvoked(this.readyResultsNum)}},{key:"hasParent",value:function(){return this.parent instanceof AsyncTreeNode}},{key:"insertArgumentResult",value:function(position,result){this.argResults[position]=result,this.readyResultsNum+=1}},{key:"invokeAsyncCallWithError",value:function(asyncCall){for(var _this2=this,_len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];asyncCall.apply(void 0,args.concat([function(error){for(var _len2=arguments.length,results=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)results[_key2-1]=arguments[_key2];_this2.processedError.apply(_this2,[error].concat(results))||_this2.processedResult.apply(_this2,results)}]))}},{key:"invokeAsyncCallWithoutError",value:function(asyncCall){for(var _this3=this,_len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];asyncCall.apply(void 0,args.concat([function(){_this3.processedResult.apply(_this3,arguments)}]))}},{key:"invokeSyncCall",value:function(syncCall){try{for(var _len4=arguments.length,args=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)args[_key4-1]=arguments[_key4];var syncCallResult=syncCall.apply(void 0,args);this.processedResult(syncCallResult)}catch(error){this.processedError(error)}}},{key:"processedError",value:function(error){var isProcessed=!1;if(null!=error){if(this.field.continueAfterFail()){for(var _this$field,_len5=arguments.length,results=new Array(_len5>1?_len5-1:0),_key5=1;_key5<_len5;_key5++)results[_key5-1]=arguments[_key5];var totalResult=(_this$field=this.field).onErrorAndResult.apply(_this$field,[error].concat(results));this.field.saveValueIntoCacheIfNeeded(totalResult),this.hasParent()?_get(_getPrototypeOf(AsyncTreeNode.prototype),"callParent",this).call(this,totalResult):this.field.callNextTreeIfExists()}else this.field.onError(error);isProcessed=!0}return isProcessed}},{key:"processedResult",value:function(){for(var totalResult,_this$field2,_this$field3,_len6=arguments.length,results=new Array(_len6),_key6=0;_key6<_len6;_key6++)results[_key6]=arguments[_key6];this.field.continueAfterFail()?totalResult=(_this$field2=this.field).onErrorAndResult.apply(_this$field2,[null].concat(results)):totalResult=(_this$field3=this.field).onResult.apply(_this$field3,results);return this.field.saveValueIntoCacheIfNeeded(totalResult),this.hasParent()?_get(_getPrototypeOf(AsyncTreeNode.prototype),"callParent",this).call(this,totalResult):this.field.callNextTreeIfExists(),!0}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),AsyncTreeNode}();module.exports=AsyncTreeNode},{"./TreeNode":105}],102:[function(require,module,exports){"use strict";function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}var Event=function(){function Event(){!function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,Event)}var Constructor,protoProps,staticProps;return Constructor=Event,(protoProps=[{key:"body",value:function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];throw new Error("Method body must be overriden with arguments ".concat(args," of the event/eventListener you call"))}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Event}();module.exports=Event},{}],103:[function(require,module,exports){"use strict";module.exports=function NotDefinedAsyncTreeNode(){!function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,NotDefinedAsyncTreeNode)}},{}],104:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _get(target,property,receiver){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(target,property,receiver){var base=function(object,property){for(;!Object.prototype.hasOwnProperty.call(object,property)&&null!==(object=_getPrototypeOf(object)););return object}(target,property);if(base){var desc=Object.getOwnPropertyDescriptor(base,property);return desc.get?desc.get.call(receiver):desc.value}})(target,property,receiver||target)}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var TreeNode=require("./TreeNode"),SimpleTreeNode=function(_TreeNode){function SimpleTreeNode(field,parent,position){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,SimpleTreeNode),_possibleConstructorReturn(this,_getPrototypeOf(SimpleTreeNode).call(this,field,parent,position))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(SimpleTreeNode,TreeNode),Constructor=SimpleTreeNode,(protoProps=[{key:"call",value:function(){_get(_getPrototypeOf(SimpleTreeNode.prototype),"callParent",this).call(this,this.field)}},{key:"isLeaf",value:function(){return!0}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),SimpleTreeNode}();module.exports=SimpleTreeNode},{"./TreeNode":105}],105:[function(require,module,exports){"use strict";function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}var TreeNode=function(){function TreeNode(field,parent,position){!function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,TreeNode),this.field=field,this.parent=parent,this.position=position}var Constructor,protoProps,staticProps;return Constructor=TreeNode,(protoProps=[{key:"call",value:function(result){throw result=result||"",new Error("call must be overridden and insert result ".concat(result," into parent node"))}},{key:"isLeaf",value:function(){throw new Error("isLeaf must be overridden")}},{key:"callParent",value:function(result){this.parent.insertArgumentResult(this.position,result),this.parent.readyToBeInvoked()&&this.parent.call()}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),TreeNode}();module.exports=TreeNode},{}],106:[function(require,module,exports){"use strict";module.exports={AsyncObject:require("./AsyncObject"),Event:require("./Event"),as:require("./As")}},{"./As":98,"./AsyncObject":99,"./Event":102}],107:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}var ElementWithMappedObject=function(){function ElementWithMappedObject(elm,obj){_classCallCheck(this,ElementWithMappedObject),this.elm=elm,this.obj=obj}return _createClass(ElementWithMappedObject,[{key:"value",value:function(){if(null==this.elm)throw new Error("Mapping element is not found");if(!this.isTemplate(this.elm))throw new Error("Mapping element must be <template>");var elmContentNode=document.importNode(this.elm.content,!0),objName=this.elm.getAttribute("data-object-name");if(!objName)throw new Error('Mapping element must have attribute "data-object-name"');var initialization="const ".concat(objName," = obj");return this.map(elmContentNode,this.obj,initialization),this.releaseTemplate(elmContentNode),this.elm}},{key:"releaseTemplate",value:function(elmContentNode){if(this.isTemplate(this.elm,"e-reusable"))if(this.elm.hasAttribute("data-prepend-to")){var parentNode=document.querySelector(this.elm.getAttribute("data-prepend-to"));if(!parentNode)throw new Error('element is not found by the selector in the attribute "data-prepend-to"');parentNode.prepend(elmContentNode)}else if(this.elm.hasAttribute("data-append-to")){var _parentNode=document.querySelector(this.elm.getAttribute("data-append-to"));if(!_parentNode)throw new Error('element is not found by the selector in the attribute "data-append-to"');_parentNode.append(elmContentNode)}else this.elm.parentNode.insertBefore(elmContentNode,this.elm);else this.elm.parentNode.replaceChild(elmContentNode,this.elm)}},{key:"map",value:function(elm,obj,initialization){var _this=this;this.iterateChildNodes(elm,function(node){_this.isTemplate(node,"e-for-each")?_this.activateEForEach(node,obj,initialization):_this.isTemplate(node,"e-if")?_this.activateEIf(node,obj,initialization):_this.iterateAttributes(node,function(attr){if(_this.isForProcessing(attr)&&node.setAttribute(attr.name,_this.appliedExpressionsInString(attr.value,initialization,obj)),"data-text"===attr.name){var textNode=document.createTextNode(attr.value);0===node.childNodes.length?node.appendChild(textNode):node.insertBefore(textNode,node.childNodes[0]),node.removeAttribute("data-text")}else"data-value"===attr.name&&(node.value=attr.value,node.removeAttribute("data-value"))})})}},{key:"iterateChildNodes",value:function(elm,func){var _this2=this;Array.from(elm.childNodes).forEach(function(node){func(node),0!==node.childNodes.length&&_this2.iterateChildNodes(node,func)})}},{key:"iterateAttributes",value:function(elm,func){elm.attributes&&Array.from(elm.attributes).forEach(function(attr){func(attr)})}},{key:"isForProcessing",value:function(attr){return-1===["data-actions-on-response","data-list-to-iterate","data-item-name"].indexOf(attr.name)&&/\$\{([^${}]+)\}/gm.test(attr.value)}},{key:"isTemplate",value:function(node,type){var nodeName=node.nodeName.toLowerCase();return type?"template"===nodeName&&node.getAttribute("is")===type:"template"===nodeName}},{key:"activateEIf",value:function(node,obj,initialization){var toDisplayExpression=node.getAttribute("data-condition-to-display");if(!toDisplayExpression)throw new Error('e-if must have "data-condition-to-display" attribute');if("true"===this.appliedExpressionsInString(toDisplayExpression,initialization,obj).trim()){var contentNode=document.importNode(node.content,!0);this.map(contentNode,obj,initialization),node.parentNode.insertBefore(contentNode,node)}node.parentNode.removeChild(node)}},{key:"activateEForEach",value:function activateEForEach(node,obj,initialization){var _this3=this,listDefinitionExpression=node.getAttribute("data-list-to-iterate"),itemName=node.getAttribute("data-item-name");if(!listDefinitionExpression)throw new Error('e-for-each must have "data-list-to-iterate" attribute');if(!itemName)throw new Error('e-for-each must have "data-item-name" attribute');var listDefinitionExpressionBody=this.getBodyOfExpression(listDefinitionExpression),list=eval("\n        ".concat(initialization,"\n        ").concat(listDefinitionExpressionBody,"\n      ")),listFragment=document.createDocumentFragment();list.forEach(function(item,index){item.index=index+1;var itemInitialization="\n        ".concat(initialization,"\n        const ").concat(itemName," = ").concat(listDefinitionExpressionBody,"[").concat(index,"]\n      "),itemContentNode=document.importNode(node.content,!0);_this3.map(itemContentNode,obj,itemInitialization),listFragment.appendChild(itemContentNode)}),node.parentNode.replaceChild(listFragment,node)}},{key:"appliedExpressionsInString",value:function appliedExpressionsInString(string,initialization,obj){return string.replace(/\$\{([^${}]+)\}/gm,function(match,p1){var appliedExpression=eval("\n          ".concat(initialization,"\n          ").concat(p1,"\n        "));return"object"===_typeof(appliedExpression)?JSON.stringify(appliedExpression):appliedExpression})}},{key:"getBodyOfExpression",value:function(expression){return expression.replace(/\$\{([^${}]+)\}/gm,function(match,p1){return p1})}}]),ElementWithMappedObject}();module.exports=ElementWithMappedObject},{}],108:[function(require,module,exports){"use strict";module.exports={ElementWithMappedObject:require("./ElementWithMappedObject")}},{"./ElementWithMappedObject":107}],109:[function(require,module,exports){"use strict";module.exports=function ShowFileReaderEndEvent(progressBar,filesRead,filesLength){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ShowFileReaderEndEvent),progressBar?function(){filesRead.count+=1,filesRead.count===filesLength?progressBar.style.display="none":progressBar.value=0}:function(){}}},{}],110:[function(require,module,exports){"use strict";module.exports=function ShowFileReaderProgressEvent(progressBar){return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ShowFileReaderProgressEvent),progressBar?function(event){if(event.lengthComputable){progressBar.style.display="";var percentComplete=parseInt(event.loaded/event.total*100);progressBar.value=percentComplete}}:function(){}}},{}],111:[function(require,module,exports){"use strict";function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _possibleConstructorReturn(self,call){return!call||"object"!==_typeof(call)&&"function"!=typeof call?function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self):call}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var AsyncObject=require("./../cutie/exports").AsyncObject,ShowProgressEvent=function(_AsyncObject){function ShowProgressEvent(progressBar){var removeProgressBarAfter=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ShowProgressEvent),_possibleConstructorReturn(this,_getPrototypeOf(ShowProgressEvent).call(this,progressBar,removeProgressBarAfter))}var Constructor,protoProps,staticProps;return function(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}(ShowProgressEvent,AsyncObject),Constructor=ShowProgressEvent,(protoProps=[{key:"syncCall",value:function(){return function(progressBar,removeProgressBarAfter){return progressBar?function(event){if(event.lengthComputable){progressBar.style.display="";var percentComplete=parseInt(event.loaded/event.total*100);progressBar.value=percentComplete,100===progressBar.value&&(removeProgressBarAfter?progressBar.parentNode.removeChild(progressBar):progressBar.style.display="none")}}:function(){}}}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),ShowProgressEvent}();module.exports=ShowProgressEvent},{"./../cutie/exports":106}],112:[function(require,module,exports){"use strict";module.exports={ShowFileReaderEndEvent:require("./ShowFileReaderEndEvent"),ShowFileReaderProgressEvent:require("./ShowFileReaderProgressEvent"),ShowProgressEvent:require("./ShowProgressEvent")}},{"./ShowFileReaderEndEvent":109,"./ShowFileReaderProgressEvent":110,"./ShowProgressEvent":111}],113:[function(require,module,exports){"use strict";module.exports=function FileInfo(name,size,type,content,lastModifiedDate){!function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,FileInfo),this.name=name,this.size=size,this.type=type,this.content=content,this.lastModifiedDate=lastModifiedDate}},{}],114:[function(require,module,exports){"use strict";module.exports={FileInfo:require("./FileInfo")}},{"./FileInfo":113}],115:[function(require,module,exports){"use strict";function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}var StringBuffer=function(){function StringBuffer(){!function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,StringBuffer),this.strings=[]}var Constructor,protoProps,staticProps;return Constructor=StringBuffer,(protoProps=[{key:"append",value:function(string){this.strings.push(string)}},{key:"toString",value:function(){return this.strings.join("")}}])&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),StringBuffer}();module.exports=StringBuffer},{}],116:[function(require,module,exports){"use strict";module.exports={StringBuffer:require("./StringBuffer")}},{"./StringBuffer":115}],117:[function(require,module,exports){"use strict";function _construct(Parent,args,Class){return(_construct=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?Reflect.construct:function(Parent,args,Class){var a=[null];a.push.apply(a,args);var instance=new(Function.bind.apply(Parent,a));return Class&&_setPrototypeOf(instance,Class.prototype),instance}).apply(null,arguments)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function(o,p){return o.__proto__=p,o})(o,p)}var as=require("./cutie/exports").as,ActionByNameWithParams=require("./actions/exports").ActionByNameWithParams,StringFromBuffer=require("./async-string/exports").StringFromBuffer,_require4=require("./async-ajax/exports"),ResponseFromAjaxRequest=_require4.ResponseFromAjaxRequest,ResponseBody=_require4.ResponseBody,CreatedOptions=require("./async-object/exports").CreatedOptions,_require6=require("./async-dom/exports"),ReplacedElementWithAnotherOne=_require6.ReplacedElementWithAnotherOne,ExtractedDocument=_require6.ExtractedDocument,BodyOfDocument=_require6.BodyOfDocument,TitleOfDocument=_require6.TitleOfDocument,FaviconOfDocument=_require6.FaviconOfDocument,ChangedPageTitle=_require6.ChangedPageTitle,ChangedPageFavicon=_require6.ChangedPageFavicon;if(!window.customElements)throw window.stop(),new Error("Your browser does not support custom elements so you cannot use EHTML as it's based on them.");sessionStorage.getItem("isFirstStatePushedToHistory")||sessionStorage.setItem("isFirstStatePushedToHistory","false");var retrievedValue=function(target,value){return value instanceof Function?value(target):value};window.onpopstate=function(event){event.state&&new ExtractedDocument(new StringFromBuffer(new ResponseBody(new ResponseFromAjaxRequest(new CreatedOptions("url",event.state.url,"method","GET","headers",event.state.headers))))).as("DOC").after(new ReplacedElementWithAnotherOne(document.body,new BodyOfDocument(as("DOC"))).after(new ChangedPageTitle(document,new TitleOfDocument(as("DOC"))).after(new ChangedPageFavicon(document,new FaviconOfDocument(as("DOC")))))).call()},window.onbeforeunload=function(){sessionStorage.removeItem("isFirstStatePushedToHistory")},window.redirect=function(target,url){new ActionByNameWithParams("redirect",retrievedValue(target,url)).value().call()},window.saveToLocalStorage=function(target,key,value){new ActionByNameWithParams("saveToLocalStorage",retrievedValue(target,key),retrievedValue(target,value)).value().call()},window.saveToSessionStorage=function(target,key,value){new ActionByNameWithParams("saveToSessionStorage",retrievedValue(target,key),retrievedValue(target,value)).value().call()},window.hideElms=function(){for(var _len=arguments.length,elmSelectors=new Array(_len),_key=0;_key<_len;_key++)elmSelectors[_key]=arguments[_key];_construct(ActionByNameWithParams,["hideElms"].concat(elmSelectors)).value().call()},window.showElms=function(){for(var _len2=arguments.length,elmSelectors=new Array(_len2),_key2=0;_key2<_len2;_key2++)elmSelectors[_key2]=arguments[_key2];_construct(ActionByNameWithParams,["showElms"].concat(elmSelectors)).value().call()},window.disableElms=function(){for(var _len3=arguments.length,elmSelectors=new Array(_len3),_key3=0;_key3<_len3;_key3++)elmSelectors[_key3]=arguments[_key3];_construct(ActionByNameWithParams,["disableElms"].concat(elmSelectors)).value().call()},window.enableElms=function(){for(var _len4=arguments.length,elmSelectors=new Array(_len4),_key4=0;_key4<_len4;_key4++)elmSelectors[_key4]=arguments[_key4];_construct(ActionByNameWithParams,["enableElms"].concat(elmSelectors)).value().call()},window.removeElms=function(){for(var _len5=arguments.length,elmSelectors=new Array(_len5),_key5=0;_key5<_len5;_key5++)elmSelectors[_key5]=arguments[_key5];_construct(ActionByNameWithParams,["removeElms"].concat(elmSelectors)).value().call()},window.innerHTML=function(target,elm,url,headers){new ActionByNameWithParams("innerHTML",retrievedValue(target,elm),retrievedValue(target,url),retrievedValue(target,headers)).value().call()},window.addHTMLTo=function(target,elm,url,headers){new ActionByNameWithParams("addHTMLTo",retrievedValue(target,elm),retrievedValue(target,url),retrievedValue(target,headers)).value().call()},window.textContent=function(target,elm,url,headers){new ActionByNameWithParams("textContent",retrievedValue(target,elm),retrievedValue(target,url),retrievedValue(target,headers)).value().call()},window.changeValueOf=function(target,elmSelector,newValue){new ActionByNameWithParams("changeValueOf",elmSelector,retrievedValue(target,newValue)).value().call()},window.updateAttribute=function(target,elmSelector,attrName,newValue){new ActionByNameWithParams("updateAttribute",elmSelector,attrName,retrievedValue(target,newValue)).value().call()},window.mapToTemplate=function(target,obj,elmSelector){new ActionByNameWithParams("mapToTemplate",retrievedValue(target,obj),elmSelector).value().call()},window.toggleElms=function(className){for(var _len6=arguments.length,elmSelectors=new Array(_len6>1?_len6-1:0),_key6=1;_key6<_len6;_key6++)elmSelectors[_key6-1]=arguments[_key6];_construct(ActionByNameWithParams,["toggleElms",className].concat(elmSelectors)).value().call()},window.turboRedirect=function(target,href){var headers=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},_ref=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},progressBarPlace=_ref.progressBarPlace,progressBarClassName=_ref.progressBarClassName,ajaxFavicon=_ref.ajaxFavicon;new ActionByNameWithParams("turboRedirect",retrievedValue(target,href),retrievedValue(target,headers),{progressBarPlace:progressBarPlace,progressBarClassName:progressBarClassName,ajaxFavicon:ajaxFavicon}).value().call()}},{"./actions/exports":24,"./async-ajax/exports":31,"./async-dom/exports":65,"./async-object/exports":84,"./async-string/exports":93,"./cutie/exports":106}]},{},[20,21,22,24,23,30,31,25,26,27,28,29,33,32,34,35,36,37,38,39,46,40,41,42,43,44,45,47,48,65,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,68,66,67,69,71,70,75,72,73,74,79,76,77,78,81,80,82,84,83,91,85,86,87,88,89,90,93,92,94,95,96,97,98,99,100,101,102,106,103,104,105,107,108,3,2,4,5,6,7,9,8,10,11,12,13,14,15,16,17,1,18,112,109,110,111,114,113,19,116,115,117]);