PageSourceSearch

https://hhk.am/_next/static/chunks/pages/[locale]/structure/youth/[youthSectionAlias]-252f3d4ea6247dc2.js

js hhk.am collected 2026-10-02 10:28:37 UTC 11,046 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[659],{41208:function(e,t,r){"use strict";var a=r(64836);t.Z=void 0;var n=a(r(64938)),s=r(85893);t.Z=(0,n.default)([(0,s.jsx)("path",{d:"M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"},"0"),(0,s.jsx)("path",{d:"M14 17H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"},"1")],"ArticleOutlined")},26215:function(e,t,r){"use strict";var a=r(64836);t.Z=void 0;var n=a(r(64938)),s=r(85893);t.Z=(0,n.default)((0,s.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight")},34193:function(e,t,r){"use strict";var a=r(64836);t.Z=void 0;var n=a(r(64938)),s=r(85893);t.Z=(0,n.default)((0,s.jsx)("path",{d:"m12 5.69 5 4.5V18h-2v-6H9v6H7v-7.81zM12 3 2 12h3v8h6v-6h2v6h6v-8h3z"}),"HomeOutlined")},73079:function(e,t,r){"use strict";var a=r(64836);t.Z=void 0;var n=a(r(64938)),s=r(85893);t.Z=(0,n.default)((0,s.jsx)("path",{d:"M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4"}),"PersonOutlineOutlined")},14327:function(e,t,r){"use strict";r.d(t,{K3:function(){return h},Rd:function(){return p},rM:function(){return v}});var a=r(76687),n=r(59499),s=r(50029),i=r(87794),c=r.n(i),l=r(85802),o=r(64925);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e){return f.apply(this,arguments)}function f(){return(f=(0,s.Z)(c().mark(function e(t){var r,n,s,i;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=null!=t&&t.type?[{field:"type",value:t.type}]:[{field:"type",value:"Default"}],s=null!==(r=null==t?void 0:t.filters)&&void 0!==r?r:[],e.next=4,l.ZP.get(o.Z.article.list,{params:d(d({filters:[].concat(n,(0,a.Z)(s))},(null==t?void 0:t.offset)!==void 0?{offset:t.offset}:{}),(null==t?void 0:t.limit)!==void 0?{limit:t.limit}:{})});case 4:return i=e.sent,e.abrupt("return",Array.isArray(i)?i:i&&"object"==typeof i&&Array.isArray(i.rows)?i.rows:[]);case 6:case"end":return e.stop()}},e)}))).apply(this,arguments)}function h(e){return m.apply(this,arguments)}function m(){return(m=(0,s.Z)(c().mark(function e(t){var r;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.ZP.get(o.Z.article.list,{params:d(d({filters:[{field:"type",value:"Media"}]},(null==t?void 0:t.offset)!==void 0?{offset:t.offset}:{}),(null==t?void 0:t.limit)!==void 0?{limit:t.limit}:{})});case 2:if(!((r=e.sent)&&"object"==typeof r&&Array.isArray(r.rows))){e.next=6;break}return e.abrupt("return",r);case 6:if(!Array.isArray(r)){e.next=8;break}return e.abrupt("return",{count:r.length,rows:r});case 8:return e.abrupt("return",{count:0,rows:[]});case 9:case"end":return e.stop()}},e)}))).apply(this,arguments)}function v(e){return b.apply(this,arguments)}function b(){return(b=(0,s.Z)(c().mark(function e(t){var r,a,n,s,i,u,d,p,f,h,m,v;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l.ZP.get(o.Z.article.single(t));case 2:return v=null!==(r=(m=e.sent).publishedAt)&&void 0!==r&&r.trim()?m.publishedAt:m.createdAt,e.abrupt("return",{id:m.id,alias:m.alias,title:m.title,body:m.body,category:{id:null!==(a=null===(n=m.category)||void 0===n?void 0:n.id)&&void 0!==a?a:0,alias:null!==(s=null===(i=m.category)||void 0===i?void 0:i.alias)&&void 0!==s?s:"",name:null!==(u=null===(d=m.category)||void 0===d?void 0:d.name)&&void 0!==u?u:""},metaDescription:m.metaDescription,metaKeyword:m.metaKeyword,metaTitle:m.metaTitle,status:m.status,speaker:null!==(p=m.speaker)&&void 0!==p?p:null,files:null!==(f=m.files)&&void 0!==f?f:[],tags:null!==(h=m.tags)&&void 0!==h?h:[],publishedAt:v,createdAt:m.createdAt,updatedAt:m.updatedAt,viewCount:m.viewCount});case 5:case"end":return e.stop()}},e)}))).apply(this,arguments)}},67928:function(e,t,r){"use strict";r.d(t,{A:function(){return l}});var a=r(50029),n=r(87794),s=r.n(n),i=r(85802),c=r(64925);function l(e){return o.apply(this,arguments)}function o(){return(o=(0,a.Z)(s().mark(function e(t){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",i.ZP.get(c.Z.position.list,{params:{filters:JSON.stringify([{field:"language",value:t}])}}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}},2432:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var a=r(67294),n=r(41664),s=r.n(n),i=r(26215);r(98234);var c=r(85893);function l(e){var t=e.items,r=e.ariaLabel;return(0,c.jsx)("nav",{className:"breadcrumb","aria-label":void 0===r?"Breadcrumb":r,children:(0,c.jsx)("ol",{className:"breadcrumb__list",children:t.map(function(e,t){var r=e.Icon,n=void 0===e.href;return(0,c.jsxs)(a.Fragment,{children:[t>
10?(0,c.jsx)("li",{className:"breadcrumb__sep","aria-hidden":!0,children:(0,c.jsx)(i.Z,{className:"breadcrumb__chevron"})}):null,(0,c.jsx)("li",{className:n?"breadcrumb__item breadcrumb__item--current":"breadcrumb__item",children:e.href?(0,c.jsxs)(s(),{href:e.href,className:"breadcrumb__link",children:[r?(0,c.jsx)(r,{className:"breadcrumb__icon","aria-hidden":!0}):null,(0,c.jsx)("span",{className:"breadcrumb__text",children:e.label})]}):(0,c.jsxs)("span",{className:"breadcrumb__current",children:[r?(0,c.jsx)(r,{className:"breadcrumb__icon","aria-hidden":!0}):null,(0,c.jsx)("span",{className:"breadcrumb__text",children:e.label})]})})]},"".concat(e.label,"-").concat(t))})})})}},42256:function(e,t,r){"use strict";r.d(t,{r:function(){return a}});var a=[{alias:"youth-organization",messageId:"youth-organization"},{alias:"student-union",messageId:"student-union"},{alias:"sports-organization",messageId:"sports-organization"}]},81823:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return d}});var a=r(41664),n=r.n(a),s=r(67294),i=r(14327),c=r(42461),l=r(42256),o=r(86896);r(89319);var u=r(85893);function d(e){var t=e.activeYouthSectionAlias,r=(0,c.b)(),a=r.withLocalePath,d=r.locale,p=(0,o.Z)().formatMessage,f=(0,s.useState)(null),h=f[0],m=f[1],v=(0,s.useState)(!1),b=v[0],_=v[1],y=(0,s.useState)(!1),g=y[0],j=y[1];return(0,s.useEffect)(function(){if(void 0===t){m(null),j(!1),_(!0);return}if(null===t){m(null),j(!1),_(!1);return}var e=!1;return _(!0),j(!1),m(null),(0,i.rM)(t).then(function(t){e||m(t)}).catch(function(){e||(j(!0),m(null))}).finally(function(){e||_(!1)}),function(){e=!0}},[t,d]),(0,u.jsxs)("div",{className:"library-page__layout",children:[(0,u.jsx)("aside",{className:"library-page__sidebar","aria-label":"Youth",children:(0,u.jsx)("ul",{className:"library-page__categories",children:l.r.map(function(e){var r="string"==typeof t&&e.alias===t;return(0,u.jsx)("li",{children:(0,u.jsx)(n(),{href:a("/structure/youth/".concat(encodeURIComponent(e.alias))),className:r?"library-page__category library-page__category--active":"library-page__category",children:p({id:e.messageId})})},e.alias)})})}),(0,u.jsx)("div",{className:"library-page__content",children:void 0===t?(0,u.jsx)("div",{className:"library-page__grid",children:Array.from({length:3}).map(function(e,t){return(0,u.jsx)("div",{className:"library-page__doc-skeleton"},t)})}):null===t?(0,u.jsx)("p",{className:"library-page__empty",children:"Select a section from the menu."}):b?(0,u.jsx)("div",{className:"library-page__grid",children:Array.from({length:3}).map(function(e,t){return(0,u.jsx)("div",{className:"library-page__doc-skeleton"},t)})}):g||!h?(0,u.jsxs)("p",{className:"library-page__empty",children:[p({id:"content-not-available"})," ",(0,u.jsx)(n(),{href:a("/"),className:"library-page__back",children:p({id:"back-to-homepage"})})]}):(0,u.jsx)("div",{className:"library-page__article-body",dangerouslySetInnerHTML:{__html:h.body}})})]})}},59617:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return g}});var a=r(76687),n=r(9008),s=r.n(n),i=r(41664),c=r.n(i),l=r(11163),o=r(67294),u=r(34193),d=r(73079),p=r(41208),f=r(67928),h=r(2432),m=r(42461),v=r(86896),b=r(42256),_=r(81823);r(72139);var y=r(85893);function g(){var e,t=(0,l.useRouter)(),r=(0,m.b)(),n=r.withLocalePath,i=r.locale,g=(0,o.useState)([]),j=g[0],x=g[1],N=(0,o.useState)(!0),w=N[0],Z=N[1],A=(0,o.useState)(!1),O=A[0],k=A[1],S=(0,v.Z)().formatMessage,P=t.isReady?"string"==typeof t.query.youthSectionAlias?t.query.youthSectionAlias:null:void 0;(0,o.useEffect)(function(){var e=!1;return Z(!0),k(!1),(0,f.A)(i).then(function(t){if(!e){var r;x((0,a.Z)(null!==(r=t.rows)&&void 0!==r?r:[]).sort(function(e,t){return e.sort-t.sort}))}}).catch(function(){e||(k(!0),x([]))}).finally(function(){e||Z(!1)}),function(){e=!0}},[i]);var I=S({id:"structure"});return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsxs)(s(),{children:[(0,y.jsx)("title",{children:"".concat(I," — hhk.am")}),(0,y.jsx)("meta",{name:"description",content:"Organizational structure and leadership."}),(0,y.jsx)("meta",{name:"robots",content:"index,follow"})]}),(0,y.jsx)("div",{className:"persons-page",children:(0,y.jsxs)("div",{className:"persons-page__inner",children:[(0,y.jsx)(h.Z,{ariaLabel:"Հրամանական ճանապարհ",items:[{label:S({id:"homepage"}),href:n("/"),Icon:u.Z},{label:S({id:"structure"}),Icon:d.Z},{label:"Youth",href:n("/structure/youth"),Icon:p.Z}].concat((0,a.Z)(t.isReady&&"string"==typeof P?[{label:(e=b.r.find(function(e){return e.alias===P}))?S({id:e.messageId}):P.replace(/-/g," "),Icon:p.Z}]:[]))}),(0,y.jsx)("h1",{className:"persons-page__title",children:I}),(0,y.jsx)("div",{className:"persons-page__tabs-wrap",children:w?(0,y.jsx)("p",{className:"persons-page__tabs-status",children:"Loading…"}):O?(0,y.jsx)("p",{className:"persons-page__tabs-status",children:"Could not load sections."}):0===j.length?(0,y.jsx)("p",{className:"persons-page__tabs-status",children:"No sections available."}):(0,y.jsx)("nav",{className:"persons-page__tabs","aria-label":"Structure sections",children:j.map(function(e){var t="youth"===e.alias,r=n("/structure/".concat(encodeURIComponent(e.alias)));return(0,y.jsx)(c(),{href:r,id:"persons-tab-".concat(e.id),className:t?"persons-page__tab persons-page__tab--active":"persons-page__tab","aria-current":t?"page":void 0,scroll:!1,children:e.title},e.id)})})}),(0,y.jsx)("div",{className:"persons-page-content",children:(0,y.jsx)(_.default,{activeYouthSectionAlias:P})})]})})]})}},85290:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[locale]/structure/youth/[youthSectionAlias]",function(){return r(59617)}])},98234:function(){},89319:function(){},72139:function(){}},function(e){e.O(0,[774,888,179],function(){return e(e.s=85290)}),_N_E=e.O()}]);

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.