Health Insurance Videos

Watch insightful videos around our various health insurance plans, healthy lifestyle habits, wellness and claims.

An error occurred while processing the template.
The following has evaluated to null or missing:
==> assetCategoryLocalService.getAssetEntryAssetCategories  [in template "20101#20128#3873535" at line 304, column 29]

----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign categories = assetCategoryLoc...  [in template "20101#20128#3873535" at line 304, column 9]
----
1<script type="text/javascript"> 
2 $(document).ready(function(){ 
3  setTimeout(function () { 
4    if($(window).width() < 767) { 
5      $(".mob-tab-content").click(function(){ 
6          $(".mv_list.view_all").toggle(); 
7        }); 
8    }; 
9       }, 3500); 
10  });     
11</script> 
12 
13<style> 
14.most_veiw_list{ 
15    margin-top: -160px; 
16
17.most_veiw{ 
18    margin-top: 0; 
19
20.autofit-row.mb-4 { 
21    display: none; 
22
23 
24.navigation-bar.navigation-bar-light, h2.entry-title, .autofit-float.portlet-header { 
25    display: none!important; 
26
27.bits_blogs img.blogImage { 
28    width: 100%; 
29
30.bits_blogs { 
31        height: calc(100% - 25px); 
32
33.blogImage{ 
34    width:376px; 
35    height:225px; 
36
37.mob-tab-content { 
38    display: none; 
39
40@media screen and (max-width: 767px){ 
41     
42    .most_veiw_list { 
43        margin-top: -100px; 
44
45    .mob-tab-content { 
46        position: relative; 
47
48    .mob-tab-content { 
49        font-size: 11px; 
50        border: solid 1px #fff; 
51        color: #fff; 
52        height: 35px; 
53        line-height: 33px; 
54        border-radius: 5px; 
55        font-family: "Arial MT Std Medium","Open Sans",sans-serif; 
56        text-align: left; 
57        padding-left: 21px; 
58        display: block; 
59        display: flex; 
60        align-items: center; 
61        justify-content: space-between; 
62
63    .mob-tab-content::after { 
64        content: "\f107"; 
65        font-family: fontAwesome; 
66        position: absolute; 
67        right: 18px; 
68        font-size: 20px; 
69
70    .mv_list.view_all { 
71        display: none; 
72        overflow: auto; 
73        border: solid 1px #000; 
74        background: #fff; 
75        border-bottom-left-radius: 10px; 
76        border-bottom-right-radius: 10px; 
77        border-top: 0; 
78        min-width: 280px; 
79        width: 100%; 
80
81 
82    .mv_list.view_all li { 
83        width: 100%; 
84        border: 0; 
85        text-align: left; 
86
87    .mv_list.view_all li a.active, .mv_list.view_all li a:hover { 
88        color: #000; 
89        background-image: none; 
90        border-left: solid 4px #f47720; 
91        background: #f1f0f0; 
92        padding-left: 15px; 
93
94    .mv_list.view_all li a { 
95        font-family: "Arial MT Std Medium","Open Sans",sans-serif; 
96        font-weight: normal 
97        color: #fff; 
98
99    .mv_list.view_all li a { 
100        font-size: 11px; 
101        padding: 9.5px 0px 10.5px 20px; 
102        color: #000; 
103
104
105@media screen and (min-width: 768px) { 
106    .bits_blogs { 
107        height: calc(100% - 25px); 
108
109
110.share_icon .share_div { 
111        z-index: 10!important; 
112
113   
114  .share_icon .share_div .share_list div { 
115    margin-bottom: 10px!important; 
116
117    .share_icon .share_div .share_list div:hover { 
118    font-family: "Arial MT Std Medium",sans-serif; 
119
120    .share_icon .share_div .share_list div { 
121        position: relative; 
122        padding: 5px 0 5px 45px; 
123        color: #000; 
124        font-size: 14px; 
125        display: flex; 
126        align-items: center; 
127
128    .share_icon .share_div .share_list div img { 
129    filter: grayscale(1); 
130    min-width: 26px; 
131    width: 26px!important; 
132    margin-right: 20px; 
133
134.share_icon .share_div .share_list div:hover img { 
135    filter: grayscale(0); 
136
137.share_icon .share_div .share_list div:hover:before { 
138    content: ""; 
139    position: absolute; 
140    left: 0; 
141    height: 100%; 
142    width: 6px; 
143    background-color: #f47c20; 
144
145.new_share_div { 
146    width: 253px!important; 
147
148.new_share_div .share_list div { 
149    margin-bottom: 10px!important; 
150
151.share_icon .share_div .share_list div span { 
152    display: flex; 
153    align-items: center; 
154
155@media screen and (max-width: 991px) { 
156    .share_icon .share_div { 
157        height: 347px!important; 
158
159    .h_55 { 
160        height: 643px!important; 
161
162    .ellipsis { 
163        -webkit-line-clamp: 10!important; 
164
165
166 
167</style> 
168 
169 
170 
171<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")> 
172<#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
173<#assign blogsEntryLocalService = serviceLocator.findService("com.liferay.blogs.service.BlogsEntryLocalService")> 
174<#assign ratingsStatsLocalService = serviceLocator.findService("com.liferay.ratings.kernel.service.RatingsStatsLocalService")> 
175<#assign categoryId=0> 
176<#assign currentUrl=themeDisplay.getLayoutFriendlyURL(themeDisplay.getLayout())?split("/")[3]> 
177 
178<#if themeDisplay.getLayoutFriendlyURL(themeDisplay.getLayout())?split("/")?size gt 4> 
179  <#assign currentUrl=themeDisplay.getLayoutFriendlyURL(themeDisplay.getLayout())?split("/")[4]> 
180</#if> 
181<#assign bitesPageName="Most Viewed" /> 
182<#if currentUrl=="latest"> 
183	<#assign bitesPageName="Latest" /> 
184</#if> 
185 
186<div id="wellness-bites-viewAll"> 
187<#if (request.getParameter("p_r_p_categoryId"))??> 
188  <#assign categoryId =request.getParameter("p_r_p_categoryId")?number> 
189 </#if> 
190 <#if themeDisplay.getLayoutFriendlyURL(themeDisplay.getLayout())?split("/")?size gt 4> 
191   <div class="fixed"> 
192  <div class="most_veiw_list"> 
193    <div class="mob-tab-content">${bitesPageName}</div> 
194    <ul class="mv_list pb-3 view_all"> 
195      <!--<li><a href="/${themeDisplay.getURLCurrent()?split("/")[1]}/${themeDisplay.getURLCurrent()?split("/")[2]}/${themeDisplay.getURLCurrent()?split("/")[3]}/most-viewed" class="most-viewed">Most Viewed</a></li> --> 
196      <li><a href="/${themeDisplay.getURLCurrent()?split("/")[1]}/${themeDisplay.getURLCurrent()?split("/")[2]}/${themeDisplay.getURLCurrent()?split("/")[3]}/most-viewed" class="most-viewed">Most Viewed</a></li> 
197      <li><a href="/${themeDisplay.getURLCurrent()?split("/")[1]}/${themeDisplay.getURLCurrent()?split("/")[2]}/${themeDisplay.getURLCurrent()?split("/")[3]}/latest" class="latest">Latest</a></li> 
198    <!--  <li><a href="/${themeDisplay.getURLCurrent()?split("/")[1]}/${themeDisplay.getURLCurrent()?split("/")[2]}/${themeDisplay.getURLCurrent()?split("/")[3]}/all-time-favourites" class="all-time-favourites">All - Time Favourites</a></li> 
199      <li><a href="/${themeDisplay.getURLCurrent()?split("/")[1]}/${themeDisplay.getURLCurrent()?split("/")[2]}/${themeDisplay.getURLCurrent()?split("/")[3]}/social-media" class="social-media">Social Media</a></li>  --> 
200    </ul> 
201  </div> 
202</div> 
203<#else>  
204<div class="fixed"> 
205  <div class="most_veiw_list"> 
206    <div class="mob-tab-content">${bitesPageName}</div> 
207    <ul class="mv_list pb-3 view_all"> 
208     <!-- <li><a href="/${themeDisplay.getURLCurrent()?split("/")[1]}/${themeDisplay.getURLCurrent()?split("/")[2]}/most-viewed" class="most-viewed">Most Viewed</a></li> --> 
209      <li><a href="/${themeDisplay.getURLCurrent()?split("/")[1]}/${themeDisplay.getURLCurrent()?split("/")[2]}/most-viewed" class="most-viewed">Most Viewed</a></li> 
210      <li><a href="/${themeDisplay.getURLCurrent()?split("/")[1]}/${themeDisplay.getURLCurrent()?split("/")[2]}/latest" class="latest">Latest</a></li> 
211    <!--  <li><a href="/${themeDisplay.getURLCurrent()?split("/")[1]}/${themeDisplay.getURLCurrent()?split("/")[2]}/all-time-favourites" class="all-time-favourites">All - Time Favourites</a></li> 
212      <li><a href="/${themeDisplay.getURLCurrent()?split("/")[1]}/${themeDisplay.getURLCurrent()?split("/")[2]}/social-media" class="social-media">Social Media</a></li>  --> 
213    </ul> 
214  </div> 
215</div> 
216</#if> 
217 
218<#assign ArticleList=[]> 
219<#assign favouriteList=[]> 
220<#if entries?has_content> 
221  <#list entries as curBlogEntry> 
222       
223      <#assign BlogEntry=blogsEntryLocalService.getEntry(curBlogEntry.getEntryId())> 
224        <#assign blogType=BlogEntry.getExpandoBridge().getAttribute("Blog Type")> 
225        <#assign assetEntry = assetEntryLocalService.getEntry("com.liferay.blogs.model.BlogsEntry", curBlogEntry.getEntryId()) /> 
226        <#if currentUrl=="most-viewed"> 
227            <#if blogType=="videosection"> 
228                <#assign ArticleList=ArticleList+[assetEntry]> 
229            </#if> 
230         
231		<#elseif currentUrl=="latest"> 
232            <#if blogType=="videosection"> 
233                <#assign ArticleList=ArticleList+[assetEntry]> 
234            </#if> 
235        <#elseif currentUrl=="all-time-favourites"> 
236            <#if ratingsStatsLocalService.fetchStats("com.liferay.blogs.model.BlogsEntry",curBlogEntry.getEntryId())?? > 
237            <#assign rating=ratingsStatsLocalService.fetchStats("com.liferay.blogs.model.BlogsEntry",curBlogEntry.getEntryId()).getTotalScore()> 
238            <#assign favouriteList=favouriteList+[{"rating":rating,"favourite":curBlogEntry}]> 
239        </#if> 
240        </#if> 
241  </#list> 
242</#if> 
243    <div class="py-5"> 
244      <div class="most_veiw"> 
245        <div class="fixed"> 
246          <div class="row "> 
247          <#if ArticleList?has_content> 
248		  <#if currentUrl=="most-viewed">  
249          <#list ArticleList?sort_by("viewCount")?reverse as article> 
250          <#assign blog=blogsEntryLocalService.getEntry(article.getClassPK())> 
251        <#assign categories=assetCategoryLocalService.getAssetEntryAssetCategories(article.getEntryId()) />  <#assign categoryName=""> 
252            <#if categories?has_content> 
253                <#list categories as category> 
254                    <#if category.getName()!="ALL"> 
255                        <#assign categoryName=category.getName()> 
256                        <#assign categoryId=category.getCategoryId()> 
257                    </#if> 
258                </#list> 
259            </#if> 
260            <div class="col-sm-6 col-md-6 col-lg-4"> 
261              <div class="card round mb-4 bits_blogs"> 
262                    <#if blog.getSmallImageURL(themeDisplay)??> 
263                        <a href="/video/${blog.getUrlTitle()}" ><img src="${blog.getSmallImageURL(themeDisplay)}" class="blogImage" alt="${blog.getCoverImageCaption()}"></a> 
264                    </#if> 
265                    <div class="p-4"> 
266                  <div class="text-right"> 
267                    <span class="share_icon"> 
268                        <img src="/o/manipal-cigna-theme/images/icons/share.png"> 
269                        <div class="share_div"> 
270                            <p class="bold text_14 m-4 pl-3 text-left">Share via:</p> 
271                            <div class="share_list"> 
272                                <div data-network="facebook" class="st-custom-button" data-title="${blog.title}" data-image="<#if blog.getSmallImageURL(themeDisplay)??>${blog.getSmallImageURL(themeDisplay)}</#if>" data-description="${stringUtil.shorten(htmlUtil.stripHtml(blog.getContent()), 70)}" data-url="${themeDisplay.getPortalURL()}/video/${blog.getUrlTitle()}"><img src="/o/manipal-cigna-theme/images/icons/facebook_i.png">FACEBOOK</div> 
273                                 
274                    <div data-network="twitter" class="st-custom-button" data-title="${blog.title}" data-image="<#if blog.getSmallImageURL(themeDisplay)??>${blog.getSmallImageURL(themeDisplay)}</#if>" data-description="${stringUtil.shorten(htmlUtil.stripHtml(blog.getContent()), 70)}" data-url="${themeDisplay.getPortalURL()}/video/${blog.getUrlTitle()}"><img src="/o/manipal-cigna-theme/images/icons/twitter_i.png">TWITTER</div> 
275 
276                        <div data-network="linkedin" class="st-custom-button" data-title="${blog.title}" data-image="<#if blog.getSmallImageURL(themeDisplay)??>${blog.getSmallImageURL(themeDisplay)}</#if>" data-description="${stringUtil.shorten(htmlUtil.stripHtml(blog.getContent()), 70)}" data-url="${themeDisplay.getPortalURL()}/video/${blog.getUrlTitle()}"><img src="/o/manipal-cigna-theme/images/icons/linkedin_i.png">LINKEDIN</div> 
277                         
278                        <div><span class="copy-btn" data-type="attribute" data-attr-name="data-clipboard-text" data-model="couponCode" data-clipboard-text="${themeDisplay.getPortalURL()}/video/${blog.getUrlTitle()}"><img src="/o/manipal-cigna-theme/images/icons/link_i.png"> COPY LINK</span></div> 
279                         
280                        <div data-network="whatsapp" class="st-custom-button" data-title="${blog.title}" data-image="<#if blog.getSmallImageURL(themeDisplay)??>${blog.getSmallImageURL(themeDisplay)}</#if>" data-description="${stringUtil.shorten(htmlUtil.stripHtml(blog.getContent()), 70)}" data-url="${themeDisplay.getPortalURL()}/video/${blog.getUrlTitle()}"><img src="/o/manipal-cigna-theme/images/icons/whatsapp_i.png">WHATSAPP</div> 
281 
282                        <div data-network="email" class="st-custom-button" data-title="${blog.title}" data-image="<#if blog.getSmallImageURL(themeDisplay)??>${blog.getSmallImageURL(themeDisplay)}</#if>" data-description="${stringUtil.shorten(htmlUtil.stripHtml(blog.getContent()), 70)}" data-url="${themeDisplay.getPortalURL()}/video/${blog.getUrlTitle()}"><img src="/o/manipal-cigna-theme/images/icons/gmail_i.png">EMAIL</div> 
283                            </div> 
284                        </div>     
285                    </span> 
286                 
287                </div> 
288                  <div class="px-2 mt-4"> 
289                    <span class="font_10 bg_orange white p-2 rounded">${categoryName}</span> 
290                    <a href="/video/${blog.getUrlTitle()}" class="black"><p class="font_18 semi-bold mt-4">${blog.title}</p></a> 
291                    <p class="font_16 lh-16">${stringUtil.shorten(htmlUtil.stripHtml(blog.getContent()), 70)}</p> 
292                    <p class="font_16"><img src="/o/manipal-cigna-theme/images/icons/calendar.png" class="mr-2">  
293                    <span>${dateUtil.getDate(blog.getDisplayDate(), "MMM dd yyyy", locale)}</span></p> 
294                    <a href="/video/${blog.getUrlTitle()}" class="font_14 semi-bold">Watch Video <i class="fa fa-angle-right"></i></a> 
295                  </div> 
296                </div> 
297              </div> 
298            </div> 
299        </#list> 
300		<#-- Start of Latest Part --> 
301			<#else> 
302			 <#list ArticleList?sort_by("publishDate")?reverse as article><!--vivek dubey.. to sort by date--> 
303          <#assign blog=blogsEntryLocalService.getEntry(article.getClassPK())> 
304        <#assign categories=assetCategoryLocalService.getAssetEntryAssetCategories(article.getEntryId()) />  <#assign categoryName=""> 
305            <#if categories?has_content> 
306                <#list categories as category> 
307                    <#if category.getName()!="ALL"> 
308                        <#assign categoryName=category.getName()> 
309                        <#assign categoryId=category.getCategoryId()> 
310                    </#if> 
311                </#list> 
312            </#if> 
313            <div class="col-sm-6 col-md-6 col-lg-4"> 
314              <div class="card round mb-4 bits_blogs"> 
315                    <#if blog.getSmallImageURL(themeDisplay)??> 
316                       <a href="/video/${blog.getUrlTitle()}"> <img src="${blog.getSmallImageURL(themeDisplay)}" class="blogImage" alt="${blog.getCoverImageCaption()}"></a> 
317                    </#if> 
318                    <div class="p-4"> 
319                  <div class="text-right"> 
320                    <span class="share_icon"> 
321                        <img src="/o/manipal-cigna-theme/images/icons/share.png"> 
322                        <div class="share_div"> 
323                            <p class="bold text_14 m-4 pl-3 text-left">Share via:</p> 
324                            <div class="share_list"> 
325                                <div data-network="facebook" class="st-custom-button" data-title="${blog.title}" data-image="<#if blog.getSmallImageURL(themeDisplay)??>${blog.getSmallImageURL(themeDisplay)}</#if>" data-description="${stringUtil.shorten(htmlUtil.stripHtml(blog.getContent()), 70)}" data-url="${themeDisplay.getPortalURL()}/video/${blog.getUrlTitle()}"><img src="/o/manipal-cigna-theme/images/icons/facebook_i.png">FACEBOOK</div> 
326                                 
327                    <div data-network="twitter" class="st-custom-button" data-title="${blog.title}" data-image="<#if blog.getSmallImageURL(themeDisplay)??>${blog.getSmallImageURL(themeDisplay)}</#if>" data-description="${stringUtil.shorten(htmlUtil.stripHtml(blog.getContent()), 70)}" data-url="${themeDisplay.getPortalURL()}/video/${blog.getUrlTitle()}"><img src="/o/manipal-cigna-theme/images/icons/twitter_i.png">TWITTER</div> 
328 
329                        <div data-network="linkedin" class="st-custom-button" data-title="${blog.title}" data-image="<#if blog.getSmallImageURL(themeDisplay)??>${blog.getSmallImageURL(themeDisplay)}</#if>" data-description="${stringUtil.shorten(htmlUtil.stripHtml(blog.getContent()), 70)}" data-url="${themeDisplay.getPortalURL()}/video/${blog.getUrlTitle()}"><img src="/o/manipal-cigna-theme/images/icons/linkedin_i.png">LINKEDIN</div> 
330                         
331                        <div><span class="copy-btn" data-type="attribute" data-attr-name="data-clipboard-text" data-model="couponCode" data-clipboard-text="${themeDisplay.getPortalURL()}/video/${blog.getUrlTitle()}"><img src="/o/manipal-cigna-theme/images/icons/link_i.png"> COPY LINK</span></div> 
332                         
333                        <div data-network="whatsapp" class="st-custom-button" data-title="${blog.title}" data-image="<#if blog.getSmallImageURL(themeDisplay)??>${blog.getSmallImageURL(themeDisplay)}</#if>" data-description="${stringUtil.shorten(htmlUtil.stripHtml(blog.getContent()), 70)}" data-url="${themeDisplay.getPortalURL()}/video/${blog.getUrlTitle()}"><img src="/o/manipal-cigna-theme/images/icons/whatsapp_i.png">WHATSAPP</div> 
334 
335                        <div data-network="email" class="st-custom-button" data-title="${blog.title}" data-image="<#if blog.getSmallImageURL(themeDisplay)??>${blog.getSmallImageURL(themeDisplay)}</#if>" data-description="${stringUtil.shorten(htmlUtil.stripHtml(blog.getContent()), 70)}" data-url="${themeDisplay.getPortalURL()}/video/${blog.getUrlTitle()}"><img src="/o/manipal-cigna-theme/images/icons/gmail_i.png">EMAIL</div> 
336                            </div> 
337                        </div>     
338                    </span> 
339                 
340                </div> 
341                  <div class="px-2 mt-4"> 
342                    <span class="font_10 bg_orange white p-2 rounded">${categoryName}</span> 
343                    <a href="/video/${blog.getUrlTitle()}" class="black"><p class="font_18 semi-bold mt-4">${blog.title}</p></a> 
344                    <p class="font_16 lh-16">${stringUtil.shorten(htmlUtil.stripHtml(blog.getContent()), 70)}</p> 
345                    <p class="font_16"><img src="/o/manipal-cigna-theme/images/icons/calendar.png" class="mr-2">  
346                    <span>${dateUtil.getDate(blog.getDisplayDate(), "MMM dd yyyy", locale)}</span></p> 
347                    <a href="/video/${blog.getUrlTitle()}" class="font_14 semi-bold">Watch Video <i class="fa fa-angle-right"></i></a> 
348                  </div> 
349                </div> 
350              </div> 
351            </div> 
352        </#list> 
353			</#if> 
354			<#-- End of Latest Part --> 
355        <#elseif favouriteList?has_content> 
356            <#list favouriteList?sort_by("rating")?reverse as article> 
357              <#assign assetEntry = assetEntryLocalService.getEntry("com.liferay.blogs.model.BlogsEntry", article.favourite.getEntryId()) /> 
358        <#assign categories=assetCategoryLocalService.getAssetEntryAssetCategories(assetEntry.getEntryId()) /> 
359                <#assign categoryName=""> 
360                <#if categories?has_content> 
361                    <#list categories as category> 
362                        <#if category.getName()!="ALL"> 
363                            <#assign categoryName=category.getName()> 
364                        </#if> 
365                    </#list> 
366                </#if> 
367                <div class="col-md-4"> 
368                  <div class="card round mb-4"> 
369                        <#if article.favourite.getSmallImageURL(themeDisplay)??> 
370                            <img src="${article.favourite.getSmallImageURL(themeDisplay)}" class="blogImage"> 
371                        </#if> 
372                        <div class="p-4"> 
373                      <div class="text-right"> 
374                    <span class="share_icon"> 
375                        <img src="/o/manipal-cigna-theme/images/icons/share.png"> 
376                        <div class="share_div"> 
377                            <p class="bold text_14 m-4 pl-3 text-left">Share via:</p> 
378                            <div class="share_list"> 
379                                <div data-network="facebook" class="st-custom-button" data-title="${article.favourite.title}" data-image="<#if article.favourite.getSmallImageURL(themeDisplay)??>${article.favourite.getSmallImageURL(themeDisplay)}</#if>" data-description="${stringUtil.shorten(htmlUtil.stripHtml(article.favourite.getContent()), 70)}" data-url="${themeDisplay.getPortalURL()}/video/${article.favourite.getUrlTitle()}"><img src="/o/manipal-cigna-theme/images/icons/facebook_i.png">FACEBOOK</div> 
380                                 
381                    <div data-network="twitter" class="st-custom-button" data-title="${article.favourite.title}" data-image="<#if article.favourite.getSmallImageURL(themeDisplay)??>${article.favourite.getSmallImageURL(themeDisplay)}</#if>" data-description="${stringUtil.shorten(htmlUtil.stripHtml(article.favourite.getContent()), 70)}" data-url="${themeDisplay.getPortalURL()}/video/${article.favourite.getUrlTitle()}"><img src="/o/manipal-cigna-theme/images/icons/twitter_i.png">TWITTER</div> 
382 
383                        <div data-network="linkedin" class="st-custom-button" data-title="${article.favourite.title}" data-image="<#if article.favourite.getSmallImageURL(themeDisplay)??>${article.favourite.getSmallImageURL(themeDisplay)}</#if>" data-description="${stringUtil.shorten(htmlUtil.stripHtml(article.favourite.getContent()), 70)}" data-url="${themeDisplay.getPortalURL()}/video/${article.favourite.getUrlTitle()}"><img src="/o/manipal-cigna-theme/images/icons/linkedin_i.png">LINKEDIN</div> 
384                         
385                        <div><span class="copy-btn" data-type="attribute" data-attr-name="data-clipboard-text" data-model="couponCode" data-clipboard-text="${themeDisplay.getPortalURL()}/video/${article.favourite.getUrlTitle()}"><img src="/o/manipal-cigna-theme/images/icons/link_i.png"> COPY LINK</span></div> 
386                         
387                        <div data-network="whatsapp" class="st-custom-button" data-title="${article.favourite.title}" data-image="<#if article.favourite.getSmallImageURL(themeDisplay)??>${article.favourite.getSmallImageURL(themeDisplay)}</#if>" data-description="${stringUtil.shorten(htmlUtil.stripHtml(article.favourite.getContent()), 70)}" data-url="${themeDisplay.getPortalURL()}/video/${article.favourite.getUrlTitle()}"><img src="/o/manipal-cigna-theme/images/icons/whatsapp_i.png">WHATSAPP</div> 
388 
389                        <div data-network="email" class="st-custom-button" data-title="${article.favourite.title}" data-image="<#if article.favourite.getSmallImageURL(themeDisplay)??>${article.favourite.getSmallImageURL(themeDisplay)}</#if>" data-description="${stringUtil.shorten(htmlUtil.stripHtml(article.favourite.getContent()), 70)}" data-url="${themeDisplay.getPortalURL()}/video/${article.favourite.getUrlTitle()}"><img src="/o/manipal-cigna-theme/images/icons/gmail_i.png">EMAIL</div> 
390                            </div> 
391                        </div>     
392                    </span> 
393                 
394                </div> 
395                      <div class="px-2 mt-4"> 
396                        <span class="font_10 bg_orange white p-2 rounded">${categoryName}</span> 
397                        <p class="font_18 semi-bold mt-4">${article.favourite.title}</p> 
398                        <p class="font_16 lh-16">${stringUtil.shorten(htmlUtil.stripHtml(article.favourite.getContent()), 70)}</p> 
399                        <p class="font_16"><img src="/o/manipal-cigna-theme/images/icons/calendar.png" class="mr-2">  
400                        <span>${dateUtil.getDate(article.favourite.getDisplayDate(), "MMM dd yyyy", locale)}</span></p> 
401                        <a href="/video/${article.favourite.getUrlTitle()}" class="font_14 semi-bold">Watch Video <i class="fa fa-angle-right"></i></a> 
402                      </div> 
403                    </div> 
404                  </div> 
405                </div> 
406            </#list> 
407        </#if> 
408          </div> 
409        </div> 
410      </div> 
411    </div> 
412</div> 
413 
414 
415 
416<script type="text/javascript"> 
417 var name='${themeDisplay.getLayoutFriendlyURL(themeDisplay.getLayout())}'.split('/')[3]; 
418 if('${themeDisplay.getLayoutFriendlyURL(themeDisplay.getLayout())}'.split('/').length>4){ 
419	 name='${themeDisplay.getLayoutFriendlyURL(themeDisplay.getLayout())}'.split('/')[4] 
420
421$(window).ready(function(){ 
422 
423setInterval(function(){  
424    $('.view_all').find('.'+name).addClass('active semi-bold'); 
425  }, 100); 
426}); 
427</script> 
428<script> 
429$(document).ready(function(){ 
430  $.getScript( "https://platform-api.sharethis.com/js/sharethis.js#property=5f072ec41fc3670013bd28d9&product=inline-share-buttons" ) 
431  .done(function( script, textStatus ) { 
432    console.log( textStatus ); 
433    initializeShareThis(); 
434  }); 
435   
436  $(document).on("click", ".copy-btn", function(){ 
437        value = $(this).data('clipboard-text'); //Upto this I am getting value 
438  
439        var $temp = $("<input>"); 
440          $("body").append($temp); 
441          $temp.val(value).select(); 
442          document.execCommand("copy"); 
443          $temp.remove(); 
444    }); 
445}); 
446 
447setTimeout(function() { 
448    window.__sharethis__.initialize(); 
449}, 3000);  
450 
451function initializeShareThis(){ 
452    var shareButtons = document.querySelectorAll(".st-custom-button[data-network]"); 
453   for(var i = 0; i < shareButtons.length; i++) { 
454      var shareButton = shareButtons[i]; 
455       
456      shareButton.addEventListener("click", function(e) { 
457         var elm = e.target; 
458         var network = elm.dataset.network; 
459          
460         console.log("share click: " + network); 
461      }); 
462
463
464</script>