PageSourceSearch

https://stiri.md/_next/static/chunks/1632wn2.jaxir.js

js stiri.md collected 2026-09-24 17:21:32 UTC 13,047 bytes, 260 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="816969e7-dc58-f03e-99e6-9b95ddf24589")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,123125,e=>{"use strict";e.s(["BUSINES_ARTICLES",0,[1,2,3,4,5],"CARD_COUNT",0,5,"ITEM_COUNT",0,10,"LINE_COUNT",0,15,"SIDEBAR_ITEM_COUNT",0,6])},602449,e=>{"use strict";var i=e.i(192622),a=e.i(689391);let t=a.styled.div.withConfig({displayName:"SliderArticle__Wrapper",componentId:"sc-fff4565f-0"})`
3  cursor: default;
4  display: flex;
5  flex-direction: column;
6`,r=a.styled.div.withConfig({displayName:"SliderArticle__ThumbnailWrapper",componentId:"sc-fff4565f-1"})`
7  position: relative;
8`,l=a.styled.div.withConfig({displayName:"SliderArticle__Thumb",componentId:"sc-fff4565f-2"})`
9  width: 100%;
10  height: 110px;
11  border-radius: var(--radius-sm);
12`,n=a.styled.div.withConfig({displayName:"SliderArticle__TitleLine",componentId:"sc-fff4565f-3"})`
13  margin-top: var(--space-sm);
14  height: 18px;
15  border-radius: var(--radius-sm);
16  width: 80%;
17  max-height: 18px;
18  overflow: hidden;
19`;e.s(["default",0,()=>(0,i.jsxs)(t,{"aria-hidden":!0,children:[(0,i.jsx)(r,{children:(0,i.jsx)(l,{className:"skeleton"})}),(0,i.jsx)(n,{className:"skeleton"}),(0,i.jsx)(n,{className:"skeleton"})]})])},6063,e=>{"use strict";var i=e.i(192622),a=e.i(689391),t=e.i(841244),r=e.i(602449),l=e.i(123125);let n=a.styled.div.withConfig({displayName:"ArticleSlider__Wrapper",componentId:"sc-fe8ebf99-0"})`
20  display: flex;
21  flex-direction: column;
22  margin-top: var(--space-3xl);
23
24  @media (max-width: 480px) {
25    margin-top: var(--space-xl);
26  }
27`,d=a.styled.div.withConfig({displayName:"ArticleSlider__TitleLine",componentId:"sc-fe8ebf99-1"})`
28  width: 180px;
29  height: 28px;
30  margin-bottom: var(--space-base);
31  border-radius: var(--radius-sm);
32
33  @media (max-width: 480px) {
34    height: 24px;
35  }
36`,s=a.styled.div.withConfig({displayName:"ArticleSlider__SliderRow",componentId:"sc-fe8ebf99-2"})`
37  display: flex;
38  gap: var(--space-base);
39  overflow: hidden;
40`,o=a.styled.div.withConfig({displayName:"ArticleSlider__CardSlot",componentId:"sc-fe8ebf99-3"})`
41  flex: 0 0 160px;
42  min-width: 0;
43
44  @media (min-width: 480px) {
45    flex: 0 0 180px;
46  }
47  @media (min-width: 640px) {
48    flex: 0 0 200px;
49  }
50`;e.s(["default",0,()=>(0,i.jsx)(n,{"aria-hidden":!0,children:(0,i.jsxs)(t.default,{children:[(0,i.jsx)(d,{className:"skeleton"}),(0,i.jsx)(s,{children:Array.from({length:l.CARD_COUNT}).map((e,a)=>(0,i.jsx)(o,{children:(0,i.jsx)(r.default,{})},a))})]})})])},891570,e=>{"use strict";var i=e.i(192622),a=e.i(172406),t=e.i(694164),r=e.i(925233),l=e.i(217653);let n={GetInfoPages:(e,i)=>{let{data:a,refetch:t,error:r,loading:n,fetchMore:d}=(0,l.useInfoPageQuery)({variables:{...e},skip:null==i?void 0:i.skip});return{data:a,refetch:t,error:r,loading:n,fetchMore:d}}};var d=e.i(406520),s=e.i(467730),o=e.i(689391),c=e.i(841244);let p=e=>{let{title:a,content:t}=e;return(0,i.jsxs)(h,{children:[(0,i.jsx)(m,{children:a}),(0,i.jsx)(f,{dangerouslySetInnerHTML:{__html:t}})]})},h=o.styled.div.withConfig({displayName:"ChildBody__Wrapper",componentId:"sc-fa3032cc-0"})`
51  padding: var(--space-sm) 0 var(--space-6xl);
52`,m=o.styled.h1.withConfig({displayName:"ChildBody__Title",componentId:"sc-fa3032cc-1"})`
53  font-size: 32px;
54  line-height: 1.25;
55  color: var(--black);
56`,f=o.styled.div.withConfig({displayName:"ChildBody__Body",componentId:"sc-fa3032cc-2"})`
57  margin-top: var(--space-base);
58  line-height: 1.5;
59  overflow: hidden;
60
61  &,
62  & * {
63    color: var(--black) !important;
64  }
65
66  a {
67    color: #3379bf !important;
68  }
69
70  p {
71    margin: var(--space-sm) 0;
72    color: var(--black);
73  }
74
75  img {
76    max-width: 100%;
77    height: auto;
78  }
79
80  h1,
81  h2,
82  h3,
83  h4,
84  h5,
85  h6 {
86    color: var(--black) !important;
87  }
88`,u=e=>{let{page:a}=e;return(0,i.jsx)(g,{dangerouslySetInnerHTML:{__html:a.html}})},g=o.styled.div.withConfig({displayName:"HtmlBody__Body",componentId:"sc-b84fed9e-0"})`
89  padding: var(--space-sm) 0 var(--space-6xl);
90  overflow: hidden;
91
92  .pages__page {
93
94    &__title {
95      font-size: 32px;
96      line-height: 1.25;
97      font-weight: 500;
98    }
99
100    &__body, &__contents {
101      margin-top: var(--space-base);
102      line-height: 1.5;
103    }
104
105    &__children {
106      &__child {
107        margin-top: 24px;
108      }
109    }
110  }
111
112  &,
113  & * {
114    color: var(--black) !important;
115  }
116
117  a {
118    color: #3379BF !important;
119  }
120
121  p {
122    margin: var(--space-sm) 0;
123    color: var(--black);
124  }
125
126  h1,
127  h2,
128  h3,
129  h4,
130  h5,
131  h6 {
132    color: var(--black) !important;
133  }
134
135  //TODO - urmeaza de implimentat
136
137  //.team-title {
138  //  display: block;
139  //  font-size: 24px;
140  //  font-weight: 700;
141  //  color: var(--black) !important;
142  //}
143
144  //.team-member {
145  //  display: block;
146  //  font-size: 18px;
147  //  margin-bottom: var(--space-sm);
148  //}
149`;var x=e.i(523887),_=e.i(903624),v=e.i(264458);let b=new Set,y=e=>{let{childrenBySection:t={},selectedChildId:l,onSelectChild:n}=e,s=(0,d.usePathname)(),o=e=>s===e||!!(null==s?void 0:s.startsWith(`${e}/`)),c=()=>r.INFO_MENU_ITEMS.find(e=>!e.url.startsWith("http")&&e.hasChildren&&o(e.url)),[p,h]=(0,a.useState)(()=>{let e=c();return e&&b.add(e.url),new Set(b)}),m=e=>{h(i=>{let a=e(i);
149return b.clear(),a.forEach(e=>b.add(e)),a})};return(0,a.useEffect)(()=>{let e=c();e&&m(i=>new Set(i).add(e.url))},[s]),(0,i.jsx)(S,{children:r.INFO_MENU_ITEMS.map(e=>{let a=e.url.startsWith("http"),r=!a&&o(e.url),d=!!e.hasChildren,s=d&&p.has(e.url),c=s?[...t[e.url]??[]].sort((e,i)=>e.position-i.position):[];return(0,i.jsxs)(w,{children:[a?(0,i.jsx)(I,{as:"a",href:e.url,target:"_blank",rel:"noreferrer",children:(0,i.jsx)(N,{children:e.title})}):d?(0,i.jsxs)(I,{as:"button",type:"button",onClick:()=>{var i;return i=e.url,void m(e=>{let a=new Set(e);return a.has(i)?a.delete(i):a.add(i),a})},className:(0,v.default)({active:r}),children:[(0,i.jsx)(N,{children:e.title}),(0,i.jsx)(C,{children:(0,i.jsx)(_.default,{name:s?"arrowUp":"arrowDown",size:18,color:r?"var(--orange)":"var(--gray)"})})]}):(0,i.jsx)(x.default,{href:e.url,children:(0,i.jsx)(I,{className:(0,v.default)({active:r}),children:(0,i.jsx)(N,{children:e.title})})}),c.length>0&&(0,i.jsx)(O,{children:c.map(a=>(0,i.jsx)(j,{children:(0,i.jsx)(T,{type:"button",onClick:()=>null==n?void 0:n(e.url,a),className:(0,v.default)({active:a.id===l}),children:(0,i.jsx)(N,{children:a.title.ro})})},a.id))})]},e.url)})})},S=o.styled.ul.withConfig({displayName:"Sidebar__Wrapper",componentId:"sc-64abbfa5-0"})`
150  display: flex;
151  flex-direction: column;
152  gap: var(--space-xs);
153`,w=o.styled.li.withConfig({displayName:"Sidebar__Item",componentId:"sc-64abbfa5-1"})``,I=o.styled.span.withConfig({displayName:"Sidebar__ItemLink",componentId:"sc-64abbfa5-2"})`
154  display: flex;
155  align-items: center;
156  justify-content: space-between;
157  gap: var(--space-sm);
158  width: 100%;
159  box-sizing: border-box;
160  border: none;
161  border-radius: var(--radius-sm);
162  padding: var(--space-sm) var(--space-base);
163  background: none;
164  color: var(--black);
165  font-family: inherit;
166  font-size: var(--text-sm);
167  font-weight: 600;
168  text-align: left;
169  cursor: pointer;
170
171  &:hover {
172    color: var(--orange);
173  }
174
175  &.active {
176    background: var(--lightGray, #f4f5f6);
177    color: var(--orange);
178  }
179`,N=o.styled.span.withConfig({displayName:"Sidebar__TitleText",componentId:"sc-64abbfa5-3"})`
180  flex: 1;
181  min-width: 0;
182  display: -webkit-box;
183  -webkit-line-clamp: 2;
184  -webkit-box-orient: vertical;
185  overflow: hidden;
186  line-height: 1.3;
187`,C=o.styled.span.withConfig({displayName:"Sidebar__IconWrap",componentId:"sc-64abbfa5-4"})`
188  display: flex;
189  flex-shrink: 0;
190`,O=o.styled.ul.withConfig({displayName:"Sidebar__SubList",componentId:"sc-64abbfa5-5"})`
191  display: flex;
192  flex-direction: column;
193  gap: var(--space-xs);
194  margin-top: var(--space-xs);
195`,j=o.styled.li.withConfig({displayName:"Sidebar__SubItem",componentId:"sc-64abbfa5-6"})``,T=o.styled.button.withConfig({displayName:"Sidebar__SubItemButton",componentId:"sc-64abbfa5-7"})`
196  display: flex;
197  align-items: center;
198  width: 100%;
199  min-width: 0;
200  box-sizing: border-box;
201  border: none;
202  border-radius: var(--radius-sm);
203  padding: var(--space-sm) var(--space-base);
204  background: none;
205  font-family: inherit;
206  text-align: left;
207  color: var(--black);
208  font-size: var(--text-sm);
209  font-weight: 400;
210  cursor: pointer;
211
212  &:hover {
213    color: var(--orange);
214  }
215
216  &.active {
217    color: var(--orange);
218  }
219`;var k=e.i(123125);let D=()=>(0,i.jsxs)(E,{"aria-hidden":!0,children:[(0,i.jsx)(P,{className:"skeleton"}),Array.from({length:k.LINE_COUNT}).map((e,a)=>(0,i.jsx)(R,{className:"skeleton",$width:a===k.LINE_COUNT-1?60:100},a))]}),E=o.styled.div.withConfig({displayName:"InfoPage__Wrapper",componentId:"sc-400db9da-0"})`
220  padding: var(--space-sm) 0 var(--space-6xl);
221  margin-top: 10px;
222`,P=o.styled.div.withConfig({displayName:"InfoPage__TitleLine",componentId:"sc-400db9da-1"})`
223  width: 50%;
224  max-width: 320px;
225  height: 40px;
226  margin-bottom: var(--space-xl);
227  border-radius: var(--radius-sm);
228`,R=o.styled.div.withConfig({displayName:"InfoPage__TextLine",componentId:"sc-400db9da-2"})`
229  width: ${e=>{let{$width:i=100}=e;return i}}%;
230  height: 20px;
231  margin-bottom: var(--space-base);
232  border-radius: var(--radius-sm);
233`;var U=e.i(6063);let W=(0,s.default)(()=>e.A(896371),{loadableGenerated:{modules:[404008]},ssr:!1,loading:()=>(0,i.jsx)(U.default,{})}),L=e=>{try{return decodeURIComponent(e)}catch{return e}},A=o.styled.div.withConfig({displayName:"View__GridWrapper",componentId:"sc-5dba37f5-0"})`
234  display: grid;
235  grid-template-columns: 280px 1fr;
236  grid-gap: var(--space-lg);
237  margin-top: 24px;
238
239  @media (max-width: 768px) {
240    display: flex;
241    flex-direction: column;
242    gap: var(--space-md);
243    margin-top: 8px;
244  }
245`,G=o.styled.div.withConfig({displayName:"View__ContentWrapper",componentId:"sc-5dba37f5-1"})`
246  min-width: 0;
247  scroll-margin-top: 76px;
248`,B=o.styled.p.withConfig({displayName:"View__EmptySelection",componentId:"sc-5dba37f5-2"})`
249  padding: var(--space-sm) 0;
250  color: var(--gray);
251  font-size: var(--text-base);
252`,z=o.styled.div.withConfig({displayName:"View__TrendWrapper",componentId:"sc-5dba37f5-3"})`
253  padding-bottom: 120px;
254
255  @media (max-width: 480px) {
256    padding-bottom: 141px;
257  }
258`;e.s(["default",0,()=>{var e;let l=(0,d.usePathname)(),s=null==l?void 0:l.split("/").filter(Boolean).map(L).slice(1),o=null==s?void 0:s[0],h=null==s?void 0:s[1],{getInfoPages:m}={getInfoPages:(0,a.useCallback)((e,i)=>{let{data:a,loading:t,error:r}=n.GetInfoPages({...e},i);return{data:a,loading:t,error:r}},[n])},{data:f,loading:g}=m({projectId:t.PROJECT_ID,path:o,lang:"ro"}),{data:x}=m({projectId:t.PROJECT_ID,path:r.DROPDOWN_SECTION_SLUGS.rules,lang:"ro"},{skip:o===r.DROPDOWN_SECTION_SLUGS.rules}),{data:_}=m({projectId:t.PROJECT_ID,path:r.DROPDOWN_SECTION_SLUGS.confidentialitate,lang:"ro"},{skip:o===r.DROPDOWN_SECTION_SLUGS.confidentialitate}),{data:v}=m({projectId:t.PROJECT_ID,path:r.DROPDOWN_SECTION_SLUGS.help,lang:"ro"},{skip:o===r.DROPDOWN_SECTION_SLUGS.help}),{page:b}=f||{},S=!!(null==b||null==(e=b.children)?void 0:e.length),w=(e,i)=>{var a;return e===o?(null==b?void 0:b.children)??[]:(null==(a=null==i?void 0:i.page)?void 0:a.children)??[]},I={[`/info/${r.DROPDOWN_SECTION_SLUGS.rules}`]:w(r.DROPDOWN_SECTION_SLUGS.rules,x),[`/info/${r.DROPDOWN_SECTION_SLUGS.confidentialitate}`]:w(r.DROPDOWN_SECTION_SLUGS.confidentialitate,_),[`/info/${r.DROPDOWN_SECTION_SLUGS.help}`]:w(r.DROPDOWN_SECTION_SLUGS.help,v)},[N,C]=(0,a.useState)(null),O=(0,a.useRef)(null),j=(0,a.useRef)(!0),T=()=>{var e;null==(e=O.current)||e.scrollIntoView({behavior:"smooth",block:"start"})},k=Object.values(r.DROPDOWN_SECTION_SLUGS).includes(o);return(0,a.useEffect)(()=>{var e;if(j.current?j.current=!1:T(),!k)return void C(null);if(!(null==b||null==(e=b.children)?void 0:e.length))return;let i=[...b.children].sort((e,i)=>e.position-i.position),a=h?i.find(e=>e.current_part_of_path===h):void 0,t=a??i[0]??null;C(t),t&&!a&&window.history.replaceState(null,"",`/info/${o}/${t.current_part_of_path}`)},[o,h,null==b?void 0:b.children,k]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.default,{children:(0,i.jsxs)(A,{children:[(0,i.jsx)(y,{childrenBySection:I,selectedChildId:(null==N?void 0:N.id)??null,onSelectChild:(e,i)=>{C(i),T(),window.history.pushState(null,"",`${e}/${i.current_part_of_path}`)}}),(0,i.jsx)(G,{ref:O,children:(!g||f)&&b?N?(0,i.jsx)(p,{title:N.title.ro,content:N.content.ro}):S?(0,i.jsx)(B,{children:"Alege un subiect din listă"}):(0,i.jsx)(u,{page:b}):(0,i.jsx)(D,{})})]})}),(0,i.jsx)(z,{children:(0,i.jsx)(W,{articleIndex:0})})]})}],891570)},896371,e=>{e.v(i=>Promise.all(["static/chunks/09w.7s-9j5~s5.js","static/chunks/0a1avxyuqe7c..js","static/chunks/02ti9u2gs33i0.css"].map(i=>e.l(i))).then(()=>i(404008)))}]);
259
260//# debugId=816969e7-dc58-f03e-99e6-9b95ddf24589

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.