PageSourceSearch

https://www.actionera.co/static/js/3466.8297e669.chunk.js

js actionera.co collected 2026-10-05 02:34:28 UTC 4,267 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkweb=self.webpackChunkweb||[]).push([[3466],{63466:(e,t,l)=>{l.r(t),l.d(t,{default:()=>m});var i=l(20968),s=l(81219),o=l(47807),n=l(2565),a=l(73216),d=l(88219),r=l(94754),c=l(910),u=l(21098),p=l(69769),g=l(70579);const m=()=>{var e;const{isLoading:t}=(0,d.mN)(),{content_type:l}=(0,a.g)(),{uuid:m,setup:{header:{menu:h}},about:{platform_version:v}}=(0,o.Us)(),{loggedInUser:x}=(0,n.ur)(),b=(0,d.vh)(),f=String(l);let _;if("questions"===f&&(_="Q&A"),"questions"===f)_="Q&A";else _=String(f.charAt(0).toUpperCase()+f.slice(1));const{data:j,isLoading:w,status:k}=(0,r.mz)(String(f),String(m),String(null===x||void 0===x?void 0:x.id_token)),y=null===j||void 0===j?void 0:j.filter((e=>{const t=new Date,l=""===e.release_date?t:new Date(e.release_date);return["tips","lessons"].includes(f)?e.active&&t>=l:t>=l})),C=e=>{var t;null!==(t=e.content_type)&&void 0!==t||String(l);return e.image_url};let A=!1;if("action_lists"===f)A=!(null!==h&&void 0!==h&&h.enabled_modules.includes(f))||parseFloat(v)<8.5;return("success"===k&&("undefined"===typeof j||!(null!==j&&void 0!==j&&j.length))||A)&&!t?(0,g.jsx)(c.vx,{}):(0,g.jsx)(s.A,{children:(0,g.jsx)("div",{style:{background:b.light},className:"h-full",children:(0,g.jsxs)("div",{className:"container mx-auto px-4 py-6",children:[(0,g.jsx)("span",{className:"capitalize",children:(0,g.jsx)(i.A,{backButtonHoverColor:b.dark,backButtonColor:b.medium,titleFontSize:"2.25rem",title:"My Content",activeBreadcrumbColor:b.grey,breadcrumbColor:b.dark_blue,breadcrumbFontSize:"1rem",isLoading:t})}),(0,g.jsxs)("div",{className:"block lg:flex items-start gap-6",children:[(0,g.jsx)("div",{children:(0,g.jsx)("aside",{className:"w-full lg:w-[432px] border border-gray-400 rounded-xl flex-col flex overflow-hidden",children:(0,g.jsx)(p.A,{label:_,path:f,sub_topic:l,display_content:y})})}),(0,g.jsxs)("section",{className:"grow p-6 hidden lg:flex flex-col gap-8 bg-white",children:[0===(null===y||void 0===y?void 0:y.length)&&!w&&(0,g.jsx)("div",{className:"text-gray-400",children:"No content found."}),null===(e=null!==y&&void 0!==y?y:[])||void 0===e?void 0:e.map((e=>(0,g.jsx)(u.A,{id:e.id,content_type:f,title:e.title,author:e.author,description:e.description,image_url:C(e),document_url:e.document_url},e.id)))]})]})]})})})}},69769:(e,t,l)=>{l.d(t,{A:()=>m});var i=l(47807),s=l(65043),o=l(35475),n=l(84999),a=l(88219),d=l(69649),r=l(96952),c=l(21098),u=l(67587),p=l(70579);const g=e=>{var t,l;let{label:g,path:m,sub_topic:h,tag_id:v,display_content:x}=e;const{setup:b,config:{defaultLabels:f},baseURL:_}=(0,i.Us)(),j=(0,a.vh)(),w=(0,n.A)(),[k,y]=(0,s.useState)(!1),C=(0,s.useCallback)((()=>{"mobile"===w&&setTimeout((()=>{const e=document.getElementById(g);window.scrollTo({behavior:"smooth",top:null===e||void 0===e?void 0:e.offsetTop})}),100)}),[w,g]);let A;switch(g){case"Tips":case"Action_lists":A=(e=>{const t=g.toLowerCase(),l=b.header.menu;return null!==l&&void 0!==l&&l.enabled_modules.includes(t)?""!==(null===l||void 0===l?void 0:l.label_overrides[t])?null===l||void 0===l?void 0:l.label_overrides[t]:f[t]:e})(g);break;default:A=null!==(t=f[g.toLowerCase()])&&void 0!==t?t:g}const N=v?`${String(_)}/tag/${String(v)}/${encodeURIComponent(m)}`:"#",S=x;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(o.k2,{onClick:C,to:N,children:(0,p.jsxs)("li",{onMouseEnter:()=>y(!0),onMouseLeave:()=>y(!1),id:g,className:"flex items-center gap-4 p-4 "+(h===m?"bg-white":"bg-transparent"),style:{color:k&&decodeURIComponent(String(h))!==m?j.medium:j.dark},children:[(0,p.jsx)("span",{className:"text-black",children:(L=m,"documents"===L?(0,p.jsx)("img",{src:d,width:"32",height:"32",alt:"Documents Icon"}):"tips"===L?(0,p.jsx)("img",{src:r,width:"32",height:"32",alt:"Action Blog Icon"}):(0,p.jsx)(u.A,{type:L,size:32}))}),(0,p.jsx)("span",{className:"uppercase text-[22px]",children:A})]})}),decodeURIComponent(String(h))===m&&(0,p.jsx)("div",{className:"px-4 bg-white lg:hidden pb-4 flex flex-col gap-8",children:null===(l=null!==S&&void 0!==S?S:[])||void 0===l?void 0:l.map((e=>(0,p.jsx)(c.A,{id:e.id,content_type:m,title:e.title,author:e.author,description:e.description,image_url:e.image_url},e.id)))})]});var L};g.defaultProps={tag_id:void 0};const m=g}}]);
2//# sourceMappingURL=3466.8297e669.chunk.js.map

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.