{"version":3,"sources":["dist/js/ew.js"],"names":["$","_interopDefaultLegacy","e","default","$__default","jQuery","commonjsGlobal","globalThis","window","global","self","basedir","module","regenerator","runtime","exports","undefined$1","Op","Object","prototype","hasOwn","hasOwnProperty","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","obj","key","value","defineProperty","enumerable","configurable","writable","err","wrap","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","create","context","Context","_invoke","state","GenStateSuspendedStart","method","arg","GenStateExecuting","Error","GenStateCompleted","doneResult","delegate","delegateResult","maybeInvokeDelegate","ContinueSentinel","sent","_sent","dispatchException","abrupt","record","tryCatch","type","done","GenStateSuspendedYield","makeInvokeMethod","fn","call","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","this","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","AsyncIterator","PromiseImpl","invoke","resolve","reject","result","__await","then","unwrapped","error","previousPromise","callInvokeWithMethodAndArg","TypeError","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","length","i","constructor","displayName","isGeneratorFunction","genFun","ctor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","toString","keys","object","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","catch","thrown","delegateYield","regeneratorRuntime","accidentalStrictMode","Function","path","require","base","commonjsRequire","_createForOfIteratorHelperLoose","o","allowArrayLike","it","Array","isArray","minLen","_arrayLikeToArray","n","from","test","_unsupportedIterableToArray","bind","arr","len","arr2","Blob","FormData","normalizeValue","_ref","filename","File","lastModified","ensureArgs","args","expected","normalizeArgs","String","undefined","each","cb","global$1","_FormData","_send","XMLHttpRequest","send","_fetch","Request","fetch","_sendBeacon","navigator","sendBeacon","stringTag","a","b","d","c","blob","t","Date","defineProperties","lastModifiedDate","FormDataPolyfill","form","_data","elements","elm","disabled","files","file","append","options","opt","selected","checked","replace","normalizeLinefeeds","_proto","arguments","_normalizeArgs$apply","apply","map","delete","entries","_iterator","_step","_context","t0","t1","callback","thisArg","_step2","_iterator2","_step2$value","get","getAll","has","_iterator3","_step3","_step3$value","_context2","set","_iterator4","_step4","_step4$value","_context3","_step5","fd","_iterator5","_step5$value","_step6","boundary","Math","random","chunks","_iterator6","_step6$value","setRequestHeader","toLowerCase","_hasContentType","data","_fetch2","input","init","body","url","Validators","userLevelId","el","ew","checkInteger","language","phrase","parseInt","userLevelName","id","elId","document","getElementById","trim","level","sameText","includes","required","fieldName","_$el$data","$el","$p","closest","substr","css","hasValue","fileRequired","elFn","mismatchPassword","startsWith","elPwd","between","x","z","val","passwordStrength","isMaskedPassword","hasClass","username","raw","match","RegExp","escapeRegExChars","INVALID_USERNAME_CHARACTERS","password","ENCRYPTED_PASSWORD","INVALID_PASSWORD_CHARACTERS","email","getValue","checkEmail","emails","cnt","checkEmails","datetime","dateFormat","phraseId","newSubStr","DATE_SEPARATOR","checkShortDate","checkDate","checkShortEuroDate","checkEuroDate","checkShortUSDate","checkUSDate","checkDateDef","DATE_FORMAT","time","checkTime","float","checkNumber","range","min","max","checkRange","integer","phone","checkPhone","zip","checkZip","creditCard","checkCreditCard","ssn","checkSsn","guid","checkGuid","regex","pattern","checkByRegEx","custom","_len","_key","concat","captcha","recaptcha","_grecaptcha","grecaptcha","getResponse","dataset","_defineProperties","target","props","descriptor","createClass","Constructor","protoProps","staticProps","assertThisInitialized","ReferenceError","inheritsLoose","subClass","superClass","asyncGeneratorStep","gen","_next","_throw","asyncToGenerator","FormBase","pageId","_initiated","$element","htmlForm","initSearchPanel","modified","validateRequired","validate","emptyRow","multiPage","autoSuggests","lists","disableForm","getForm","find","prop","addClass","enableForm","$form","removeClass","appendHidden","$dp","attr","ar","serializeArray","appendTo","canSubmit","updateTextArea","$dps","dp","j","$els","not","submit","_callee","action","f","trigger","isBoolean","isObject","_x","_x2","getList","compileTemplates","_i","_lists","list","template","isString","templates","is","getElement","getElements","selector","updateLists","rowindex","isNumber","confirm","querySelector","removeSpinner","fixId","multiple","split","prefix","endsWith","_ref2","join","actions","promises","_i2","_Object$entries","_Object$entries$_i","_id","parents","parentFields","parent","ajax","pvalues","getOptionValues","updateOptions","setTimeout","shift","AJAX_DELAY","all","source","console","log","createAutoSuggest","settings","assign","limit","AUTO_SUGGEST_MAX_ENTRIES","autoSuggestSettings","AutoSuggest","initEditors","filter","ed","active","save","destroyEditor","destroy","onError","msg","initUpload","index","later","upload","setupFilters","filters","filterList","$sf","toggleClass","$df","$delete","$save","saveFilters","SEARCH_FILTER_OPTION","localStorage","setItem","JSON","stringify","$body","currentPage","dataType","success","always","off","on","prompt","sanitize","prevAll","remove","$submenu","splice","insertBefore","TOKEN_NAME_KEY","TOKEN_NAME","ANTIFORGERY_TOKEN_KEY","ANTIFORGERY_TOKEN","IS_LOGGEDIN","IS_SYS_ADMIN","CURRENT_USER_NAME","item","getItem","parseJson","grep","show","hide","isSearch","hasFormData","collapse","text","render","loadjs","ready","$tab","getAttribute","$panel","$container","width","CONFIRM_CANCEL","href","location","forms","add","ownKeys","enumerableOnly","getOwnPropertySymbols","symbols","sym","getOwnPropertyDescriptor","_objectSpread","getOwnPropertyDescriptors","_createForOfIteratorHelperLoose$1","_arrayLikeToArray$1","_unsupportedIterableToArray$1","Field","fldvar","validators","invalid","validator","addValidator","addError","_this$_error","_error","clearErrors","clearValidators","_element","shouldValidate","updateFeedback","errorMessage","html","setInvalid","focus","setFocus","_checkbox","_this$_element","_this$_element$id","ownKeys$1","_objectSpread$1","_createForOfIteratorHelperLoose$2","_arrayLikeToArray$2","_unsupportedIterableToArray$2","Form","_FormBase","_this","addField","fields","getField","addFields","field","addCustomError","makeVisible","element","gotoPageByElement","$pane","click","validateFields","rowIndex","row","_Object$values","_i3","_Object$values2","AjaxLookup","elementId","formElement","m","pf","debounce","recordCount","formatResult","isAutoSuggest","jsRenderHelpers","displayValue","generateRequest","page","LANGUAGE_ID","getUserParams","arp","MULTIPLE_OPTION_SEPARATOR","getUrl","query","start","params","URLSearchParams","q","rnd","getApiUrl","API_LOOKUP_ACTION","prepare","transform","results","totalRecordCount","records","_isAutoSuggest","SelectionListOption","emptyObj","typeahead","timer","$input","minWidth","maxHeight","highlight","hint","minLength","delay","display","forceSelection","forceSelect","setValue","v","findIndex","option","lf","syncResults","asyncResults","cancel","count","menu","$node","more","ta","datasets","_append","scrollTop","$lastSuggestion","outerHeight","isOpen","empty","$item","getActiveSelectable","close","tpl","$more","one","preventDefault","stopPropagation","$menu","$dataset","max-height","overflow-y","Forms","_forms","ids","_createForOfIteratorHelperLoose$3","_arrayLikeToArray$3","_unsupportedIterableToArray$3","ownKeys$2","_objectSpread$2","_fixLayoutHeightTimer","currentUrl","URL","$document","_removeSpinner","initIcons","tooltip","container","IS_MOBILE","placement","sanitizeFn","initPasswordOptions","pStrength","MIN_PASSWORD_STRENGTH","$this","changeBackground","backgrounds","passwordValidFrom","onPasswordStrengthChanged","strength","percentage","$pst","$pb","outerWidth","pct","pGenerator","passwordLength","GENERATE_PASSWORD_LENGTH","uppercase","GENERATE_PASSWORD_UPPERCASE","lowercase","GENERATE_PASSWORD_LOWERCASE","numbers","GENERATE_PASSWORD_NUMBER","specialChars","GENERATE_PASSWORD_SPECIALCHARS","onPasswordGenerated","pwd","triggerHandler","PATH_BASE","API_URL","qs","route","encodeURIComponent","sanitizeUrl","search","searchParams","decodeURIComponent","initExportLinks","fileDownload","initMultiSelectCheckboxes","$cbs","_update","isHtml","Swal","fire","sweetAlertSettings","showConfirmButton","allowOutsideClick","allowEscapeKey","willOpen","showLoading","cache","xhrFields","responseType","textStatus","jqXHR","createObjectURL","createElement","getResponseHeader","style","download","appendChild","objectUrl","revokeObjectURL","fail","errorThrown","_Swal$getActions","hideLoading","update","getActions","classList","showValidationMessage","lazyLoad","LAZY_LOAD","src","initLightboxes","USE_COLORBOX","lightboxSettings","title","current","previous","xhrError","imgError","colorbox","rel","initPdfObjects","EMBED_PDF","PDFObjectOptions","PDFObject","embed","fallbackLink","initTooltips","popover","parse","isFunction","_prompt","confirmButtonText","showCancelButton","cancelButtonText","inputValidator","toast","toastOptions","Toasts","position","toUpperCase","substring","children","first","showToast","class","autohide","autoHideSuccessMessage","autoHideSuccessMessageDelay","$f","parentId","change","isUndefined","childFields","promise","els","getId","names","$elf","typ","elf","_updateOptions","autoFillTargetFields","autoFill","fo","frmo","$obj","clearOptions","addOpt","valid","newOption","selectOption","_updateSibling","lookupOptions","ds","isModalLookup","root","convertToBool","_export","sel","fobj","keySelected","_alert","serialize","end","isHiddenTextArea","isHidden","selectAll","setColor","$row","$tbl","ROWTYPE_ADD","ROWTYPE_EDIT","clearSelected","tbl","rows","r","$r","clearDelete","$tr","siblings","addBack","clickDelete","setupTable","force","$rows","tBodies","mouseOver","mouseOut","$target","cells","last","div","parentsUntil","RESPONSIVE_TABLE_CLASS","rowSpan","clientHeight","offsetHeight","attach","edit","sw","setupGrid","grid","$grid","USE_OVERLAY_SCROLLBARS","overlayScrollbars","overlayScrollbarsOptions","table","getAncestorBy","node","parentNode","nodeType","contains","o1","o2","lookup","getOptionTexts","lo","hasAttribute","removeAll","valueSeparator","sep","df","isValue","optionHtml","OPTION_HTML_TEMPLATE","optionsHtml","MAX_OPTION_COUNT","frm","df1","df2","df3","df4","innerHTML","selectedIndex","vals","_opts","_opt","isAutoSelect","_opts2","_ajaxStop","lastPageSubmit","executeScript","matches","matchAll","addScript","stripScript","_ar2","scr","removeScript","getContent","getOptions","modalDialogHide","$dlg","removeData","$bd","ewjtable","className","reload","dest_array","destEl","v0","pid","post","$tt","trig","dir","CSS_FLIP","content","wd","$tip","getTipElement","object_value","checkDateEx","format","arDT","re","sYear","sMonth","sDay","exec","wrksep","arD","unformatYear","checkDay","yr","UNFORMAT_YEAR","checkYear","checkMonth","maxDay","ts","THOUSANDS_SEP","DECIMAL_POINT","stringToFloat","parseFloat","str","min_value","max_value","isNull","TIME_SEPARATOR","showMessage","_arg$target","doc","swal","win","p","$div","$alert","$heading","detach","$content","w","$toast","floor","redirect","newUrl","ajaxSend","event","jqxhr","apiUrl","isApi","allowed","hostname","API_JWT_TOKEN","IS_WINDOWS_AUTHENTICATION","API_JWT_AUTHORIZATION_HEADER","ajaxStart","addSpinner","ajaxStop","ajaxError","functions","createSelect","opts","selectId","select2","amd","Utils","ResultsList","InfiniteScroll","HidePlaceholder","SelectOnClose","selectOptions","resultsAdapter","dropdown","columns","customOption","Decorate","Select2CustomOption","decorated","$results","displayMessage","escapeMarkup","clear","$message","message","sort","cols","$option","attrs","role","aria-selected","Element","msMatchesSelector","webkitMatchesSelector","_resultId","setAttribute","StoreData","getSelect2CustomOptionClass","iconClass","templateResult","HTMLOptionElement","placeholder","selectOnClose","term","processResults","pagination","$select","_$$","minimumResultsForSearch","Infinity","setSessionTimer","timeoutTime","keepAliveTimer","counter","useKeepAlive","SESSION_KEEP_ALIVE_INTERVAL","IS_AUTOLOGIN","keepAlive","API_SESSION_ACTION","token","resetTimer","SESSION_TIMEOUT_COUNTDOWN","SESSION_TIMEOUT","timeout","timerInterval","timerProgressBar","setInterval","sec","timeleft","round","getTimerLeft","textContent","onClose","clearInterval","setTimer","dismiss","DismissReason","TIMEOUT_URL","keepAliveInterval","updateDropdownPosition","select","_positionDropdown","_resizeDropdown","searchOperatorChanged","parm","$fld","$fld2","hasY","$cond","hasCond","$and","opr","$opr2","opr2","isBetween","isNullOpr","isNullOpr2","hideOpr2","hideX","hideY","setSearchType","applyTemplate","divId","tmplId","classId","exportType","export","enabled","replaceWith","_document$getElementB","querySelectorAll","subtmpl","rowspan","childNodes","cloneNode","views","hasTag","jsRenderAttributes","scripts","tmpl","$meta","PDF_STYLESHEET_FILENAME","PROJECT_STYLESHEET_FILENAME","responseText","customexport","param","toggleGroup","idx","valueChanged","infix","fld","bool","nelm","oelm","fnelm","setLanguage","submitAction","srcElement","currentForm","isPost","isMultiple","_success","_submit","k","removeSpaces","alert","clearError","jquery","instance","once","shiftKey","ctrlKey","confirmDelete","selectAllKey","updateSelected","clickMultiCheckbox","$cb","addGridRow","$tpl","$lastrow","clone","suffix","$elkeycnt","keycnt","data-rowindex","attributes","after","scrollHeight","deleteGridRow","rowidx","keycntname","_delete","$keyact","htmlEncode","sameString","_val","_val2","addOptionDialogShow","addOptionDialog","_submitSuccess","_results","lnk","objName","API_OBJECT_NAME","modal","linkField","dfs","displayFields","ffs","filterFields","pfs","lfv","ff","txt","$lu","nv","arOpt","obj2","ar2","_results2","_results$error","description","_results3","failureMessage","_fail","status","statusText","btn","$btn","API_ADD_ACTION","filterFieldVars","nodeName","modalDialogShow","modalDialog","showing","size","_caption","$lnk","caption","_button","_always","handleResult","pathname","_current","view","warningMessage","successMessage","_result$error","_result$error2","footer","cf","ct","modalLookupShow","modalLookupDialog","_timer","$search","oid","_format","setAutoSuggest","txts","useText","srch","arLinkValue","linkValue","paging","pageSize","pageSizes","pageSizeChangeArea","pageList","selecting","selectingCheckboxes","multiselect","listAction","postData","jtParams","recperpage","messages","serverCommunicationError","loadingMessage","spinnerClass","noDataAvailable","pagingInfo","pageSizeChangeLabel","gotoPageLabel","recordsLoaded","selectedRows","selectionChanged","indexOf","toggle","LOOKUP_DELAY","sv","importDialogShow","importDialog","$data","$progress","classname","$msg","hideMessage","showProgress","pc","updateProgress","tcnt","totalCount","importProgress","API_PROGRESS_ACTION","API_FILE_TOKEN_NAME","importComplete","fileResults","fileResult","scnt","successCount","fcnt","failCount","showLog","failList","ecnt","importFail","formData","session","SESSION_ID","importUploadOptions","acceptFileTypes","IMPORT_FILE_ALLOWED_EXT","fileupload","API_UPLOAD_ACTION","autoUpload","singleFileUploads","maxFileSize","maxNumberOfFiles","minFileSize","beforeSend","importfiles","ok","filetoken","API_ACTION_NAME","xhr","importFiles","processfail","progressall","loaded","total","uploadProgress","hdr","emailDialogShow","emailDialog","MAX_EMAIL_RECIPIENT","exportid","exportWithCharts","showDrillDown","arUrl","pos","height","ypos","offset","top","pageY","xpos","left","pageX","drillDownCharts","cht","dispose","_convert","response","API_LIST_ACTION","API_VIEW_ACTION","API_DELETE_ACTION","responseJSON","toggleSearchOperator","stringToDate","creditcard_string","tempdigit","doubledigit","checkdigit","email_cnt","arEmails","nid","readonly","$ft","$fn","$fa","$fs","$exts","$maxsize","$maxfilecount","$label","label","_confirmDelete","_downloadTemplate","_uploadTemplate","uploadUrl","API_JQUERY_UPLOAD_ACTION","exts","maxsize","maxfilecount","multipart","loadImageFileTypes","loadVideoFileTypes","loadAudioFileTypes","filesContainer","uploadTemplateId","downloadTemplateId","uploadTemplate","downloadTemplate","previewMaxWidth","UPLOAD_THUMBNAIL_WIDTH","previewMaxHeight","UPLOAD_THUMBNAIL_HEIGHT","dropZone","pasteZone","MULTIPLE_UPLOAD_SEPARATOR","originalEvent","fid","_data$files","l","_data$files2","_data$result","_data$result$files","_data$files3","Event","parseNumber","config","regexBits","separator","thousandsSeparator","decimalSeparator","decimal","isFinite","formatNumber","decIndex","newOutput","isNeg","output","decPlaces","decimalPlaces","decSep","thouSep","toFixed","lastIndexOf","parseDate","makeArray","def","timesep","moment","formatDate","initPage","$tables","initGridPanel","renderJsTemplates","initForms","adminlte","Treeview","_jQueryInterface","$window","IS_SCREEN_SM_MIN","$rpt","mh","USE_JAVASCRIPT_MESSAGE","togglePassword","currentTarget","$i","exportId","exportUrl","now","exp","exportCharts","charts","toBase64Image","chart_engine","stream_type","stream","parameters","API_EXPORT_CHART_ACTION","fixLayoutHeight","layout","addEventHandlers","tblVar","events","fldVar","matchMedia","MOBILE_DETECT","MobileDetect","userAgent","mobile","IS_IE","version","MultiPage","formid","formID","pageIndex","maxPageIndex","minPageIndex","pageIndexes","$pages","$collapses","isTab","isCollapse","hideDisabledButton","hideInactivePages","lockTabs","hideTabs","showPagerTop","showPagerBottom","pagerTemplate","_show","_properties","before","pageShow","gotoPage","$page","eq","gotoPageByIndex","gotoPageByElementId","togglePage","$tabs","googleMaps","google","maps","setCenter","$bodies","$document$1","debugMode","DEBUG","hash","animate","zIndex","extend","isDate","when","periodic","interval","clearTimeout","rec","_this$data","visible","_this$data2","toNumber","toDate","toJsDate","_toggle","$currentTarget","treeviewMenu","isText","tagName","stopImmediatePropagation"],"mappings":";;;;CAIC,SAAUA,GACT,aAEA,SAASC,EAAuBC,GAAK,OAAOA,GAAkB,iBAANA,GAAkB,YAAaA,EAAIA,EAAI,CAAEC,QAAWD,GAE5G,IAAIE,EAA0BH,EAoiR9BI,QAliRIC,EAAuC,oBAAfC,WAA6BA,WAA+B,oBAAXC,OAAyBA,OAA2B,oBAAXC,OAAyBA,OAAyB,oBAATC,KAAuBA,KAAO,GAgB7L,IAdkCC,EAASC,EA4vBvCC,GA9uBiC,SAAUD,GAQ/C,IAAIE,EAAW,SAAUC,GAEvB,IAEIC,EAFAC,EAAKC,OAAOC,UACZC,EAASH,EAAGI,eAEZC,EAA4B,mBAAXC,OAAwBA,OAAS,GAClDC,EAAiBF,EAAQG,UAAY,aACrCC,EAAsBJ,EAAQK,eAAiB,kBAC/CC,EAAoBN,EAAQO,aAAe,gBAE/C,SAASC,EAAOC,EAAKC,EAAKC,GAOxB,OANAf,OAAOgB,eAAeH,EAAKC,EAAK,CAC9BC,MAAOA,EACPE,YAAY,EACZC,cAAc,EACdC,UAAU,IAELN,EAAIC,GAEb,IAEEF,EAAO,GAAI,IACX,MAAOQ,GACPR,EAAS,SAASC,EAAKC,EAAKC,GAC1B,OAAOF,EAAIC,GAAOC,GAItB,SAASM,EAAKC,EAASC,EAAS/B,EAAMgC,GAEpC,IAAIC,EAAiBF,GAAWA,EAAQtB,qBAAqByB,EAAYH,EAAUG,EAC/EC,EAAY3B,OAAO4B,OAAOH,EAAexB,WACzC4B,EAAU,IAAIC,EAAQN,GAAe,IAMzC,OAFAG,EAAUI,QAsMZ,SAA0BT,EAAS9B,EAAMqC,GACvC,IAAIG,EAAQC,EAEZ,OAAO,SAAgBC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C,KAAK,QAC3B8mC,EAAiC,KAAxBvhB,EAAM/nB,OAAOupC,SACrBF,EAAajlC,GAAG,kBAAoBklC,GAAUn+B,GAAgB,KAARA,GAAuB,uBAARA,IAG1Ehe,KAAKg8C,QAAQphB,GAEbA,EAAMyhB,6BAGR9gD,EAAoB,QAAE,2CAA2CugB,GAAG,SAAS,SAAUzgB,GACrF,IAAI2iB,EAAOziB,EAAoB,QAAEyE,MAAMqV,KAAK,QACxC2I,GAAgB,KAARA,GAAoC,QAArB3iB,EAAEwX,OAAO+1B,WAAoBjtC,OAAOsiB,SAAWD,MAtiR9E","sourcesContent":["/*!\n * JavaScript for ASP.NET Maker v2021.0.9\n * Copyright (c) e.World Technology Limited. All rights reserved.\n */\n(function ($) {\n 'use strict';\n\n function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\n var $__default = /*#__PURE__*/_interopDefaultLegacy($);\n\n var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};\n\n function createCommonjsModule(fn, basedir, module) {\n \treturn module = {\n \t path: basedir,\n \t exports: {},\n \t require: function (path, base) {\n return commonjsRequire(path, (base === undefined || base === null) ? module.path : base);\n }\n \t}, fn(module, module.exports), module.exports;\n }\n\n function commonjsRequire () {\n \tthrow new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');\n }\n\n var runtime_1 = createCommonjsModule(function (module) {\r\n /**\r\n * Copyright (c) 2014-present, Facebook, Inc.\r\n *\r\n * This source code is licensed under the MIT license found in the\r\n * LICENSE file in the root directory of this source tree.\r\n */\r\n\r\n var runtime = (function (exports) {\r\n\r\n var Op = Object.prototype;\r\n var hasOwn = Op.hasOwnProperty;\r\n var undefined$1; // More compressible than void 0.\r\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\r\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\r\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\r\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\r\n\r\n function define(obj, key, value) {\r\n Object.defineProperty(obj, key, {\r\n value: value,\r\n enumerable: true,\r\n configurable: true,\r\n writable: true\r\n });\r\n return obj[key];\r\n }\r\n try {\r\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\r\n define({}, \"\");\r\n } catch (err) {\r\n define = function(obj, key, value) {\r\n return obj[key] = value;\r\n };\r\n }\r\n\r\n function wrap(innerFn, outerFn, self, tryLocsList) {\r\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\r\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\r\n var generator = Object.create(protoGenerator.prototype);\r\n var context = new Context(tryLocsList || []);\r\n\r\n // The ._invoke method unifies the implementations of the .next,\r\n // .throw, and .return methods.\r\n generator._invoke = makeInvokeMethod(innerFn, self, context);\r\n\r\n return generator;\r\n }\r\n exports.wrap = wrap;\r\n\r\n // Try/catch helper to minimize deoptimizations. Returns a completion\r\n // record like context.tryEntries[i].completion. This interface could\r\n // have been (and was previously) designed to take a closure to be\r\n // invoked without arguments, but in all the cases we care about we\r\n // already have an existing method we want to call, so there's no need\r\n // to create a new function object. We can even get away with assuming\r\n // the method takes exactly one argument, since that happens to be true\r\n // in every case, so we don't have to touch the arguments object. The\r\n // only additional allocation required is the completion record, which\r\n // has a stable shape and so hopefully should be cheap to allocate.\r\n function tryCatch(fn, obj, arg) {\r\n try {\r\n return { type: \"normal\", arg: fn.call(obj, arg) };\r\n } catch (err) {\r\n return { type: \"throw\", arg: err };\r\n }\r\n }\r\n\r\n var GenStateSuspendedStart = \"suspendedStart\";\r\n var GenStateSuspendedYield = \"suspendedYield\";\r\n var GenStateExecuting = \"executing\";\r\n var GenStateCompleted = \"completed\";\r\n\r\n // Returning this object from the innerFn has the same effect as\r\n // breaking out of the dispatch switch statement.\r\n var ContinueSentinel = {};\r\n\r\n // Dummy constructor functions that we use as the .constructor and\r\n // .constructor.prototype properties for functions that return Generator\r\n // objects. For full spec compliance, you may wish to configure your\r\n // minifier not to mangle the names of these two functions.\r\n function Generator() {}\r\n function GeneratorFunction() {}\r\n function GeneratorFunctionPrototype() {}\r\n\r\n // This is a polyfill for %IteratorPrototype% for environments that\r\n // don't natively support it.\r\n var IteratorPrototype = {};\r\n IteratorPrototype[iteratorSymbol] = function () {\r\n return this;\r\n };\r\n\r\n var getProto = Object.getPrototypeOf;\r\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\r\n if (NativeIteratorPrototype &&\r\n NativeIteratorPrototype !== Op &&\r\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\r\n // This environment has a native %IteratorPrototype%; use it instead\r\n // of the polyfill.\r\n IteratorPrototype = NativeIteratorPrototype;\r\n }\r\n\r\n var Gp = GeneratorFunctionPrototype.prototype =\r\n Generator.prototype = Object.create(IteratorPrototype);\r\n GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\r\n GeneratorFunctionPrototype.constructor = GeneratorFunction;\r\n GeneratorFunction.displayName = define(\r\n GeneratorFunctionPrototype,\r\n toStringTagSymbol,\r\n \"GeneratorFunction\"\r\n );\r\n\r\n // Helper for defining the .next, .throw, and .return methods of the\r\n // Iterator interface in terms of a single ._invoke method.\r\n function defineIteratorMethods(prototype) {\r\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\r\n define(prototype, method, function(arg) {\r\n return this._invoke(method, arg);\r\n });\r\n });\r\n }\r\n\r\n exports.isGeneratorFunction = function(genFun) {\r\n var ctor = typeof genFun === \"function\" && genFun.constructor;\r\n return ctor\r\n ? ctor === GeneratorFunction ||\r\n // For the native GeneratorFunction constructor, the best we can\r\n // do is to check its .name property.\r\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\r\n : false;\r\n };\r\n\r\n exports.mark = function(genFun) {\r\n if (Object.setPrototypeOf) {\r\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\r\n } else {\r\n genFun.__proto__ = GeneratorFunctionPrototype;\r\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\r\n }\r\n genFun.prototype = Object.create(Gp);\r\n return genFun;\r\n };\r\n\r\n // Within the body of any async function, `await x` is transformed to\r\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\r\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\r\n // meant to be awaited.\r\n exports.awrap = function(arg) {\r\n return { __await: arg };\r\n };\r\n\r\n function AsyncIterator(generator, PromiseImpl) {\r\n function invoke(method, arg, resolve, reject) {\r\n var record = tryCatch(generator[method], generator, arg);\r\n if (record.type === \"throw\") {\r\n reject(record.arg);\r\n } else {\r\n var result = record.arg;\r\n var value = result.value;\r\n if (value &&\r\n typeof value === \"object\" &&\r\n hasOwn.call(value, \"__await\")) {\r\n return PromiseImpl.resolve(value.__await).then(function(value) {\r\n invoke(\"next\", value, resolve, reject);\r\n }, function(err) {\r\n invoke(\"throw\", err, resolve, reject);\r\n });\r\n }\r\n\r\n return PromiseImpl.resolve(value).then(function(unwrapped) {\r\n // When a yielded Promise is resolved, its final value becomes\r\n // the .value of the Promise<{value,done}> result for the\r\n // current iteration.\r\n result.value = unwrapped;\r\n resolve(result);\r\n }, function(error) {\r\n // If a rejected Promise was yielded, throw the rejection back\r\n // into the async generator function so it can be handled there.\r\n return invoke(\"throw\", error, resolve, reject);\r\n });\r\n }\r\n }\r\n\r\n var previousPromise;\r\n\r\n function enqueue(method, arg) {\r\n function callInvokeWithMethodAndArg() {\r\n return new PromiseImpl(function(resolve, reject) {\r\n invoke(method, arg, resolve, reject);\r\n });\r\n }\r\n\r\n return previousPromise =\r\n // If enqueue has been called before, then we want to wait until\r\n // all previous Promises have been resolved before calling invoke,\r\n // so that results are always delivered in the correct order. If\r\n // enqueue has not been called before, then it is important to\r\n // call invoke immediately, without waiting on a callback to fire,\r\n // so that the async generator function has the opportunity to do\r\n // any necessary setup in a predictable way. This predictability\r\n // is why the Promise constructor synchronously invokes its\r\n // executor callback, and why async functions synchronously\r\n // execute code before the first await. Since we implement simple\r\n // async functions in terms of async generators, it is especially\r\n // important to get this right, even though it requires care.\r\n previousPromise ? previousPromise.then(\r\n callInvokeWithMethodAndArg,\r\n // Avoid propagating failures to Promises returned by later\r\n // invocations of the iterator.\r\n callInvokeWithMethodAndArg\r\n ) : callInvokeWithMethodAndArg();\r\n }\r\n\r\n // Define the unified helper method that is used to implement .next,\r\n // .throw, and .return (see defineIteratorMethods).\r\n this._invoke = enqueue;\r\n }\r\n\r\n defineIteratorMethods(AsyncIterator.prototype);\r\n AsyncIterator.prototype[asyncIteratorSymbol] = function () {\r\n return this;\r\n };\r\n exports.AsyncIterator = AsyncIterator;\r\n\r\n // Note that simple async functions are implemented on top of\r\n // AsyncIterator objects; they just return a Promise for the value of\r\n // the final result produced by the iterator.\r\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\r\n if (PromiseImpl === void 0) PromiseImpl = Promise;\r\n\r\n var iter = new AsyncIterator(\r\n wrap(innerFn, outerFn, self, tryLocsList),\r\n PromiseImpl\r\n );\r\n\r\n return exports.isGeneratorFunction(outerFn)\r\n ? iter // If outerFn is a generator, return the full iterator.\r\n : iter.next().then(function(result) {\r\n return result.done ? result.value : iter.next();\r\n });\r\n };\r\n\r\n function makeInvokeMethod(innerFn, self, context) {\r\n var state = GenStateSuspendedStart;\r\n\r\n return function invoke(method, arg) {\r\n if (state === GenStateExecuting) {\r\n throw new Error(\"Generator is already running\");\r\n }\r\n\r\n if (state === GenStateCompleted) {\r\n if (method === \"throw\") {\r\n throw arg;\r\n }\r\n\r\n // Be forgiving, per 25.3.3.3.3 of the spec:\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\r\n return doneResult();\r\n }\r\n\r\n context.method = method;\r\n context.arg = arg;\r\n\r\n while (true) {\r\n var delegate = context.delegate;\r\n if (delegate) {\r\n var delegateResult = maybeInvokeDelegate(delegate, context);\r\n if (delegateResult) {\r\n if (delegateResult === ContinueSentinel) continue;\r\n return delegateResult;\r\n }\r\n }\r\n\r\n if (context.method === \"next\") {\r\n // Setting context._sent for legacy support of Babel's\r\n // function.sent implementation.\r\n context.sent = context._sent = context.arg;\r\n\r\n } else if (context.method === \"throw\") {\r\n if (state === GenStateSuspendedStart) {\r\n state = GenStateCompleted;\r\n throw context.arg;\r\n }\r\n\r\n context.dispatchException(context.arg);\r\n\r\n } else if (context.method === \"return\") {\r\n context.abrupt(\"return\", context.arg);\r\n }\r\n\r\n state = GenStateExecuting;\r\n\r\n var record = tryCatch(innerFn, self, context);\r\n if (record.type === \"normal\") {\r\n // If an exception is thrown from innerFn, we leave state ===\r\n // GenStateExecuting and loop back for another invocation.\r\n state = context.done\r\n ? GenStateCompleted\r\n : GenStateSuspendedYield;\r\n\r\n if (record.arg === ContinueSentinel) {\r\n continue;\r\n }\r\n\r\n return {\r\n value: record.arg,\r\n done: context.done\r\n };\r\n\r\n } else if (record.type === \"throw\") {\r\n state = GenStateCompleted;\r\n // Dispatch the exception by looping back around to the\r\n // context.dispatchException(context.arg) call above.\r\n context.method = \"throw\";\r\n context.arg = record.arg;\r\n }\r\n }\r\n };\r\n }\r\n\r\n // Call delegate.iterator[context.method](context.arg) and handle the\r\n // result, either by returning a { value, done } result from the\r\n // delegate iterator, or by modifying context.method and context.arg,\r\n // setting context.delegate to null, and returning the ContinueSentinel.\r\n function maybeInvokeDelegate(delegate, context) {\r\n var method = delegate.iterator[context.method];\r\n if (method === undefined$1) {\r\n // A .throw or .return when the delegate iterator has no .throw\r\n // method always terminates the yield* loop.\r\n context.delegate = null;\r\n\r\n if (context.method === \"throw\") {\r\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\r\n if (delegate.iterator[\"return\"]) {\r\n // If the delegate iterator has a return method, give it a\r\n // chance to clean up.\r\n context.method = \"return\";\r\n context.arg = undefined$1;\r\n maybeInvokeDelegate(delegate, context);\r\n\r\n if (context.method === \"throw\") {\r\n // If maybeInvokeDelegate(context) changed context.method from\r\n // \"return\" to \"throw\", let that override the TypeError below.\r\n return ContinueSentinel;\r\n }\r\n }\r\n\r\n context.method = \"throw\";\r\n context.arg = new TypeError(\r\n \"The iterator does not provide a 'throw' method\");\r\n }\r\n\r\n return ContinueSentinel;\r\n }\r\n\r\n var record = tryCatch(method, delegate.iterator, context.arg);\r\n\r\n if (record.type === \"throw\") {\r\n context.method = \"throw\";\r\n context.arg = record.arg;\r\n context.delegate = null;\r\n return ContinueSentinel;\r\n }\r\n\r\n var info = record.arg;\r\n\r\n if (! info) {\r\n context.method = \"throw\";\r\n context.arg = new TypeError(\"iterator result is not an object\");\r\n context.delegate = null;\r\n return ContinueSentinel;\r\n }\r\n\r\n if (info.done) {\r\n // Assign the result of the finished delegate to the temporary\r\n // variable specified by delegate.resultName (see delegateYield).\r\n context[delegate.resultName] = info.value;\r\n\r\n // Resume execution at the desired location (see delegateYield).\r\n context.next = delegate.nextLoc;\r\n\r\n // If context.method was \"throw\" but the delegate handled the\r\n // exception, let the outer generator proceed normally. If\r\n // context.method was \"next\", forget context.arg since it has been\r\n // \"consumed\" by the delegate iterator. If context.method was\r\n // \"return\", allow the original .return call to continue in the\r\n // outer generator.\r\n if (context.method !== \"return\") {\r\n context.method = \"next\";\r\n context.arg = undefined$1;\r\n }\r\n\r\n } else {\r\n // Re-yield the result returned by the delegate method.\r\n return info;\r\n }\r\n\r\n // The delegate iterator is finished, so forget it and continue with\r\n // the outer generator.\r\n context.delegate = null;\r\n return ContinueSentinel;\r\n }\r\n\r\n // Define Generator.prototype.{next,throw,return} in terms of the\r\n // unified ._invoke helper method.\r\n defineIteratorMethods(Gp);\r\n\r\n define(Gp, toStringTagSymbol, \"Generator\");\r\n\r\n // A Generator should always return itself as the iterator object when the\r\n // @@iterator function is called on it. Some browsers' implementations of the\r\n // iterator prototype chain incorrectly implement this, causing the Generator\r\n // object to not be returned from this call. This ensures that doesn't happen.\r\n // See https://github.com/facebook/regenerator/issues/274 for more details.\r\n Gp[iteratorSymbol] = function() {\r\n return this;\r\n };\r\n\r\n Gp.toString = function() {\r\n return \"[object Generator]\";\r\n };\r\n\r\n function pushTryEntry(locs) {\r\n var entry = { tryLoc: locs[0] };\r\n\r\n if (1 in locs) {\r\n entry.catchLoc = locs[1];\r\n }\r\n\r\n if (2 in locs) {\r\n entry.finallyLoc = locs[2];\r\n entry.afterLoc = locs[3];\r\n }\r\n\r\n this.tryEntries.push(entry);\r\n }\r\n\r\n function resetTryEntry(entry) {\r\n var record = entry.completion || {};\r\n record.type = \"normal\";\r\n delete record.arg;\r\n entry.completion = record;\r\n }\r\n\r\n function Context(tryLocsList) {\r\n // The root entry object (effectively a try statement without a catch\r\n // or a finally block) gives us a place to store values thrown from\r\n // locations where there is no enclosing try statement.\r\n this.tryEntries = [{ tryLoc: \"root\" }];\r\n tryLocsList.forEach(pushTryEntry, this);\r\n this.reset(true);\r\n }\r\n\r\n exports.keys = function(object) {\r\n var keys = [];\r\n for (var key in object) {\r\n keys.push(key);\r\n }\r\n keys.reverse();\r\n\r\n // Rather than returning an object with a next method, we keep\r\n // things simple and return the next function itself.\r\n return function next() {\r\n while (keys.length) {\r\n var key = keys.pop();\r\n if (key in object) {\r\n next.value = key;\r\n next.done = false;\r\n return next;\r\n }\r\n }\r\n\r\n // To avoid creating an additional object, we just hang the .value\r\n // and .done properties off the next function object itself. This\r\n // also ensures that the minifier will not anonymize the function.\r\n next.done = true;\r\n return next;\r\n };\r\n };\r\n\r\n function values(iterable) {\r\n if (iterable) {\r\n var iteratorMethod = iterable[iteratorSymbol];\r\n if (iteratorMethod) {\r\n return iteratorMethod.call(iterable);\r\n }\r\n\r\n if (typeof iterable.next === \"function\") {\r\n return iterable;\r\n }\r\n\r\n if (!isNaN(iterable.length)) {\r\n var i = -1, next = function next() {\r\n while (++i < iterable.length) {\r\n if (hasOwn.call(iterable, i)) {\r\n next.value = iterable[i];\r\n next.done = false;\r\n return next;\r\n }\r\n }\r\n\r\n next.value = undefined$1;\r\n next.done = true;\r\n\r\n return next;\r\n };\r\n\r\n return next.next = next;\r\n }\r\n }\r\n\r\n // Return an iterator with no values.\r\n return { next: doneResult };\r\n }\r\n exports.values = values;\r\n\r\n function doneResult() {\r\n return { value: undefined$1, done: true };\r\n }\r\n\r\n Context.prototype = {\r\n constructor: Context,\r\n\r\n reset: function(skipTempReset) {\r\n this.prev = 0;\r\n this.next = 0;\r\n // Resetting context._sent for legacy support of Babel's\r\n // function.sent implementation.\r\n this.sent = this._sent = undefined$1;\r\n this.done = false;\r\n this.delegate = null;\r\n\r\n this.method = \"next\";\r\n this.arg = undefined$1;\r\n\r\n this.tryEntries.forEach(resetTryEntry);\r\n\r\n if (!skipTempReset) {\r\n for (var name in this) {\r\n // Not sure about the optimal order of these conditions:\r\n if (name.charAt(0) === \"t\" &&\r\n hasOwn.call(this, name) &&\r\n !isNaN(+name.slice(1))) {\r\n this[name] = undefined$1;\r\n }\r\n }\r\n }\r\n },\r\n\r\n stop: function() {\r\n this.done = true;\r\n\r\n var rootEntry = this.tryEntries[0];\r\n var rootRecord = rootEntry.completion;\r\n if (rootRecord.type === \"throw\") {\r\n throw rootRecord.arg;\r\n }\r\n\r\n return this.rval;\r\n },\r\n\r\n dispatchException: function(exception) {\r\n if (this.done) {\r\n throw exception;\r\n }\r\n\r\n var context = this;\r\n function handle(loc, caught) {\r\n record.type = \"throw\";\r\n record.arg = exception;\r\n context.next = loc;\r\n\r\n if (caught) {\r\n // If the dispatched exception was caught by a catch block,\r\n // then let that catch block handle the exception normally.\r\n context.method = \"next\";\r\n context.arg = undefined$1;\r\n }\r\n\r\n return !! caught;\r\n }\r\n\r\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\r\n var entry = this.tryEntries[i];\r\n var record = entry.completion;\r\n\r\n if (entry.tryLoc === \"root\") {\r\n // Exception thrown outside of any try block that could handle\r\n // it, so set the completion value of the entire function to\r\n // throw the exception.\r\n return handle(\"end\");\r\n }\r\n\r\n if (entry.tryLoc <= this.prev) {\r\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\r\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\r\n\r\n if (hasCatch && hasFinally) {\r\n if (this.prev < entry.catchLoc) {\r\n return handle(entry.catchLoc, true);\r\n } else if (this.prev < entry.finallyLoc) {\r\n return handle(entry.finallyLoc);\r\n }\r\n\r\n } else if (hasCatch) {\r\n if (this.prev < entry.catchLoc) {\r\n return handle(entry.catchLoc, true);\r\n }\r\n\r\n } else if (hasFinally) {\r\n if (this.prev < entry.finallyLoc) {\r\n return handle(entry.finallyLoc);\r\n }\r\n\r\n } else {\r\n throw new Error(\"try statement without catch or finally\");\r\n }\r\n }\r\n }\r\n },\r\n\r\n abrupt: function(type, arg) {\r\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\r\n var entry = this.tryEntries[i];\r\n if (entry.tryLoc <= this.prev &&\r\n hasOwn.call(entry, \"finallyLoc\") &&\r\n this.prev < entry.finallyLoc) {\r\n var finallyEntry = entry;\r\n break;\r\n }\r\n }\r\n\r\n if (finallyEntry &&\r\n (type === \"break\" ||\r\n type === \"continue\") &&\r\n finallyEntry.tryLoc <= arg &&\r\n arg <= finallyEntry.finallyLoc) {\r\n // Ignore the finally entry if control is not jumping to a\r\n // location outside the try/catch block.\r\n finallyEntry = null;\r\n }\r\n\r\n var record = finallyEntry ? finallyEntry.completion : {};\r\n record.type = type;\r\n record.arg = arg;\r\n\r\n if (finallyEntry) {\r\n this.method = \"next\";\r\n this.next = finallyEntry.finallyLoc;\r\n return ContinueSentinel;\r\n }\r\n\r\n return this.complete(record);\r\n },\r\n\r\n complete: function(record, afterLoc) {\r\n if (record.type === \"throw\") {\r\n throw record.arg;\r\n }\r\n\r\n if (record.type === \"break\" ||\r\n record.type === \"continue\") {\r\n this.next = record.arg;\r\n } else if (record.type === \"return\") {\r\n this.rval = this.arg = record.arg;\r\n this.method = \"return\";\r\n this.next = \"end\";\r\n } else if (record.type === \"normal\" && afterLoc) {\r\n this.next = afterLoc;\r\n }\r\n\r\n return ContinueSentinel;\r\n },\r\n\r\n finish: function(finallyLoc) {\r\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\r\n var entry = this.tryEntries[i];\r\n if (entry.finallyLoc === finallyLoc) {\r\n this.complete(entry.completion, entry.afterLoc);\r\n resetTryEntry(entry);\r\n return ContinueSentinel;\r\n }\r\n }\r\n },\r\n\r\n \"catch\": function(tryLoc) {\r\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\r\n var entry = this.tryEntries[i];\r\n if (entry.tryLoc === tryLoc) {\r\n var record = entry.completion;\r\n if (record.type === \"throw\") {\r\n var thrown = record.arg;\r\n resetTryEntry(entry);\r\n }\r\n return thrown;\r\n }\r\n }\r\n\r\n // The context.catch method must only be called with a location\r\n // argument that corresponds to a known catch block.\r\n throw new Error(\"illegal catch attempt\");\r\n },\r\n\r\n delegateYield: function(iterable, resultName, nextLoc) {\r\n this.delegate = {\r\n iterator: values(iterable),\r\n resultName: resultName,\r\n nextLoc: nextLoc\r\n };\r\n\r\n if (this.method === \"next\") {\r\n // Deliberately forget the last sent value so that we don't\r\n // accidentally pass it on to the delegate.\r\n this.arg = undefined$1;\r\n }\r\n\r\n return ContinueSentinel;\r\n }\r\n };\r\n\r\n // Regardless of whether this script is executing as a CommonJS module\r\n // or not, return the runtime object so that we can declare the variable\r\n // regeneratorRuntime in the outer scope, which allows this module to be\r\n // injected easily by `bin/regenerator --include-runtime script.js`.\r\n return exports;\r\n\r\n }(\r\n // If this script is executing as a CommonJS module, use module.exports\r\n // as the regeneratorRuntime namespace. Otherwise create a new empty\r\n // object. Either way, the resulting object will be used to initialize\r\n // the regeneratorRuntime variable at the top of this file.\r\n module.exports \r\n ));\r\n\r\n try {\r\n regeneratorRuntime = runtime;\r\n } catch (accidentalStrictMode) {\r\n // This module should not be running in strict mode, so the above\r\n // assignment should always work unless something is misconfigured. Just\r\n // in case runtime.js accidentally runs in strict mode, we can escape\r\n // strict mode using a global Function call. This could conceivably fail\r\n // if a Content Security Policy forbids using Function, but in that case\r\n // the proper solution is to fix the accidental strict mode problem. If\r\n // you've misconfigured your bundler to force strict mode and applied a\r\n // CSP to forbid Function, and you're not willing to fix either of those\r\n // problems, please detail your unique predicament in a GitHub issue.\r\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\r\n }\r\n });\n\n var regenerator = runtime_1;\n\n function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it; if (typeof Symbol === \"undefined\" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } it = o[Symbol.iterator](); return it.next.bind(it); }\r\n\r\n function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\r\n\r\n function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\r\n /* global FormData self Blob File */\r\n\r\n /* eslint-disable no-inner-declarations */\r\n\r\n if (typeof Blob !== 'undefined' && (typeof FormData === 'undefined' || !FormData.prototype.keys)) {\r\n var normalizeValue = function normalizeValue(_ref) {\r\n var value = _ref[0],\r\n filename = _ref[1];\r\n\r\n if (value instanceof Blob) {\r\n // Should always returns a new File instance\r\n // console.assert(fd.get(x) !== fd.get(x))\r\n value = new File([value], filename, {\r\n type: value.type,\r\n lastModified: value.lastModified\r\n });\r\n }\r\n\r\n return value;\r\n };\r\n\r\n var ensureArgs = function ensureArgs(args, expected) {\r\n if (args.length < expected) {\r\n throw new TypeError(expected + \" argument required, but only \" + args.length + \" present.\");\r\n }\r\n };\r\n\r\n var normalizeArgs = function normalizeArgs(name, value, filename) {\r\n return value instanceof Blob // normalize name and filename if adding an attachment\r\n ? [String(name), value, filename !== undefined ? filename + '' // Cast filename to string if 3th arg isn't undefined\r\n : typeof value.name === 'string' // if name prop exist\r\n ? value.name // Use File.name\r\n : 'blob'] // otherwise fallback to Blob\r\n // If no attachment, just cast the args to strings\r\n : [String(name), String(value)];\r\n }; // normalize linefeeds for textareas\r\n // https://html.spec.whatwg.org/multipage/form-elements.html#textarea-line-break-normalisation-transformation\r\n\r\n var normalizeLinefeeds = function normalizeLinefeeds(value) {\r\n return value.replace(/\\r\\n/g, '\\n').replace(/\\n/g, '\\r\\n');\r\n };\r\n\r\n var each = function each(arr, cb) {\r\n for (var i = 0; i < arr.length; i++) {\r\n cb(arr[i]);\r\n }\r\n };\r\n /**\r\n * @implements {Iterable}\r\n */\r\n\r\n var global$1 = typeof window === 'object' ? window : typeof self === 'object' ? self : commonjsGlobal; // keep a reference to native implementation\r\n\r\n var _FormData = global$1.FormData; // To be monkey patched\r\n\r\n var _send = global$1.XMLHttpRequest && global$1.XMLHttpRequest.prototype.send;\r\n\r\n var _fetch = global$1.Request && global$1.fetch;\r\n\r\n var _sendBeacon = global$1.navigator && global$1.navigator.sendBeacon; // Unable to patch Request constructor correctly\r\n // const _Request = global.Request\r\n // only way is to use ES6 class extend\r\n // https://github.com/babel/babel/issues/1966\r\n\r\n var stringTag = global$1.Symbol && Symbol.toStringTag; // Add missing stringTags to blob and files\r\n\r\n if (stringTag) {\r\n if (!Blob.prototype[stringTag]) {\r\n Blob.prototype[stringTag] = 'Blob';\r\n }\r\n\r\n if ('File' in global$1 && !File.prototype[stringTag]) {\r\n File.prototype[stringTag] = 'File';\r\n }\r\n } // Fix so you can construct your own File\r\n\r\n try {\r\n new File([], ''); // eslint-disable-line\r\n } catch (a) {\r\n global$1.File = function File(b, d, c) {\r\n var blob = new Blob(b, c);\r\n var t = c && void 0 !== c.lastModified ? new Date(c.lastModified) : new Date();\r\n Object.defineProperties(blob, {\r\n name: {\r\n value: d\r\n },\r\n lastModifiedDate: {\r\n value: t\r\n },\r\n lastModified: {\r\n value: +t\r\n },\r\n toString: {\r\n value: function value() {\r\n return '[object File]';\r\n }\r\n }\r\n });\r\n\r\n if (stringTag) {\r\n Object.defineProperty(blob, stringTag, {\r\n value: 'File'\r\n });\r\n }\r\n\r\n return blob;\r\n };\r\n }\r\n\r\n var FormDataPolyfill = /*#__PURE__*/function () {\r\n /**\r\n * FormData class\r\n *\r\n * @param {HTMLElement=} form\r\n */\r\n function FormDataPolyfill(form) {\r\n this._data = Object.create(null);\r\n if (!form) return this;\r\n var self = this;\r\n each(form.elements, function (elm) {\r\n if (!elm.name || elm.disabled || elm.type === 'submit' || elm.type === 'button') return;\r\n\r\n if (elm.type === 'file') {\r\n var files = elm.files && elm.files.length ? elm.files : [new File([], '', {\r\n type: 'application/octet-stream'\r\n })]; // #78\r\n\r\n each(files, function (file) {\r\n self.append(elm.name, file);\r\n });\r\n } else if (elm.type === 'select-multiple' || elm.type === 'select-one') {\r\n each(elm.options, function (opt) {\r\n !opt.disabled && opt.selected && self.append(elm.name, opt.value);\r\n });\r\n } else if (elm.type === 'checkbox' || elm.type === 'radio') {\r\n if (elm.checked) self.append(elm.name, elm.value);\r\n } else {\r\n var value = elm.type === 'textarea' ? normalizeLinefeeds(elm.value) : elm.value;\r\n self.append(elm.name, value);\r\n }\r\n });\r\n }\r\n /**\r\n * Append a field\r\n *\r\n * @param {string} name field name\r\n * @param {string|Blob|File} value string / blob / file\r\n * @param {string=} filename filename to use with blob\r\n * @return {undefined}\r\n */\r\n\r\n var _proto = FormDataPolyfill.prototype;\r\n\r\n _proto.append = function append(name, value, filename) {\r\n ensureArgs(arguments, 2);\r\n\r\n var _normalizeArgs$apply = normalizeArgs.apply(null, arguments);\r\n\r\n name = _normalizeArgs$apply[0];\r\n value = _normalizeArgs$apply[1];\r\n filename = _normalizeArgs$apply[2];\r\n var map = this._data;\r\n if (!map[name]) map[name] = [];\r\n map[name].push([value, filename]);\r\n }\r\n /**\r\n * Delete all fields values given name\r\n *\r\n * @param {string} name Field name\r\n * @return {undefined}\r\n */\r\n ;\r\n\r\n _proto.delete = function _delete(name) {\r\n ensureArgs(arguments, 1);\r\n delete this._data[String(name)];\r\n }\r\n /**\r\n * Iterate over all fields as [name, value]\r\n *\r\n * @return {Iterator}\r\n */\r\n ;\r\n\r\n _proto.entries =\r\n /*#__PURE__*/\r\n regenerator.mark(function entries() {\r\n var map, name, _iterator, _step, value;\r\n\r\n return regenerator.wrap(function entries$(_context) {\r\n while (1) {\r\n switch (_context.prev = _context.next) {\r\n case 0:\r\n map = this._data;\r\n _context.t0 = regenerator.keys(map);\r\n\r\n case 2:\r\n if ((_context.t1 = _context.t0()).done) {\r\n _context.next = 13;\r\n break;\r\n }\r\n\r\n name = _context.t1.value;\r\n _iterator = _createForOfIteratorHelperLoose(map[name]);\r\n\r\n case 5:\r\n if ((_step = _iterator()).done) {\r\n _context.next = 11;\r\n break;\r\n }\r\n\r\n value = _step.value;\r\n _context.next = 9;\r\n return [name, normalizeValue(value)];\r\n\r\n case 9:\r\n _context.next = 5;\r\n break;\r\n\r\n case 11:\r\n _context.next = 2;\r\n break;\r\n\r\n case 13:\r\n case \"end\":\r\n return _context.stop();\r\n }\r\n }\r\n }, entries, this);\r\n })\r\n /**\r\n * Iterate over all fields\r\n *\r\n * @param {Function} callback Executed for each item with parameters (value, name, thisArg)\r\n * @param {Object=} thisArg `this` context for callback function\r\n * @return {undefined}\r\n */\r\n ;\r\n\r\n _proto.forEach = function forEach(callback, thisArg) {\r\n ensureArgs(arguments, 1);\r\n\r\n for (var _iterator2 = _createForOfIteratorHelperLoose(this), _step2; !(_step2 = _iterator2()).done;) {\r\n var _step2$value = _step2.value,\r\n name = _step2$value[0],\r\n value = _step2$value[1];\r\n callback.call(thisArg, value, name, this);\r\n }\r\n }\r\n /**\r\n * Return first field value given name\r\n * or null if non existen\r\n *\r\n * @param {string} name Field name\r\n * @return {string|File|null} value Fields value\r\n */\r\n ;\r\n\r\n _proto.get = function get(name) {\r\n ensureArgs(arguments, 1);\r\n var map = this._data;\r\n name = String(name);\r\n return map[name] ? normalizeValue(map[name][0]) : null;\r\n }\r\n /**\r\n * Return all fields values given name\r\n *\r\n * @param {string} name Fields name\r\n * @return {Array} [{String|File}]\r\n */\r\n ;\r\n\r\n _proto.getAll = function getAll(name) {\r\n ensureArgs(arguments, 1);\r\n return (this._data[String(name)] || []).map(normalizeValue);\r\n }\r\n /**\r\n * Check for field name existence\r\n *\r\n * @param {string} name Field name\r\n * @return {boolean}\r\n */\r\n ;\r\n\r\n _proto.has = function has(name) {\r\n ensureArgs(arguments, 1);\r\n return String(name) in this._data;\r\n }\r\n /**\r\n * Iterate over all fields name\r\n *\r\n * @return {Iterator}\r\n */\r\n ;\r\n\r\n _proto.keys =\r\n /*#__PURE__*/\r\n regenerator.mark(function keys() {\r\n var _iterator3, _step3, _step3$value, name;\r\n\r\n return regenerator.wrap(function keys$(_context2) {\r\n while (1) {\r\n switch (_context2.prev = _context2.next) {\r\n case 0:\r\n _iterator3 = _createForOfIteratorHelperLoose(this);\r\n\r\n case 1:\r\n if ((_step3 = _iterator3()).done) {\r\n _context2.next = 7;\r\n break;\r\n }\r\n\r\n _step3$value = _step3.value, name = _step3$value[0];\r\n _context2.next = 5;\r\n return name;\r\n\r\n case 5:\r\n _context2.next = 1;\r\n break;\r\n\r\n case 7:\r\n case \"end\":\r\n return _context2.stop();\r\n }\r\n }\r\n }, keys, this);\r\n })\r\n /**\r\n * Overwrite all values given name\r\n *\r\n * @param {string} name Filed name\r\n * @param {string} value Field value\r\n * @param {string=} filename Filename (optional)\r\n * @return {undefined}\r\n */\r\n ;\r\n\r\n _proto.set = function set(name, value, filename) {\r\n ensureArgs(arguments, 2);\r\n var args = normalizeArgs.apply(null, arguments);\r\n this._data[args[0]] = [[args[1], args[2]]];\r\n }\r\n /**\r\n * Iterate over all fields\r\n *\r\n * @return {Iterator}\r\n */\r\n ;\r\n\r\n _proto.values =\r\n /*#__PURE__*/\r\n regenerator.mark(function values() {\r\n var _iterator4, _step4, _step4$value, value;\r\n\r\n return regenerator.wrap(function values$(_context3) {\r\n while (1) {\r\n switch (_context3.prev = _context3.next) {\r\n case 0:\r\n _iterator4 = _createForOfIteratorHelperLoose(this);\r\n\r\n case 1:\r\n if ((_step4 = _iterator4()).done) {\r\n _context3.next = 7;\r\n break;\r\n }\r\n\r\n _step4$value = _step4.value, value = _step4$value[1];\r\n _context3.next = 5;\r\n return value;\r\n\r\n case 5:\r\n _context3.next = 1;\r\n break;\r\n\r\n case 7:\r\n case \"end\":\r\n return _context3.stop();\r\n }\r\n }\r\n }, values, this);\r\n })\r\n /**\r\n * Return a native (perhaps degraded) FormData with only a `append` method\r\n * Can throw if it's not supported\r\n *\r\n * @return {FormData}\r\n */\r\n ;\r\n\r\n _proto['_asNative'] = function _asNative() {\r\n var fd = new _FormData();\r\n\r\n for (var _iterator5 = _createForOfIteratorHelperLoose(this), _step5; !(_step5 = _iterator5()).done;) {\r\n var _step5$value = _step5.value,\r\n name = _step5$value[0],\r\n value = _step5$value[1];\r\n fd.append(name, value);\r\n }\r\n\r\n return fd;\r\n }\r\n /**\r\n * [_blob description]\r\n *\r\n * @return {Blob} [description]\r\n */\r\n ;\r\n\r\n _proto['_blob'] = function _blob() {\r\n var boundary = '----formdata-polyfill-' + Math.random();\r\n var chunks = [];\r\n\r\n for (var _iterator6 = _createForOfIteratorHelperLoose(this), _step6; !(_step6 = _iterator6()).done;) {\r\n var _step6$value = _step6.value,\r\n name = _step6$value[0],\r\n value = _step6$value[1];\r\n chunks.push(\"--\" + boundary + \"\\r\\n\");\r\n\r\n if (value instanceof Blob) {\r\n chunks.push(\"Content-Disposition: form-data; name=\\\"\" + name + \"\\\"; filename=\\\"\" + value.name + \"\\\"\\r\\n\", \"Content-Type: \" + (value.type || 'application/octet-stream') + \"\\r\\n\\r\\n\", value, '\\r\\n');\r\n } else {\r\n chunks.push(\"Content-Disposition: form-data; name=\\\"\" + name + \"\\\"\\r\\n\\r\\n\" + value + \"\\r\\n\");\r\n }\r\n }\r\n\r\n chunks.push(\"--\" + boundary + \"--\");\r\n return new Blob(chunks, {\r\n type: 'multipart/form-data; boundary=' + boundary\r\n });\r\n }\r\n /**\r\n * The class itself is iterable\r\n * alias for formdata.entries()\r\n *\r\n * @return {Iterator}\r\n */\r\n ;\r\n\r\n _proto[Symbol.iterator] = function () {\r\n return this.entries();\r\n }\r\n /**\r\n * Create the default string description.\r\n *\r\n * @return {string} [object FormData]\r\n */\r\n ;\r\n\r\n _proto.toString = function toString() {\r\n return '[object FormData]';\r\n };\r\n\r\n return FormDataPolyfill;\r\n }();\r\n\r\n if (stringTag) {\r\n /**\r\n * Create the default string description.\r\n * It is accessed internally by the Object.prototype.toString().\r\n */\r\n FormDataPolyfill.prototype[stringTag] = 'FormData';\r\n } // Patch xhr's send method to call _blob transparently\r\n\r\n if (_send) {\r\n var setRequestHeader = global$1.XMLHttpRequest.prototype.setRequestHeader;\r\n /**\r\n * @param {string} name\r\n * @param {string} value\r\n * @returns {undefined}\r\n * @see https://xhr.spec.whatwg.org/#dom-xmlhttprequest-setrequestheader\r\n */\r\n\r\n global$1.XMLHttpRequest.prototype.setRequestHeader = function (name, value) {\r\n setRequestHeader.call(this, name, value);\r\n if (name.toLowerCase() === 'content-type') this._hasContentType = true;\r\n };\r\n /**\r\n * @param {ArrayBuffer|ArrayBufferView|Blob|Document|FormData|string=} data\r\n * @return {undefined}\r\n * @see https://xhr.spec.whatwg.org/#the-send()-method\r\n */\r\n\r\n global$1.XMLHttpRequest.prototype.send = function (data) {\r\n // need to patch send b/c old IE don't send blob's type (#44)\r\n if (data instanceof FormDataPolyfill) {\r\n var blob = data['_blob']();\r\n if (!this._hasContentType) this.setRequestHeader('Content-Type', blob.type);\r\n\r\n _send.call(this, blob);\r\n } else {\r\n _send.call(this, data);\r\n }\r\n };\r\n } // Patch fetch's function to call _blob transparently\r\n\r\n if (_fetch) {\r\n var _fetch2 = global$1.fetch;\r\n\r\n global$1.fetch = function (input, init) {\r\n if (init && init.body && init.body instanceof FormDataPolyfill) {\r\n init.body = init.body['_blob']();\r\n }\r\n\r\n return _fetch2.call(this, input, init);\r\n };\r\n } // Patch navigator.sendBeacon to use native FormData\r\n\r\n if (_sendBeacon) {\r\n global$1.navigator.sendBeacon = function (url, data) {\r\n if (data instanceof FormDataPolyfill) {\r\n data = data['_asNative']();\r\n }\r\n\r\n return _sendBeacon.call(this, url, data);\r\n };\r\n }\r\n\r\n global$1['FormData'] = FormDataPolyfill;\r\n }\n\n function MultiPage(formid) {\r\n var self = this;\r\n this.$form = null;\r\n this.formID = formid;\r\n this.pageIndex = 1;\r\n this.maxPageIndex = 0;\r\n this.minPageIndex = 0;\r\n this.pageIndexes = [];\r\n this.$pages = null;\r\n this.$collapses = null;\r\n this.isTab = false; // Is tabs\r\n\r\n this.isCollapse = false; // Is collapses (accordion)\r\n\r\n this.lastPageSubmit = false; // Enable submit button for the last page only\r\n\r\n this.hideDisabledButton = false; // Hide disabled submit button\r\n\r\n this.hideInactivePages = false; // Hide inactive pages\r\n\r\n this.lockTabs = false; // Set inactive tabs as disabled\r\n\r\n this.hideTabs = false; // Hide all tabs\r\n\r\n this.showPagerTop = false; // Show pager at top\r\n\r\n this.showPagerBottom = false; // Show pager at bottom\r\n\r\n this.pagerTemplate = ''; // Pager template\r\n // \"show\" handler (for disabled tabs)\r\n\r\n var _show = function _show(e) {\r\n e.preventDefault();\r\n }; // Set properties\r\n\r\n var _properties = [\"lastPageSubmit\", \"hideDisabledButton\", \"hideInactivePages\", \"lockTabs\", \"hideTabs\", \"showPagerTop\", \"showPagerBottom\", \"pagerTemplate\"];\r\n\r\n this.set = function () {\r\n if (arguments.length == 1 && $__default['default'].isObject(arguments[0])) {\r\n var obj = arguments[0];\r\n\r\n for (var i in obj) {\r\n var p = i[0].toLowerCase() + i.substr(1); // Camel case\r\n\r\n if (_properties.includes(p)) this[p] = obj[i];\r\n }\r\n }\r\n }; // DOM loaded\r\n\r\n this.init = function () {\r\n var tpl = this.pagerTemplate.replace(/\\{prev\\}/i, ew.language.phrase(\"Prev\")).replace(/\\{next\\}/i, ew.language.phrase(\"Next\"));\r\n\r\n if (this.isTab) {\r\n if (this.showPagerTop) this.$pages.closest(\".tabbable, .ew-nav-tabs\").before(tpl);\r\n if (this.showPagerBottom) this.$pages.closest(\".tabbable, .ew-nav-tabs\").after(tpl);\r\n this.$form.find(\".ew-prev\").click(function (e) {\r\n self.$pages.off(\"show.bs.tab\", _show).filter(\".active\").parent().prev(\":has([data-toggle=tab]:not(.ew-hidden):not(.ew-disabled))\").find(\"[data-toggle=tab]\").toggleClass(\"disabled d-none\", false).click();\r\n return false;\r\n });\r\n this.$form.find(\".ew-next\").click(function (e) {\r\n self.$pages.off(\"show.bs.tab\", _show).filter(\".active\").parent().next(\":has([data-toggle=tab]:not(.ew-hidden):not(.ew-disabled))\").find(\"[data-toggle=tab]\").toggleClass(\"disabled d-none\", false).click();\r\n return false;\r\n });\r\n if (this.hideTabs) this.$form.find(\".ew-multi-page > .tabbable > .nav-tabs, .ew-multi-page > .ew-nav-tabs > .nav-tabs\").hide();\r\n } else if (this.isCollapse) {\r\n if (this.showPagerTop) this.$collapses.closest(\".ew-accordion\").before(tpl);\r\n if (this.showPagerBottom) this.$collapses.closest(\".ew-accordion\").after(tpl);\r\n this.$form.find(\".ew-prev\").click(function (e) {\r\n self.$pages.closest(\".card\").filter(\":has(.collapse.show)\").prev(\":has([data-toggle=collapse]:not(.ew-hidden):not(.ew-disabled))\").toggleClass(\"disabled d-none\", false).find(\"[data-toggle=collapse]\").click();\r\n return false;\r\n });\r\n this.$form.find(\".ew-next\").click(function (e) {\r\n self.$pages.closest(\".card\").filter(\":has(.collapse.show)\").next(\":has([data-toggle=collapse]:not(.ew-hidden):not(.ew-disabled))\").toggleClass(\"disabled d-none\", false).find(\"[data-toggle=collapse]\").click();\r\n return false;\r\n });\r\n }\r\n\r\n this.pageShow();\r\n }; // Page show\r\n\r\n this.pageShow = function () {\r\n if (this.isTab) {\r\n if (this.lockTabs) this.$pages.on(\"show.bs.tab\", _show);\r\n this.$pages.each(function () {\r\n var $this = $__default['default'](this);\r\n if (self.hideInactivePages) $this.toggleClass(\"d-none\", !$this.hasClass(\"active\"));\r\n if (self.lockTabs) $this.toggleClass(\"disabled\", !$this.hasClass(\"active\"));\r\n });\r\n } else if (this.isCollapse) {\r\n this.$pages.closest(\".card\").each(function () {\r\n var $this = $__default['default'](this);\r\n if (self.hideInactivePages) $this.toggleClass(\"d-none\", !$this.find(\".collapse.show\")[0]);\r\n });\r\n }\r\n\r\n var disabled = this.lastPageSubmit && this.pageIndex != this.maxPageIndex;\r\n var $btn = this.$form.closest(\".content, .modal-content\").find(\"#btn-action, button.ew-submit\").prop(\"disabled\", disabled).toggle(!this.hideDisabledButton || !disabled);\r\n $__default['default'](\".ew-captcha\").toggle($btn.is(\":visible:not(:disabled)\")); // Re-captcha uses class \"disabled\", not \"disabled\" property.\r\n\r\n disabled = this.pageIndex <= this.minPageIndex;\r\n this.$form.find(\".ew-prev\").toggleClass(\"disabled\", disabled);\r\n disabled = this.pageIndex >= this.maxPageIndex;\r\n this.$form.find(\".ew-next\").toggleClass(\"disabled\", disabled);\r\n }; // Go to page by index\r\n\r\n this.gotoPage = function (i) {\r\n if (i <= 0 || i < this.minPageIndex || i > this.maxPageIndex) return;\r\n\r\n if (this.pageIndex != i) {\r\n var $page = this.$pages.eq(i - 1);\r\n\r\n if (this.isTab) {\r\n if ($page.is(\":not(.d-none):not(.disabled)\")) $page.click();else $page.parent().next(\":has([data-toggle=tab]):not(.d-none):not(.disabled)\").find(\"[data-toggle=tab]\").toggleClass(\"disabled\", false).click();\r\n } else if (this.isCollapse) {\r\n var $p = $page.closest(\".card\");\r\n if ($p.is(\":not(.d-none)\")) $page.click();else $p.next(\":has([data-toggle=collapse]):not(.d-none)\").find(\"[data-toggle=collapse]\").click();\r\n }\r\n\r\n this.pageIndex = i;\r\n }\r\n };\r\n\r\n this.gotoPageByIndex = this.gotoPage; // Go to page by element\r\n\r\n this.gotoPageByElement = function (el) {\r\n this.gotoPage(parseInt($__default['default'](el).data(\"page\"), 10) || -1);\r\n }; // Go to page by element's id or name or data-field attribute\r\n\r\n this.gotoPageByElementId = function (id) {\r\n var $el = this.$form.find(\"[data-page]\").filter(\"[id='\" + id + \"'],[name='\" + id + \"'],[data-field='\" + id + \"']\");\r\n this.gotoPageByElement($el);\r\n }; // Toggle page\r\n\r\n this.togglePage = function (i, show) {\r\n if (this.isTab) {\r\n this.$pages.eq(i - 1).toggleClass(\"d-none\", !show);\r\n } else if (this.isCollapse) {\r\n this.$pages.eq(i - 1).closest(\".card\").toggle(\"d-none\", !show);\r\n }\r\n }; // Render\r\n\r\n this.render = function () {\r\n this.$form = $__default['default'](\"#\" + formid);\r\n this.pageIndexes = this.$form.find(\"[data-page]\").map(function () {\r\n var index = parseInt($__default['default'](this).data(\"page\"), 10);\r\n return index > 0 ? index : null;\r\n }).get();\r\n this.pageIndexes.sort(function (a, b) {\r\n return a - b;\r\n });\r\n this.minPageIndex = this.pageIndexes[0];\r\n this.maxPageIndex = this.pageIndexes[this.pageIndexes.length - 1];\r\n var $tabs = this.$form.find(\"[data-toggle=tab]\");\r\n\r\n if ($tabs[0]) {\r\n this.$pages = $tabs;\r\n this.isTab = true;\r\n $tabs.on(\"shown.bs.tab\", function (e) {\r\n self.pageIndex = $tabs.index(e.target) + 1;\r\n self.pageShow();\r\n $__default['default']($__default['default'](this).attr(\"href\")).find(\".ew-google-map\").each(function () {\r\n var m = ew.googleMaps[this.id];\r\n\r\n if (m && m[\"map\"]) {\r\n google.maps.event.trigger(m[\"map\"], \"resize\");\r\n m[\"map\"].setCenter(m[\"latlng\"]);\r\n }\r\n });\r\n });\r\n this.pageIndex = $tabs.index($tabs.parent(\".active\")) + 1;\r\n } else {\r\n this.$collapses = this.$form.find(\"[data-toggle=collapse]\");\r\n\r\n if (this.$collapses[0]) {\r\n this.$pages = this.$collapses;\r\n this.isCollapse = true;\r\n var $bodies = this.$collapses.closest(\".card-header\").next();\r\n $bodies.on(\"shown.bs.collapse\", function (e) {\r\n self.pageIndex = $bodies.index(e.target) + 1;\r\n self.pageShow();\r\n $__default['default'](this).find(\".ew-google-map\").each(function () {\r\n var m = ew.googleMaps[this.id];\r\n\r\n if (m && m[\"map\"]) {\r\n google.maps.event.trigger(m[\"map\"], \"resize\");\r\n m[\"map\"].setCenter(m[\"latlng\"]);\r\n }\r\n });\r\n });\r\n this.pageIndex = $bodies.index($bodies.hasClass(\"show\")) + 1;\r\n }\r\n }\r\n\r\n $__default['default'](function () {\r\n self.init();\r\n });\r\n };\r\n }\n\n /**\r\n * User level ID validator\r\n */\r\n\r\n function userLevelId(el) {\r\n if (el && !ew.checkInteger(el.value)) return {\r\n userLevelId: ew.language.phrase(\"UserLevelIDInteger\")\r\n };\r\n var level = parseInt(el.value, 10);\r\n if (level < 1) return {\r\n userLevelId: ew.language.phrase(\"UserLevelIDIncorrect\")\r\n };\r\n return false;\r\n }\r\n /**\r\n * User level name validator\r\n * @param {string} id User ID Field input element ID\r\n */\r\n\r\n function userLevelName(id) {\r\n return function (el) {\r\n var elId = document.getElementById(\"x_\" + id);\r\n\r\n if (elId && el) {\r\n var name = el.value.trim(),\r\n level = parseInt(elId.value.trim(), 10);\r\n\r\n if (level === 0 && !ew.sameText(name, \"Default\")) {\r\n return {\r\n userLevelName: ew.language.phrase(\"UserLevelDefaultName\")\r\n };\r\n } else if (level === -1 && !ew.sameText(name, \"Administrator\")) {\r\n return {\r\n userLevelName: ew.language.phrase(\"UserLevelAdministratorName\")\r\n };\r\n } else if (level === -2 && !ew.sameText(name, \"Anonymous\")) {\r\n return {\r\n userLevelName: ew.language.phrase(\"UserLevelAnonymousName\")\r\n };\r\n } else if (level > 0 && [\"anonymous\", \"administrator\", \"default\"].includes(name.toLowerCase())) {\r\n return {\r\n userLevelName: ew.language.phrase(\"UserLevelNameIncorrect\")\r\n };\r\n }\r\n }\r\n\r\n return false;\r\n };\r\n }\r\n /**\r\n * Required validator\r\n */\r\n\r\n function required(fieldName) {\r\n return function (el) {\r\n var _$el$data;\r\n\r\n var $el = $__default['default'](el),\r\n $p = $el.closest(\"#r_\" + ((_$el$data = $el.data(\"field\")) === null || _$el$data === void 0 ? void 0 : _$el$data.substr(2))); // Find the row\r\n\r\n if (!$p[0]) $p = $el.closest(\"[id^=el]\"); // Find the span\r\n\r\n if ($p.css(\"display\") == \"none\") {\r\n // Hidden by .visible()\r\n return false;\r\n }\r\n\r\n if (el && !ew.hasValue(el)) {\r\n return {\r\n required: ew.language.phrase(\"EnterRequiredField\").replace(\"%s\", fieldName)\r\n };\r\n }\r\n\r\n return false;\r\n };\r\n }\r\n /**\r\n * File required validator\r\n */\r\n\r\n function fileRequired(fieldName) {\r\n return function (el) {\r\n var elFn = document.getElementById(\"fn_\" + el.id);\r\n\r\n if (elFn && !ew.hasValue(elFn)) {\r\n return {\r\n fileRequired: ew.language.phrase(\"EnterRequiredField\").replace(\"%s\", fieldName)\r\n };\r\n }\r\n\r\n return false;\r\n };\r\n }\r\n /**\r\n * Mismatch password validator\r\n */\r\n\r\n function mismatchPassword(el) {\r\n var id;\r\n if (el.id.startsWith(\"c_\")) // Confirm Password field in Register page\r\n id = el.id.replace(/^c_/, \"x_\");else if (el.id == \"cpwd\") // Change Password page\r\n id = \"npwd\";\r\n var elPwd = document.getElementById(id);\r\n\r\n if (el.value !== elPwd.value) {\r\n return {\r\n mismatchPassword: ew.language.phrase(\"MismatchPassword\")\r\n };\r\n }\r\n\r\n return false;\r\n }\r\n /**\r\n * Between validator\r\n */\r\n\r\n function between(el) {\r\n var x, z;\r\n\r\n if (el.id.startsWith(\"y_\")) {\r\n x = document.getElementById(el.id.replace(/^y_/, \"x_\"));\r\n z = document.getElementById(el.id.replace(/^y_/, \"z_\"));\r\n }\r\n\r\n if (ew.hasValue(x) && $__default['default'](z).val() == \"BETWEEN\" && !ew.hasValue(el)) {\r\n return {\r\n between: ew.language.phrase(\"EnterValue2\")\r\n };\r\n }\r\n\r\n return false;\r\n }\r\n /**\r\n * Password strength validator\r\n */\r\n\r\n function passwordStrength(el) {\r\n var $el = $__default['default'](el);\r\n\r\n if (!ew.isMaskedPassword(el) && $el.hasClass(\"ew-password-strength\") && !$el.data(\"validated\")) {\r\n return {\r\n passwordStrength: ew.language.phrase(\"PasswordTooSimple\")\r\n };\r\n }\r\n\r\n return false;\r\n }\r\n /**\r\n * User name validator\r\n */\r\n\r\n function username(raw) {\r\n return function (el) {\r\n if (!raw && el.value.match(new RegExp('[' + ew.escapeRegExChars(ew.INVALID_USERNAME_CHARACTERS) + ']'))) return {\r\n username: ew.language.phrase(\"InvalidUsernameChars\")\r\n };\r\n return false;\r\n };\r\n }\r\n /**\r\n * Password validator\r\n */\r\n\r\n function password(raw) {\r\n return function (el) {\r\n if (!raw && !ew.ENCRYPTED_PASSWORD && el.value.match(new RegExp('[' + ew.escapeRegExChars(ew.INVALID_PASSWORD_CHARACTERS) + ']'))) return {\r\n password: ew.language.phrase(\"InvalidPasswordChars\")\r\n };\r\n return false;\r\n };\r\n }\r\n /**\r\n * Email validator\r\n */\r\n\r\n function email(el) {\r\n var value = ew.getValue(el);\r\n\r\n if (!ew.checkEmail(value)) {\r\n return {\r\n email: ew.language.phrase(\"IncorrectEmail\")\r\n };\r\n }\r\n\r\n return false;\r\n }\r\n /**\r\n * Emails validator\r\n */\r\n\r\n function emails(cnt, err) {\r\n return function (el) {\r\n var value = ew.getValue(el);\r\n\r\n if (!ew.checkEmails(value, cnt)) {\r\n return {\r\n email: err\r\n };\r\n }\r\n\r\n return false;\r\n };\r\n }\r\n /**\r\n * DateTime validator\r\n * @param {number} dateFormat DateTime format ID\r\n */\r\n\r\n function datetime(dateFormat) {\r\n return function (el) {\r\n var fn,\r\n phraseId,\r\n value = ew.getValue(el),\r\n newSubStr = ew.DATE_SEPARATOR;\r\n\r\n if ([12, 15, 115].includes(dateFormat)) {\r\n fn = ew.checkShortDate;\r\n phraseId = \"IncorrectShortDateYMD\";\r\n } else if ([5, 9, 109].includes(dateFormat)) {\r\n fn = ew.checkDate;\r\n phraseId = \"IncorrectDateYMD\";\r\n } else if ([14, 17, 117].includes(dateFormat)) {\r\n fn = ew.checkShortEuroDate;\r\n phraseId = \"IncorrectShortDateDMY\";\r\n } else if ([7, 11, 111].includes(dateFormat)) {\r\n fn = ew.checkEuroDate;\r\n phraseId = \"IncorrectDateDMY\";\r\n } else if ([13, 16, 116].includes(dateFormat)) {\r\n fn = ew.checkShortUSDate;\r\n phraseId = \"IncorrectShortDateMDY\";\r\n } else if ([6, 10, 110].includes(dateFormat)) {\r\n fn = ew.checkUSDate;\r\n phraseId = \"IncorrectDateMDY\";\r\n } else {\r\n // Default date format\r\n fn = ew.checkDateDef;\r\n phraseId = \"IncorrectDate\";\r\n newSubStr = ew.DATE_FORMAT;\r\n }\r\n\r\n if (fn && !fn(value)) {\r\n return {\r\n datetime: ew.language.phrase(phraseId).replace(/%s/g, newSubStr)\r\n };\r\n }\r\n\r\n return false;\r\n };\r\n }\r\n /**\r\n * Time validator\r\n */\r\n\r\n function time(el) {\r\n var value = ew.getValue(el);\r\n\r\n if (!ew.checkTime(value)) {\r\n return {\r\n time: ew.language.phrase(\"IncorrectTime\")\r\n };\r\n }\r\n\r\n return false;\r\n }\r\n /**\r\n * Float validator\r\n */\r\n\r\n function float(el) {\r\n var value = ew.getValue(el);\r\n\r\n if (!ew.checkNumber(value)) {\r\n return {\r\n time: ew.language.phrase(\"IncorrectFloat\")\r\n };\r\n }\r\n\r\n return false;\r\n }\r\n /**\r\n * Range validator\r\n * @param {number} min Min value\r\n * @param {number} max Max value\r\n */\r\n\r\n function range(min, max) {\r\n return function (el) {\r\n var value = ew.getValue(el);\r\n\r\n if (!ew.checkRange(value, min, max)) {\r\n return {\r\n range: ew.language.phrase(\"IncorrectRange\").replace(\"%1\", min).replace(\"%2\", max)\r\n };\r\n }\r\n\r\n return false;\r\n };\r\n }\r\n /**\r\n * Integer validator\r\n */\r\n\r\n function integer(el) {\r\n var value = ew.getValue(el);\r\n\r\n if (!ew.checkInteger(value)) {\r\n return {\r\n integer: ew.language.phrase(\"IncorrectInteger\")\r\n };\r\n }\r\n\r\n return false;\r\n }\r\n /**\r\n * US phone validator\r\n */\r\n\r\n function phone(el) {\r\n var value = ew.getValue(el);\r\n\r\n if (!ew.checkPhone(value)) {\r\n return {\r\n phone: ew.language.phrase(\"IncorrectPhone\")\r\n };\r\n }\r\n\r\n return false;\r\n }\r\n /**\r\n * US ZIP validator\r\n */\r\n\r\n function zip(el) {\r\n var value = ew.getValue(el);\r\n\r\n if (!ew.checkZip(value)) {\r\n return {\r\n zip: ew.language.phrase(\"IncorrectZip\")\r\n };\r\n }\r\n\r\n return false;\r\n }\r\n /**\r\n * Credit card validator\r\n */\r\n\r\n function creditCard(el) {\r\n var value = ew.getValue(el);\r\n\r\n if (!ew.checkCreditCard(value)) {\r\n return {\r\n creditCard: ew.language.phrase(\"IncorrectCreditCard\")\r\n };\r\n }\r\n\r\n return false;\r\n }\r\n /**\r\n * US SSN validator\r\n */\r\n\r\n function ssn(el) {\r\n var value = ew.getValue(el);\r\n\r\n if (!ew.checkSsn(value)) {\r\n return {\r\n ssn: ew.language.phrase(\"IncorrectSSN\")\r\n };\r\n }\r\n\r\n return false;\r\n }\r\n /**\r\n * GUID validator\r\n */\r\n\r\n function guid(el) {\r\n var value = ew.getValue(el);\r\n\r\n if (!ew.checkGuid(value)) {\r\n return {\r\n guid: ew.language.phrase(\"IncorrectGUID\")\r\n };\r\n }\r\n\r\n return false;\r\n }\r\n /**\r\n * Regular expression validator\r\n * @param {string} pattern Regular expression pattern\r\n */\r\n\r\n function regex(pattern) {\r\n return function (el) {\r\n var value = ew.getValue(el);\r\n\r\n if (!ew.checkByRegEx(value, pattern)) {\r\n return {\r\n regex: ew.language.phrase(\"IncorrectField\")\r\n };\r\n }\r\n\r\n return false;\r\n };\r\n }\r\n /**\r\n * Custom validator\r\n * @param {*} fn Function(value, ...args)\r\n * @param {...any} args Additional arguments for the function\r\n */\r\n\r\n function custom(fn) {\r\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\r\n args[_key - 1] = arguments[_key];\r\n }\r\n\r\n return function (el) {\r\n if (typeof fn == \"function\") {\r\n var value = ew.getValue(el);\r\n if (fn.apply(void 0, [value].concat(args))) return {\r\n custom: ew.language.phrase(\"IncorrectField\")\r\n };\r\n }\r\n\r\n return false;\r\n };\r\n }\r\n /**\r\n * Captcha validator\r\n */\r\n\r\n function captcha(el) {\r\n if (el && !ew.hasValue(el)) {\r\n return {\r\n captcha: ew.language.phrase(\"EnterValidateCode\")\r\n };\r\n }\r\n\r\n return false;\r\n }\r\n /**\r\n * reCaptcha validator\r\n * @param {number} id reCaptcha ID\r\n */\r\n\r\n function recaptcha(el) {\r\n var _grecaptcha;\r\n\r\n if (el && !ew.hasValue(el) && ((_grecaptcha = grecaptcha) === null || _grecaptcha === void 0 ? void 0 : _grecaptcha.getResponse(el.dataset.id)) === \"\") {\r\n return {\r\n recaptcha: ew.language.phrase(\"ClickReCaptcha\")\r\n };\r\n }\r\n\r\n return false;\r\n }\n\n var Validators = {\n __proto__: null,\n userLevelId: userLevelId,\n userLevelName: userLevelName,\n required: required,\n fileRequired: fileRequired,\n mismatchPassword: mismatchPassword,\n between: between,\n passwordStrength: passwordStrength,\n username: username,\n password: password,\n email: email,\n emails: emails,\n datetime: datetime,\n time: time,\n float: float,\n range: range,\n integer: integer,\n phone: phone,\n zip: zip,\n creditCard: creditCard,\n ssn: ssn,\n guid: guid,\n regex: regex,\n custom: custom,\n captcha: captcha,\n recaptcha: recaptcha\n };\n\n function _defineProperties(target, props) {\r\n for (var i = 0; i < props.length; i++) {\r\n var descriptor = props[i];\r\n descriptor.enumerable = descriptor.enumerable || false;\r\n descriptor.configurable = true;\r\n if (\"value\" in descriptor) descriptor.writable = true;\r\n Object.defineProperty(target, descriptor.key, descriptor);\r\n }\r\n }\r\n\r\n function _createClass(Constructor, protoProps, staticProps) {\r\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\r\n if (staticProps) _defineProperties(Constructor, staticProps);\r\n return Constructor;\r\n }\r\n\r\n var createClass = _createClass;\n\n function _assertThisInitialized(self) {\r\n if (self === void 0) {\r\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\r\n }\r\n\r\n return self;\r\n }\r\n\r\n var assertThisInitialized = _assertThisInitialized;\n\n function _inheritsLoose(subClass, superClass) {\r\n subClass.prototype = Object.create(superClass.prototype);\r\n subClass.prototype.constructor = subClass;\r\n subClass.__proto__ = superClass;\r\n }\r\n\r\n var inheritsLoose = _inheritsLoose;\n\n function _defineProperty(obj, key, value) {\r\n if (key in obj) {\r\n Object.defineProperty(obj, key, {\r\n value: value,\r\n enumerable: true,\r\n configurable: true,\r\n writable: true\r\n });\r\n } else {\r\n obj[key] = value;\r\n }\r\n\r\n return obj;\r\n }\r\n\r\n var defineProperty = _defineProperty;\n\n function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\r\n try {\r\n var info = gen[key](arg);\r\n var value = info.value;\r\n } catch (error) {\r\n reject(error);\r\n return;\r\n }\r\n\r\n if (info.done) {\r\n resolve(value);\r\n } else {\r\n Promise.resolve(value).then(_next, _throw);\r\n }\r\n }\r\n\r\n function _asyncToGenerator(fn) {\r\n return function () {\r\n var self = this,\r\n args = arguments;\r\n return new Promise(function (resolve, reject) {\r\n var gen = fn.apply(self, args);\r\n\r\n function _next(value) {\r\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\r\n }\r\n\r\n function _throw(err) {\r\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\r\n }\r\n\r\n _next(undefined);\r\n });\r\n };\r\n }\r\n\r\n var asyncToGenerator = _asyncToGenerator;\n\n function FormBase(id, pageId) {\r\n var self = this;\r\n this._initiated = false;\r\n this.id = id; // Same ID as the form\r\n\r\n this.pageId = pageId;\r\n this.$element = null; // jQuery object of the form or div\r\n\r\n this.htmlForm = null; // HTML form element\r\n\r\n this.initSearchPanel = false; // Expanded by default\r\n\r\n this.modified = false;\r\n this.validateRequired = true;\r\n this.validate = null;\r\n this.emptyRow = null; // Check empty row\r\n\r\n this.multiPage = null; // Multi-page\r\n\r\n this.autoSuggests = {}; // AutoSuggests\r\n\r\n this.lists = {}; // Dynamic selection lists\r\n // Disable form\r\n\r\n this.disableForm = function () {\r\n var form = this.getForm();\r\n $__default['default'](form).find(\":submit:not(.dropdown-toggle)\").prop(\"disabled\", true).addClass(\"disabled\");\r\n }; // Enable form\r\n\r\n this.enableForm = function () {\r\n var form = this.getForm(),\r\n $form = $__default['default'](form);\r\n $form.find(\".ew-disabled-element\").removeClass(\"ew-disabled-element\").prop(\"disabled\", false);\r\n $form.find(\".ew-enabled-element\").removeClass(\"ew-enabled-element\").prop(\"disabled\", true);\r\n $form.find(\":submit:not(.dropdown-toggle)\").prop(\"disabled\", false).removeClass(\"disabled\");\r\n }; // Append hidden element with form name\r\n\r\n this.appendHidden = function (el) {\r\n var form = this.getForm(),\r\n $form = $__default['default'](form),\r\n $dp = $__default['default'](el).closest(\".ew-form\"),\r\n name = $dp.attr(\"id\") + \"$\" + el.name;\r\n if ($form.find(\"input:hidden[name='\" + name + \"']\")[0]) // Already appended\r\n return;\r\n var ar = $dp.find('[name=\"' + el.name + '\"]').serializeArray();\r\n\r\n if (ar.length) {\r\n ar.forEach(function (o, i) {\r\n $__default['default']('').val(o.value).appendTo($form);\r\n });\r\n } else {\r\n $__default['default']('').val(\"\").appendTo($form);\r\n }\r\n }; // Can submit\r\n\r\n this.canSubmit = function () {\r\n var form = this.getForm(),\r\n $form = $__default['default'](form);\r\n this.disableForm();\r\n this.updateTextArea();\r\n\r\n if (!this.validate || this.validate() && !$form.find(\".is-invalid\")[0]) {\r\n $form.find(\"input[name^=sv_], input[name^=p_], .ew-template input\") // Do not submit these values\r\n .prop(\"disabled\", true).addClass(\"ew-disabled-element\");\r\n $form.find(\"[data-readonly=1][disabled]\").prop(\"disabled\", false).addClass(\"ew-enabled-element\"); // Submit readonly values\r\n\r\n var $dps = $__default['default']($form.find(\"input[name='detailpage']\").map(function (i, el) {\r\n return $form.find(\"#\" + el.value).get();\r\n }));\r\n\r\n if ($dps.length > 1) {\r\n // Multiple Master/Detail, check element names\r\n $dps.each(function (i, dp) {\r\n $__default['default'](dp).find(\":input\").each(function (j, el) {\r\n if (/^(fn_)?(x|o)\\d*_/.test(el.name)) {\r\n var $els = $dps.not(dp).find(\":input[name='\" + el.name + \"']\");\r\n\r\n if ($els.length) {\r\n // Elements with same name found\r\n self.appendHidden(el); // Append element with form name\r\n\r\n $els.each(function () {\r\n self.appendHidden(this); // Append elements with same name and form name\r\n });\r\n }\r\n }\r\n });\r\n });\r\n }\r\n\r\n return true;\r\n } else {\r\n this.enableForm();\r\n }\r\n\r\n return false;\r\n }; // Submit\r\n\r\n this.submit = /*#__PURE__*/function () {\r\n var _ref = asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(e, action) {\r\n var form, args, result;\r\n return regenerator.wrap(function _callee$(_context) {\r\n while (1) {\r\n switch (_context.prev = _context.next) {\r\n case 0:\r\n form = this.getForm();\r\n\r\n if (!this.canSubmit()) {\r\n _context.next = 11;\r\n break;\r\n }\r\n\r\n if (action) form.action = action;\r\n args = {\r\n f: this,\r\n form: form,\r\n result: true\r\n };\r\n $__default['default'](form).trigger(\"beforesubmit\", [args]);\r\n _context.next = 7;\r\n return args.result;\r\n\r\n case 7:\r\n result = _context.sent;\r\n // Support Promise\r\n if ($__default['default'].isBoolean(result) && result || $__default['default'].isObject(result) && result.value) // Support Swal.fire()\r\n form.submit();\r\n _context.next = 12;\r\n break;\r\n\r\n case 11:\r\n this.enableForm();\r\n\r\n case 12:\r\n case \"end\":\r\n return _context.stop();\r\n }\r\n }\r\n }, _callee, this);\r\n }));\r\n\r\n return function (_x, _x2) {\r\n return _ref.apply(this, arguments);\r\n };\r\n }(); // Get dynamic selection list by element name or id\r\n\r\n this.getList = function (name) {\r\n name = name.replace(/^(sv_)?[xy](\\d*|\\$rowindex\\$)_|\\[\\]$/g, \"\"); // Remove element name prefix/suffix\r\n\r\n return this.lists[name];\r\n }; // Compile templates\r\n\r\n this.compileTemplates = function () {\r\n var lists = Object.values(this.lists);\r\n\r\n for (var _i = 0, _lists = lists; _i < _lists.length; _i++) {\r\n var list = _lists[_i];\r\n if (list.template && $__default['default'].isString(list.template)) list.template = $__default['default'].templates(list.template);\r\n }\r\n }; // Get the HTML form element\r\n\r\n this.getForm = function () {\r\n if (!this.htmlForm) {\r\n this.$element = $__default['default'](\"#\" + this.id);\r\n\r\n if (this.$element.is(\"form\")) {\r\n // HTML form\r\n this.htmlForm = this.$element[0];\r\n } else if (this.$element.is(\"div\")) {\r\n // HTML div => Grid page\r\n this.htmlForm = this.$element.closest(\"form\")[0];\r\n }\r\n }\r\n\r\n return this.htmlForm;\r\n }; // Get form element as single element\r\n\r\n this.getElement = function (name) {\r\n if (!this.$element) this.$element = $__default['default'](\"#\" + this.id);\r\n return name ? ew.getElement(name, this.$element) : this.$element[0];\r\n }; // Get form element(s) as single element or array of radio/checkbox\r\n\r\n this.getElements = function (name) {\r\n if (!this.$element) this.$element = $__default['default'](\"#\" + this.id);\r\n var selector = \"[name='\" + name + \"']\";\r\n selector = \"input\" + selector + \",select\" + selector + \",textarea\" + selector + \",button\" + selector;\r\n var $els = this.$element.find(selector);\r\n return $els.length == 0 ? null : $els.length == 1 && $els.is(\":not([type=checkbox]):not([type=radio])\") ? $els[0] : $els.get();\r\n }; // Update selection lists\r\n // @param {(null|undefined|number)*} rowindex Row index\r\n\r\n this.updateLists = function (rowindex) {\r\n if (rowindex === null) // rowindex == $rowindex$ == null\r\n return;\r\n if (!$__default['default'].isNumber(rowindex) && this.pageId == \"grid\") return;\r\n var form = this.getForm(),\r\n // Set up $element and htmlForm\r\n confirm = form.querySelector(\"input#confirm\");\r\n\r\n if (confirm && confirm.value == \"confirm\") {\r\n // Confirm page\r\n ew.removeSpinner();\r\n return;\r\n }\r\n\r\n var fixId = function fixId(id, multiple) {\r\n var t = \"\",\r\n i = rowindex,\r\n ar = id.split(\" \");\r\n\r\n if (ar.length > 1) {\r\n t = ar[0];\r\n i = \"\";\r\n id = ar[1];\r\n }\r\n\r\n var prefix = $__default['default'].isNumber(i) ? \"x\" + i + \"_\" : \"x_\"; // Add row index\r\n\r\n if (id.startsWith(\"x_\")) // Field element name\r\n id = id.replace(/^x_/, prefix);else // Field var\r\n id = prefix + id;\r\n if (multiple && !id.endsWith(\"[]\")) // Add [] if select-multiple\r\n id += \"[]\";\r\n return t ? t + \" \" + id : id;\r\n };\r\n\r\n var selector = Object.entries(this.lists).map(function (_ref2) {\r\n var id = _ref2[0],\r\n list = _ref2[1];\r\n return \"[name='\" + fixId(id, list.multiple) + \"']\";\r\n }).join();\r\n\r\n if (!selector || !form.querySelector(selector)) {\r\n // Lists not found\r\n ew.removeSpinner();\r\n return;\r\n }\r\n\r\n var actions = [],\r\n promises = [];\r\n this.compileTemplates(); // For grid where updateList() called before init()\r\n\r\n for (var _i2 = 0, _Object$entries = Object.entries(this.lists); _i2 < _Object$entries.length; _i2++) {\r\n var _Object$entries$_i = _Object$entries[_i2],\r\n _id = _Object$entries$_i[0],\r\n list = _Object$entries$_i[1];\r\n var parents = list.parentFields.slice().map(function (parent) {\r\n return fixId(parent);\r\n }),\r\n // Clone and fix index\r\n ajax = list.ajax;\r\n _id = fixId(_id, list.multiple);\r\n\r\n if ($__default['default'].isBoolean(ajax)) {\r\n // Ajax\r\n var pvalues = parents.map(function (parent) {\r\n return ew.getOptionValues(parent, form);\r\n }); // Save the initial values of the parent lists\r\n\r\n actions.push([_id, pvalues, ajax, false]);\r\n } else {\r\n // Non-Ajax\r\n ew.updateOptions.call(this, _id, parents, null, false);\r\n }\r\n } // Update the Ajax lists\r\n\r\n for (var i = 0; i < actions.length; i++) {\r\n promises.push(new Promise(function (resolve, reject) {\r\n setTimeout(function () {\r\n resolve(ew.updateOptions.apply(self, actions.shift()));\r\n }, ew.AJAX_DELAY * i); // Delay a little in case of large number of lists\r\n }));\r\n }\r\n\r\n Promise.all(promises).then(function () {\r\n $__default['default'](document).trigger(\"updatedone\", [{\r\n source: self,\r\n target: form\r\n }]);\r\n }).catch(function (error) {\r\n console.log(error);\r\n });\r\n }; // Create AutoSuggest\r\n\r\n this.createAutoSuggest = function (settings) {\r\n var options = Object.assign({\r\n limit: ew.AUTO_SUGGEST_MAX_ENTRIES,\r\n form: this\r\n }, ew.autoSuggestSettings, settings); // Global settings + field specific settings\r\n\r\n self.autoSuggests[settings.id] = new ew.AutoSuggest(options);\r\n }; // Init editors\r\n\r\n this.initEditors = function () {\r\n var form = this.getForm();\r\n $__default['default'](form.elements).filter(\"textarea.editor\").each(function (i, el) {\r\n var ed = $__default['default'](el).data(\"editor\");\r\n if (ed && !ed.active && !ed.name.includes(\"$rowindex$\")) ed.create();\r\n });\r\n }; // Update textareas\r\n\r\n this.updateTextArea = function (name) {\r\n var form = this.getForm();\r\n $__default['default'](form.elements).filter(\"textarea.editor\").each(function (i, el) {\r\n var ed = $__default['default'](el).data(\"editor\");\r\n if (!ed || name && ed.name != name) return true; // Continue\r\n\r\n ed.save();\r\n if (name) return false; // Break\r\n });\r\n }; // Destroy editor(s)\r\n\r\n this.destroyEditor = function (name) {\r\n var form = this.getForm();\r\n $__default['default'](form.elements).filter(\"textarea.editor\").each(function (i, el) {\r\n var ed = $__default['default'](el).data(\"editor\");\r\n if (!ed || name && ed.name != name) return true; // Continue\r\n\r\n ed.destroy();\r\n if (name) return false; // Break\r\n });\r\n }; // Show error message\r\n\r\n this.onError = function (el, msg) {\r\n return ew.onError(this, el, msg);\r\n }; // Init file upload\r\n\r\n this.initUpload = function () {\r\n var form = this.getForm();\r\n $__default['default'](form.elements).filter(\"input:file:not([name*='$rowindex$'],[id='importfiles'])\").each(function (index) {\r\n $__default['default'].later(ew.AJAX_DELAY * index, null, ew.upload, this); // Delay a little in case of large number of upload fields\r\n });\r\n }; // Set up filters\r\n\r\n this.setupFilters = function (e, filters) {\r\n var id = this.id,\r\n data = this.filterList ? this.filterList.data : null,\r\n $sf = $__default['default'](\".ew-save-filter[data-form=\" + id + \"]\").toggleClass(\"disabled\", !data),\r\n $df = $__default['default'](\".ew-delete-filter[data-form=\" + id + \"]\").toggleClass(\"disabled\", !filters.length).toggleClass(\"dropdown-toggle\", !!filters.length),\r\n $delete = $df.parent(\"li\").toggleClass(\"dropdown-submenu dropdown-hover\", !!filters.length).toggleClass(\"disabled\", !filters.length),\r\n $save = $sf.parent(\"li\").toggleClass(\"disabled\", !data),\r\n $btn = $__default['default'](e.target);\r\n\r\n var saveFilters = function saveFilters(id, filters) {\r\n if (ew.SEARCH_FILTER_OPTION == \"Client\") {\r\n window.localStorage.setItem(id + \"_filters\", JSON.stringify(filters));\r\n } else if (ew.SEARCH_FILTER_OPTION == \"Server\") {\r\n var $body = $__default['default'](\"body\");\r\n $body.css(\"cursor\", \"wait\");\r\n $__default['default'].ajax(ew.currentPage(), {\r\n type: \"POST\",\r\n dataType: \"json\",\r\n data: {\r\n \"ajax\": \"savefilters\",\r\n \"filters\": JSON.stringify(filters)\r\n }\r\n }).done(function (result) {\r\n if (result[0] && result[0].success) self.filterList.filters = filters; // Save filters\r\n }).always(function () {\r\n $body.css(\"cursor\", \"default\");\r\n });\r\n }\r\n };\r\n\r\n $save.off(\"click.ew\").on(\"click.ew\", function (e) {\r\n // Save filter\r\n if ($save.hasClass(\"disabled\")) return false;\r\n ew.prompt(ew.language.phrase(\"EnterFilterName\"), function (name) {\r\n name = ew.sanitize(name);\r\n\r\n if (name) {\r\n filters.push([name, data]);\r\n saveFilters(id, filters);\r\n }\r\n }, true);\r\n }).prevAll().remove();\r\n $df.next(\"ul.dropdown-menu\").remove();\r\n\r\n if (filters.length) {\r\n var $submenu = $__default['default'](\"
\");\r\n\r\n for (var i in filters) {\r\n if (!Array.isArray(filters[i])) continue;\r\n $__default['default']('