@wavemaker/app-runtime-wm-build 11.3.2-next.27252 → 11.4.0-next.1417011

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -217695,7 +217695,7 @@ window.requestAnimationFrame = function() {
217695
217695
  }));
217696
217696
 
217697
217697
  /*!
217698
- * tabbable 6.1.1
217698
+ * tabbable 6.1.2
217699
217699
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
217700
217700
  */
217701
217701
  (function(global, factory) {
@@ -3779,7 +3779,7 @@ function(t,e){var n,r,i;!function(o,a){"use strict";r=[],void 0===(i="function"=
3779
3779
  !*** ./index.ts ***!
3780
3780
  \******************/n.r(r),n.d(r,{$rootScope:()=>t.$rootScope,ApiAwareVariable:()=>o.ApiAwareVariable,BaseAction:()=>i.BaseAction,CONSTANTS:()=>t.CONSTANTS,CrudVariable:()=>l.CrudVariable,DB_CONSTANTS:()=>t.DB_CONSTANTS,LVService:()=>p.LVService,LiveVariable:()=>c.LiveVariable,LiveVariableUtils:()=>d.LiveVariableUtils,ModelVariable:()=>s.ModelVariable,SWAGGER_CONSTANTS:()=>t.SWAGGER_CONSTANTS,ServiceVariable:()=>u.ServiceVariable,TEST:()=>h,TimerAction:()=>a.TimerAction,VARIABLE_CONSTANTS:()=>t.VARIABLE_CONSTANTS,VARIABLE_URLS:()=>t.VARIABLE_URLS,WS_CONSTANTS:()=>t.WS_CONSTANTS,appManager:()=>e.appManager,debounceVariableCall:()=>e.debounceVariableCall,decodeData:()=>e.decodeData,dialogService:()=>e.dialogService,formatDate:()=>e.formatDate,formatExportExpression:()=>e.formatExportExpression,generateConnectionParams:()=>p.generateConnectionParams,getBlob:()=>e.getBlob,getErrMessage:()=>e.getErrMessage,getEvaluatedOrderBy:()=>e.getEvaluatedOrderBy,getTarget:()=>e.getTarget,getTargetNodeKey:()=>e.getTargetNodeKey,getTargetObj:()=>e.getTargetObj,httpService:()=>e.httpService,initiateCallback:()=>e.initiateCallback,internalBoundNodeMap:()=>e.internalBoundNodeMap,isFileUploadSupported:()=>e.isFileUploadSupported,metadataService:()=>e.metadataService,navigationService:()=>e.navigationService,oauthService:()=>e.oauthService,parseConfig:()=>p.parseConfig,routerService:()=>e.routerService,securityService:()=>e.securityService,setInput:()=>e.setInput,setValueToNode:()=>e.setValueToNode,toasterService:()=>e.toasterService,updateInternalNodes:()=>e.updateInternalNodes,wmSetDependency:()=>e.wmSetDependency});var t=n(/*! ./src/constants/variables.constants */"./src/constants/variables.constants.ts"),e=n(/*! ./src/util/variable/variables.utils */"./src/util/variable/variables.utils.ts"),i=n(/*! ./src/model/base-action */"./src/model/base-action.ts"),o=n(/*! ./src/model/variable/api-aware-variable */"./src/model/variable/api-aware-variable.ts"),a=n(/*! ./src/model/action/timer-action */"./src/model/action/timer-action.ts"),s=n(/*! ./src/model/variable/model-variable */"./src/model/variable/model-variable.ts"),u=n(/*! ./src/model/variable/service-variable */"./src/model/variable/service-variable.ts"),l=n(/*! ./src/model/variable/crud-variable */"./src/model/variable/crud-variable.ts"),c=n(/*! ./src/model/variable/live-variable */"./src/model/variable/live-variable.ts"),p=(n(/*! ./src/types/http-client.service */"./src/types/http-client.service.ts"),n(/*! ./src/util/variable/live-variable.http.utils */"./src/util/variable/live-variable.http.utils.ts")),d=n(/*! ./src/util/variable/live-variable.utils */"./src/util/variable/live-variable.utils.ts"),h="hello from variables"})(),r})())),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).jmespath={})}(this,(function(t){"use strict";const e=t=>null!==t&&"[object Object]"===Object.prototype.toString.call(t),n=(t,r)=>{if(t===r)return!0;if(typeof t!=typeof r)return!1;if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return!1;for(let e=0;e<t.length;e+=1)if(!n(t[e],r[e]))return!1;return!0}if(e(t)&&e(r)){const e=Object.entries(t),i=new Set(Object.keys(r));if(e.length!==i.size)return!1;for(const[t,o]of e){if(!n(o,r[t]))return!1;i.delete(t)}return 0===i.size}return!1},r=t=>{if(""===t||!1===t||null==t)return!0;if(Array.isArray(t)&&0===t.length)return!0;if(e(t)){for(const e in t)if(t.hasOwnProperty(e))return!1;return!0}return!1},i=t=>t>="0"&&t<="9"||"-"===t;var o;!function(t){t.TOK_EOF="EOF",t.TOK_UNQUOTEDIDENTIFIER="UnquotedIdentifier",t.TOK_QUOTEDIDENTIFIER="QuotedIdentifier",t.TOK_RBRACKET="Rbracket",t.TOK_RPAREN="Rparen",t.TOK_COMMA="Comma",t.TOK_COLON="Colon",t.TOK_RBRACE="Rbrace",t.TOK_NUMBER="Number",t.TOK_CURRENT="Current",t.TOK_ROOT="Root",t.TOK_EXPREF="Expref",t.TOK_PIPE="Pipe",t.TOK_OR="Or",t.TOK_AND="And",t.TOK_EQ="EQ",t.TOK_GT="GT",t.TOK_LT="LT",t.TOK_GTE="GTE",t.TOK_LTE="LTE",t.TOK_NE="NE",t.TOK_FLATTEN="Flatten",t.TOK_STAR="Star",t.TOK_FILTER="Filter",t.TOK_DOT="Dot",t.TOK_NOT="Not",t.TOK_LBRACE="Lbrace",t.TOK_LBRACKET="Lbracket",t.TOK_LPAREN="Lparen",t.TOK_LITERAL="Literal"}(o||(o={}));const a={"(":o.TOK_LPAREN,")":o.TOK_RPAREN,"*":o.TOK_STAR,",":o.TOK_COMMA,".":o.TOK_DOT,":":o.TOK_COLON,"@":o.TOK_CURRENT,$:o.TOK_ROOT,"]":o.TOK_RBRACKET,"{":o.TOK_LBRACE,"}":o.TOK_RBRACE},s={"!":!0,"<":!0,"=":!0,">":!0},u={"\t":!0,"\n":!0,"\r":!0," ":!0};const l=new class{constructor(){this._current=0}tokenize(t){const e=[];let n,r,l;for(this._current=0;this._current<t.length;)if((c=t[this._current])>="a"&&c<="z"||c>="A"&&c<="Z"||"_"===c)n=this._current,r=this.consumeUnquotedIdentifier(t),e.push({start:n,type:o.TOK_UNQUOTEDIDENTIFIER,value:r});else if(void 0!==a[t[this._current]])e.push({start:this._current,type:a[t[this._current]],value:t[this._current]}),this._current+=1;else if(i(t[this._current]))l=this.consumeNumber(t),e.push(l);else if("["===t[this._current])l=this.consumeLBracket(t),e.push(l);else if('"'===t[this._current])n=this._current,r=this.consumeQuotedIdentifier(t),e.push({start:n,type:o.TOK_QUOTEDIDENTIFIER,value:r});else if("'"===t[this._current])n=this._current,r=this.consumeRawStringLiteral(t),e.push({start:n,type:o.TOK_LITERAL,value:r});else if("`"===t[this._current]){n=this._current;const r=this.consumeLiteral(t);e.push({start:n,type:o.TOK_LITERAL,value:r})}else if(void 0!==s[t[this._current]])l=this.consumeOperator(t),l&&e.push(l);else if(void 0!==u[t[this._current]])this._current+=1;else if("&"===t[this._current])n=this._current,this._current+=1,"&"===t[this._current]?(this._current+=1,e.push({start:n,type:o.TOK_AND,value:"&&"})):e.push({start:n,type:o.TOK_EXPREF,value:"&"});else{if("|"!==t[this._current]){const e=new Error(`Unknown character: ${t[this._current]}`);throw e.name="LexerError",e}n=this._current,this._current+=1,"|"===t[this._current]?(this._current+=1,e.push({start:n,type:o.TOK_OR,value:"||"})):e.push({start:n,type:o.TOK_PIPE,value:"|"})}var c;return e}consumeUnquotedIdentifier(t){const e=this._current;for(this._current+=1;this._current<t.length&&((n=t[this._current])>="a"&&n<="z"||n>="A"&&n<="Z"||n>="0"&&n<="9"||"_"===n);)this._current+=1;var n;return t.slice(e,this._current)}consumeQuotedIdentifier(t){const e=this._current;this._current+=1;const n=t.length;for(;'"'!==t[this._current]&&this._current<n;){let e=this._current;"\\"!==t[e]||"\\"!==t[e+1]&&'"'!==t[e+1]?e+=1:e+=2,this._current=e}return this._current+=1,JSON.parse(t.slice(e,this._current))}consumeRawStringLiteral(t){const e=this._current;this._current+=1;const n=t.length;for(;"'"!==t[this._current]&&this._current<n;){let e=this._current;"\\"!==t[e]||"\\"!==t[e+1]&&"'"!==t[e+1]?e+=1:e+=2,this._current=e}this._current+=1;return t.slice(e+1,this._current-1).replace("\\'","'")}consumeNumber(t){const e=this._current;this._current+=1;const n=t.length;for(;i(t[this._current])&&this._current<n;)this._current+=1;return{start:e,value:parseInt(t.slice(e,this._current),10),type:o.TOK_NUMBER}}consumeLBracket(t){const e=this._current;return this._current+=1,"?"===t[this._current]?(this._current+=1,{start:e,type:o.TOK_FILTER,value:"[?"}):"]"===t[this._current]?(this._current+=1,{start:e,type:o.TOK_FLATTEN,value:"[]"}):{start:e,type:o.TOK_LBRACKET,value:"["}}consumeOperator(t){const e=this._current,n=t[e];return this._current+=1,"!"===n?"="===t[this._current]?(this._current+=1,{start:e,type:o.TOK_NE,value:"!="}):{start:e,type:o.TOK_NOT,value:"!"}:"<"===n?"="===t[this._current]?(this._current+=1,{start:e,type:o.TOK_LTE,value:"<="}):{start:e,type:o.TOK_LT,value:"<"}:">"===n?"="===t[this._current]?(this._current+=1,{start:e,type:o.TOK_GTE,value:">="}):{start:e,type:o.TOK_GT,value:">"}:"="===n&&"="===t[this._current]?(this._current+=1,{start:e,type:o.TOK_EQ,value:"=="}):void 0}consumeLiteral(t){this._current+=1;const e=this._current,n=t.length;for(;"`"!==t[this._current]&&this._current<n;){let e=this._current;"\\"!==t[e]||"\\"!==t[e+1]&&"`"!==t[e+1]?e+=1:e+=2,this._current=e}let r=t.slice(e,this._current).trimLeft();r=r.replace("\\`","`");const i=this.looksLikeJSON(r)?JSON.parse(r):JSON.parse(`"${r}"`);return this._current+=1,i}looksLikeJSON(t){if(""===t)return!1;if('[{"'.includes(t[0]))return!0;if(["true","false","null"].includes(t))return!0;if("-0123456789".includes(t[0]))try{return JSON.parse(t),!0}catch(t){return!1}return!1}},c={[o.TOK_EOF]:0,[o.TOK_UNQUOTEDIDENTIFIER]:0,[o.TOK_QUOTEDIDENTIFIER]:0,[o.TOK_RBRACKET]:0,[o.TOK_RPAREN]:0,[o.TOK_COMMA]:0,[o.TOK_RBRACE]:0,[o.TOK_NUMBER]:0,[o.TOK_CURRENT]:0,[o.TOK_EXPREF]:0,[o.TOK_ROOT]:0,[o.TOK_PIPE]:1,[o.TOK_OR]:2,[o.TOK_AND]:3,[o.TOK_EQ]:5,[o.TOK_GT]:5,[o.TOK_LT]:5,[o.TOK_GTE]:5,[o.TOK_LTE]:5,[o.TOK_NE]:5,[o.TOK_FLATTEN]:9,[o.TOK_STAR]:20,[o.TOK_FILTER]:21,[o.TOK_DOT]:40,[o.TOK_NOT]:45,[o.TOK_LBRACE]:50,[o.TOK_LBRACKET]:55,[o.TOK_LPAREN]:60};const p=new class{constructor(){this.index=0,this.tokens=[]}parse(t){this.loadTokens(t),this.index=0;const e=this.expression(0);if(this.lookahead(0)!==o.TOK_EOF){const t=this.lookaheadToken(0);this.errorToken(t,`Unexpected token type: ${t.type}, value: ${t.value}`)}return e}loadTokens(t){this.tokens=[...l.tokenize(t),{type:o.TOK_EOF,value:"",start:t.length}]}expression(t){const e=this.lookaheadToken(0);this.advance();let n=this.nud(e),r=this.lookahead(0);for(;t<c[r];)this.advance(),n=this.led(r,n),r=this.lookahead(0);return n}lookahead(t){return this.tokens[this.index+t].type}lookaheadToken(t){return this.tokens[this.index+t]}advance(){this.index+=1}nud(t){let e,n,r;switch(t.type){case o.TOK_LITERAL:return{type:"Literal",value:t.value};case o.TOK_UNQUOTEDIDENTIFIER:return{type:"Field",name:t.value};case o.TOK_QUOTEDIDENTIFIER:const i={type:"Field",name:t.value};if(this.lookahead(0)===o.TOK_LPAREN)throw new Error("Quoted identifier not allowed for function names.");return i;case o.TOK_NOT:return n=this.expression(c.Not),{type:"NotExpression",children:[n]};case o.TOK_STAR:return e={type:"Identity"},n=this.lookahead(0)===o.TOK_RBRACKET&&{type:"Identity"}||this.parseProjectionRHS(c.Star),{type:"ValueProjection",children:[e,n]};case o.TOK_FILTER:return this.led(t.type,{type:"Identity"});case o.TOK_LBRACE:return this.parseMultiselectHash();case o.TOK_FLATTEN:return e={type:o.TOK_FLATTEN,children:[{type:"Identity"}]},n=this.parseProjectionRHS(c.Flatten),{type:"Projection",children:[e,n]};case o.TOK_LBRACKET:return this.lookahead(0)===o.TOK_NUMBER||this.lookahead(0)===o.TOK_COLON?(n=this.parseIndexExpression(),this.projectIfSlice({type:"Identity"},n)):this.lookahead(0)===o.TOK_STAR&&this.lookahead(1)===o.TOK_RBRACKET?(this.advance(),this.advance(),n=this.parseProjectionRHS(c.Star),{children:[{type:"Identity"},n],type:"Projection"}):this.parseMultiselectList();case o.TOK_CURRENT:return{type:o.TOK_CURRENT};case o.TOK_ROOT:return{type:o.TOK_ROOT};case o.TOK_EXPREF:return r=this.expression(c.Expref),{type:"ExpressionReference",children:[r]};case o.TOK_LPAREN:const a=[];for(;this.lookahead(0)!==o.TOK_RPAREN;)this.lookahead(0)===o.TOK_CURRENT?(r={type:o.TOK_CURRENT},this.advance()):r=this.expression(0),a.push(r);return this.match(o.TOK_RPAREN),a[0];default:this.errorToken(t)}}led(t,e){let n;switch(t){case o.TOK_DOT:const r=c.Dot;return this.lookahead(0)!==o.TOK_STAR?(n=this.parseDotRHS(r),{type:"Subexpression",children:[e,n]}):(this.advance(),n=this.parseProjectionRHS(r),{type:"ValueProjection",children:[e,n]});case o.TOK_PIPE:return n=this.expression(c.Pipe),{type:o.TOK_PIPE,children:[e,n]};case o.TOK_OR:return n=this.expression(c.Or),{type:"OrExpression",children:[e,n]};case o.TOK_AND:return n=this.expression(c.And),{type:"AndExpression",children:[e,n]};case o.TOK_LPAREN:const i=e.name,a=[];let s;for(;this.lookahead(0)!==o.TOK_RPAREN;)this.lookahead(0)===o.TOK_CURRENT?(s={type:o.TOK_CURRENT},this.advance()):s=this.expression(0),this.lookahead(0)===o.TOK_COMMA&&this.match(o.TOK_COMMA),a.push(s);this.match(o.TOK_RPAREN);return{name:i,type:"Function",children:a};case o.TOK_FILTER:const u=this.expression(0);return this.match(o.TOK_RBRACKET),n=this.lookahead(0)===o.TOK_FLATTEN&&{type:"Identity"}||this.parseProjectionRHS(c.Filter),{type:"FilterProjection",children:[e,n,u]};case o.TOK_FLATTEN:return{type:"Projection",children:[{type:o.TOK_FLATTEN,children:[e]},this.parseProjectionRHS(c.Flatten)]};case o.TOK_EQ:case o.TOK_NE:case o.TOK_GT:case o.TOK_GTE:case o.TOK_LT:case o.TOK_LTE:return this.parseComparator(e,t);case o.TOK_LBRACKET:const l=this.lookaheadToken(0);return l.type===o.TOK_NUMBER||l.type===o.TOK_COLON?(n=this.parseIndexExpression(),this.projectIfSlice(e,n)):(this.match(o.TOK_STAR),this.match(o.TOK_RBRACKET),n=this.parseProjectionRHS(c.Star),{type:"Projection",children:[e,n]});default:return this.errorToken(this.lookaheadToken(0))}}match(t){if(this.lookahead(0)!==t){const e=this.lookaheadToken(0);this.errorToken(e,`Expected ${t}, got: ${e.type}`)}else this.advance()}errorToken(t,e=""){const n=new Error(e||`Invalid token (${t.type}): "${t.value}"`);throw n.name="ParserError",n}parseIndexExpression(){if(this.lookahead(0)===o.TOK_COLON||this.lookahead(1)===o.TOK_COLON)return this.parseSliceExpression();const t={type:"Index",value:this.lookaheadToken(0).value};return this.advance(),this.match(o.TOK_RBRACKET),t}projectIfSlice(t,e){const n={type:"IndexExpression",children:[t,e]};return"Slice"===e.type?{children:[n,this.parseProjectionRHS(c.Star)],type:"Projection"}:n}parseSliceExpression(){const t=[null,null,null];let e=0,n=this.lookahead(0);for(;n!==o.TOK_RBRACKET&&e<3;){if(n===o.TOK_COLON)e+=1,this.advance();else if(n===o.TOK_NUMBER)t[e]=this.lookaheadToken(0).value,this.advance();else{const t=this.lookaheadToken(0);this.errorToken(t,`Syntax error, unexpected token: ${t.value}(${t.type})`)}n=this.lookahead(0)}return this.match(o.TOK_RBRACKET),{children:t,type:"Slice"}}parseComparator(t,e){return{type:"Comparator",name:e,children:[t,this.expression(c[e])]}}parseDotRHS(t){const e=this.lookahead(0);if([o.TOK_UNQUOTEDIDENTIFIER,o.TOK_QUOTEDIDENTIFIER,o.TOK_STAR].includes(e))return this.expression(t);if(e===o.TOK_LBRACKET)return this.match(o.TOK_LBRACKET),this.parseMultiselectList();if(e===o.TOK_LBRACE)return this.match(o.TOK_LBRACE),this.parseMultiselectHash();const n=this.lookaheadToken(0);this.errorToken(n,`Syntax error, unexpected token: ${n.value}(${n.type})`)}parseProjectionRHS(t){if(c[this.lookahead(0)]<10)return{type:"Identity"};if(this.lookahead(0)===o.TOK_LBRACKET)return this.expression(t);if(this.lookahead(0)===o.TOK_FILTER)return this.expression(t);if(this.lookahead(0)===o.TOK_DOT)return this.match(o.TOK_DOT),this.parseDotRHS(t);const e=this.lookaheadToken(0);this.errorToken(e,`Syntax error, unexpected token: ${e.value}(${e.type})`)}parseMultiselectList(){const t=[];for(;this.lookahead(0)!==o.TOK_RBRACKET;){const e=this.expression(0);if(t.push(e),this.lookahead(0)===o.TOK_COMMA&&(this.match(o.TOK_COMMA),this.lookahead(0)===o.TOK_RBRACKET))throw new Error("Unexpected token Rbracket")}return this.match(o.TOK_RBRACKET),{type:"MultiSelectList",children:t}}parseMultiselectHash(){const t=[],e=[o.TOK_UNQUOTEDIDENTIFIER,o.TOK_QUOTEDIDENTIFIER];let n,r,i;for(;;){if(n=this.lookaheadToken(0),!e.includes(n.type))throw new Error(`Expecting an identifier token, got: ${n.type}`);if(r=n.value,this.advance(),this.match(o.TOK_COLON),i=this.expression(0),t.push({value:i,type:"KeyValuePair",name:r}),this.lookahead(0)===o.TOK_COMMA)this.match(o.TOK_COMMA);else if(this.lookahead(0)===o.TOK_RBRACE){this.match(o.TOK_RBRACE);break}}return{type:"MultiSelectHash",children:t}}};var d;!function(t){t[t.TYPE_NUMBER=0]="TYPE_NUMBER",t[t.TYPE_ANY=1]="TYPE_ANY",t[t.TYPE_STRING=2]="TYPE_STRING",t[t.TYPE_ARRAY=3]="TYPE_ARRAY",t[t.TYPE_OBJECT=4]="TYPE_OBJECT",t[t.TYPE_BOOLEAN=5]="TYPE_BOOLEAN",t[t.TYPE_EXPREF=6]="TYPE_EXPREF",t[t.TYPE_NULL=7]="TYPE_NULL",t[t.TYPE_ARRAY_NUMBER=8]="TYPE_ARRAY_NUMBER",t[t.TYPE_ARRAY_STRING=9]="TYPE_ARRAY_STRING"}(d||(d={}));class h{constructor(t){this.TYPE_NAME_TABLE={[d.TYPE_NUMBER]:"number",[d.TYPE_ANY]:"any",[d.TYPE_STRING]:"string",[d.TYPE_ARRAY]:"array",[d.TYPE_OBJECT]:"object",[d.TYPE_BOOLEAN]:"boolean",[d.TYPE_EXPREF]:"expression",[d.TYPE_NULL]:"null",[d.TYPE_ARRAY_NUMBER]:"Array<number>",[d.TYPE_ARRAY_STRING]:"Array<string>"},this.functionAbs=([t])=>Math.abs(t),this.functionAvg=([t])=>{let e=0;for(let n=0;n<t.length;n+=1)e+=t[n];return e/t.length},this.functionCeil=([t])=>Math.ceil(t),this.functionContains=t=>{const[e,n]=t;return e.includes(n)},this.functionEndsWith=t=>{const[e,n]=t;return e.includes(n,e.length-n.length)},this.functionFloor=([t])=>Math.floor(t),this.functionJoin=t=>{const[e,n]=t;return n.join(e)},this.functionKeys=([t])=>Object.keys(t),this.functionLength=([t])=>e(t)?Object.keys(t).length:t.length,this.functionMap=t=>{if(!this._interpreter)return[];const e=[],n=this._interpreter,r=t[0],i=t[1];for(let t=0;t<i.length;t+=1)e.push(n.visit(r,i[t]));return e},this.functionMax=([t])=>{if(!t.length)return null;if(this.getTypeName(t[0])===d.TYPE_NUMBER)return Math.max(...t);const e=t;let n=e[0];for(let t=1;t<e.length;t+=1)n.localeCompare(e[t])<0&&(n=e[t]);return n},this.functionMaxBy=t=>{const e=t[1],n=t[0],r=this.createKeyFunction(e,[d.TYPE_NUMBER,d.TYPE_STRING]);let i,o,a=-1/0;for(let t=0;t<n.length;t+=1)o=r&&r(n[t]),void 0!==o&&o>a&&(a=o,i=n[t]);return i},this.functionMerge=t=>{let e={};for(let n=0;n<t.length;n+=1){const r=t[n];e=Object.assign(e,r)}return e},this.functionMin=([t])=>{if(!t.length)return null;if(this.getTypeName(t[0])===d.TYPE_NUMBER)return Math.min(...t);const e=t;let n=e[0];for(let t=1;t<e.length;t+=1)e[t].localeCompare(n)<0&&(n=e[t]);return n},this.functionMinBy=t=>{const e=t[1],n=t[0],r=this.createKeyFunction(e,[d.TYPE_NUMBER,d.TYPE_STRING]);let i,o,a=1/0;for(let t=0;t<n.length;t+=1)o=r&&r(n[t]),void 0!==o&&o<a&&(a=o,i=n[t]);return i},this.functionNotNull=t=>{for(let e=0;e<t.length;e+=1)if(this.getTypeName(t[e])!==d.TYPE_NULL)return t[e];return null},this.functionReverse=([t])=>{if(this.getTypeName(t)===d.TYPE_STRING){const e=t;let n="";for(let t=e.length-1;t>=0;t-=1)n+=e[t];return n}const e=t.slice(0);return e.reverse(),e},this.functionSort=([t])=>[...t].sort(),this.functionSortBy=t=>{if(!this._interpreter)return[];const e=t[0].slice(0);if(0===e.length)return e;const n=this._interpreter,r=t[1],i=this.getTypeName(n.visit(r,e[0]));if(void 0!==i&&![d.TYPE_NUMBER,d.TYPE_STRING].includes(i))throw new Error(`TypeError: unexpected type (${this.TYPE_NAME_TABLE[i]})`);const o=[];for(let t=0;t<e.length;t+=1)o.push([t,e[t]]);o.sort(((t,e)=>{const o=n.visit(r,t[1]),a=n.visit(r,e[1]);if(this.getTypeName(o)!==i)throw new Error(`TypeError: expected (${this.TYPE_NAME_TABLE[i]}), received ${this.TYPE_NAME_TABLE[this.getTypeName(o)]}`);if(this.getTypeName(a)!==i)throw new Error(`TypeError: expected (${this.TYPE_NAME_TABLE[i]}), received ${this.TYPE_NAME_TABLE[this.getTypeName(a)]}`);return o>a?1:o<a?-1:t[0]-e[0]}));for(let t=0;t<o.length;t+=1)e[t]=o[t][1];return e},this.functionStartsWith=([t,e])=>t.startsWith(e),this.functionSum=([t])=>t.reduce(((t,e)=>t+e),0),this.functionToArray=([t])=>this.getTypeName(t)===d.TYPE_ARRAY?t:[t],this.functionToNumber=([t])=>{const e=this.getTypeName(t);let n;return e===d.TYPE_NUMBER?t:e!==d.TYPE_STRING||(n=+t,isNaN(n))?null:n},this.functionToString=([t])=>this.getTypeName(t)===d.TYPE_STRING?t:JSON.stringify(t),this.functionType=([t])=>{switch(this.getTypeName(t)){case d.TYPE_NUMBER:return"number";case d.TYPE_STRING:return"string";case d.TYPE_ARRAY:return"array";case d.TYPE_OBJECT:return"object";case d.TYPE_BOOLEAN:return"boolean";case d.TYPE_EXPREF:return"expref";case d.TYPE_NULL:return"null";default:return}},this.functionValues=([t])=>Object.values(t),this.functionTable={abs:{_func:this.functionAbs,_signature:[{types:[d.TYPE_NUMBER]}]},avg:{_func:this.functionAvg,_signature:[{types:[d.TYPE_ARRAY_NUMBER]}]},ceil:{_func:this.functionCeil,_signature:[{types:[d.TYPE_NUMBER]}]},contains:{_func:this.functionContains,_signature:[{types:[d.TYPE_STRING,d.TYPE_ARRAY]},{types:[d.TYPE_ANY]}]},ends_with:{_func:this.functionEndsWith,_signature:[{types:[d.TYPE_STRING]},{types:[d.TYPE_STRING]}]},floor:{_func:this.functionFloor,_signature:[{types:[d.TYPE_NUMBER]}]},join:{_func:this.functionJoin,_signature:[{types:[d.TYPE_STRING]},{types:[d.TYPE_ARRAY_STRING]}]},keys:{_func:this.functionKeys,_signature:[{types:[d.TYPE_OBJECT]}]},length:{_func:this.functionLength,_signature:[{types:[d.TYPE_STRING,d.TYPE_ARRAY,d.TYPE_OBJECT]}]},map:{_func:this.functionMap,_signature:[{types:[d.TYPE_EXPREF]},{types:[d.TYPE_ARRAY]}]},max:{_func:this.functionMax,_signature:[{types:[d.TYPE_ARRAY_NUMBER,d.TYPE_ARRAY_STRING]}]},max_by:{_func:this.functionMaxBy,_signature:[{types:[d.TYPE_ARRAY]},{types:[d.TYPE_EXPREF]}]},merge:{_func:this.functionMerge,_signature:[{types:[d.TYPE_OBJECT],variadic:!0}]},min:{_func:this.functionMin,_signature:[{types:[d.TYPE_ARRAY_NUMBER,d.TYPE_ARRAY_STRING]}]},min_by:{_func:this.functionMinBy,_signature:[{types:[d.TYPE_ARRAY]},{types:[d.TYPE_EXPREF]}]},not_null:{_func:this.functionNotNull,_signature:[{types:[d.TYPE_ANY],variadic:!0}]},reverse:{_func:this.functionReverse,_signature:[{types:[d.TYPE_STRING,d.TYPE_ARRAY]}]},sort:{_func:this.functionSort,_signature:[{types:[d.TYPE_ARRAY_STRING,d.TYPE_ARRAY_NUMBER]}]},sort_by:{_func:this.functionSortBy,_signature:[{types:[d.TYPE_ARRAY]},{types:[d.TYPE_EXPREF]}]},starts_with:{_func:this.functionStartsWith,_signature:[{types:[d.TYPE_STRING]},{types:[d.TYPE_STRING]}]},sum:{_func:this.functionSum,_signature:[{types:[d.TYPE_ARRAY_NUMBER]}]},to_array:{_func:this.functionToArray,_signature:[{types:[d.TYPE_ANY]}]},to_number:{_func:this.functionToNumber,_signature:[{types:[d.TYPE_ANY]}]},to_string:{_func:this.functionToString,_signature:[{types:[d.TYPE_ANY]}]},type:{_func:this.functionType,_signature:[{types:[d.TYPE_ANY]}]},values:{_func:this.functionValues,_signature:[{types:[d.TYPE_OBJECT]}]}},this._interpreter=t}registerFunction(t,e,n){if(t in this.functionTable)throw new Error(`Function already defined: ${t}()`);this.functionTable[t]={_func:e.bind(this),_signature:n}}callFunction(t,e){const n=this.functionTable[t];if(void 0===n)throw new Error(`Unknown function: ${t}()`);return this.validateArgs(t,e,n._signature),n._func.call(this,e)}validateInputSignatures(t,e){for(let n=0;n<e.length;n+=1)if("variadic"in e[n]&&n!==e.length-1)throw new Error(`ArgumentError: ${t}() 'variadic' argument ${n+1} must occur last`)}validateArgs(t,e,n){var r,i;let o;this.validateInputSignatures(t,n);const a=n.filter((t=>{var e;return null!==(e=!t.optional)&&void 0!==e&&e})).length,s=null!==(i=null===(r=n[n.length-1])||void 0===r?void 0:r.variadic)&&void 0!==i&&i,u=e.length<a,l=e.length>n.length,c=u&&(!s&&a>1||s)?"at least ":"";if(s&&u||!s&&(u||l))throw o=n.length>1,new Error(`ArgumentError: ${t}() takes ${c}${a} argument${o?"s":""} but received ${e.length}`);let p,d,h;for(let r=0;r<n.length;r+=1){let i;for(h=!1,p=n[r].types,d=this.getTypeName(e[r]),i=0;i<p.length;i+=1)if(void 0!==d&&this.typeMatches(d,p[i],e[r])){h=!0;break}if(!h&&void 0!==d){const e=p.map((t=>this.TYPE_NAME_TABLE[t])).join(" | ");throw new Error(`TypeError: ${t}() expected argument ${r+1} to be type (${e}) but received type ${this.TYPE_NAME_TABLE[d]} instead.`)}}}typeMatches(t,e,n){if(e===d.TYPE_ANY)return!0;if(e!==d.TYPE_ARRAY_STRING&&e!==d.TYPE_ARRAY_NUMBER&&e!==d.TYPE_ARRAY)return t===e;if(e===d.TYPE_ARRAY)return t===d.TYPE_ARRAY;if(t===d.TYPE_ARRAY){let t;e===d.TYPE_ARRAY_NUMBER?t=d.TYPE_NUMBER:e===d.TYPE_ARRAY_STRING&&(t=d.TYPE_STRING);for(let e=0;e<n.length;e+=1){const r=this.getTypeName(n[e]);if(void 0!==r&&void 0!==t&&!this.typeMatches(r,t,n[e]))return!1}return!0}return!1}getTypeName(t){switch(Object.prototype.toString.call(t)){case"[object String]":return d.TYPE_STRING;case"[object Number]":return d.TYPE_NUMBER;case"[object Array]":return d.TYPE_ARRAY;case"[object Boolean]":return d.TYPE_BOOLEAN;case"[object Null]":return d.TYPE_NULL;case"[object Object]":return t.jmespathType===o.TOK_EXPREF?d.TYPE_EXPREF:d.TYPE_OBJECT;default:return}}createKeyFunction(t,e){if(!this._interpreter)return;const n=this._interpreter;return r=>{const i=n.visit(t,r);if(!e.includes(this.getTypeName(i))){const t=`TypeError: expected one of (${e.map((t=>this.TYPE_NAME_TABLE[t])).join(" | ")}), received ${this.TYPE_NAME_TABLE[this.getTypeName(i)]}`;throw new Error(t)}return i}}}const f=new class{constructor(){this._rootValue=null,this.runtime=new h(this)}search(t,e){return this._rootValue=e,this.visit(t,e)}visit(t,i){let a,s,u,l,c,p,d,h,f,v,m;switch(t.type){case"Field":return null===i?null:e(i)?(p=i[t.name],void 0===p?null:p):null;case"Subexpression":for(u=this.visit(t.children[0],i),v=1;v<t.children.length;v+=1)if(u=this.visit(t.children[1],u),null===u)return null;return u;case"IndexExpression":return d=this.visit(t.children[0],i),h=this.visit(t.children[1],d),h;case"Index":if(!Array.isArray(i))return null;let g=t.value;return g<0&&(g=i.length+g),u=i[g],void 0===u&&(u=null),u;case"Slice":if(!Array.isArray(i))return null;const y=[...t.children],b=this.computeSliceParams(i.length,y),[_,w,E]=b;if(u=[],E>0)for(v=_;v<w;v+=E)u.push(i[v]);else for(v=_;v>w;v+=E)u.push(i[v]);return u;case"Projection":if(m=this.visit(t.children[0],i),!Array.isArray(m))return null;for(f=[],v=0;v<m.length;v+=1)s=this.visit(t.children[1],m[v]),null!==s&&f.push(s);return f;case"ValueProjection":if(m=this.visit(t.children[0],i),!e(m))return null;f=[];const S=Object.values(m);for(v=0;v<S.length;v+=1)s=this.visit(t.children[1],S[v]),null!==s&&f.push(s);return f;case"FilterProjection":if(m=this.visit(t.children[0],i),!Array.isArray(m))return null;const x=[],C=[];for(v=0;v<m.length;v+=1)a=this.visit(t.children[2],m[v]),r(a)||x.push(m[v]);for(let e=0;e<x.length;e+=1)s=this.visit(t.children[1],x[e]),null!==s&&C.push(s);return C;case"Comparator":switch(l=this.visit(t.children[0],i),c=this.visit(t.children[1],i),t.name){case o.TOK_EQ:u=n(l,c);break;case o.TOK_NE:u=!n(l,c);break;case o.TOK_GT:u=l>c;break;case o.TOK_GTE:u=l>=c;break;case o.TOK_LT:u=l<c;break;case o.TOK_LTE:u=l<=c;break;default:throw new Error(`Unknown comparator: ${t.name}`)}return u;case o.TOK_FLATTEN:const T=this.visit(t.children[0],i);if(!Array.isArray(T))return null;let k=[];for(v=0;v<T.length;v+=1)s=T[v],Array.isArray(s)?k=[...k,...s]:k.push(s);return k;case"Identity":return i;case"MultiSelectList":if(null===i)return null;for(f=[],v=0;v<t.children.length;v+=1)f.push(this.visit(t.children[v],i));return f;case"MultiSelectHash":if(null===i)return null;let D;for(f={},v=0;v<t.children.length;v+=1)D=t.children[v],f[D.name]=this.visit(D.value,i);return f;case"OrExpression":return a=this.visit(t.children[0],i),r(a)&&(a=this.visit(t.children[1],i)),a;case"AndExpression":return l=this.visit(t.children[0],i),r(l)?l:this.visit(t.children[1],i);case"NotExpression":return l=this.visit(t.children[0],i),r(l);case"Literal":return t.value;case o.TOK_PIPE:return d=this.visit(t.children[0],i),this.visit(t.children[1],d);case o.TOK_CURRENT:return i;case o.TOK_ROOT:return this._rootValue;case"Function":const A=[];for(let e=0;e<t.children.length;e+=1)A.push(this.visit(t.children[e],i));return this.runtime.callFunction(t.name,A);case"ExpressionReference":const M=t.children[0];return M.jmespathType=o.TOK_EXPREF,M;default:throw new Error(`Unknown node type: ${t.type}`)}}computeSliceParams(t,e){let[n,r,i]=e;if(null===i)i=1;else if(0===i){const t=new Error("Invalid slice, step cannot be 0");throw t.name="RuntimeError",t}const o=i<0;return n=null===n?o?t-1:0:this.capSliceRange(t,n,i),r=null===r?o?-1:t:this.capSliceRange(t,r,i),[n,r,i]}capSliceRange(t,e,n){let r=e;return r<0?(r+=t,r<0&&(r=n<0?-1:0)):r>=t&&(r=n<0?t-1:t),r}},v=d.TYPE_ANY,m=d.TYPE_ARRAY,g=d.TYPE_ARRAY_NUMBER,y=d.TYPE_ARRAY_STRING,b=d.TYPE_BOOLEAN,_=d.TYPE_EXPREF,w=d.TYPE_NULL,E=d.TYPE_NUMBER,S=d.TYPE_OBJECT,x=d.TYPE_STRING;function C(t){return p.parse(t)}function T(t){return l.tokenize(t)}const k=(t,e,n)=>{f.runtime.registerFunction(t,e,n)};function D(t,e){const n=p.parse(e);return f.search(n,t)}const A=f,M={compile:C,registerFunction:k,search:D,tokenize:T,TreeInterpreter:A,TYPE_ANY:v,TYPE_ARRAY_NUMBER:g,TYPE_ARRAY_STRING:y,TYPE_ARRAY:m,TYPE_BOOLEAN:b,TYPE_EXPREF:_,TYPE_NULL:w,TYPE_NUMBER:E,TYPE_OBJECT:S,TYPE_STRING:x};t.TYPE_ANY=v,t.TYPE_ARRAY=m,t.TYPE_ARRAY_NUMBER=g,t.TYPE_ARRAY_STRING=y,t.TYPE_BOOLEAN=b,t.TYPE_EXPREF=_,t.TYPE_NULL=w,t.TYPE_NUMBER=E,t.TYPE_OBJECT=S,t.TYPE_STRING=x,t.TreeInterpreter=A,t.compile=C,t.default=M,t.jmespath=M,t.registerFunction=k,t.search=D,t.tokenize=T,Object.defineProperty(t,"__esModule",{value:!0})})),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/forms"),require("@angular/platform-browser"),require("imask"),require("@angular/common")):"function"==typeof define&&define.amd?define("angular-imask",["exports","@angular/core","@angular/forms","@angular/platform-browser","imask","@angular/common"],e):e((t=t||self)["angular-imask"]={},t.ng.core,t.ng.forms,t.ng.platformBrowser,t.IMask,t.ng.common)}(this,(function(t,e,n,r,i,o){"use strict";var a="default"in i?i.default:i;var s={provide:n.NG_VALUE_ACCESSOR,useExisting:e.forwardRef((function(){return l})),multi:!0},u=function(t){return t.nativeElement},l=function(){function t(t,n,i){var o;this._elementRef=t,this._renderer=n,this._compositionMode=i,this.onTouched=function(){},this.onChange=function(){},this.imaskElement=u,this.accept=new e.EventEmitter,this.complete=new e.EventEmitter,this._viewInitialized=!1,this._composing=!1,this._writing=!1,null==this._compositionMode&&(this._compositionMode=(o=r.\u0275getDOM()?r.\u0275getDOM().getUserAgent():"",!/android (\d+)/.test(o.toLowerCase())))}return Object.defineProperty(t.prototype,"element",{get:function(){return this.imaskElement(this._elementRef,this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maskValue",{get:function(){return this.maskRef?"typed"===this.unmask?this.maskRef.typedValue:this.unmask?this.maskRef.unmaskedValue:this.maskRef.value:this.element.value},set:function(t){this.maskRef?"typed"===this.unmask?this.maskRef.typedValue=t:this.unmask?this.maskRef.unmaskedValue=t:this.maskRef.value=t:this._renderer.setProperty(this.element,"value",t)},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){this.imask&&this.initMask(),this._viewInitialized=!0},t.prototype.ngOnChanges=function(t){t.elementRef&&!this.imaskElement&&(this.imaskElement=u),t.imask&&this._viewInitialized&&(this.imask?this.maskRef?this.maskRef.updateOptions(this.imask):(this.initMask(),this.onChange(this.maskValue)):this.destroyMask())},t.prototype.destroyMask=function(){this.maskRef&&(this.maskRef.destroy(),delete this.maskRef)},t.prototype.ngOnDestroy=function(){this.destroyMask(),this.accept.complete(),this.complete.complete()},t.prototype.beginWrite=function(t){this._writing=!0,this._writingValue=t},t.prototype.endWrite=function(){return this._writing=!1,this._writingValue},t.prototype.writeValue=function(t){t=null==t?"":t,this.maskRef?(this.beginWrite(t),(this.maskValue!==t||"string"!=typeof t&&""===this.maskRef.value&&!this.maskRef.el.isActive)&&(this.maskValue=t)):this._renderer.setProperty(this.element,"value",t)},t.prototype._onAccept=function(){var t=this.maskValue;this._writing&&t===this.endWrite()||(this.onChange(t),this.accept.emit(t))},t.prototype._onComplete=function(){this.complete.emit(this.maskValue)},t.prototype.initMask=function(){this.maskRef=a(this.element,this.imask).on("accept",this._onAccept.bind(this)).on("complete",this._onComplete.bind(this))},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this.element,"disabled",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype._handleInput=function(t){this.maskRef||(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this._handleInput(t)},t.decorators=[{type:e.Directive,args:[{selector:"[imask]",host:{"(input)":"_handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"_compositionStart()","(compositionend)":"_compositionEnd($event.target.value)"},providers:[s]}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2},{type:Boolean,decorators:[{type:e.Optional},{type:e.Inject,args:[n.COMPOSITION_BUFFER_MODE]}]}]},t.propDecorators={imask:[{type:e.Input}],unmask:[{type:e.Input}],imaskElement:[{type:e.Input}],accept:[{type:e.Output}],complete:[{type:e.Output}]},t}();var c=this&&this.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},p=this&&this.__spread||function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(c(arguments[e]));return t},d=function(){function t(){}return t.prototype.transform=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return i.pipe.apply(void 0,p(t))},t.decorators=[{type:e.Pipe,args:[{name:"imask"}]}],t}(),h=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[o.CommonModule],declarations:[l,d],exports:[l,d]}]}],t}();Object.defineProperty(t,"PIPE_TYPE",{enumerable:!0,get:function(){return i.PIPE_TYPE}}),Object.defineProperty(t,"pipe",{enumerable:!0,get:function(){return i.pipe}}),t.IMaskDirective=l,t.IMaskModule=h,t.IMaskPipe=d,t.MASKEDINPUT_VALUE_ACCESSOR=s,Object.defineProperty(t,"__esModule",{value:!0})})),
3781
3781
  /*!
3782
- * tabbable 6.1.1
3782
+ * tabbable 6.1.2
3783
3783
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
3784
3784
  */
3785
3785
  function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):(t="undefined"!=typeof globalThis?globalThis:t||self,function(){var n=t.tabbable,r=t.tabbable={};e(r),r.noConflict=function(){return t.tabbable=n,r}}())}(this,(function(t){"use strict";var e=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],n=e.join(","),r="undefined"==typeof Element,i=r?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,o=!r&&Element.prototype.getRootNode?function(t){var e;return null==t||null===(e=t.getRootNode)||void 0===e?void 0:e.call(t)}:function(t){return null==t?void 0:t.ownerDocument},a=function t(e,n){var r;void 0===n&&(n=!0);var i=null==e||null===(r=e.getAttribute)||void 0===r?void 0:r.call(e,"inert");return""===i||"true"===i||n&&e&&t(e.parentNode)},s=function(t,e,r){if(a(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(n));return e&&i.call(t,n)&&o.unshift(t),o=o.filter(r)},u=function t(e,r,o){for(var s=[],u=Array.from(e);u.length;){var l=u.shift();if(!a(l,!1))if("SLOT"===l.tagName){var c=l.assignedElements(),p=t(c.length?c:l.children,!0,o);o.flatten?s.push.apply(s,p):s.push({scopeParent:l,candidates:p})}else{i.call(l,n)&&o.filter(l)&&(r||!e.includes(l))&&s.push(l);var d=l.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(l),h=!a(d,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(l));if(d&&h){var f=t(!0===d?l.children:d.children,!0,o);o.flatten?s.push.apply(s,f):s.push({scopeParent:l,candidates:f})}else u.unshift.apply(u,l.children)}}return s},l=function(t,e){return t.tabIndex<0&&(e||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||function(t){var e,n=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"contenteditable");return""===n||"true"===n}(t))&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},c=function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex},p=function(t){return"INPUT"===t.tagName},d=function(t){return function(t){return p(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0;var e,n=t.form||o(t),r=function(t){return n.querySelectorAll('input[type="radio"][name="'+t+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=r(window.CSS.escape(t.name));else try{e=r(t.name)}catch(t){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message),!1}var i=function(t,e){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===e)return t[n]}(e,t.form);return!i||i===t}(t)},h=function(t){var e=t.getBoundingClientRect(),n=e.width,r=e.height;return 0===n&&0===r},f=function(t,e){var n=e.displayCheck,r=e.getShadowRoot;if("hidden"===getComputedStyle(t).visibility)return!0;var a=i.call(t,"details>summary:first-of-type")?t.parentElement:t;if(i.call(a,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return h(t)}else{if("function"==typeof r){for(var s=t;t;){var u=t.parentElement,l=o(t);if(u&&!u.shadowRoot&&!0===r(u))return h(t);t=t.assignedSlot?t.assignedSlot:u||l===t.ownerDocument?u:l.host}t=s}if(function(t){var e,n,r,i,a=t&&o(t),s=null===(e=a)||void 0===e?void 0:e.host,u=!1;if(a&&a!==t)for(u=!!(null!==(n=s)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(s)||null!=t&&null!==(i=t.ownerDocument)&&void 0!==i&&i.contains(t));!u&&s;){var l,c,p;u=!(null===(c=s=null===(l=a=o(s))||void 0===l?void 0:l.host)||void 0===c||null===(p=c.ownerDocument)||void 0===p||!p.contains(s))}return u}(t))return!t.getClientRects().length;if("legacy-full"!==n)return!0}return!1},v=function(t,e){return!(e.disabled||a(e)||function(t){return p(t)&&"hidden"===t.type}(e)||f(e,t)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}))}(e)||function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var n=0;n<e.children.length;n++){var r=e.children.item(n);if("LEGEND"===r.tagName)return!!i.call(e,"fieldset[disabled] *")||!r.contains(t)}return!0}e=e.parentElement}return!1}(e))},m=function(t,e){return!(d(e)||l(e)<0||!v(t,e))},g=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(e)||e>=0)},y=function t(e){var n=[],r=[];return e.forEach((function(e,i){var o=!!e.scopeParent,a=o?e.scopeParent:e,s=l(a,o),u=o?t(e.candidates):a;0===s?o?n.push.apply(n,u):n.push(a):r.push({documentOrder:i,tabIndex:s,item:e,isScope:o,content:u})})),r.sort(c).reduce((function(t,e){return e.isScope?t.push.apply(t,e.content):t.push(e.content),t}),[]).concat(n)},b=e.concat("iframe").join(",");t.focusable=function(t,e){return(e=e||{}).getShadowRoot?u([t],e.includeContainer,{filter:v.bind(null,e),flatten:!0,getShadowRoot:e.getShadowRoot}):s(t,e.includeContainer,v.bind(null,e))},t.isFocusable=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==i.call(t,b)&&v(e,t)},t.isTabbable=function(t,e){if(e=e||{},!t)throw new Error("No node provided");return!1!==i.call(t,n)&&m(e,t)},t.tabbable=function(t,e){var n;return n=(e=e||{}).getShadowRoot?u([t],e.includeContainer,{filter:m.bind(null,e),flatten:!1,getShadowRoot:e.getShadowRoot,shadowRootFilter:g}):s(t,e.includeContainer,m.bind(null,e)),y(n)},Object.defineProperty(t,"__esModule",{value:!0})})),
@@ -14209,7 +14209,7 @@
14209
14209
  } else {
14210
14210
  setDefaultPlaceholder(attrs, widgetType, 2);
14211
14211
  }
14212
- return "<" + tagName$X + ' data-role="' + dataRole + '" [formGroup]="' + pCounter + '.ngform" wmFormField captionPosition #' + counter + '="wmFormField" widgettype="' + widgetType + '" ' + transpiler.getFormMarkupAttr(attrs) + '>\n <div class="live-field form-group app-composite-widget clearfix caption-{{' + pCounter + '.captionposition}}" widget="' + widgetType + '">\n <label [hidden]="!' + counter + '.displayname" class="app-label control-label formfield-label {{' + pCounter + '._captionClass}}"\n [ngStyle]="{width: ' + pCounter + ".captionsize}\" [ngClass]=\"{'text-danger': " + counter + "._control?.invalid && " + counter + "._control?.touched && " + pCounter + ".isUpdateMode,\n required: " + pCounter + ".isUpdateMode && " + counter + '.required}" [textContent]="' + counter + '.displayname"> </label>\n <div [ngClass]="' + counter + ".displayname ? " + pCounter + "._widgetClass : '" + controlLayout + '\'">\n <label class="form-control-static app-label"\n [hidden]="' + pCounter + ".isUpdateMode || " + counter + ".viewmodewidget === 'default' || " + counter + ".widgettype === 'upload'\" [innerHTML]=\"" + getCaptionByWidget(attrs, widgetType, counter) + '"></label>\n ' + getTemplate(attrs, widgetType, eventsTmpl, counter, pCounter, isInList) + '\n <span aria-hidden="true" *ngIf="' + counter + '.showPendingSpinner" class="form-field-spinner fa fa-circle-o-notch fa-spin form-control-feedback"></span>\n <p *ngIf="!(' + counter + "._control?.invalid && " + counter + "._control?.touched) && " + pCounter + '.isUpdateMode"\n class="help-block" aria-hidden="true" role="alert" aria-live="polite" [textContent]="' + counter + '.hint"></p>\n ' + validationMsg + "\n </div>\n </div>";
14212
+ return "<" + tagName$X + ' data-role="' + dataRole + '" [formGroup]="' + pCounter + '.ngform" wmFormField captionPosition #' + counter + '="wmFormField" widgettype="' + widgetType + '" ' + transpiler.getFormMarkupAttr(attrs) + '>\n <div class="live-field form-group app-composite-widget clearfix caption-{{' + pCounter + '.captionposition}}" widget="' + widgetType + '">\n <label [hidden]="!' + counter + '.displayname" class="app-label control-label formfield-label {{' + pCounter + '._captionClass}}"\n [ngStyle]="{width: ' + pCounter + ".captionsize}\" [ngClass]=\"{'text-danger': " + counter + "._control?.invalid && " + counter + "._control?.touched && " + pCounter + ".isUpdateMode,\n required: " + pCounter + ".isUpdateMode && " + counter + '.required}" [textContent]="' + counter + '.displayname"> </label>\n <div [ngClass]="' + counter + ".displayname ? " + pCounter + "._widgetClass : '" + controlLayout + '\'">\n <label class="form-control-static app-label" *ngIf="!(' + pCounter + ".isUpdateMode || " + counter + ".viewmodewidget === 'default' || " + counter + ".widgettype === 'upload')\"\n [hidden]=\"" + pCounter + ".isUpdateMode || " + counter + ".viewmodewidget === 'default' || " + counter + ".widgettype === 'upload'\" [innerHTML]=\"" + getCaptionByWidget(attrs, widgetType, counter) + '"></label>\n ' + getTemplate(attrs, widgetType, eventsTmpl, counter, pCounter, isInList) + '\n <span aria-hidden="true" *ngIf="' + counter + '.showPendingSpinner" class="form-field-spinner fa fa-circle-o-notch fa-spin form-control-feedback"></span>\n <p *ngIf="!(' + counter + "._control?.invalid && " + counter + "._control?.touched) && " + pCounter + '.isUpdateMode"\n class="help-block" aria-hidden="true" role="alert" aria-live="polite" [textContent]="' + counter + '.hint"></p>\n ' + validationMsg + "\n </div>\n </div>";
14213
14213
  },
14214
14214
  post: function() {
14215
14215
  return "</" + tagName$X + ">";