PageSourceSearch

https://nda.nic.in/VAADIN/build/faq-page-M8h5foN1.js

js nda.nic.in collected 2026-09-27 21:39:24 UTC 14,602 bytes, 468 lines download raw bytes

1import"./vaadin-accordion-DWkn8yXA.js";import{h as c,M as m,x as s,a as f,P as x,o as h,i as b,n as g,j as u,e as w}from"./indexhtml-CfStPPYv.js";import{i as o}from"./utils-B8WlUP5V.js";import"./summary-controller-_SITQsla.js";import"./active-mixin-DZH8tP88.js";import"./keyboard-direction-mixin-44Ty-DGg.js";async function v(e){return c.call("FAQEndpoint","findAllFAQ",{},e)}var y=Object.defineProperty,q=Object.getOwnPropertyDescriptor,d=(e,i,t,n)=>{for(var a=n>1?void 0:n?q(i,t):i,p=e.length-1,l;p>=0;p--)(l=e[p])&&(a=(n?l(i,t,a):l(a))||a);return n&&a&&y(i,t,a),a};let r=class extends m{constructor(){super(...arguments),this.loadingData=!0,this.faqs=[]}render(){if(this.loadingData||!this.faqs)return s`
2                <div class="xorapp-page-loading-indicator"></div>`;const e=f.pageLanguage===x.HINDI;return s`
3            <section class="page-title-container">
4                <div class="page-title">
5                    <h1>${e?"अक्सर पूछे जाने वाले प्रश्न (FAQ’s)":"FAQ's"}</h1>
6                </div>
7            </section>
8            <section class="inner-shadow-container bg-faq p-3">
9                <div class="card accordian-container">
10                    <vaadin-accordion>
11                        ${this.faqs.map(i=>s`
12                                <vaadin-accordion-panel>
13                                    <vaadin-accordion-heading slot="summary">
14                                        <h4 class="gallary-title ${e&&o(i.faqQuestionHindi)?"hindi-font":"english-font"}">
15                                            ${e&&o(i.faqQuestionHindi)?i.faqQuestionHindi:i.faqQuestion}
16                                        </h4>
17                                    </vaadin-accordion-heading>
18                                    <div class="accordian-content ${e&&o(i.faqQuestionHindi)?"hindi-font":"english-font"}">
19                                        ${h(e&&o(i.faqAnswerHindi)?i.faqAnswerHindi:i.faqAnswer)}
20                                    </div>
21                                </vaadin-accordion-panel>`)}
22                    </vaadin-accordion>
23                </div>
24            </section>`}updated(e){if(!this._allLinks||this._allLinks.length<=0)return;let i=this._allLinks;for(let t=0;t<i.length;t++)(i[t].innerHTML.includes("http://")||i[t].innerHTML.includes("www."))&&i[t].classList.add("english-font")}async connectedCallback(){super.connectedCallback(),this.loadingData=!0,this.faqs=await v(),this.loadingData=!1}static get styles(){return b`
25            * {
26                margin: 0;
27                padding: 0;
28                box-sizing: border-box;
29            }
30
31            .english-font {
32                font-family: 'Roboto', 'Padauk', sans-serif !important;
33            }
34
35            .hindi-font {
36                font-family: 'Kruti Dev' !important;
37            }
38
39            .xorapp-page-loading-indicator {
40                border: 16px solid #f3f3f3;
41                border-radius: 50%;
42                border-top: 16px solid #75080b;
43                width: 90px;
44                height: 90px;
45                /* Safari */
46                animation: pageloaderspin 2s linear infinite;
47                margin: 4rem auto;
48            }
49
50            @keyframes pageloaderspin {
51                0% {
52                    transform: rotate(0deg);
53                }
54                100% {
55                    transform: rotate(360deg);
56                }
57            }
58
59            h1,
60            h2,
61            h3,
62            h4 {
63                font-family: 'Rajdhani', sans-serif;
64                line-height: 1.1;
65            }
66
67            h1 {
68                font-size: var(--lumo-font-size-xxxl);
69            }
70
71            h2 {
72                font-size: var(--lumo-font-size-l);
73            }
74
75            blockquote {
76                position: relative;
77                border-left: 10px solid #f8a429;
78                border-right: 10px solid #f8a429;
79                padding: 1rem !important;
80                quotes: '“' '”' '‘' '’';
81                background-color: #75080b;
82                box-shadow: 0px 1px 9px 2px rgba(0, 0, 0, 0.1);
83                border-radius: 0.3rem;
84                font-family: 'Rajdhani', sans-serif;
85            }
86
87            .page-card {
88                border: none;
89                box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
90                margin-bottom: 30px;
91                padding: 2rem 1rem;
92                background-color: #fff;
93            }
94
95            .page-card .item-media {
96                object-fit: fill;
97                text-align: center;
98            }
99
100            .page-card .item-media img {
101                border-radius: 60%;
102                width: 270px;
103                height: 250px;
104                box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
105                border: 4px solid #75080b;
106            }
107
108            .px-0 {
109                padding-left: 0 !important;
110                padding-right: 0 !important;
111            }
112
113            .p-2 {
114                padding: 2rem !important;
115            }
116
117            .p-3 {
118                padding: 3rem !important;
119            }
120
121            .p-1 {
122                padding: 1rem !important;
123            }
124
125            .py-1 {
126                padding-top: 1rem !important;
127                padding-bottom: 1rem !important;
128            }
129
130            .text-center {
131                text-align: center !important;
132            }
133
134            .col-4 {
135                flex: 0 0 40%;
136                max-width: 40%;
137                position: relative;
138                min-height: 1px;
139                padding-right: 15px;
140                padding-left: 15px;
141            }
142
143            .col-5 {
144                flex: 0 0 50%;
145                max-width: 50%;
146                position: relative;
147                min-height: 1px;
148                padding-right: 15px;
149                padding-left: 15px;
150            }
151
152            .col-6 {
153                flex: 0 0 60%;
154                max-width: 60%;
155                position: relative;
156                min-height: 1px;
157                padding-right: 15px;
158                padding-left: 15px;
159            }
160
161            .image-container {
162                object-fit: fill;
163            }
164
165            .image-container img {
166                /* width: 90%; */
167                height: 100%;
168                box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
169            }
170
171            .xorapp-page-loading-indicator {
172                border: 16px solid #f3f3f3;
173                border-radius: 50%;
174                border-top: 16px solid #75080b;
175                width: 90px;
176                height: 90px;
177                /* Safari */
178                animation: pageloaderspin 2s linear infinite;
179                margin: 4rem auto;
180            }
181
182            @keyframes pageloaderspin {
183                0% {
184                    transform: rotate(0deg);
185                }
186                100% {
187                    transform: rotate(360deg);
188                }
189            }
190
191            .flex {
192                display: flex;
193            }
194
195            .flex-direction-column {
196                flex-direction: column !important;
197            }
198
199            .flex-direction-row {
200                flex-direction: row !important;
201            }
202
203            .flex-space-between {
204                justify-content: space-between;
205            }
206
207            .align-items-center {
208                align-items: center;
209            }
210
211            .justify-center {
212                justify-content: center;
213            }
214
215            .no-margin {
216                margin: 0 !important;
217            }
218
219            .m-1 {
220                margin: 1rem;
221            }
222
223            .m-r-1 {
224                margin-right: 1rem;
225            }
226
227            .bg-faq {
228                position: relative;
229                background: url('./images/3.jpg') no-repeat center center/cover;
230                background-attachment: fixed;
231            }
232
233            .bg-faq #content {
234                display: flex;
235                align-items: center;
236                padding: 2rem;
237                height: 100%;
238                text-shadow: 1px 5px 5px rgba(0, 0, 0, 0.7);
239            }
240
241            .bg-faq::before {
242                content: '';
243                background-color: rgba(0, 0, 0, 0.5);
244                position: absolute;
245                top: 1px;
246                left: 0px;
247                width: 100%;
248                height: 100%;
249                filter: blur(1px);
250                -webkit-filter: blur(1px);
251            }
252
253            .bg-faq #content h1 {
254                font-family: 'Big Shoulders Display', cursive;
255                font-size: 3.1rem;
256                font-weight: 600;
257            }
258
259            .page-title-container {
260                padding: 2rem;
261            }
262
263            .page-title-container .page-title {
264                border-bottom: 5px solid #d17f74;
265
266            }
267
268            .page-title-container .page-title h1 {
269                font-family: 'Big Shoulders Display', cursive;
270                font-weight: 600;
271            }
272
273            .page-title-container .page-title {
274                border-bottom: 5px solid #d17f74;
275            }
276
277            .page-title-container .page-title h1 {
278                font-family: 'Big Shoulders Display', cursive;
279                font-size: 2.1rem;
280                font-weight: 600;
281            }
282
283            .inner-shadow-container {
284                box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(70, 54, 54, 0.3) 0px 18px 36px -18px inset;
285                background-color: #eee;
286            }
287
288            .container {
289                width: 100%;
290                padding-right: 15px;
291                padding-left: 15px;
292                margin-right: auto;
293                margin-left: auto;
294            }
295
296            .card {
297                position: relative;
298                display: flex;
299                background-color: #fff;
300                border: 1px solid rgba(0, 0, 0, 0.125);
301                border-radius: 0.25rem;
302                box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
303                margin-bottom: 1.5rem;
304            }
305
306            .gallary-title {
307                color: #000;
308            }
309
310            .accordian-container {
311                display: flex;
312                height: 100%;
313                padding: 2rem;
314                min-height: 60vh;
315            }
316
317            .accordian-container ul {
318                padding-left: 2rem;
319            }
320
321            .accordian-container .accordian-content {
322                padding: 1.1rem;
323                padding-left: 2rem;
324            }
325
326            .bd-placeholder-img {
327                text-anchor: middle;
328                -webkit-user-select: none;
329                -moz-user-select: none;
330                user-select: none;
331                border-top-left-radius: calc(0.25rem - 1px);
332                border-top-right-radius: calc(0.25rem - 1px);
333            }
334
335            .b-card img {
336                width: 100%;
337            }
338
339            .card-body {
340                flex: 1 1 auto;
341                padding: 1rem 1rem;
342                text-align: center;
343            }
344
345            .card-body .card-title {
346                border-bottom: 4px solid #75080b;
347                padding-bottom: 1rem;
348                margin: 0;
349            }
350
351            .card-title h2 {
352                color: #75080b;
353            }
354
355            .card-body .card-text p {
356                white-space: normal !important;
357                padding-top: 0.8rem;
358            }
359
360            .col-60 {
361                min-width: 60%;
362            }
363
364            .col-70 {
365                min-width: 70%;
366            }
367
368            .member-short-info {
369                max-height: 225px;
370                overflow-y: auto;
371            }
372
373            .member-short-info p {
374                white-space: pre-line;
375                text-align: justify;
376            }
377
378            .member-short-info -webkit-scrollbar-track {
379                background: #000;
380            }
381
382            .other-members {
383                display: grid;
384                grid-template-columns: repeat(2, 1fr);
385                grid-gap: 1.3rem;
386            }
387
388            @media (min-width: 501px) and (max-width: 768px) {
389                .page-card .item-media img {
390                    width: 220px;
391                    height: 200px;
392                }
393
394                .p-2,
395                .p-1 {
396                    padding: 2rem 0.6rem !important;
397                }
398
399                .p-3 {
400                    padding: 1rem !important;
401                }
402
403                .col-4,
404                .col-5,
405                .col-6 {
406                    padding-left: 10px;
407                    padding-right: 10px;
408                }
409
410                .image-container img {
411                    width: 80%;
412                    height: 80%;
413                    margin-bottom: 1.1rem;
414                }
415            }
416
417            @media (max-width: 500px) {
418                .page-card .item-media img {
419                    width: 170px;
420                    height: 160px;
421                }
422
423                .accordian-container .accordian-content {
424                    padding: 0;
425                }
426
427                .other-members {
428                    grid-template-columns: repeat(1, 1fr);
429                }
430
431                .container {
432                    padding: 0.6rem;
433                }
434
435                .flex {
436                    flex-direction: column !important;
437                }
438
439                .col-reverse-xs {
440                    flex-direction: column-reverse !important;
441                }
442
443                .col-4,
444                .col-5,
445                .col-6 {
446                    width: 100%;
447                    max-width: 100%;
448                    flex: 1;
449                }
450
451                .image-container img {
452                    width: 50%;
453                }
454
455                .p-2,
456                .p-1 {
457                    padding: 0rem !important;
458                }
459
460                .hero {
461                    height: 10vh;
462                }
463
464                .hero #content h1 {
465                    font-size: 1.8rem;
466                }
467            }
468        `}};d([g({reflect:!0})],r.prototype,"loadingData",2);d([g({reflect:!0,attribute:!1})],r.prototype,"faqs",2);d([u("a")],r.prototype,"_allLinks",2);r=d([w("faq-page")],r);export{r as FaqPage};

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.