window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/www.uniquenewsonline.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.5.2"}};
/*! This file is auto-generated */
!function(i,n){var o,s,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),r=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===r[t]})}function u(e,t,n){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!n(e,"\ud83d\udc26\u200d\u2b1b","\ud83d\udc26\u200b\u2b1b")}return!1}function f(e,t,n){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):i.createElement("canvas"),a=r.getContext("2d",{willReadFrequently:!0}),o=(a.textBaseline="top",a.font="600 32px Arial",{});return e.forEach(function(e){o[e]=t(a,e,n)}),o}function t(e){var t=i.createElement("script");t.src=e,t.defer=!0,i.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",s=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){i.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"}),a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=function(e){c(n=e.data),a.terminate(),t(n)})}catch(e){}c(n=f(s,u,p))}t(n)}).then(function(e){for(var t in e)n.supports[t]=e[t],n.supports.everything=n.supports.everything&&n.supports[t],"flag"!==t&&(n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&n.supports[t]);n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&!n.supports.flag,n.DOMReady=!1,n.readyCallback=function(){n.DOMReady=!0}}).then(function(){return e}).then(function(){var e;n.supports.everything||(n.readyCallback(),(e=n.source||{}).concatemoji?t(e.concatemoji):e.wpemoji&&e.twemoji&&(t(e.twemoji),t(e.wpemoji)))}))}((window,document),window._wpemojiSettings);
https://www.uniquenewsonline.com/wp-includes/js/jquery/jquery.min.js
https://www.uniquenewsonline.com/wp-includes/js/jquery/jquery-migrate.min.js
var pbLocalizeObj = {"ajax":"https:\/\/www.uniquenewsonline.com\/wp-admin\/admin-ajax.php","seconds":"seconds","thisWillClose":"This will close in","icons":{"close_icon":"<svg class=\"ays_pb_material_close_icon\" xmlns=\"https:\/\/www.w3.org\/2000\/svg\" height=\"36px\" viewBox=\"0 0 24 24\" width=\"36px\" fill=\"#000000\" alt=\"Pop-up Close\"><path d=\"M0 0h24v24H0z\" fill=\"none\"\/><path d=\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"\/><\/svg>","close_circle_icon":"<svg class=\"ays_pb_material_close_circle_icon\" xmlns=\"https:\/\/www.w3.org\/2000\/svg\" height=\"24\" viewBox=\"0 0 24 24\" width=\"36\" alt=\"Pop-up Close\"><path d=\"M0 0h24v24H0z\" fill=\"none\"\/><path d=\"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z\"\/><\/svg>","volume_up_icon":"<svg class=\"ays_pb_fa_volume\" xmlns=\"https:\/\/www.w3.org\/2000\/svg\" height=\"24\" viewBox=\"0 0 24 24\" width=\"36\"><path d=\"M0 0h24v24H0z\" fill=\"none\"\/><path d=\"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z\"\/><\/svg>","volume_mute_icon":"<svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\"><path d=\"M0 0h24v24H0z\" fill=\"none\"\/><path d=\"M7 9v6h4l5 5V4l-5 5H7z\"\/><\/svg>"}};
https://www.uniquenewsonline.com/wp-content/plugins/ays-popup-box/public/js/ays-pb-public.js
var breeze_prefetch = {"local_url":"https:\/\/www.uniquenewsonline.com","ignore_remote_prefetch":"1","ignore_list":["\/wp-admin\/"]};
https://www.uniquenewsonline.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
Unique News Online
Debuting in a Pandemic, These Restaurants Are Ready for Whatever LA’s Future Dining Scene Looks Like
Debuting in a Pandemic, These Restaurants Are Ready for Whatever LA’s Future Dining Scene Looks Like Published
4 years ago on
May 28, 2020 As Angelenos sheltered in place for the last two months, established restaurants have scrambled to alter staffing, menus, and spaces in a radically different landscape — where dining rooms sit empty, food is boxed to go, and foot traffic has all but disappeared. However, a handful of new restaurants, born during the pandemic, are in a unique position to be more nimble. With flexible overhead costs, malleable restaurant layouts, and still-developing menus, they’ve been able to adjust to the reality of running a restaurant in a strange new normal.
Ria Barbosa of month-old Filipino restaurant Petite Peso is one of the reluctant hospitality professionals adapting to the changed conditions. Set in Downtown’s Jewelry District, the 500-square-foot restaurant serves Pinoy comforts like lumpia and chicken adobo, along with an impressive array of scratch-made pastries. Barbosa, who spent years spearheading the daytime menus at Sqirl as the chef de cuisine and at Forage as co-chef, never thought of baking as her strong suit. But she started her business amid stay-at-home orders and now spends her days kneading, proofing, and baking sweet breads while executing the rest of the menu too. “We were planning on bringing on a pastry chef to help with production, but we’re just having to do a lot more ourselves to maintain the sustainability of our business,” says Barbosa. With the restaurant only earning 50 percent of pre-pandemic projections, keeping costs low from the get-go by forgoing additional labor has been essential to surviving.
Ria Barbosa, third from left, and her team at Petite Peso in Downtown. Wonho Frank Lee
Petite Peso’s freshly baked ensaymada and strawberry mamon. Wonho Frank Lee
Employing a small staff from day one has been an important overhead-saving measure for first-time restaurateurs Michelle Serafin and Claire Risoli as well. The two signed a lease in February and were ready to welcome diners into their 90-seat Mexican restaurant Pocha in Highland Park, complete with a live mariachi band and Yucatan bar bites, when shelter-in-place orders came down. “This pandemic helped us figure out that we can run very lean. I work the hot and cold line every day, all day,” says Serafin, the chef and owner of Pocha, who previously consulted on the menu at Mixto in Silver Lake. “As much as it is hard, it’s my happy place and I’m gonna feel weird when I’m not doing it myself.”
Angie and Daniel Kim opened Interstellar in Santa Monica the first week of April. The Kims envisioned their first restaurant as a daytime hub for locals and tourists seeking fancy coffee and global fare, with a menu including dishes like a Moroccan-inspired harissa pappardelle and a Japanese branzino ochazuke alongside cappuccinos and pastries. A stalled 16-month buildout timed Interstellar’s opening with the pandemic, which led the Kims to overhaul every element of their cafe, from menu to hours of operations. “It is all hands on deck,” says Angie Kim. “We’re both running Interstellar seven days a week — Daniel runs the front of the house, while I lead the back of the house. And when we’re not busy with customers, we’re manning everything on the back end to keep our business going.” While wearing multiple hats and working overtime is not sustainable in the long run, for now it’s making it possible for these young businesses to cover immediate operating costs like food, utilities, and labor.
Coffee and pastries at Interstellar in Santa Monica. Ariel Ip
Daniel and Angie Kim of Interstellar in Santa Monica. Interstellar
Meeting rent is proving to be an ongoing pain for new and established restaurants alike, as long-term leases were negotiated prior to the citywide lockdown. “Our initial goal was to not cover rent, but to break even and pay for food and employee costs,” says Kim. “Ultimately, we have to pay our rent at the end of the day.”
At Pocha, Serafin says, “legally we can hold off on paying rent, but we don’t want to get behind. If we can pay at least part of it every two weeks, then why have that hanging over our head?” While Petite Peso has paid for rent through March, the restaurant has retained a lawyer to negotiate payments for April and May. Serafin and Risoli plan to revisit the terms of their agreement if forthcoming limited-capacity restrictions keep the restaurant from taking full advantage of its large space.
“We don’t know anything other than opening a restaurant during a pandemic. It’s business as usual for us.” An unanticipated upside of opening in the middle of a pandemic was having the opportunity to observe how existing restaurants adjusted service and menus during the early days of the lockdown. “One of the things we were struggling with was how to reconfigure our entire restaurant for no-contact takeout and delivery,” says Kim. Opening for business weeks after stay-at-home orders began meant that she and her husband could consult with fellow hospitality professionals on how to rearrange their space and rework their hours. “One of our friends, William Chun of Coffee Code in Orange County, showed us a picture of how he set up his takeout stand. This inspired us to move our merchandise and coffee from the back so customers can easily see what drinks we offer,” says Kim. The shop’s opening hours were also shaped by those in the trenches earlier. “One of our neighbors advised us on what hours people would order for delivery the most, and this was incredibly helpful when it came to scheduling.” As a result, dinner service was added to supplement the cafe’s daytime offerings.
Debuting in mid-April gave the team at Petite Peso time to reconfigure their day-to-day operations with both safety and service in mind. “We installed a pickup window in our front door, added more lighting outside, and moved the pastry display out front,” says Robert Villanueva, who spent his career as a general manager for chef Michael Mina’s restaurant group prior to co-owning Petite Peso. While the restaurant was initially slated as a breakfast- and lunch-only spot, it switched gears overnight to meet diners’ changing needs. “No one orders delivery for breakfast. More people are working from home, so breakfast is not as much in demand as if you were looking for something quick to grab on the way to the office,” says Barbosa. “We scrapped the breakfast menu and pivoted to a lunch and dinner concept instead.”
Claire Risoli and Michelle Serafin of Pocha in Highland Park. Wonho Frank Lee
Vegan chile relleno at Pocha in Highland Park. Wonho Frank Lee
Family-style meal kits designed to feed small and large households were tacked on after Barbosa and Villanueva noticed other restaurants selling larger-format offerings. “Being Filipino, it’s always family-style when we eat — there’s a bowl of food in the center of the table and we all share,” says Villanueva. “Our family-style dinners came together organically, so we just needed to figure out packaging and pricing.” Petite Peso opened for business with a menu that matched diners’ newly formed habits and a restaurant layout that not only worked for takeout, but attracted passersby day and night. Being able to bypass trial and error saved the restaurant time and money during its critical early days.
Another silver lining in these seemingly poorly timed debuts has come in the form of an extended soft opening. With a slower trickle of diners, the new operations learned on the job and adjusted on the fly without sacrificing food quality or customer satisfaction. “In my experience opening restaurants, sometimes it’s so busy from the get-go that you’re playing catch up,” says Villanueva. “It’s for the worse because you are making people wait a long time and they get angry. It was a blessing to not get so bombarded in the beginning. We’ve been able to work out the kinks and figure things out.”
Petite Peso’s family-style meal. Wonho Frank Lee
“We don’t know anything other than opening a restaurant during a pandemic — it’s business as usual for us,” says Serafin.
“This has really given us an opportunity to recognize where our weaknesses are, plug the holes in our boat, and tighten up our systems,” says Risoli. “By the time this is over, we’ll be able to have all these plates up in the air, so it’s actually been the weirdest blessing for us to be able to take bite-sized pieces… to be able to eat this big elephant.”
Though it is too soon to tell whether these early advantages will lead to long-term viability, so far things are looking bright in spite of bleak circumstances. “We feel very blessed and grateful for the business that we do have,” says Villanueva. “Some colleagues and friends aren’t doing the numbers that we’re doing. We definitely feel fortunate that we can operate, do what we’re doing currently, and be somewhat sustainable.”
“We’re going to be known as the two crazy girls that opened a restaurant during a pandemic,” says Risoli. “In these times, it’s not a matter of resources, it’s a matter of resourcefulness. We’ve got some guts, some brains, and some vision. I know we’ll succeed no matter what.”
(Note: This is a Article Automatically Generated Through Syndication, Here is The Original Source
Passionate news enthusiast with a flair for words. Our Editorial Team author brings you the latest updates, in-depth analysis, and engaging stories. Stay informed with their well-researched articles.
Easy Ragi Poha Recipe for a Healthy Start Published
3 months ago on
February 9, 2024 Ragi Poha is one of the most popular breakfast and evening snack options in India. It is loaded with protein and healthy fats which help in retaining muscle mass by slowing down the ageing process. The popularity of finger millets has grown tremendously in the last few years being 2023 claimed as the “International Year of Millets.”
Therefore, people are slowly switching from wheat and rice to finger millet for its exceptional health benefits. Here is one easy and quick high-protein Ragi Poha recipe to start your day with or fulfill your cravings with. Cook and serve warm!
Recipe By c4cooking Course: Breakfast, Snacks Cusine:Indian Difficulty:Easy
INGREDIENTS 2 Cups Ragi Poha (Ragi Flakes)
2 TBSP Ghee
2 TBSP (chopped) cashew nut
1/2 Cup (grated) coconut
A pinch of Cardamom powder
2 TBSP raw sugar or jaggery
DIRECTION For preparing healthy ragi poha, first of all, heat a frying pan. Keep the flame in medium.
Then add Ghee, and let it melt.
Then add chopped cashews, and fry until they turn golden brown.
Then add ragi poha or ragi flakes.
Fry the poha for two minutes on low heat.
Then add grated coconut, and fry for one more minute.
Add cardamom powder and raw sugar or jaggery as per your preference.
Mix everything for two more minutes and then turn off the heat.
Serve a healthy and tasty Ragi Poha recipe when warm.
NOTES Ragi Poha can be customised by adding peanuts, and raisins to make it more tasty.
If using jaggery, then jaggery powder is recommended.
Keep the flame low to medium to avoid poha getting burned.
Also Read: Delightful Dal Appe: A Recipe for Flavorful Indian Dumplings
Delightful Dal Appe: A Recipe for Flavorful Indian Dumplings Published
3 months ago on
February 7, 2024 Every morning people think about what to have for breakfast. In that context, Dal Appe fits in. It is a mouthwatering breakfast option that is high in protein as it is made with a blend of different dal or pulses.
As this dish is prepared from a natural fermentation process, it becomes a great option for the body which promotes good gut bacteria. Here we have mentioned the most simple and easy Dal Appe breakfast recipe. Try and enjoy!
Also Read: Indian Aloo Chana Chaat Recipe: STEP-BY-STEP Guide
STEP-BY-STEP Guide to Dal Appe Recipe Recipe By Sakshu Recipes Course: Breakfast Option Cusine:Indian Difficulty:Easy
INGREDIENTS 1 cup rice
1½ cup chana dal
1/3 cup moong dal
1¼ cup urad dal
3 to 4 garlic cloves
1 tsp fruit salt
1½ tsp mustard seeds
1½ inch ginger
2 green chilies
1½ tsp cumin seeds
1½ tsp til
Finely chopped coriander leaves
4 to 5 curry leaves
Water
Salt as per taste
Oil
DIRECTION Preparing the Batter Wash the rice, chana dal, moong dal, and urad dal thoroughly. Soak everything together for four to five hours minimum.<br>Grind the pulses with rice together and make a smooth paste out of it.<br>Let the batter rest for 5-6 hours to ferment properly. Give it a good mix.
Adding Tadka to Batter In a pan heat some oil, add mustard seeds, and curry leaves. Add the tadka mix to the batter.<br>Then add coriander leaves, then take garlic cloves, green chilies, ginger, and roasted cumin seeds. Give the ingredients a good smash together and add them to the batter.<br>Then add the remaining ajwain, salt as per taste, and fruit salt, to the batter and give it a mix.
Preparing Dal Appe Take an "Appe patra" a utensil in which Appes are made. Heat it, add oil to the base, and put the batter on the tray.<br>Keep the flame medium and cook it for five minutes. Then after 5 minutes, flip the apple and again cook for 5 more minutes keeping the flame medium.<br>The tasty appe is ready, enjoy it with sauce or chutney.
NOTES Keep the flame medium, neither low nor high.
The batter can be customised by adding fried onions, peanut paste to make it nutrition dense and tastier.
Adding Fruit Salt is optional.
Indian Aloo Chana Chaat Recipe: STEP-BY-STEP Guide Published
3 months ago on
January 31, 2024 Aloo Chana chat is a street food that has originated from India, especially in the West Bengal and Northern Indian states. It is prepared by boiling Potatoes and mixing the same with other ingredients to make it more fulfilling and healthy. Adding oil, spices, and chutney to this recipe makes its taste beyond words! Do try this healthy Aloo Chana Chaat recipe which is high in protein and can be consumed as morning breakfast or evening snack.
Recipe By Vahchef Course: Street Food, Snacks Cusine:Indian Difficulty:Easy
INGREDIENTS 1 Bunch chopped Coriander
2 chopped Green chilies
1/2 Bunch chopped Mint
1 tsp Chat Masala
1 tbsp Red chilly powder
1/2 Cup Chickpeas (chana dal)
2 boiled potatoes
1 tsp lime juice
Salt To Taste
1 Chopped Onion
3 tbsp Pomegranate seeds
1 tsp Cumin powder
2 tbsp Sweet tamarind chutney
DIRECTION Preparation for the chat Take the boiled potatoes and cut them into cubical pieces. Dry roast some cumin seeds, crush them, and keep them aside.
Preparing the Chaat Take a big bowl and add cut potatoes, and boiled chicken peas, and mix them with the help of a spoon.<br>Then add chopped mint, coriander, green chili, and Onions and mix them.<br>Then add, chat masala powder, red chilly powder, lime juice, and salt to taste and mix everything.<br>To the bowl, add sweet tamarind chutney, freshly roasted crushed cumin seeds, and pomegranate seeds, and mix all the ingredients. The most delicious Aloo Chana Chaat is ready!
NOTES Chaat can be customised by adding chopped Tomatoes, roasted peanuts and sprout, to make it more healthy.
Add salt with caution as chaat masala also contains salt.
Sweet tamarind chutney is optional, but it gives an enhanced taste to the chaat.
Also Read:
STEP-BY-STEP Bolinas Recipe Guide
Mastering Satyanarayan Sheera Recipe: STEP-BY-STEP Guide
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
(adsbygoogle = window.adsbygoogle || []).push({});
if (window.innerWidth < 768) { jQuery(document).find('.ays-pb-modal_2').css({'top': '0', 'right': '0', 'bottom': '0', 'left': '0'}); } else { jQuery(document).find('.ays-pb-modal_2').css({'top': '0', 'right': '0', 'bottom': '0', 'left': '0'}); }
(function( $ ) {
'use strict';
$(document).ready(function(){
let pbViewsFlag_2 = true;
if ('image_type_img_theme' == 'notification') {
$(document).find('.ays-pb-modals').prependTo($(document.body));
} else {
$(document).find('.ays-pb-modals:not(.ays-pb-modals.ays-pb-notification-modal)').appendTo($(document.body));
}
let isMobile = false;
let closePopupOverlay = 1;
let isPageScrollDisabled = 0;
let checkAnimSpeed = 1;
let ays_pb_animation_close_speed = $(document).find('#ays_pb_animation_close_speed_2').val();
let ays_pb_effectIn_2 = $(document).find('#ays_pb_modal_animate_in_2').val();
let ays_pb_effectOut_2 = $(document).find('#ays_pb_modal_animate_out_2').val();
if (window.innerWidth < 768) {
isMobile = true;
closePopupOverlay = 1;
isPageScrollDisabled = 0;
checkAnimSpeed = 1;
ays_pb_animation_close_speed = $(document).find('#ays_pb_animation_close_speed_mobile_2').val();
ays_pb_effectIn_2 = $(document).find('#ays_pb_modal_animate_in_mobile_2').val();
ays_pb_effectOut_2 = $(document).find('#ays_pb_modal_animate_out_mobile_2').val();
}
let ays_pb_delayOpen_2 = parseInt($(document).find('.ays_pb_delay_2').val());
let ays_pb_scrollTop_2 = parseInt($(document).find('.ays_pb_scroll_2').val());
if (isMobile) {
if (0) {
ays_pb_scrollTop_2= parseInt($(document).find('.ays_pb_scroll_mobile_2').val());
}if (0) {
ays_pb_delayOpen_2 = parseInt($(document).find('.ays_pb_delay_mobile_2').val());
}
}
let time_pb_2 = $(document).find('.ays_pb_timer_2 span').data('seconds'),
ays_pb_animation_close_seconds = (ays_pb_animation_close_speed / 1000);
if( ays_pb_delayOpen_2 == 0 && ays_pb_scrollTop_2 == 0){
$(document).find('.av_pop_modals_2').css('display','block');
}if (window.innerWidth < 768) {
var mobileTimer = +$(document).find('.ays_pb_timer_2 span').attr('data-ays-mobile-seconds');
$(document).find('.ays_pb_timer_2 span').html(mobileTimer);
time_pb_2 = mobileTimer;
}ays_pb_animation_close_speed = parseFloat(ays_pb_animation_close_speed) - 50;$(document).find('.ays_music_sound').css({'display':'none'});
if(time_pb_2 !== undefined){
if(time_pb_2 !== 0){
$(document).find('#ays-pb-modal-checkbox_2').trigger('click');
if(ays_pb_scrollTop_2 == 0){
var ays_pb_flag = true;
$(document).find('.ays-pb-modal_2').css({
'animation-duration': ays_pb_animation_close_seconds + 's'
});
let timer_pb_2 = setInterval(function(){
let newTime_pb_2 = time_pb_2--;
$(document).find('.ays_pb_timer_2 span').text(newTime_pb_2);
if(newTime_pb_2 <= 0){
$(document).find('.ays-pb-modal-close_2').trigger('click');
$(document).find('.ays-pb-modal_2').attr('class', 'ays-pb-modal ays-pb-modal-image-type-img ays-pb-modal_2 ays-pb-border-mobile_2 '+ays_pb_effectOut_2);
if(ays_pb_effectOut_2 != 'none'){
setTimeout(function(){
$(document).find('.ays-pb-modal_2').css('display', 'none');
$(document).find('.ays-pb-modal_2').attr('data-ays-flag','true');
}, ays_pb_animation_close_speed);
}else{
$(document).find('.ays-pb-modal_2').css('display', 'none');
$(document).find('.ays-pb-modal_2').attr('data-ays-flag','true');
}
clearInterval(timer_pb_2);
}
$(document).find('.ays-pb-modal-close_2').one('click', function(){
if (pbViewsFlag_2) {
var pb_id = 2;$.ajax({
url: pbLocalizeObj.ajax,
method: 'POST',
dataType: 'text',
data: {
id: pb_id,
action: 'ays_increment_pb_views',
},
});pbViewsFlag_2 = false;
}
$(document).find('.av_pop_modals_2').css('pointer-events', 'none');
$(document).find('.ays-pb-modal_2').attr('class', 'ays-pb-modal ays-pb-modal-image-type-img ays-pb-modal_2 ays-pb-border-mobile_2 '+ays_pb_effectOut_2);
$(this).parents('.ays-pb-modals').find('iframe').each(function(){
var key = /https:\/\/www.youtube.com/;
var src = $(this).attr('src');
$(this).attr('src', $(this).attr('src'));
});
$(this).parents('.ays-pb-modals').find('video.wp-video-shortcode').each(function(){
if(typeof $(this).get(0) != 'undefined'){
if ( ! $(this).get(0).paused ) {
$(this).get(0).pause();
}
}
});
$(this).parents('.ays-pb-modals').find('audio.wp-audio-shortcode').each(function(){
if(typeof $(this).get(0) != 'undefined'){
if ( ! $(this).get(0).paused ) {
$(this).get(0).pause();
}
}
});
var close_sound_src = $(document).find('#ays_pb_close_sound_2').attr('src');
if(checkAnimSpeed && typeof close_sound_src !== 'undefined' && 'off' === 'on'){
if(checkAnimSpeed !== 0){
var playPromise = $(document).find('#ays_pb_close_sound_2').get(0).play();
if (playPromise !== undefined) {
playPromise.then(function() {
audio.pause();
}).catch(function(error) {
});
}
}
}
if(ays_pb_effectOut_2 != 'none'){
setTimeout(function(){
$(document).find('.ays-pb-modal_2').css('display', 'none');
$(document).find('.av_pop_modals_2').css('display', 'none');
$(document).find('.ays-pb-modal_2').attr('data-ays-flag','true');
if($('#ays_pb_close_sound_2').get(0) != undefined){
if(!$('#ays_pb_close_sound_2').get(0).paused){
$(document).find('.ays-pb-modal_2').css('display', 'none');
var audio = $('#ays_pb_close_sound_2').get(0);
audio.pause();
audio.currentTime = 0;
}
}
}, ays_pb_animation_close_speed);
}else{
$(document).find('.ays-pb-modal_2').css('display', 'none');
$(document).find('.av_pop_modals_2').css('display', 'none');
$(document).find('.ays-pb-modal_2').attr('data-ays-flag','true');
if($('#ays_pb_close_sound_2').get(0) != undefined){
if(!$('#ays_pb_close_sound_2').get(0).paused){
$(document).find('.ays-pb-modal_2').css('display', 'none');
var audio = $('#ays_pb_close_sound_2').get(0);
audio.pause();
audio.currentTime = 0;
}
}
}
$(document).find('#ays-pb-screen-shade_2').css({'opacity': '0', 'display': 'none'});
clearInterval(timer_pb_2);
});
$(document).on('keydown', function(event) {
if('1' && ays_pb_flag){
var escClosingPopups = $(document).find('.ays-pb-close-popup-with-esc:visible');
if (event.keyCode == 27) {
var topmostPopup = escClosingPopups.last();
topmostPopup.find('.ays-pb-modal-close_2').trigger('click');
}
} else {
ays_pb_flag = true;
}
ays_pb_flag = false;
});
},1000);
if(closePopupOverlay && 'On' == 'On'){
$(document).find('.av_pop_modals_2').on('click', function(e) {
var pb_parent = $(this);
var pb_div = $(this).find('.ays-pb-modal_2');
if (!pb_div.is(e.target) && pb_div.has(e.target).length === 0){
$(document).find('.ays-pb-modal-close_2').click();
}
});
}
}
} else {
$(document).find('.ays_pb_timer_2').css('display','none');
$(document).find('.ays-pb-modal_2').css({
'animation-duration': ays_pb_animation_close_seconds + 's'
});
$(document).find('.ays-pb-modal-close_2').one('click', function(){
if (pbViewsFlag_2) {
var pb_id = 2;$.ajax({
url: pbLocalizeObj.ajax,
method: 'POST',
dataType: 'text',
data: {
id: pb_id,
action: 'ays_increment_pb_views',
},
});pbViewsFlag_2 = false;
}
$(document).find('.av_pop_modals_2').css('pointer-events', 'none');
$(document).find('.ays-pb-modal_2').attr('class', 'ays-pb-modal ays-pb-modal-image-type-img ays-pb-modal_2 ays-pb-border-mobile_2 '+ays_pb_effectOut_2);
$(this).parents('.ays-pb-modals').find('iframe').each(function(){
var key = /https:\/\/www.youtube.com/;
var src = $(this).attr('src');
$(this).attr('src', $(this).attr('src'));
});
$(this).parents('.ays-pb-modals').find('video.wp-video-shortcode').each(function(){
if(typeof $(this).get(0) != 'undefined'){
if ( ! $(this).get(0).paused ) {
$(this).get(0).pause();
}
}
});
$(this).parents('.ays-pb-modals').find('audio.wp-audio-shortcode').each(function(){
if(typeof $(this).get(0) != 'undefined'){
if ( ! $(this).get(0).paused ) {
$(this).get(0).pause();
}
}
});
if(ays_pb_effectOut_2 != 'none'){
setTimeout(function(){
$(document).find('.ays-pb-modal_2').css('display', 'none');
$(document).find('.av_pop_modals_2').css('display', 'none');
$(document).find('.ays-pb-modal_2').attr('data-ays-flag','true');
if($('#ays_pb_close_sound_2').get(0) != undefined){
if(!$('#ays_pb_close_sound_2').get(0).paused){
$(document).find('.ays-pb-modal_2').css('display', 'none');
var audio = $('#ays_pb_close_sound_2').get(0);
audio.pause();
audio.currentTime = 0;
}
}
}, ays_pb_animation_close_speed);
}else{
$(document).find('.ays-pb-modal_2').css('display', 'none');
$(document).find('.av_pop_modals_2').css('display', 'none');
$(document).find('.ays-pb-modal_2').attr('data-ays-flag','true');
if($('#ays_pb_close_sound_2').get(0) != undefined){
if(!$('#ays_pb_close_sound_2').get(0).paused){
$(document).find('.ays-pb-modal_2').css('display', 'none');
var audio = $('#ays_pb_close_sound_2').get(0);
audio.pause();
audio.currentTime = 0;
}
}
}
$(document).find('#ays-pb-screen-shade_2').css({'opacity': '0', 'display': 'none'});
});
}
}
let count = 0;
if( ays_pb_scrollTop_2 !== 0 ){
$(window).scroll(function() {
if(($(this).scrollTop() >= ays_pb_scrollTop_2) && (count === 0)) {
count++;
if( ays_pb_delayOpen_2 !== 0 ){
$(document).find('.ays-pb-modal_2').css('animation-delay', ays_pb_delayOpen_2/1000);
setTimeout(function(){
$(document).find('.av_pop_modals_2').css('display','block');
$(document).find('.ays-pb-modal_2').addClass(ays_pb_effectIn_2);
$(document).find('.ays-pb-modal_2').css('display', 'block');
if (window.innerWidth < 768 && $(document).find('#ays-pb-screen-shade_2').attr('data-mobile-overlay') == 'true') {
$(document).find('#ays-pb-screen-shade_2').css({'opacity': '0.5'});
}
else{
$(document).find('#ays-pb-screen-shade_2').css({'opacity': '0.500000'});
}$(document).find('.ays-pb-modal-check_2').prop('checked', true);
}, ays_pb_delayOpen_2);
}else{
$(document).find('.av_pop_modals_2').css('display','block');
$(document).find('.ays-pb-modal_2').addClass(ays_pb_effectIn_2);
$(document).find('.ays-pb-modal_2').css('display', 'block');
if (window.innerWidth < 768 && $(document).find('#ays-pb-screen-shade_2').attr('data-mobile-overlay') == 'true') {
$(document).find('#ays-pb-screen-shade_2').css({'opacity': '0.5'});
}
else{
$(document).find('#ays-pb-screen-shade_2').css({'opacity': '0.500000'});
}$(document).find('.ays-pb-modal-check_2').prop('checked', true);
}
if('false' == 'true' && window.innerWidth < 768){
if(0 != 0 && 'off' != 'on'){
let close_button_delay_for_mobile = 0;
if (ays_pb_delayOpen_2 != 0) {
close_button_delay_for_mobile += Math.floor(ays_pb_delayOpen_2);
}
$(document).find('.ays-pb-modal-close_2').css({'display': 'none'});
setTimeout(function(){
$(document).find('.ays-pb-modal-close_2').css({'display': 'block'});
}, close_button_delay_for_mobile );
}
}
else {
if(0 != 0 && 'off' != 'on'){
let close_button_delay = 0;
if (ays_pb_delayOpen_2 != 0) {
close_button_delay += Math.floor(ays_pb_delayOpen_2);
}
$(document).find('.ays-pb-modal-close_2').css({'display': 'none'});
setTimeout(function(){
$(document).find('.ays-pb-modal-close_2').css({'display': 'block'});
}, close_button_delay );
}
}
if(5 != 0){
$(document).find('.ays-pb-modal_2').css({
'animation-duration': ays_pb_animation_close_seconds + 's'
});
let timer_pb_2 = setInterval(function(){
let newTime_pb_2 = time_pb_2--;
$(document).find('.ays_pb_timer_2 span').text(newTime_pb_2);
if(newTime_pb_2 <= 0){
$(document).find('.ays-pb-modal-close_2').trigger('click');
$(document).find('.ays-pb-modal_2').attr('class', 'ays-pb-modal ays-pb-modal-image-type-img ays-pb-modal_2 '+ays_pb_effectOut_2);
if(ays_pb_effectOut_2 != 'none'){
setTimeout(function(){
$(document).find('.ays-pb-modal_2').css('display', 'none');
$(document).find('.ays-pb-modal_2').attr('data-ays-flag','true');
}, ays_pb_animation_close_speed);
}else{
$(document).find('.ays-pb-modal_2').css('display', 'none');
$(document).find('.ays-pb-modal_2').attr('data-ays-flag','true');
}
clearInterval(timer_pb_2);
}
$(document).find('.ays-pb-modal-close_2').one('click', function(){
if (pbViewsFlag_2) {
var pb_id = 2;$.ajax({
url: pbLocalizeObj.ajax,
method: 'POST',
dataType: 'text',
data: {
id: pb_id,
action: 'ays_increment_pb_views',
},
});pbViewsFlag_2 = false;
}
$(document).find('.av_pop_modals_2').css('pointer-events', 'none');
$(document).find('.ays-pb-modal_2').attr('class', 'ays-pb-modal ays-pb-modal-image-type-img ays-pb-modal_2 ays-pb-border-mobile_2 '+ays_pb_effectOut_2);
$(this).parents('.ays-pb-modals').find('iframe').each(function(){
var key = /https:\/\/www.youtube.com/;
var src = $(this).attr('src');
$(this).attr('src', $(this).attr('src'));
});
$(this).parents('.ays-pb-modals').find('video.wp-video-shortcode').each(function(){
if(typeof $(this).get(0) != 'undefined'){
if ( ! $(this).get(0).paused ) {
$(this).get(0).pause();
}
}
});
$(this).parents('.ays-pb-modals').find('audio.wp-audio-shortcode').each(function(){
if(typeof $(this).get(0) != 'undefined'){
if ( ! $(this).get(0).paused ) {
$(this).get(0).pause();
}
}
});
if(ays_pb_effectOut_2 != 'none'){
setTimeout(function(){
$(document).find('.ays-pb-modal_2').css('display', 'none');
$(document).find('.av_pop_modals_2').css('display', 'none');
$(document).find('.ays-pb-modal_2').attr('data-ays-flag','true');
if($('#ays_pb_close_sound_2').get(0) != undefined){
if(!$('#ays_pb_close_sound_2').get(0).paused){
$(document).find('.ays-pb-modal_2').css('display', 'none');
var audio = $('#ays_pb_close_sound_2').get(0);
audio.pause();
audio.currentTime = 0;
}
}
}, ays_pb_animation_close_speed);
}else{
$(document).find('.ays-pb-modal_2').css('display', 'none');
$(document).find('.av_pop_modals_2').css('display', 'none');
$(document).find('.ays-pb-modal_2').attr('data-ays-flag','true');
if($('#ays_pb_close_sound_2').get(0) != undefined){
if(!$('#ays_pb_close_sound_2').get(0).paused){
$(document).find('.ays-pb-modal_2').css('display', 'none');
var audio = $('#ays_pb_close_sound_2').get(0);
audio.pause();
audio.currentTime = 0;
}
}
}
$(document).find('#ays-pb-screen-shade_2').css({'opacity': '0', 'display': 'none'});
clearInterval(timer_pb_2);
});
var ays_pb_flag = true;
$(document).on('keydown', function(event) {
if('1' && ays_pb_flag){
var escClosingPopups = $(document).find('.ays-pb-close-popup-with-esc:visible');
if (event.keyCode == 27) {
var topmostPopup = escClosingPopups.last();
topmostPopup.find('.ays-pb-modal-close_2').trigger('click');
ays_pb_flag = false;
}
} else {
ays_pb_flag = true;
}
});
},1000);
}
}
});
}else{
if( ays_pb_delayOpen_2 !== 0 ){
$(document).find('.ays-pb-modal_2').css('animation-delay', ays_pb_delayOpen_2/1000);
setTimeout(function(){
$(document).find('.av_pop_modals_2').css('display','block');
$(document).find('.ays-pb-modal_2').addClass(ays_pb_effectIn_2);
$(document).find('.ays-pb-modal_2').css('display', 'block');
if (window.innerWidth < 768 && $(document).find('#ays-pb-screen-shade_2').attr('data-mobile-overlay') == 'true') {
$(document).find('#ays-pb-screen-shade_2').css({'opacity': '0.5'});
}
else{
$(document).find('#ays-pb-screen-shade_2').css({'opacity': '0.500000'});
}
$(document).find('.ays-pb-modal-check_2').attr('checked', 'checked');if(isPageScrollDisabled){
$(document).find('body').addClass('pb_disable_scroll_2');
$(document).find('html').removeClass('pb_enable_scroll');
}}, ays_pb_delayOpen_2);
} else {
if($(document).find('.ays_pb_abt_2').val() != 'clickSelector'){
$(document).find('.av_pop_modals_2').css('display','block');
$(document).find('.ays-pb-modal_2').addClass(ays_pb_effectIn_2);
$(document).find('.ays-pb-modal_2').css('display', 'block');
if (window.innerWidth < 768 && $(document).find('#ays-pb-screen-shade_2').attr('data-mobile-overlay') == 'true') {
$(document).find('#ays-pb-screen-shade_2').css({'opacity': '0.5'});
}
else{
$(document).find('#ays-pb-screen-shade_2').css({'opacity': '0.500000'});
}
$(document).find('.ays-pb-modal-check_2').attr('checked', 'checked');if(isPageScrollDisabled){
$(document).find('body').addClass('pb_disable_scroll_2');
$(document).find('html').addClass('pb_disable_scroll_2');
}
}
}
}
if ('On' != 'On'){
$(document).find('#ays-pb-screen-shade_2').css({'opacity': '0', 'display': 'none !important', 'pointer-events': 'none', 'background': 'none'});
$(document).find('.ays-pb-modal_2').css('pointer-events', 'auto');
$(document).find('.av_pop_modals_2').css('pointer-events','none');
};
if($(document).find('.ays-pb-modals video').hasClass('wp-video-shortcode')){
var videoWidth = $(document).find('.ays-pb-modals video.wp-video-shortcode').attr('width');
var videoHeight = $(document).find('.ays-pb-modals video.wp-video-shortcode').attr('height');
setTimeout(function(){
$(document).find('.ays-pb-modals .wp-video').removeAttr('style');
$(document).find('.ays-pb-modals .mejs-container').removeAttr('style');
$(document).find('.ays-pb-modals video.wp-video-shortcode').removeAttr('style');$(document).find('.ays-pb-modals .wp-video').css({'width': '100%'});
$(document).find('.ays-pb-modals .mejs-container').css({'width': '100%','height': videoHeight + 'px'});
$(document).find('.ays-pb-modals video.wp-video-shortcode').css({'width': '100%','height': videoHeight + 'px'});
},1000);
}
if($(document).find('.ays-pb-modals iframe').attr('style') != ''){
setTimeout(function(){
$(document).find('.ays-pb-modals iframe').removeAttr('style');
},500);
}
// if(5 == 0){
if(closePopupOverlay && 'On' == 'On'){
$(document).find('.av_pop_modals_2').on('click', function(e) {
var pb_parent = $(this);
var pb_div = $(this).find('.ays-pb-modal_2');
if (!pb_div.is(e.target) && pb_div.has(e.target).length === 0){
$(document).find('.ays-pb-modal-close_2').click();
}
});
}
var ays_pb_flag = true;
$(document).on('keydown', function(event) {
if('1' && ays_pb_flag){
var escClosingPopups = $(document).find('.ays-pb-close-popup-with-esc:visible');
if (event.keyCode == 27) {
var topmostPopup = escClosingPopups.last();
topmostPopup.find('.ays-pb-modal-close_2').trigger('click');
ays_pb_flag = false;
}
} else {
ays_pb_flag = true;
}
});
// }
if('off' == 'on') {
var video = $(document).find('video.wp-video-shortcode');
for (let i = 0; i < video.length; i++) {
video[i].addEventListener('ended', function() {
if ($(this).next().val() === 'on') {
$(this).parents('.ays_video_window').find('.close-image-btn').trigger('click');
}
});
}
}
jQuery(document).on('click', '.ays-pb-modal-close_2', function() {
$(document).find('body').removeClass('pb_disable_scroll_2');
$(document).find('html').removeClass('pb_disable_scroll_2');
});});
})( jQuery );
if(typeof aysPopupOptions === "undefined"){
var aysPopupOptions = [];
}
aysPopupOptions["2"] = "eyJwb3B1cGJveCI6eyJpZCI6IjIiLCJ0aXRsZSI6IkFkIiwicG9wdXBfbmFtZSI6IiIsImRlc2NyaXB0aW9uIjoiRGVtbyBEZXNjcmlwdGlvbiIsImNhdGVnb3J5X2lkIjoiMSIsImF1dG9jbG9zZSI6IjUiLCJjb29raWUiOiIxNDQwIiwid2lkdGgiOjQwMCwiaGVpZ2h0Ijo1MDAsImJnY29sb3IiOiIjZmZmZmZmIiwidGV4dGNvbG9yIjoiIzAwMDAwMCIsImJvcmRlcnNpemUiOiIxIiwiYm9yZGVyY29sb3IiOiIjZmZmZmZmIiwiYm9yZGVyX3JhZGl1cyI6IjQiLCJzaG9ydGNvZGUiOiIiLCJ1c2Vyc19yb2xlIjoiW10iLCJjdXN0b21fY2xhc3MiOiIiLCJjdXN0b21fY3NzIjoiIiwiY3VzdG9tX2h0bWwiOiJIZXJlIGNhbiBiZSB5b3VyIGN1c3RvbSBIVE1MIG9yIFNob3J0Y29kZSIsIm9ub2Zmc3dpdGNoIjoiT24iLCJzaG93X29ubHlfZm9yX2F1dGhvciI6Im9mZiIsInNob3dfYWxsIjoiYWxsIiwiZGVsYXkiOiIzIiwic2Nyb2xsX3RvcCI6IjAiLCJhbmltYXRlX2luIjoiZmFkZUluIiwiYW5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b2JpbGVcIjpcIm9mZlwiLFwiZW5hYmxlX292ZXJsYXlfdGV4dF9tb2JpbGVcIjpcIm9mZlwiLFwib3ZlcmxheV9tb2JpbGVfb3BhY2l0eVwiOlwiMC41XCIsXCJzaG93X3BvcHVwX3RpdGxlX21vYmlsZVwiOlwiT2ZmXCIsXCJzaG93X3BvcHVwX2Rlc2NfbW9iaWxlXCI6XCJPZmZcIixcImVuYWJsZV9hbmltYXRlX2luX21vYmlsZVwiOlwib2ZmXCIsXCJhbmltYXRlX2luX21vYmlsZVwiOlwiZmFkZUluXCIsXCJlbmFibGVfYW5pbWF0ZV9vdXRfbW9iaWxlXCI6XCJvZmZcIixcImFuaW1hdGVfb3V0X21vYmlsZVwiOlwiZmFkZU91dFwiLFwiZW5hYmxlX2Rpc3BsYXlfY29udGVudF9tb2JpbGVcIjpcIm9mZlwiLFwiZW5hYmxlX2JnY29sb3JfbW9iaWxlXCI6XCJvZmZcIixcImJnY29sb3JfbW9iaWxlXCI6XCIjZmZmZmZmXCIsXCJlbmFibGVfYmdfaW1hZ2VfbW9iaWxlXCI6XCJvZmZcIixcImJnX2ltYWdlX21vYmlsZVwiOlwiXCIsXCJlbmFibGVfYm9yZGVyY29sb3JfbW9iaWxlXCI6XCJvZmZcIixcImJvcmRlcmNvbG9yX21vYmlsZVwiOlwiI2ZmZmZmZlwiLFwiZW5hYmxlX2JvcmRlcnNpemVfbW9iaWxlXCI6XCJvZmZcIixcImJvcmRlcnNpemVfbW9iaWxlXCI6XCIxXCIsXCJlbmFibGVfYm9yZGVyX3JhZGl1c19tb2JpbGVcIjpcIm9mZlwiLFwiYm9yZGVyX3JhZGl1c19tb2JpbGVcIjpcIjRcIn0iLCJzaG93X3BvcHVwX3RpdGxlX21vYmlsZSI6Ik9mZiIsInNob3dfcG9wdXBfZGVzY19tb2JpbGUiOiJPZmYifX0=";
!function(){const e=document.createElement("script");e.async=!0,e.setAttribute("crossorigin","anonymous"),e.src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9548258067481809";let t=0;document.addEventListener("mousemove",function(){1==++t&&document.getElementsByTagName("HEAD").item(0).appendChild(e)}),window.onscroll=function(n){1==++t&&document.getElementsByTagName("HEAD").item(0).appendChild(e)},setTimeout(function(){0===t&&(t++,document.getElementsByTagName("HEAD").item(0).appendChild(e))},5e3)}();
https://www.uniquenewsonline.com/wp-content/plugins/theia-sticky-sidebar/js/ResizeSensor.js
https://www.uniquenewsonline.com/wp-content/plugins/theia-sticky-sidebar/js/theia-sticky-sidebar.js
https://www.uniquenewsonline.com/wp-content/plugins/theia-sticky-sidebar/js/main.js
https://www.uniquenewsonline.com/wp-content/themes/zox-news/js/mvpcustom.js
jQuery(document).ready(function($) {
var leaderHeight = $("#mvp-leader-wrap").outerHeight();
var navHeight = $("#mvp-main-head-wrap").outerHeight();
var headerHeight = navHeight + leaderHeight;
var previousScroll = 0;
$(window).scroll(function(event){
var scroll = $(this).scrollTop();
if ( typeof leaderHeight !== "undefined" ) {
if ($(window).scrollTop() > headerHeight){
$("#mvp-main-nav-small").addClass("mvp-nav-small-fixed");
$("#mvp-main-body-wrap").css("margin-top", navHeight );
} else {
$("#mvp-main-nav-small").removeClass("mvp-nav-small-fixed");
$("#mvp-main-body-wrap").css("margin-top","0");
}
if ($(window).scrollTop() > headerHeight + 50){
$("#mvp-main-nav-small").addClass("mvp-fixed");
$("#mvp-main-nav-small").addClass("mvp-fixed-shadow");
$(".mvp-fly-top").addClass("mvp-to-top");
if(scroll < previousScroll) {
$("#mvp-main-nav-small").removeClass("mvp-soc-mob-up");
$("#mvp-soc-mob-wrap").removeClass("mvp-soc-mob-up");
$(".mvp-drop-nav-title").removeClass("mvp-nav-small-post");
$(".mvp-nav-menu").show();
} else {
$("#mvp-main-nav-small").addClass("mvp-soc-mob-up");
$("#mvp-soc-mob-wrap").addClass("mvp-soc-mob-up");
$(".mvp-drop-nav-title").addClass("mvp-nav-small-post");
$(".mvp-nav-menu").hide();
}
} else {
$("#mvp-main-nav-small").removeClass("mvp-fixed");
$("#mvp-main-nav-small").removeClass("mvp-fixed-shadow");
$(".mvp-fly-top").removeClass("mvp-to-top");
}
} else {
if ($(window).scrollTop() > navHeight){
$("#mvp-main-nav-small").addClass("mvp-nav-small-fixed");
$("#mvp-main-body-wrap").css("margin-top", navHeight );
} else {
$("#mvp-main-nav-small").removeClass("mvp-nav-small-fixed");
$("#mvp-main-body-wrap").css("margin-top","0");
}
if ($(window).scrollTop() > navHeight + 50){
$("#mvp-main-nav-small").addClass("mvp-fixed");
$("#mvp-main-nav-small").addClass("mvp-fixed-shadow");
$(".mvp-fly-top").addClass("mvp-to-top");
if(scroll < previousScroll) {
$("#mvp-main-nav-small").removeClass("mvp-soc-mob-up");
$("#mvp-soc-mob-wrap").removeClass("mvp-soc-mob-up");
$(".mvp-drop-nav-title").removeClass("mvp-nav-small-post");
$(".mvp-nav-menu").show();
} else {
$("#mvp-main-nav-small").addClass("mvp-soc-mob-up");
$("#mvp-soc-mob-wrap").addClass("mvp-soc-mob-up");
$(".mvp-drop-nav-title").addClass("mvp-nav-small-post");
$(".mvp-nav-menu").hide();
}
} else {
$("#mvp-main-nav-small").removeClass("mvp-fixed");
$("#mvp-main-nav-small").removeClass("mvp-fixed-shadow");
$(".mvp-fly-top").removeClass("mvp-to-top");
}
}
previousScroll = scroll;
});
});jQuery(document).ready(function($) {
// Video Post Scroll
$(window).on("scroll.video", function(event){
var scrollTop = $(window).scrollTop();
var elementOffset = $("#mvp-content-wrap").offset().top;
var distance = (elementOffset - scrollTop);
var aboveHeight = $("#mvp-video-embed-wrap").outerHeight();
if ($(window).scrollTop() > distance + aboveHeight + screen.height){
$("#mvp-video-embed-cont").addClass("mvp-vid-fixed");
$("#mvp-video-embed-wrap").addClass("mvp-vid-height");
$(".mvp-video-close").show();
} else {
$("#mvp-video-embed-cont").removeClass("mvp-vid-fixed");
$("#mvp-video-embed-wrap").removeClass("mvp-vid-height");
$(".mvp-video-close").hide();
}
});$(".mvp-video-close").on("click", function(){
$("#mvp-video-embed-cont").removeClass("mvp-vid-fixed");
$("#mvp-video-embed-wrap").removeClass("mvp-vid-height");
$(".mvp-video-close").hide();
$(window).off("scroll.video");
});});jQuery(document).ready(function($) {
// Mobile Social Buttons More
$(".mvp-soc-mob-right").on("click", function(){
$("#mvp-soc-mob-wrap").toggleClass("mvp-soc-mob-more");
});
});jQuery(document).ready(function($) {
$(".menu-item-has-children a").click(function(event){
event.stopPropagation();});$(".menu-item-has-children").click(function(){
$(this).addClass("toggled");
if($(".menu-item-has-children").hasClass("toggled"))
{
$(this).children("ul").toggle();
$(".mvp-fly-nav-menu").getNiceScroll().resize();
}
$(this).toggleClass("tog-minus");
return false;
});// Main Menu Scroll
$(".mvp-fly-nav-menu").niceScroll({cursorcolor:"#888",cursorwidth: 7,cursorborder: 0,zindex:999999});
});
https://www.uniquenewsonline.com/wp-content/themes/zox-news/js/scripts.js
https://www.uniquenewsonline.com/wp-content/themes/zox-news/js/retina.js
https://www.uniquenewsonline.com/wp-content/themes/zox-news/js/flexslider.js
https://www.uniquenewsonline.com/wp-includes/js/comment-reply.min.js
(function(w,d, s, id) {w.webpushr=w.webpushr||function(){(w.webpushr.q=w.webpushr.q||[]).push(arguments)};var js, fjs = d.getElementsByTagName(s)[0];js = d.createElement(s); js.async=1; js.id = id;js.src = "https://cdn.webpushr.com/app.min.js";
d.body.appendChild(js);}(window,document, 'script', 'webpushr-jssdk'));
webpushr('setup',{'key':'BPjbvHzuEYRqFV4yiEu3fIxgQ_hu6jxsQjNdj6baiXPpbFathx1pQk1KL7M1lXEoliGJckK0dG6UeYUZuTIiCRQ','sw':'https://www.uniquenewsonline.com/wp-content/plugins/webpushr-web-push-notifications/sdk_files/webpushr-sw.js.php'});
window.lazyLoadOptions = {
elements_selector: "iframe[data-lazy-src]",
data_src: "lazy-src",
data_srcset: "lazy-srcset",
data_sizes: "lazy-sizes",
class_loading: "lazyloading",
class_loaded: "lazyloaded",
threshold: 300,
callback_loaded: function(element) {
if ( element.tagName === "IFRAME" && element.dataset.rocketLazyload == "fitvidscompatible" ) {
if (element.classList.contains("lazyloaded") ) {
if (typeof window.jQuery != "undefined") {
if (jQuery.fn.fitVids) {
jQuery(element).parent().fitVids();
}
}
}
}
}};
window.addEventListener('LazyLoad::Initialized', function (e) {
var lazyLoadInstance = e.detail.instance;if (window.MutationObserver) {
var observer = new MutationObserver(function(mutations) {
var image_count = 0;
var iframe_count = 0;
var rocketlazy_count = 0;mutations.forEach(function(mutation) {
for (i = 0; i < mutation.addedNodes.length; i++) {
if (typeof mutation.addedNodes[i].getElementsByTagName !== 'function') {
return;
}if (typeof mutation.addedNodes[i].getElementsByClassName !== 'function') {
return;
}images = mutation.addedNodes[i].getElementsByTagName('img');
is_image = mutation.addedNodes[i].tagName == "IMG";
iframes = mutation.addedNodes[i].getElementsByTagName('iframe');
is_iframe = mutation.addedNodes[i].tagName == "IFRAME";
rocket_lazy = mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count += images.length;
iframe_count += iframes.length;
rocketlazy_count += rocket_lazy.length;if(is_image){
image_count += 1;
}if(is_iframe){
iframe_count += 1;
}
}
} );if(image_count > 0 || iframe_count > 0 || rocketlazy_count > 0){
lazyLoadInstance.update();
}
} );var b = document.getElementsByTagName("body")[0];
var config = { childList: true, subtree: true };observer.observe(b, config);
}
}, false);
https://www.uniquenewsonline.com/wp-content/plugins/rocket-lazy-load/assets/js/16.1/lazyload.min.js