PageSourceSearch

https://clickfile.ru/chunk-RN2CUTQE.js

js clickfile.ru collected 2026-10-10 02:29:40 UTC 30,593 bytes, 1 lines download raw bytes

1import{b as ft}from"./chunk-OTFJUP5V.js";import{a as te,b as ne,c as ie,d as We,e as $e,f as _e,g as H,h as f,i as Xe,j as A,k as I,l as M,m as Ze,q as ht,r as _t,s as gt}from"./chunk-QN2V6WWD.js";import{b as ve}from"./chunk-HA2U2S5I.js";import{c as pt}from"./chunk-XSD6QIWV.js";import{b as Qe}from"./chunk-CEQEUZ3H.js";import{a as ut,b as mt}from"./chunk-3VC6T2DV.js";import{C as lt,D as ct,E as dt,a as ge,b as fe,c as Je,h as et,i as tt,k as nt,n as it,s as at,t as rt,u as ot,v as st}from"./chunk-JLI6XZWK.js";import{j as Ge,k as qe}from"./chunk-SUR7Q7C2.js";import{b as Ke}from"./chunk-IUMX2EKA.js";import{c as Ye}from"./chunk-SPXRD7F4.js";import{g as pe,i as Re,k as he,l as Ne,p as ze,q as Ue,y as je}from"./chunk-YFLYF5PV.js";import{Aa as Be,Q as Le,S as ue,U as G,W as q,X as me,Y as Ee,da as Fe}from"./chunk-JQNMRLAK.js";import{c as Ae}from"./chunk-ZTBPQ5HE.js";import{j as He}from"./chunk-PLPYMVEE.js";import{$b as b,Ac as we,Bc as Pe,Ga as se,Jb as w,Jc as le,Kc as P,Lb as W,Mb as $,Mc as k,Na as L,Oc as T,Pb as Te,Qb as X,Ra as Y,Uc as B,Vc as R,Wc as C,Yc as K,Zb as Z,bc as y,c as ke,cc as J,cd as De,dc as Ie,dd as V,ec as E,ed as ce,fc as F,fd as de,gc as v,hc as u,hd as Oe,ic as m,id as Se,jc as Q,ma as l,pd as g,qd as ee,r as oe,rd as Ve,sa as p,sc as x,ta as h,tc as Me,ub as c,wd as D,xc as _,xd as s,yd as N,zc as o}from"./chunk-6CBGO2GY.js";var be=(()=>{class n{transform(e,t,...i){return t(e,...i)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275pipe=$({name:"tuiMapper",type:n,pure:!0})}}return n})();var kt=["*"];function Tt(n,r){if(n&1){let e=x();u(0,"button",0),_("click",function(){p(e);let i=o();return h(i.onLeftClick())}),k(1),m(),u(2,"span",1),Pe(3),m(),u(4,"button",2),_("click",function(){p(e);let i=o();return h(i.onRightClick())}),k(5),m()}if(n&2){let e=r,t=o();P("t-button_hidden",t.disabled()||t.leftDisabled()),v("iconStart",t.icons.decrement)("tabIndex",t.focusable()?0:-1),c(),T(" ",e[0]," "),c(3),P("t-button_hidden",t.disabled()||t.rightDisabled()),v("iconStart",t.icons.increment)("tabIndex",t.focusable()?0:-1),c(),T(" ",e[1]," ")}}var vt=(()=>{class n{constructor(){this.icons=l(Re),this.spinTexts=l(ze),this.focusable=s(!0),this.disabled=s(!1),this.leftDisabled=s(!1),this.rightDisabled=s(!1),this.leftClick=D(),this.rightClick=D()}onLeftClick(){!this.disabled()&&!this.leftDisabled()&&this.leftClick.emit()}onRightClick(){!this.disabled()&&!this.rightDisabled()&&this.rightClick.emit()}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=w({type:n,selectors:[["tui-spin-button"]],hostBindings:function(t,i){t&1&&_("keydown.arrowLeft.prevent",function(){return i.onLeftClick()})("keydown.arrowRight.prevent",function(){return i.onRightClick()})("mousedown.zoneless.prevent",function(){return 0})},inputs:{focusable:[1,"focusable"],disabled:[1,"disabled"],leftDisabled:[1,"leftDisabled"],rightDisabled:[1,"rightDisabled"]},outputs:{leftClick:"leftClick",rightClick:"rightClick"},ngContentSelectors:kt,decls:1,vars:1,consts:[["appearance","flat","automation-id","tui-spin-button__left","size","xs","tuiIconButton","","type","button",1,"t-button",3,"click","iconStart","tabIndex"],[1,"t-content","t-calendar-title"],["appearance","flat","automation-id","tui-spin-button__right","size","xs","tuiIconButton","","type","button",1,"t-button",3,"click","iconStart","tabIndex"]],template:function(t,i){if(t&1&&(we(),b(0,Tt,6,10)),t&2){let a;y((a=i.spinTexts())?0:-1,a)}},dependencies:[Ye],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:space-between;font:var(--tui-typography-body-l);text-align:center;font-weight:700}.t-button[_ngcontent-%COMP%]{transform:scaleX(var(--tui-inline))}.t-button_hidden[_ngcontent-%COMP%]{visibility:hidden}.t-content[_ngcontent-%COMP%]{padding:0 .5rem}"]})}}return n})();var It=(n,r,e,t,i)=>[n,r,e,t,i];function Mt(n,r){if(n&1&&Q(0,"div",1),n&2){let e=r.$implicit;v("textContent",e)}}function wt(n,r){if(n&1&&Q(0,"div",6),n&2){let e=o();le("background",(e==null?null:e[1])||"")}}function Pt(n,r){if(n&1&&(u(0,"div",5),Q(1,"div",6),b(2,wt,1,2,"div",7),m()),n&2){let e=r;c(),le("background",e==null?null:e[0]),c(),y(e.length>1?2:-1)}}function Dt(n,r){if(n&1){let e=x();u(0,"div",4),V(1,"tuiMapper"),_("click",function(){p(e),o();let i=C(0),a=o(2);return h(a.dayClick.emit(i))})("tuiHoveredChange",function(i){p(e),o();let a=C(0),d=o(2);return h(d.onItemHovered(i&&a))}),k(2),b(3,Pt,3,3,"div",5),V(4,"tuiMapper"),m()}if(n&2){let e;o();let t=C(0),i=o(2);P("t-cell_disabled",i.disabledItemHandler()(t))("t-cell_today",i.itemIsToday(t))("t-cell_unavailable",i.itemIsUnavailable(t)),Z("data-range",i.getItemRange(t))("data-type",de(1,10,t,i.dayType)),c(2),T(" ",t.day," "),c(),y((e=Se(4,13,De(19,It,t,i.toMarkers,i.itemIsToday(t),i.getItemRange(t),i.markerHandler())))?3:-1,e)}}function Ot(n,r){if(n&1&&(B(0),b(1,Dt,5,25,"div",3)),n&2){let e=r.$index;o();let t=C(0),i=o(),a=C(5),d=R(a[t]==null?null:a[t][e]);c(),y(d&&(!i.itemIsUnavailable(d)||i.showAdjacent())?1:-1)}}function St(n,r){if(n&1&&(B(0),u(1,"div",2),E(2,Ot,2,2,null,null,J),m()),n&2){let e=r.$index;o();let t=C(5),i=R(e);c(2),F("-".repeat((t[i]==null?null:t[i].length)??0))}}function Vt(n,r){if(n&1&&k(0),n&2){let e=o();T(" ",e.value().formattedYear," ")}}function Ht(n,r){if(n&1){let e=x();u(0,"button",2),_("click",function(){p(e);let i=o();return h(i.yearClick.emit(i.value()))}),k(1),m()}if(n&2){let e=o();c(),T(" ",e.value().formattedYear," ")}}function At(n,r){if(n&1){let e=x();B(0),u(1,"div",2),_("click",function(){p(e);let i=C(0),a=o(2);return h(a.yearClick.emit(i))})("tuiHoveredChange",function(i){p(e);let a=C(0),d=o(2);return h(d.onItemHovered(i,a))}),k(2),m()}if(n&2){let e=r.$index;o();let t=C(0),i=o(),a=R(i.getItem(t,e));c(),P("t-cell_disabled",i.isDisabled(a))("t-cell_today",i.itemIsToday(a)),v("tuiScrollIntoView",i.scrollItemIntoView(a)),Z("data-range",i.getItemRange(a)),c(),T(" ",a," ")}}function Lt(n,r){if(n&1&&(B(0),u(1,"div",0),E(2,At,3,8,"div",1,J),m()),n&2){let e=r.$index;R(e),c(2),F("-".repeat(4))}}function Et(n,r){if(n&1){let e=x();u(0,"tui-scrollbar",0)(1,"tui-calendar-year",1),_("yearClick",function(i){p(e);let a=o();return h(a.onPickerYearClick(i))}),m()()}if(n&2){let e=o();c(),v("initialItem",e.month().year)("max",e.max().year)("min",e.min().year)("rangeMode",e.options.rangeMode)("value",e.value())}}function Ft(n,r){if(n&1){let e=x();u(0,"tui-calendar-spin",2),_("valueChange",function(i){p(e);let a=o();return h(a.onPaginationValueChange(i))})("yearClick",function(){p(e);let i=o();return h(i.view.set("year"))}),m(),u(1,"tui-calendar-sheet",3),V(2,"tuiMapper"),_("dayClick",function(i){p(e);let a=o();
1return h(a.onDayClick(i))})("hoveredItemChange",function(i){p(e);let a=o();return h(a.onHoveredItemChange(i))}),m()}if(n&2){let e=o();v("max",e.computedMaxViewedMonth())("min",e.computedMinViewedMonth())("value",e.month()),c(),v("disabledItemHandler",Oe(2,9,e.disabledItemHandler(),e.disabledItemHandlerMapper,e.min(),e.max()))("hoveredItem",e.hoveredItem())("markerHandler",e.markerHandler())("month",e.month())("showAdjacent",e.showAdjacent())("value",e.value())}}var ae=(()=>{class n{constructor(){this.month=N(H.currentLocal()),this.value=N(null),this.min=s(I,{transform:e=>e??I}),this.max=s(M,{transform:e=>e??M}),this.disabledItemHandler=s(l(ge).disabledItemHandler())}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275dir=W({type:n,inputs:{month:[1,"month"],value:[1,"value"],min:[1,"min"],max:[1,"max"],disabledItemHandler:[1,"disabledItemHandler"]},outputs:{month:"monthChange",value:"valueChange"}})}}return n})(),Bt={dayType:n=>n.isWeekend?"weekend":"weekday",weekStart:se($e.Monday)},[xe,wn]=q(Bt),Rt={rangeMode:!1},[yt,Pn]=q(Rt),Nt=6,zt=(()=>{class n{constructor(){this.options=l(xe),this.currentMonth=null,this.currentSheet=[]}transform(e,t=!1){if(this.currentMonth?.monthSame(e))return this.currentSheet;let i=[];for(let a=0;a<Nt;a++){let d=[];for(let O=0;O<te;O++){let S=jt({month:e,rowIndex:a,colIndex:O,firstDayOfWeek:this.options.weekStart()}),z=(U,j=e)=>U.year<j.year||U.month<j.month,re=(U,j=e)=>U.year>j.year||U.month>j.month;if(!(z(S)&&!t)){if(re(S)&&!t)break;d.push(S)}}i.push(d)}return this.currentSheet=i.filter(a=>a.length),this.currentMonth=e,this.currentSheet}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275pipe=$({name:"tuiCalendarSheet",type:n,pure:!0})}}return n})();function Ut(n,r){let e=new Date(n.year,n.month,1).getDay();return e>=r?e-r:te-(r-e)}function jt({month:n,rowIndex:r,colIndex:e,firstDayOfWeek:t}){let i=r*te+e-Ut(n,t)+1;return i>n.daysCount&&(i-=n.daysCount,n=n.append({month:1})),i<=0&&(n=n.append({month:-1}),i=n.daysCount+i),new f(n.year,n.month,i)}function Yt(n){let r=n.length-1;return[n[r]||"",...n.slice(0,r)]}var Wt=(()=>{class n{constructor(){this.options=l(xe)}transform(e){return e.pipe(oe(Yt),oe(t=>[...t.slice(this.options.weekStart()),...t.slice(0,this.options.weekStart())]))}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275pipe=$({name:"tuiOrderWeekDays",type:n,pure:!0})}}return n})(),$t=(()=>{class n{constructor(){this.options=l(yt),this.today=f.currentLocal(),this.unorderedWeekDays$=Ae(l(Ue)),this.dayType=l(xe).dayType,this.month=s(H.currentLocal()),this.disabledItemHandler=s(Fe),this.markerHandler=s(null),this.value=s(null),this.showAdjacent=s(!0),this.hoveredItem=N(null),this.dayClick=D(),this.toMarkers=(e,t,i,a)=>{if(t||["active","end","start"].includes(i||""))return null;let d=a?.(e);return d?.length?d:null}}onItemHovered(e){this.updateHoveredItem(e||null)}getItemRange(e){let t=this.value();if(!t)return null;if(t instanceof f&&!this.computedRangeMode)return t.daySame(e)?"active":null;if(t instanceof A&&t.isSingleDay)return t.from.daySame(e)?"active":null;if(!(t instanceof f)&&!(t instanceof A))return t.find(a=>a.daySame(e))?"active":null;let i=this.getRange(t,this.hoveredItem());return i.isSingleDay&&i.from.daySame(e)?"active":i.from.daySame(e)?"start":i.to.daySame(e)?"end":i.from.dayBefore(e)&&i.to.dayAfter(e)?"middle":null}get computedRangeMode(){return this.options.rangeMode}get isRangePicking(){return this.options.rangeMode&&this.value()instanceof f}itemIsToday(e){return this.today.daySame(e)}itemIsUnavailable(e){return!this.month().monthSame(e)}getRange(e,t){return e instanceof f?A.sort(e,t??e):e.isSingleDay?A.sort(e.from,t??e.to):e}updateHoveredItem(e){ue(this.hoveredItem(),e,(t,i)=>t.daySame(i))||this.hoveredItem.set(e)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=w({type:n,selectors:[["tui-calendar-sheet"]],hostVars:2,hostBindings:function(t,i){t&2&&P("_picking",i.isRangePicking)},inputs:{month:[1,"month"],disabledItemHandler:[1,"disabledItemHandler"],markerHandler:[1,"markerHandler"],value:[1,"value"],showAdjacent:[1,"showAdjacent"],hoveredItem:[1,"hoveredItem"]},outputs:{hoveredItem:"hoveredItemChange",dayClick:"dayClick"},decls:10,vars:8,consts:[[1,"t-row","t-row_weekday"],[1,"t-cell",3,"textContent"],["automation-id","tui-calendar-sheet__row",1,"t-row"],["automation-id","tui-calendar-sheet__cell",1,"t-cell",3,"t-cell_disabled","t-cell_today","t-cell_unavailable"],["automation-id","tui-calendar-sheet__cell",1,"t-cell",3,"click","tuiHoveredChange"],[1,"t-dots"],[1,"t-dot"],[1,"t-dot",3,"background"]],template:function(t,i){if(t&1&&(u(0,"div",0),E(1,Mt,1,1,"div",1,Ie),V(3,"tuiOrderWeekDays"),V(4,"async"),m(),B(5),V(6,"tuiCalendarSheet"),u(7,"div"),E(8,St,4,1,"div",2,J),m()),t&2){c(),F(ce(4,2,ce(3,0,i.unorderedWeekDays$))),c(4);let a=R(de(6,4,i.month(),!0));c(3),F("-".repeat(a.length))}},dependencies:[He,zt,ve,be,Wt],styles:[`.t-row[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;font:var(--tui-typography-body-m)}.t-row[_ngcontent-%COMP%]:last-child{justify-content:flex-start}.t-cell[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;line-height:2rem;isolation:isolate;cursor:pointer;overflow:hidden;border:.125rem solid transparent;box-sizing:border-box;-webkit-mask-image:linear-gradient(transparent calc(50% - 1rem),#000 calc(50% - 1rem),#000 calc(50% + 1rem),transparent calc(50% + 1rem));mask-image:linear-gradient(transparent calc(50% - 1rem),#000 calc(50% - 1rem),#000 calc(50% + 1rem),transparent calc(50% + 1rem))}.t-cell[_ngcontent-%COMP%]:first-child{border-inline-start-color:transparent!important}.t-cell[_ngcontent-%COMP%]:last-child{border-inline-end-color:transparent!important}.t-cell[_ngcontent-%COMP%]:before, .t-cell[_ngcontent-%COMP%]:after{position:absolute;inset-block-start:0;inset-inline-start:0;inset-block-end:0;inset-inline-end:0;content:"";z-index:-1;border-radius:var(--tui-radius-m)}.t-cell[_ngcontent-%COMP%]:after{-webkit-mask-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 32"><path d="M0.2856 0L0.6763 0C2.9265 0 4.9876 1.259 6.0147 3.2611L10.2442 11.5048C11.5301 14.0113 11.5683 16.9754 10.3472 19.5141L5.9766 28.6007C4.9772 30.6786 2.8754 32 0.5696 32H0.285645V0Z"></path></svg>'),linear-gradient(#000,#000);mask-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 32"><path d="M0.2856 0L0.6763 0C2.9265 0 4.9876 1.259 6.0147 3.2611L10.2442 11.5048C11.5301 14.0113 11.5683 16.9754 10.3472 19.5141L5.9766 28.6007C4.9772 30.6786 2.8754 32 0.5696 32H0.285645V0Z"></path></svg>'),linear-gradient(#000,#000);-webkit-mask-position:right,left;mask-position:right,left;
1-webkit-mask-size:.75rem 100%,calc(100% - .7rem) 100%;mask-size:.75rem 100%,calc(100% - .7rem) 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.t-cell[data-range][_ngcontent-%COMP%]:before{background:var(--tui-background-neutral-1)}._picking[_nghost-%COMP%]   .t-cell[data-range][_ngcontent-%COMP%]:before{background:var(--tui-background-neutral-1-hover)}.t-cell[data-range=middle][_ngcontent-%COMP%]{border-color:var(--tui-background-neutral-1)}._picking[_nghost-%COMP%]   .t-cell[data-range=middle][_ngcontent-%COMP%]{border-color:var(--tui-background-neutral-1-hover)}.t-cell[data-range=middle][_ngcontent-%COMP%]:not(:first-child):before{border-start-start-radius:0;border-end-start-radius:0}.t-cell[data-range=middle][_ngcontent-%COMP%]:not(:last-child):before{border-start-end-radius:0;border-end-end-radius:0}.t-cell[data-range=start][_ngcontent-%COMP%]{border-inline-end-color:var(--tui-background-neutral-1);color:var(--tui-text-primary-on-accent-1)}._picking[_nghost-%COMP%]   .t-cell[data-range=start][_ngcontent-%COMP%]{border-inline-end-color:var(--tui-background-neutral-1-hover)}.t-cell[data-range=start][_ngcontent-%COMP%]:not(:last-child):before{inset-inline-end:-1rem}.t-cell[data-range=start][_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1);transform:scaleX(var(--tui-inline))}.t-cell[data-range=end][_ngcontent-%COMP%]{border-inline-start-color:var(--tui-background-neutral-1);color:var(--tui-text-primary-on-accent-1)}._picking[_nghost-%COMP%]   .t-cell[data-range=end][_ngcontent-%COMP%]{border-inline-start-color:var(--tui-background-neutral-1-hover)}.t-cell[data-range=end][_ngcontent-%COMP%]:not(:first-child):before{inset-inline-start:-1rem}.t-cell[data-range=end][_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1);transform:scaleX(calc(var(--tui-inline) * -1))}.t-cell[data-range=active][_ngcontent-%COMP%]{color:var(--tui-text-primary-on-accent-1)}.t-cell[data-range=active][_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1);-webkit-mask-image:none;mask-image:none}.t-cell_disabled[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity);pointer-events:none}.t-cell_today[_ngcontent-%COMP%]{text-decoration:underline;text-underline-offset:.25rem}@media(hover:hover)and (pointer:fine){.t-cell[_ngcontent-%COMP%]:hover:not([data-range=start]):not([data-range=end]):before{background:var(--tui-background-neutral-1-hover)}.t-cell[data-range=start][_ngcontent-%COMP%]:hover:after, .t-cell[data-range=end][_ngcontent-%COMP%]:hover:after, .t-cell[data-range=active][_ngcontent-%COMP%]:hover:after{background:var(--tui-background-accent-1-hover)}}.t-cell[_ngcontent-%COMP%]{inline-size:calc(100% / 7)}[data-type=weekday][_ngcontent-%COMP%]{color:var(--tui-text-primary)}[data-type=weekend][_ngcontent-%COMP%]{color:var(--tui-text-negative)}.t-row[_ngcontent-%COMP%]{justify-content:flex-start}.t-row[_ngcontent-%COMP%]:first-child{justify-content:flex-end}.t-row_weekday[_ngcontent-%COMP%]{font:var(--tui-typography-body-s);color:var(--tui-text-secondary);pointer-events:none}.t-cell_unavailable[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}.t-dots[_ngcontent-%COMP%]{position:absolute;display:flex;inset-block-end:0;justify-content:center;margin-block-start:-.5rem;padding-block-end:.25rem}.t-dot[_ngcontent-%COMP%]{display:inline-block;inline-size:.25rem;block-size:.25rem;border-radius:100%;margin:0 .0625rem}`]})}}return n})(),Xt=(()=>{class n{constructor(){this.months=l(Ne),this.value=N(H.currentLocal()),this.min=s(I),this.max=s(M),this.yearClick=D()}append(e){let t=this.value().append(e),i=this.min(),a=this.max();i.monthSameOrAfter(t)?this.updateValue(i):this.updateValue(a.monthSameOrBefore(t)?a:t)}updateValue(e){this.value().monthSame(e)||this.value.set(e)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=w({type:n,selectors:[["tui-calendar-spin"]],inputs:{value:[1,"value"],min:[1,"min"],max:[1,"max"]},outputs:{value:"valueChange",yearClick:"yearClick"},decls:4,vars:5,consts:[[3,"leftClick","rightClick","focusable","leftDisabled","rightDisabled"],["tabIndex","-1","tuiLink","","type","button"],["tabIndex","-1","tuiLink","","type","button",3,"click"]],template:function(t,i){t&1&&(u(0,"tui-spin-button",0),_("leftClick",function(){return i.append({month:-1})})("rightClick",function(){return i.append({month:1})}),k(1),b(2,Vt,1,1)(3,Ht,2,1,"button",1),m()),t&2&&(v("focusable",!1)("leftDisabled",i.value(
1).monthSameOrBefore(i.min()))("rightDisabled",i.value().monthSameOrAfter(i.max())),c(),T(" ",i.months()[i.value().month]," "),c(),y(i.min().year===i.max().year?2:3))},dependencies:[Qe,vt],styles:["[_nghost-%COMP%]{display:block}"]})}}return n})(),Ct=100,bt=4,ye=H.currentLocal().year,Zt=(()=>{class n{constructor(){this.hoveredItem=se(null),this.calculatedMin=g(()=>{let e=this.initialItem()-Ct,t=this.min()??ne;return t>e?t:e}),this.calculatedMax=g(()=>{let e=this.initialItem()+Ct,t=this.max()??ie;return t<e?t+1:e}),this.isRangePicking=g((e=this.value())=>this.rangeMode()&&(e instanceof f||e instanceof H)),this.rows=g(()=>Math.ceil((this.calculatedMax()-this.calculatedMin())/bt)),this.rangeMode=s(!1),this.disabledItemHandler=s(l(ge).disabledItemHandler()),this.value=s(null),this.min=s(ne,{transform:e=>e??ne}),this.max=s(ie,{transform:e=>e??ie}),this.initialItem=s(ye,{transform:e=>e??ye}),this.yearClick=D()}isDisabled(e){return this.max()&&this.max()<e||this.min()&&this.min()>e||this.disabledItemHandler()(e)}getItemRange(e){let t=this.value(),i=this.hoveredItem();if(t instanceof _e&&t.year===e)return"active";if(Le(t))return t===e?"active":null;if(!(t instanceof Xe)&&!(t instanceof _e))return t?.find(re=>re.year===e)?"active":null;let a=this.isRangePicking()?i:null,d="from"in t?t.from?.year:t.year,O="from"in t?t.to.year:t.year,S=Math.min(d,a??O),z=Math.max(d,a??O);return S===z&&d===O&&d===e?"active":S===e?"start":z===e?"end":S<e&&e<z?"middle":null}onItemHovered(e,t){this.hoveredItem.set(e?t:null)}scrollItemIntoView(e){return this.initialItem()===e}getItem(e,t){return e*bt+t+this.calculatedMin()}itemIsToday(e){return ye===e}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=w({type:n,selectors:[["tui-calendar-year"]],hostVars:2,hostBindings:function(t,i){t&2&&P("_picking",i.isRangePicking())},inputs:{rangeMode:[1,"rangeMode"],disabledItemHandler:[1,"disabledItemHandler"],value:[1,"value"],min:[1,"min"],max:[1,"max"],initialItem:[1,"initialItem"]},outputs:{yearClick:"yearClick"},features:[K([pe(n)])],decls:2,vars:0,consts:[["automation-id","tui-calendar-year__row",1,"t-row"],["automation-id","tui-calendar-year__cell",1,"t-cell",3,"t-cell_disabled","t-cell_today","tuiScrollIntoView"],["automation-id","tui-calendar-year__cell",1,"t-cell",3,"click","tuiHoveredChange","tuiScrollIntoView"]],template:function(t,i){t&1&&E(0,Lt,4,1,"div",0,J),t&2&&F("-".repeat(i.rows()))},dependencies:[ve,qe],styles:[`.t-row[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;font:var(--tui-typography-body-m)}.t-row[_ngcontent-%COMP%]:first-child{justify-content:flex-end}.t-row[_ngcontent-%COMP%]:last-child{justify-content:flex-start}.t-cell[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;line-height:2rem;isolation:isolate;cursor:pointer;overflow:hidden;border:.125rem solid transparent;box-sizing:border-box;-webkit-mask-image:linear-gradient(transparent calc(50% - 1rem),#000 calc(50% - 1rem),#000 calc(50% + 1rem),transparent calc(50% + 1rem));mask-image:linear-gradient(transparent calc(50% - 1rem),#000 calc(50% - 1rem),#000 calc(50% + 1rem),transparent calc(50% + 1rem))}.t-cell[_ngcontent-%COMP%]:first-child{border-inline-start-color:transparent!important}.t-cell[_ngcontent-%COMP%]:last-child{border-inline-end-color:transparent!important}.t-cell[_ngcontent-%COMP%]:before, .t-cell[_ngcontent-%COMP%]:after{position:absolute;inset-block-start:0;inset-inline-start:0;inset-block-end:0;inset-inline-end:0;content:"";z-index:-1;border-radius:var(--tui-radius-m)}.t-cell[_ngcontent-%COMP%]:after{-webkit-mask-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 32"><path d="M0.2856 0L0.6763 0C2.9265 0 4.9876 1.259 6.0147 3.2611L10.2442 11.5048C11.5301 14.0113 11.5683 16.9754 10.3472 19.5141L5.9766 28.6007C4.9772 30.6786 2.8754 32 0.5696 32H0.285645V0Z"></path></svg>'),linear-gradient(#000,#000);mask-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 32"><path d="M0.2856 0L0.6763 0C2.9265 0 4.9876 1.259 6.0147 3.2611L10.2442 11.5048C11.5301 14.0113 11.5683 16.9754 10.3472 19.5141L5.9766 28.6007C4.9772 30.6786 2.8754 32 0.5696 32H0.285645V0Z"></path></svg>'),linear-gradient(#000,#000);-webkit-mask-position:right,left;mask-position:right,left;
1-webkit-mask-size:.75rem 100%,calc(100% - .7rem) 100%;mask-size:.75rem 100%,calc(100% - .7rem) 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.t-cell[data-range][_ngcontent-%COMP%]:before{background:var(--tui-background-neutral-1)}._picking[_nghost-%COMP%]   .t-cell[data-range][_ngcontent-%COMP%]:before{background:var(--tui-background-neutral-1-hover)}.t-cell[data-range=middle][_ngcontent-%COMP%]{border-color:var(--tui-background-neutral-1)}._picking[_nghost-%COMP%]   .t-cell[data-range=middle][_ngcontent-%COMP%]{border-color:var(--tui-background-neutral-1-hover)}.t-cell[data-range=middle][_ngcontent-%COMP%]:not(:first-child):before{border-start-start-radius:0;border-end-start-radius:0}.t-cell[data-range=middle][_ngcontent-%COMP%]:not(:last-child):before{border-start-end-radius:0;border-end-end-radius:0}.t-cell[data-range=start][_ngcontent-%COMP%]{border-inline-end-color:var(--tui-background-neutral-1);color:var(--tui-text-primary-on-accent-1)}._picking[_nghost-%COMP%]   .t-cell[data-range=start][_ngcontent-%COMP%]{border-inline-end-color:var(--tui-background-neutral-1-hover)}.t-cell[data-range=start][_ngcontent-%COMP%]:not(:last-child):before{inset-inline-end:-1rem}.t-cell[data-range=start][_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1);transform:scaleX(var(--tui-inline))}.t-cell[data-range=end][_ngcontent-%COMP%]{border-inline-start-color:var(--tui-background-neutral-1);color:var(--tui-text-primary-on-accent-1)}._picking[_nghost-%COMP%]   .t-cell[data-range=end][_ngcontent-%COMP%]{border-inline-start-color:var(--tui-background-neutral-1-hover)}.t-cell[data-range=end][_ngcontent-%COMP%]:not(:first-child):before{inset-inline-start:-1rem}.t-cell[data-range=end][_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1);transform:scaleX(calc(var(--tui-inline) * -1))}.t-cell[data-range=active][_ngcontent-%COMP%]{color:var(--tui-text-primary-on-accent-1)}.t-cell[data-range=active][_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1);-webkit-mask-image:none;mask-image:none}.t-cell_disabled[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity);pointer-events:none}.t-cell_today[_ngcontent-%COMP%]{text-decoration:underline;text-underline-offset:.25rem}@media(hover:hover)and (pointer:fine){.t-cell[_ngcontent-%COMP%]:hover:not([data-range=start]):not([data-range=end]):before{background:var(--tui-background-neutral-1-hover)}.t-cell[data-range=start][_ngcontent-%COMP%]:hover:after, .t-cell[data-range=end][_ngcontent-%COMP%]:hover:after, .t-cell[data-range=active][_ngcontent-%COMP%]:hover:after{background:var(--tui-background-accent-1-hover)}}[_nghost-%COMP%]{display:block;padding-inline-end:1rem;inline-size:15.75rem;padding:0 1.125rem}.t-cell[_ngcontent-%COMP%]{flex:1;border-block-start-width:.5rem;border-block-end-width:.5rem}`]})}}return n})(),Jt=(()=>{class n extends ae{constructor(){super(...arguments),this.options=l(yt),this.minViewedMonth=s(I),this.maxViewedMonth=s(M),this.showAdjacent=s(!0),this.markerHandler=s(null),this.initialView=s("month"),this.hoveredItem=N(null),this.dayClick=D(),this.computedMinViewedMonth=g(()=>{let e=this.min(),t=this.minViewedMonth()??I;return t.monthSameOrAfter(e)?t:e}),this.computedMaxViewedMonth=g(()=>{let e=this.max(),t=this.maxViewedMonth()??M;return t.monthSameOrBefore(e)?t:e}),this.view=Ve(()=>this.initialView()),this.syncMonthFromValue=L(()=>{let e=this.value();this.showAdjacent()&&e instanceof f&&e.daySameOrBefore(Ze)&&this.month.set(e)}),this.disabledItemHandlerMapper=(e,t,i)=>a=>a.dayBefore(t)||a.dayAfter(i)||e(a)}onPaginationValueChange(e){this.updateViewedMonth(e)}onDayClick(e){this.dayClick.emit(e),this.value.set(e)}onHoveredItemChange(e){this.updateHoveredDay(e)}onPickerYearClick(e){this.view.set("month"),this.updateViewedMonth(new H(e,this.month().month))}updateViewedMonth(e){this.month().monthSame(e)||this.month.set(e)}updateHoveredDay(e){ue(this.hoveredItem(),e,(t,i)=>t.daySame(i))||this.hoveredItem.set(e)}static{this.\u0275fac=(()=>{let e;return function(i){return(e||(e=Y(n)))(i||n)}})()}static{this.\u0275cmp=w({type:n,selectors:[["tui-calendar"]],hostBindings:function(t,i){t&1&&_("mousedown.prevent.zoneless",function(){return 0})},inputs:{minViewedMonth:[1,"minViewedMonth"],maxViewedMonth:[1,"maxViewedMonth"],showAdjacent:[1,"showAdjacent"],markerHandler:[1,"markerHandler"],initialView:[1,"initialView"],hoveredItem:[1,"hoveredItem"]},outputs:{hoveredItem:"hoveredItemChange",dayClick:"dayClick"},features:[K([pe(n),Ee(ae,n)]),X],decls:2,vars:1,consts:[["automation-id","tui-calendar__scrollbar",1,"t-scrollbar"],["automation-id","tui-calendar__year",3,"yearClick","initialItem","max","min","rangeMode","value"],["automation-id","tui-calendar__pagination",1,"t-pagination",3,"valueChange","yearClick","max","min","value"],["automation-id","tui-calendar__calendar",3,"dayClick","hoveredItemChange","disabledItemHandler","hoveredItem","markerHandler","month","showAdjacent","value"]],template:function(t,i){t&1&&b(0,Et,2,5,"tui-scrollbar",0)(1,Ft,3,14),t&2&&y(i.view()==="year"?0:1)},dependencies:[$t,Xt,Zt,be,Ge],styles:["[_nghost-%COMP%]{display:block;min-block-size:20.25rem;inline-size:18rem;padding:1rem 1.125rem;box-sizing:border-box;flex-shrink:0}tui-sheet-dialog[_nghost-%COMP%], tui-sheet-dialog   [_nghost-%COMP%]{inline-size:100%}tui-calendar-year[_ngcontent-%COMP%]{padding:0}.t-scrollbar[_ngcontent-%COMP%]{block-size:18.25rem;inline-size:calc(100% + 1rem)}.t-pagination[_ngcontent-%COMP%]{margin-block-end:1rem}"]})}}return n})();function Kt(n,r){return n.replaceAll(/[^0-9A-ZА-Я]/gi,r)}function Gt(n=ke){let r=l(pt),e=l(he);return me(lt,"filler",g(()=>{let{mode:t,separator:i}=e(),a=r()??"",d=a&&Kt(a[t],i);return n(d)}),{})}var qt={icon:"@tui.calendar",min:null,max:null,valueTransformer:rt},[xt,hi]=q(qt),Qt=(()=>{class n extends ot{constructor(){super(...arguments),this.calendar=ct(e=>e instanceof ae),this.options=l(xt),this.el=Be(),this.input=l(ut),this.filler=Gt(),this.mobile=l(Ke),this.open=l(et).open,this.icon=je(this.options.icon),this.handlers=l(fe),this.format=l(he),this.dropdownEnabled=tt(g(()=>!this.native&&this.interactive())),this.identity=me(fe,"identityMatcher",(e,t)=>e.daySame(t),{}),this.valueEffect=L(()=>{let e=this.stringify(this.value())||(this.filler().length===this.el.value.length?"":this.el.value);this.input.value.set(e)}),this.calendarIn=L(()=>
1{let e=this.calendar();e&&this.processCalendar(e)}),this.calendarOut=L(()=>{let e=this.calendar()?.value(),t=ee(()=>e!==this.toCalendarValue(this.value())),i=e instanceof A&&e.from===e.to;e&&t&&!i&&this.setDate(e)}),this.native=!!l(dt,{optional:!0})&&this.mobile}writeValue(e){let t=this.control.pristine&&this.control.untouched&&!e;(ee(()=>e!==this.value())||t)&&(super.writeValue(e),ee(()=>this.input.value.set(this.stringify(this.value()))))}setDate(e){this.onChange(e),this.open.set(!1),this.el.closest("tui-dropdown,tui-drawer")||this.el.blur()}processCalendar(e){G(e.value,this.toCalendarValue(this.value())),G(e.disabledItemHandler,this.handlers.disabledItemHandler()),G(e.min,this.min()),G(e.max,this.max())}onClick(){!this.mobile&&this.dropdownEnabled()&&this.open.update(e=>!e)}stringify(e){return e?.toString(this.format().mode,this.format().separator)??""}toCalendarValue(e){return Array.isArray(e)?e[0]:e}static{this.\u0275fac=(()=>{let e;return function(i){return(e||(e=Y(n)))(i||n)}})()}static{this.\u0275dir=W({type:n,hostVars:2,hostBindings:function(t,i){t&1&&_("click.capture.stop",function(){return i.onClick()})("input",function(d){return i.onValueChange(d.target.value)}),t&2&&(Me("disabled",i.disabled()),Z("inputmode",i.mobile&&i.open()?"none":"numeric"))},features:[X]})}}return n})(),_i=(()=>{class n extends Qt{constructor(){super(...arguments),this.max=s(this.options.max??M,{transform:e=>e??M}),this.min=s(this.options.min??I,{transform:e=>e??I}),this.mask=_t(g(()=>ft({separator:this.format().separator,mode:this.format().mode,min:this.min().toLocalNativeDate(),max:this.max().toLocalNativeDate()})))}onValueChange(e){this.control?.control?.updateValueAndValidity({emitEvent:!1}),this.onChange(e.length===We?f.normalizeParse(e,this.format().mode):null)}static{this.\u0275fac=(()=>{let e;return function(i){return(e||(e=Y(n)))(i||n)}})()}static{this.\u0275dir=W({type:n,selectors:[["input","tuiInputDate",""]],inputs:{max:[1,"max"],min:[1,"min"]},features:[K([it(gt),st(n),at(xt)]),Te([mt,nt,Je,ht]),X]})}}return n})();export{Jt as a,_i as b};

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.