PageSourceSearch

https://bark.tools/757.10e32c21d6cc468c.js

js bark.tools collected 2026-10-08 11:33:58 UTC 15,625 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[757],{84460(O,f,l){l.d(f,{m:()=>D});var p=l(17705),i=l(35547),u=l(85802),o=l(89417),e=l(56998),r=l(98352),a=l(31755),n=l(59053),c=l(95604),h=l(32834),_=l(68018),t=l(8516);const d=["inputElement"],g=[[["input","hidden",""]],[["",8,"input-group-append"]],[["button"]],[["val-errors"],["show-error-warning"]],[["","description",""]]],y=["input[hidden]",".input-group-append","button","val-errors,show-error-warning","[description]"];function I(C,M){if(1&C){const m=i.RV6();i.j41(0,"app-times-regular-icon",8),i.bIt("click",function(){u.eBV(m);const s=i.XpG();return u.Njj(s.clear())}),i.k0s()}}function P(C,M){if(1&C){const m=i.RV6();i.j41(0,"button",9),i.bIt("click",function(){u.eBV(m);const s=i.XpG();return u.Njj(s.inlineBtnClick())}),i.nrm(1,"lucide-icon",10),i.k0s()}if(2&C){const m=i.XpG();i.Y8G("disabled",m.disabled||m.inlineButtonDisabled),i.R7$(),i.Y8G("img",m.inlineBtnIcon)}}let D=(()=>{class C extends r.z{el=(0,u.WQX)(i.aKT);id=(0,e.bn)("input");label;description;hint;placeholder;maxlength=255;minlength=0;autocomplete="off";name="";inlineButtonIcon;inlineButtonDisabled;readonly;hideAsterisk;inlineLabel;allowedInputPattern;nullIsIndeterminate=!1;indeterminatePlaceholder="_i18n.LeaveUnchanged";noManualInput;numeric;required=!1;blur=(0,p.CGW)();inlineButtonClick=(0,p.CGW)();inputElement;get indeterminate(){return this.nullIsIndeterminate&&null==this.value&&!this.changed}get type(){return this.numeric?"number":"text"}get inlineBtnIcon(){return this.inlineButtonIcon}get isRequired(){return!this.readonly&&!this.hideAsterisk&&(this.required||!0===this.componentControl?.hasValidator(o.k0.required))}focus(){this.inputElement.nativeElement.focus()}inlineBtnClick(){this.inlineButtonClick.emit()}constructor(){super(),this.touchOnChange=!1}ngAfterViewInit(){this.el.nativeElement.id=""}onFocus(){}onBlur(m){super.onBlur(m),this.blur.emit(m)}onPaste(m){}validate(m){return(0,n.xw)(m)}preventInvalidInput(m){this.allowedInputPattern&&!m.ctrlKey&&/^(\w|\s)$/.test(m.key)&&!new RegExp(this.allowedInputPattern).test(m.key)&&m.preventDefault()}clear(){this.valueChanged("")}static \u0275fac=function(b){return new(b||C)};static \u0275cmp=i.VBU({type:C,selectors:[["field-input"]],viewQuery:function(b,s){if(1&b&&i.GBs(d,5),2&b){let v;i.mGM(v=i.lsd())&&(s.inputElement=v.first)}},inputs:{id:"id",label:"label",description:"description",hint:"hint",placeholder:"placeholder",maxlength:"maxlength",minlength:"minlength",autocomplete:"autocomplete",name:"name",inlineButtonIcon:"inlineButtonIcon",inlineButtonDisabled:"inlineButtonDisabled",readonly:"readonly",hideAsterisk:"hideAsterisk",inlineLabel:"inlineLabel",allowedInputPattern:"allowedInputPattern",nullIsIndeterminate:"nullIsIndeterminate",indeterminatePlaceholder:"indeterminatePlaceholder",noManualInput:"noManualInput",numeric:"numeric",required:"required"},outputs:{blur:"blur",inlineButtonClick:"inlineButtonClick"},features:[i.Jv_([{provide:o.kq,multi:!0,useExisting:C},{provide:o.cz,multi:!0,useExisting:C},{provide:a.b,useExisting:C}]),i.Vt3],ngContentSelectors:y,decls:14,vars:23,consts:[["inputElement",""],[3,"label","labelFor","inlineLabel","disabled","required","description","hint"],[1,"input-group"],["data-qa","input",1,"form-control",3,"ngModelChange","keydown","paste","focus","blur","type","id","maxlength","minlength","autocomplete","name","disabled","readonly","placeholder","ngModel"],["data-qa","clear",1,"clear"],["type","button","data-qa","btn",1,"btn","btn-border","btn-icon",3,"disabled"],["ngProjectAs","val-errors",5,["val-errors"]],["ngProjectAs","[description]",5,["","description",""]],["data-qa","clear",1,"clear",3,"click"],["type","button","data-qa","btn",1,"btn","btn-border","btn-icon",3,"click","disabled"],[3,"img"]],template:function(b,s){1&b&&(i.NAR(g),i.j41(0,"field-wrapper",1)(1,"div",2),i.SdG(2),i.j41(3,"input",3,0),i.nI1(5,"translate"),i.bIt("ngModelChange",function(E){return s.valueChanged(E)})("keydown",function(E){return s.preventInvalidInput(E)})("paste",function(E){return s.onPaste(E)})("focus",function(){return s.onFocus()})("blur",function(E){return s.onBlur(E)}),i.k0s(),i.nVh(6,I,1,0,"app-times-regular-icon",4),i.SdG(7,1),i.SdG(8,2),i.nVh(9,P,2,2,"button",5),i.k0s(),i.qex(10,6),i.SdG(11,3),i.bVm(),i.qex(12,7),i.SdG(13,4),i.bVm(),i.k0s()),2&b&&(i.Y8G("label",s.label)("labelFor",s.id)("inlineLabel",s.inlineLabel)("disabled",s.disabled)("required",s.isRequired)("description",s.description)("hint",s.hint),i.R7$(3),i.AVh("text-truncate",s.readonly),i.Y8G("type",s.type)("id",s.id)("maxlength",s.maxlength??null)("minlength",s.minlength)("autocomplete",s.autocomplete)("name",s.name)("disabled",s.disabled)("readonly",s.readonly||s.noManualInput)("placeholder",i.bMT(5,21,s.indeterminate?s.indeterminatePlaceholder:s.placeholder||""))("ngModel",s.value),i.R7$(3),i.vxM(s.indeterminate&&!s.disabled?6:-1),i.R7$(3),i.vxM(s.inlineBtnIcon?9:-1))},dependencies:[c.z,o.X1,o.me,o.BC,o.xh,o.tU,o.YN,o.vS,h.R,t.flO,t.WGl,_.D9],styles:["[_nghost-%COMP%]{display:block;margin-bottom:16px}[_nghost-%COMP%]   field-wrapper[_ngcontent-%COMP%]{margin-bottom:0}[_nghost-%COMP%]     .input-group>.btn{border-left:0}.max-length-3[_nghost-%COMP%]     input[type=number]{max-width:calc(12px * 2 + .65em * 3);min-width:calc(12px * 2 + .65em * 3)}.max-length-4[_nghost-%COMP%]     input[type=number]{max-width:calc(24px + 2.6em);min-width:calc(24px + 2.6em)}.max-length-5[_nghost-%COMP%]     input[type=number]{max-width:calc(24px + 3.25em);min-width:calc(24px + 3.25em)}.max-length-6[_nghost-%COMP%]     input[type=number]{max-width:calc(12px * 2 + .65em * 6);min-width:calc(12px * 2 + .65em * 6)}.max-length-7[_nghost-%COMP%]     input[type=number]{max-width:calc(24px + 4.55em);min-width:calc(24px + 4.55em)}.min-length-3[_nghost-%COMP%]     input[type=number]{min-width:calc(12px * 2 + .65em * 3)}.min-length-4[_nghost-%COMP%]     input[type=number]{min-width:calc(24px + 2.6em)}.min-length-5[_nghost-%COMP%]     input[type=number]{min-width:calc(24px + 3.25em)}.min-length-6[_nghost-%COMP%]     input[type=number]{min-width:calc(12px * 2 + .65em * 6)}.min-length-7[_nghost-%COMP%]     input[type=number]{min-width:calc(24px + 4.55em)}[_nghost-%COMP%]   .clear[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px;cursor:pointer;--svg-color: currentColor;--svg-vertical-align: baseline}"],changeDetection:0})}return C})()},98352(O,f,l){l.d(f,{z:()=>c});var p=l(17705),i=l(85802),u=l(89417),o=l(56998),e=l(89079),r=l(23294),a=l(96354),n=l(1807);class c{cd=(0,i.WQX)(p.gRc);destroyRef=(0,i.WQX)(i.abz);injector=(0,i.WQX)(i.zZn);value;changed=!1;touchOnChange=!0;disabled=!1;touched=!1;onChange=()=>{};onTouched=()=>{};registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}markAsTouched(t=!1){(!this.touched||t)&&(this.onTouched(),this.touched=!0),this.cd.markForCheck()}onBlur(t){this.markAsTouched(!0)}setDisabledState(t){this.disabled=t,this.cd.markForCheck()}parse(t){return t}format(t){return t}writeValue(t){this.value=this.parse(t),this.changed=!1,this.cd.markForCheck()}valueChanged(t,d){const g=t&&"string"==typeof t?t.trim():t;if(this.value===g&&!d&&(t||"object"!=typeof t))return;const y=this.format(g);this.value=g,this.changed=!0,this.onChange(y),this.touchOnChange&&this.markAsTouched(!0),this.cd.markForCheck()}get componentControl(){return(0,o.lp)(this.injector)}syncControlState(t,d){const g=this.componentControl;g&&(t instanceof u.MJ&&(d??=t),d&&g.hasValidator(u.k0.required)&&d.addValidators(u.k0.required),(0,o.B8)(g).pipe((0,e.pQ)(this.destroyRef)).subscribe(y=>
1{(0,o.wm)(t,y),this.touched=y,this.cd.markForCheck()}),(0,o.zA)(g).pipe((0,a.T)(()=>g.invalid),(0,r.F)(),(0,e.pQ)(this.destroyRef)).subscribe(()=>{this.cd.markForCheck()}))}createAsyncComponentValidator(t){const d=this.createComponentValidator(t);return g=>(0,n.O)(0).pipe((0,a.T)(()=>d(g)))}createComponentValidator(t){return d=>(this.disabled!==d.disabled&&this.setDisabledState(d.disabled),h(t),t.invalid?t.errors??{componentValidation:!0}:null)}}function h(_){_ instanceof u.Yp?_.controls.forEach(h):_ instanceof u.gE&&Object.values(_.controls).forEach(h),_.updateValueAndValidity({emitEvent:!1,onlySelf:!0})}},46372(O,f,l){l.d(f,{r:()=>u,z:()=>e});var p=l(10467),i=l(36213);function u(a){return o.apply(this,arguments)}function o(){return(o=(0,p.A)(function*(a){return(0,i.Hh)(a,{useEnterprise:!0}).then(n=>(n.showBadge(),n))})).apply(this,arguments)}function e(a,n){return r.apply(this,arguments)}function r(){return(r=(0,p.A)(function*(a,n){if(n){const c=yield n,h=yield c.execute(a);return{instance:c,token:h}}return{instance:null,token:null}})).apply(this,arguments)}},32834(O,f,l){l.d(f,{R:()=>u});var p=l(35547),i=l(85802);let u=(()=>{class o{static \u0275fac=function(a){return new(a||o)};static \u0275cmp=p.VBU({type:o,selectors:[["app-times-regular-icon"],["","app-times-regular-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 320 512"],["d","m207.6 256 107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z"]],template:function(a,n){1&a&&(i.qSk(),p.rj2(0,"svg",0),p.Hgh(1,"path",1),p.eux())},encapsulation:2})}return o})()},36213(O,f,l){f.Hh=void 0;var i=l(7374);Object.defineProperty(f,"Hh",{enumerable:!0,get:function(){return i.load}});l(2030)},2030(O,f){var l=this&&this.__awaiter||function(u,o,e,r){return new(e||(e=Promise))(function(n,c){function h(d){try{t(r.next(d))}catch(g){c(g)}}function _(d){try{t(r.throw(d))}catch(g){c(g)}}function t(d){d.done?n(d.value):function a(n){return n instanceof e?n:new e(function(c){c(n)})}(d.value).then(h,_)}t((r=r.apply(u,o||[])).next())})},p=this&&this.__generator||function(u,o){var r,a,n,c,e={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return c={next:h(0),throw:h(1),return:h(2)},"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function h(t){return function(d){return function _(t){if(r)throw new TypeError("Generator is already executing.");for(;c&&(c=0,t[0]&&(e=0)),e;)try{if(r=1,a&&(n=2&t[0]?a.return:t[0]?a.throw||((n=a.return)&&n.call(a),0):a.next)&&!(n=n.call(a,t[1])).done)return n;switch(a=0,n&&(t=[2&t[0],n.value]),t[0]){case 0:case 1:n=t;break;case 4:return e.label++,{value:t[1],done:!1};case 5:e.label++,a=t[1],t=[0];continue;case 7:t=e.ops.pop(),e.trys.pop();continue;default:if(!(n=(n=e.trys).length>0&&n[n.length-1])&&(6===t[0]||2===t[0])){e=0;continue}if(3===t[0]&&(!n||t[1]>n[0]&&t[1]<n[3])){e.label=t[1];break}if(6===t[0]&&e.label<n[1]){e.label=n[1],n=t;break}if(n&&e.label<n[2]){e.label=n[2],e.ops.push(t);break}n[2]&&e.ops.pop(),e.trys.pop();continue}t=o.call(u,e)}catch(d){t=[6,d],a=0}finally{r=n=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,d])}}};Object.defineProperty(f,"__esModule",{value:!0}),f.ReCaptchaInstance=void 0;var i=function(){function u(o,e,r){this.siteKey=o,this.recaptchaID=e,this.recaptcha=r,this.styleContainer=null}return u.prototype.execute=function(o){return l(this,void 0,void 0,function(){var e;return p(this,function(r){switch(r.label){case 0:return this.recaptcha.enterprise?[4,this.recaptcha.enterprise.execute(this.recaptchaID,{action:o})]:[3,2];case 1:return e=r.sent(),[3,4];case 2:return[4,this.recaptcha.execute(this.recaptchaID,{action:o})];case 3:e=r.sent(),r.label=4;case 4:return[2,e]}})})},u.prototype.getSiteKey=function(){return this.siteKey},u.prototype.hideBadge=function(){null===this.styleContainer&&(this.styleContainer=document.createElement("style"),this.styleContainer.innerHTML=".grecaptcha-badge{visibility:hidden !important;}",document.head.appendChild(this.styleContainer))},u.prototype.showBadge=function(){null!==this.styleContainer&&(document.head.removeChild(this.styleContainer),this.styleContainer=null)},u}();f.ReCaptchaInstance=i},7374(O,f,l){var p=this&&this.__assign||function(){return p=Object.assign||function(e){for(var r,a=1,n=arguments.length;a<n;a++)for(var c in r=arguments[a])Object.prototype.hasOwnProperty.call(r,c)&&(e[c]=r[c]);return e},p.apply(this,arguments)};
1Object.defineProperty(f,"__esModule",{value:!0}),f.getInstance=f.load=void 0;var i=l(2030),u=function(e){return e[e.NOT_LOADED=0]="NOT_LOADED",e[e.LOADING=1]="LOADING",e[e.LOADED=2]="LOADED",e}(u||{}),o=function(){function e(){}return e.load=function(r,a){if(void 0===a&&(a={}),typeof document>"u")return Promise.reject(new Error("This is a library for the browser!"));if(e.getLoadingState()===u.LOADED)return e.instance.getSiteKey()===r?Promise.resolve(e.instance):Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));if(e.getLoadingState()===u.LOADING)return r!==e.instanceSiteKey?Promise.reject(new Error("reCAPTCHA already loaded with different site key!")):new Promise(function(c,h){e.successfulLoadingConsumers.push(function(_){return c(_)}),e.errorLoadingRunnable.push(function(_){return h(_)})});e.instanceSiteKey=r,e.setLoadingState(u.LOADING);var n=new e;return new Promise(function(c,h){n.loadScript(r,a.useRecaptchaNet||!1,a.useEnterprise||!1,a.renderParameters?a.renderParameters:{},a.customUrl).then(function(){e.setLoadingState(u.LOADED);var _=n.doExplicitRender(grecaptcha,r,a.explicitRenderParameters?a.explicitRenderParameters:{},a.useEnterprise||!1),t=new i.ReCaptchaInstance(r,_,grecaptcha);e.successfulLoadingConsumers.forEach(function(d){return d(t)}),e.successfulLoadingConsumers=[],a.autoHideBadge&&t.hideBadge(),e.instance=t,c(t)}).catch(function(_){e.errorLoadingRunnable.forEach(function(t){return t(_)}),e.errorLoadingRunnable=[],h(_)})})},e.getInstance=function(){return e.instance},e.setLoadingState=function(r){e.loadingState=r},e.getLoadingState=function(){return null===e.loadingState?u.NOT_LOADED:e.loadingState},e.prototype.loadScript=function(r,a,n,c,h){var _=this;void 0===a&&(a=!1),void 0===n&&(n=!1),void 0===c&&(c={}),void 0===h&&(h="");var t=document.createElement("script");t.setAttribute("recaptcha-v3-script",""),t.setAttribute("async",""),t.setAttribute("defer","");var d="https://www.google.com/recaptcha/api.js";a?d=n?"https://recaptcha.net/recaptcha/enterprise.js":"https://recaptcha.net/recaptcha/api.js":n&&(d="https://www.google.com/recaptcha/enterprise.js"),h&&(d=h),c.render&&(c.render=void 0);var g=this.buildQueryString(c);return t.src=d+"?render=explicit"+g,new Promise(function(y,I){t.addEventListener("load",_.waitForScriptToLoad(function(){y(t)},n),!1),t.onerror=function(P){e.setLoadingState(u.NOT_LOADED),I(P)},document.head.appendChild(t)})},e.prototype.buildQueryString=function(r){return Object.keys(r).length<1?"":"&"+Object.keys(r).filter(function(n){return!!r[n]}).map(function(n){return n+"="+r[n]}).join("&")},e.prototype.waitForScriptToLoad=function(r,a){var n=this;return function(){void 0===window.grecaptcha?setTimeout(function(){n.waitForScriptToLoad(r,a)},e.SCRIPT_LOAD_DELAY):a?window.grecaptcha.enterprise.ready(function(){r()}):window.grecaptcha.ready(function(){r()})}},e.prototype.doExplicitRender=function(r,a,n,c){var h=p({sitekey:a},n);return n.container?c?r.enterprise.render(n.container,h):r.render(n.container,h):c?r.enterprise.render(h):r.render(h)},e.loadingState=null,e.instance=null,e.instanceSiteKey=null,e.successfulLoadingConsumers=[],e.errorLoadingRunnable=[],e.SCRIPT_LOAD_DELAY=25,e}();f.load=o.load,f.getInstance=o.getInstance}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.