PageSourceSearch

https://portal.privacypillar.com/src_app_social-fortuna_social-fortuna_module_ts.f4e30d38ff21735b.js

js privacypillar.com collected 2026-09-24 09:08:39 UTC 139,121 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkprivacypillar_sfo3=self.webpackChunkprivacypillar_sfo3||[]).push([["src_app_social-fortuna_social-fortuna_module_ts"],{16428:(lt,I,p)=>{p.r(I),p.d(I,{SocialFortunaModule:()=>Ao});var l=p(36895),f=p(51692),g=p(24006),T=p(3940),F=p(3926),y=p(53977),L=p(73177),H=p(18583),Y=p(24850),B=p(80013),_=p(92340),A=p(68078),t=p(94650),m=p(20388),c=p(96625),d=p(37407),b=p(11481),U=p(59922),v=p(64491),k=p(38611),G=p(98473),z=p(22096),O=p(32320),P=p(4358),V=p(12553),j=p(97028),K=p(42111),W=p(52712),$=p(41277),X=p(82778),tt=p(74642),et=p(2854);const R=function(i){return{display:i}};function st(i,a){if(1&i&&(t.TgZ(0,"div",6),t._UZ(1,"iframe",7),t.qZA()),2&i){const o=t.oxw();t.Q6J("ngStyle",t.VKq(1,R,o.loading?"none":null))}}function ct(i,a){if(1&i&&(t.TgZ(0,"div",8),t._UZ(1,"iframe",9),t.qZA()),2&i){const o=t.oxw();t.Q6J("ngStyle",t.VKq(1,R,o.loading?"none":null))}}function pt(i,a){1&i&&(t.TgZ(0,"div",10)(1,"div",11)(2,"span",12),t._uU(3,"Loading..."),t.qZA()()())}function ut(i,a){if(1&i&&t._UZ(0,"iframe",13),2&i){const o=t.oxw();t.Q6J("ngStyle",t.VKq(1,R,o.loading?"none":null))}}let dt=(()=>{const a=class{constructor(e,n,r,s,u){this.cd=e,this.SocialFortunaServices=n,this.sanitizer=r,this.location=s,this.activatedRouter=u,this.loading=!0,this.step=1}ngOnInit(){this.cd.detectChanges()}ngOnChanges(e){for(const n in e)e.hasOwnProperty(n)&&"BundlePayload"===n&&this.onRefreshBanner()}onRefreshBanner(){if(!this.BundlePayload)return;this.loading=!0;const e=this,n=document.getElementById("az-banner");if(n){let r=n.contentDocument;!r&&n.contentWindow&&(r=n.contentWindow.document),n.contentWindow.document.body.innerHTML="",n.contentWindow.document.body.style.margin=0;const s=document.createElement("script");s.type="text/javascript",s.id="az_consent_banner",s.src=_.N.socialFortunaCDN,s.onload=()=>{const u=document.getElementById("az-banner").contentWindow;e.loading=!1,u.AZSocial.init(this.BundlePayload),u.AZSocial.show()},s.onerror=()=>{console.log("Error")},r.body.appendChild(s)}}};let i=a;return a.\u0275fac=function(n){return new(n||a)(t.Y36(t.sBO),t.Y36(c.Z),t.Y36(b.H7),t.Y36(l.Ye),t.Y36(f.gz))},a.\u0275cmp=t.Xpm({type:a,selectors:[["app-social-fortuna-preview"]],inputs:{allowedSocialNetworks:"allowedSocialNetworks",ConfigurationForm:"ConfigurationForm",BundlePayload:"BundlePayload"},features:[t.TTD],decls:6,vars:4,consts:[[1,"social-fortuna-preview",2,"height","100%"],["class","smartphone",3,"ngStyle",4,"ngIf"],["class","tablet",3,"ngStyle",4,"ngIf"],["class","loader",4,"ngIf"],[1,"web","ml-1"],["style","border: none;width:100%;","height","540","id","az-banner",3,"ngStyle",4,"ngIf"],[1,"smartphone",3,"ngStyle"],["id","az-banner",2,"width","370px","overflow","scroll","height","581px"],[1,"tablet",3,"ngStyle"],["id","az-banner",2,"width","100%","border","none","height","100%"],[1,"loader"],["role","status",1,"spinner-border"],[1,"sr-only"],["height","540","id","az-banner",2,"border","none","width","100%",3,"ngStyle"]],template:function(n,r){1&n&&(t.TgZ(0,"div",0),t.YNc(1,st,2,3,"div",1),t.YNc(2,ct,2,3,"div",2),t.YNc(3,pt,4,0,"div",3),t.TgZ(4,"div",4),t.YNc(5,ut,1,3,"iframe",5),t.qZA()()),2&n&&(t.xp6(1),t.Q6J("ngIf","mobile"===r.ConfigurationForm.CurrentPreviewDevice),t.xp6(1),t.Q6J("ngIf","tablet"===r.ConfigurationForm.CurrentPreviewDevice),t.xp6(1),t.Q6J("ngIf",r.loading),t.xp6(2),t.Q6J("ngIf","web"===r.ConfigurationForm.CurrentPreviewDevice))},dependencies:[l.O5,l.PC],styles:['.icon-list-preview[_ngcontent-%COMP%]{list-style:none;padding:0}.icon-list-preview[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:3px;cursor:pointer}.icon-list-popup[_ngcontent-%COMP%]{list-style:none;margin-top:20px;display:flex;flex-wrap:wrap}.icon-list-popup[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-right:10px}.icon-more[_ngcontent-%COMP%]{width:500px;border:1px solid lightgray;border-radius:5px;margin:175px auto auto}.svg-icon[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{height:30px}.svg-icon[_ngcontent-%COMP%]{padding:12px 16px;width:52px;margin-bottom:0!important}.icons[_ngcontent-%COMP%]{display:flex;height:100%;align-items:center}.smartphone[_ngcontent-%COMP%]{position:relative;width:400px;overflow:hidden;height:700px;margin:20px auto;border:16px black solid;border-top-width:60px;border-bottom-width:60px;border-radius:36px}.smartphone[_ngcontent-%COMP%]:before{content:"";display:block;width:60px;height:5px;position:absolute;top:-30px;left:50%;transform:translate(-50%,-50%);background:#333;border-radius:10px}.smartphone[_ngcontent-%COMP%]:after{content:"";display:block;width:35px;height:35px;position:absolute;
1left:50%;bottom:-65px;transform:translate(-50%,-50%);background:#333;border-radius:50%}.smartphone[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{width:360px;height:640px;background:white}.tablet[_ngcontent-%COMP%]{position:relative;width:800px;height:800px;margin:20px auto;border:16px black solid;border-top-width:60px;border-bottom-width:60px;border-radius:36px}.tablet[_ngcontent-%COMP%]:before{content:"";display:block;width:60px;height:5px;position:absolute;top:-30px;left:50%;transform:translate(-50%,-50%);background:#333;border-radius:10px}.tablet[_ngcontent-%COMP%]:after{content:"";display:block;width:35px;height:35px;position:absolute;left:50%;bottom:-65px;transform:translate(-50%,-50%);background:#333;border-radius:50%}.tablet[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{width:768px;height:1024px;background:white;margin:-1px}.spinner-border[_ngcontent-%COMP%]{display:inline-block;width:40px!important;height:40px!important}.loader[_ngcontent-%COMP%]{display:flex;justify-content:center;height:100%;align-items:center}']}),i})();var gt=p(44211);let ht=(()=>{const a=class{constructor(e){this.sanitizer=e}transform(e){return this.sanitizer.bypassSecurityTrustHtml(e)}};let i=a;return a.\u0275fac=function(n){return new(n||a)(t.Y36(b.H7,16))},a.\u0275pipe=t.Yjl({name:"safe",type:a,pure:!0}),i})();const _t=["publish"],mt=["formmodal"];function ft(i,a){1&i&&(t.TgZ(0,"span",58),t._uU(1,"Publish"),t.qZA())}function bt(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"button",59),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(2);return t.KtG(n.publishType="publish")}),t.qZA()}if(2&i){const o=t.oxw(2);t.Q6J("disabled","saving"===o.contentSaving||o.ConfigurationForm.invalid)}}function Ct(i,a){1&i&&t._UZ(0,"i",106)}function xt(i,a){1&i&&t._UZ(0,"i",106)}function vt(i,a){1&i&&t._UZ(0,"i",106)}function Zt(i,a){1&i&&t._UZ(0,"i",106)}function wt(i,a){1&i&&(t.TgZ(0,"div",85)(1,"div",77)(2,"p",78),t._uU(3,"Icons Radius "),t.TgZ(4,"small"),t._uU(5," (px)"),t.qZA()()(),t.TgZ(6,"div",42),t._UZ(7,"input",107),t.qZA()())}function Tt(i,a){1&i&&(t.TgZ(0,"div",85)(1,"div",77)(2,"p",78),t._uU(3,"Mobile Icons Radius "),t.TgZ(4,"small"),t._uU(5," (px)"),t.qZA()()(),t.TgZ(6,"div",42),t._UZ(7,"input",108),t.qZA()())}const yt=function(i){return{width:i}};function Ut(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"div",64)(1,"div",65)(2,"p-divider",66)(3,"b"),t._uU(4,"General Configuration"),t.qZA()()(),t.TgZ(5,"div",67)(6,"p-divider",66)(7,"b",68),t._uU(8,"Desktop Position"),t.qZA()(),t.TgZ(9,"div",22)(10,"div",69),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.onSetLocation("left"))}),t.YNc(11,Ct,1,0,"i",70),t._UZ(12,"img",71),t.qZA(),t.TgZ(13,"div",69),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.onSetLocation("right"))}),t.YNc(14,xt,1,0,"i",70),t._UZ(15,"img",71),t.qZA()(),t.TgZ(16,"p-divider",66)(17,"b",68),t._uU(18,"Mobile Position"),t.qZA()(),t.TgZ(19,"div",22)(20,"div",69),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.onSetLocationMobile("bottom"))}),t.YNc(21,vt,1,0,"i",70),t._UZ(22,"img",72),t.qZA(),t.TgZ(23,"div",69),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.onSetLocationMobile("top"))}),t.YNc(24,Zt,1,0,"i",70),t._UZ(25,"img",73),t.qZA()()(),t._UZ(26,"div",74),t.TgZ(27,"div",75)(28,"p-divider",66)(29,"b",68),t._uU(30,"Show"),t.qZA()(),t.TgZ(31,"div",76)(32,"div",77)(33,"p",78),t._uU(34,"On Desktop "),t._UZ(35,"i-feather",79),t.qZA()(),t.TgZ(36,"div",42),t._UZ(37,"p-inputSwitch",80),t.qZA()(),t.TgZ(38,"div",76)(39,"div",77)(40,"p",78),t._uU(41,"On Mobile "),t._UZ(42,"i-feather",81),t.qZA()(),t.TgZ(43,"div",42),t._UZ(44,"p-inputSwitch",82),t.qZA()(),t.TgZ(45,"p-divider",66)(46,"b",68),t._uU(47,"Common Features"),t.qZA()(),t.TgZ(48,"div",22)(49,"div",77)(50,"p",78),t._uU(51,"Show Watermark "),t._UZ(52,"i-feather",83),t.qZA()(),t.TgZ(53,"div",42),t._UZ(54,"p-inputSwitch",84),t.qZA()(),t.TgZ(55,"div",85)(56,"div",77)(57,"p",78),t._uU(58,"Z-index"),t.qZA()(),t.TgZ(59,"div",42),t._UZ(60,"input",86),t.qZA()(),t.TgZ(61,"p-divider",66)(62,"b",68),t._uU(63,"Desktop/Tablet Features"),t.qZA()(),t.TgZ(64,"div",85)(65,"div",77)(66,"p",78),t._uU(67,"Icons Rounded "),t._UZ(68,"i-feather",87),t.qZA()(),t.TgZ(69,"div",42),t._UZ(70,"p-inputSwitch",88),t.qZA()(),t.TgZ(71,"div",85)(72,"div",89)(73,"p",78),t._uU(74,"Icons Limit(first layer)"),t.qZA()(),t.TgZ(75,"div",89)(76,"span",90)(77,"button",91),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.substract(n.ConfigurationForm.value.IconLimit))}),t.qZA(),t._UZ(78,"input",92),t.TgZ(79,"button",93),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.addition(n.ConfigurationForm.value.IconLimit))}),t.qZA()()()(),t.YNc(80,wt,8,0,"div",94),t.TgZ(81,"div",85)(82,"div",77)(83,"p",78),t._uU(84,"Icons Margin "),t.TgZ(85,"small"),t._uU(86," (px)"),t.qZA()()(),t.TgZ(87,"div",42),t._UZ(88,"input",95),t.qZA()(),t.TgZ(89,"div",85)(90,"div",77)(91,"p",78),t._uU(92,"Icons Width "),t.TgZ(93,"small"),t._uU(94," (px)"),t.qZA()()(),t.TgZ(95,"div",42),t._UZ(96,"input",96),t.qZA()(),t.TgZ(97,"div",85)(98,"div",77)(99,"p",78),t._uU(100,"Icons Height "),t.TgZ(101,"small"),t._uU(102," (px)"),t.qZA()()(),t.TgZ(103,"div",42),t._UZ(104,"input",97),t.qZA()(),t.TgZ(105,"div",85)(106,"div",77)(107,"p",78),t._uU(108,"Edge Margin "),t.TgZ(109,"small"),t._uU(110," (px)"),t.qZA()()(),t.TgZ(111,"div",42),t._UZ(112,"input",98),t.qZA()(),t.TgZ(113,"p-divider",66)(114,"b",68),t._uU(115,"Mobile Features"),t.qZA()(),t.TgZ(116,"div",85)(117,"div",77)(118,"p",78),t._uU(119,"Mobile Icons Rounded "),t._UZ(120,"i-feather",87),t.qZA()(),t.TgZ(121,"div",42),t._UZ(122,"p-inputSwitch",99),t.qZA()(),t.YNc(123,Tt,8,0,"div",94),t.TgZ(124,"div",85)(125,"div",77)(126,"p",78),t._uU(127,"Mobile Icons Width "),t.TgZ(128,"small"),t._uU(129," (px)"),t.qZA()()(),t.TgZ(130,"div",42),t._UZ(131,"input",100),t.qZA()(),t.TgZ(132,"div",85)(133,"div",77)(134,"p",78),t._uU(135,"Mobile Icons Height "),t.TgZ(136,"small"),t._uU(137," (px)"),t.qZA()()(),t.TgZ(138,"div",42),t._UZ(139,"input",101),t.qZA()(),t.TgZ(140,"div",85)(141,"div",77)(142,"p",78),t._uU(143,"Mobile Icons Padding "),t.TgZ(144,"small"),t._uU(145," (px)"),t.qZA()()(),t.TgZ(14
16,"div",42),t._UZ(147,"input",102),t.qZA()(),t.TgZ(148,"div",103)(149,"p-divider",66)(150,"b"),t._uU(151,"Custom CSS"),t.qZA()(),t.TgZ(152,"div",76)(153,"div",104),t._UZ(154,"textarea",105),t.qZA()()()()()}if(2&i){const o=t.oxw(3);t.xp6(11),t.Q6J("ngIf","left"===o.ConfigurationForm.value.Position),t.xp6(1),t.Q6J("src","PrivacyPillar"==o.portal?"assets/social-fortuna/pp-mobile-left-sf.png":"assets/social-fortuna/social-fortuna-left.png",t.LSH),t.xp6(2),t.Q6J("ngIf","right"===o.ConfigurationForm.value.Position),t.xp6(1),t.Q6J("src","PrivacyPillar"==o.portal?"assets/social-fortuna/pp-mobile-right-sf.png":"assets/social-fortuna/social-fortuna-right.png",t.LSH),t.xp6(6),t.Q6J("ngIf","bottom"===o.ConfigurationForm.value.MobilePosition),t.xp6(1),t.Q6J("src","PrivacyPillar"==o.portal?"assets/social-fortuna/pp-mobile-bottom-sf.png":"assets/social-fortuna/mobile-bottom.png",t.LSH),t.xp6(2),t.Q6J("ngIf","top"===o.ConfigurationForm.value.MobilePosition),t.xp6(1),t.Q6J("ngStyle",t.VKq(14,yt,"PrivacyPillar"==o.portal?"35px":""))("src","PrivacyPillar"==o.portal?"assets/social-fortuna/pp-mobile-top-sf.png":"assets/social-fortuna/mobile-top.png",t.LSH),t.xp6(27),t.MGl("tooltip","If disabled, the ",o.portal," button will disappear from the Social Media Networks."),t.xp6(25),t.Q6J("disabled",o.ConfigurationForm.value.IconLimit<=1),t.xp6(2),t.Q6J("disabled",o.ConfigurationForm.value.IconLimit>=o.ConfigurationForm.value.FollowUrls.length),t.xp6(1),t.Q6J("ngIf",o.ConfigurationForm.value.IconsCircle),t.xp6(43),t.Q6J("ngIf",o.ConfigurationForm.value.MobileIconsCircle)}}const St=function(i){return{background:i}};function At(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"li",118)(1,"div",119)(2,"div",120),t._UZ(3,"i",121),t.qZA(),t._UZ(4,"div",122),t.ALo(5,"safe"),t.TgZ(6,"h6",123),t._uU(7),t.qZA(),t.TgZ(8,"div",124),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(),r=n.$implicit,s=n.index,u=t.oxw(4);return t.KtG(u.onSelectSocialNetwork(r,s))}),t.O4$(),t.TgZ(9,"svg",125),t._UZ(10,"path",126),t.qZA()()()()}if(2&i){const o=t.oxw().$implicit;t.xp6(4),t.Q6J("innerHTML",t.lcZ(5,3,o.icon),t.oJD)("ngStyle",t.VKq(5,St,o.color)),t.xp6(3),t.Oqu(o.name)}}function Mt(i,a){if(1&i&&(t.ynx(0),t.YNc(1,At,11,7,"li",117),t.BQk()),2&i){const o=a.$implicit,e=t.oxw(4);t.xp6(1),t.Q6J("ngIf",e.allowedSocialNetworks.includes(o.name))}}function Ft(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"div",109)(1,"div",110)(2,"p-divider",66)(3,"b"),t._uU(4,"Select your social networks"),t.qZA()(),t.TgZ(5,"div",111),t.NdJ("cdkDropListDropped",function(n){t.CHM(o);const r=t.oxw(3);return t.KtG(r.drop(n))}),t.TgZ(6,"ul",12),t.YNc(7,Mt,2,1,"ng-container",112),t.qZA()(),t.TgZ(8,"div",113)(9,"button",114),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(3);return t.KtG(n.showModalDialog())}),t.O4$(),t.TgZ(10,"svg",115),t._UZ(11,"path",116),t.qZA(),t._uU(12," Add More Networks "),t.qZA()()()()}if(2&i){const o=t.oxw(3);t.xp6(7),t.Q6J("ngForOf",o.ConfigurationForm.value.FollowUrls)}}function kt(i,a){if(1&i&&(t.TgZ(0,"div",145)(1,"div",146)(2,"div",147),t._uU(3,"@"),t.qZA()(),t._UZ(4,"input",148),t.qZA()),2&i){const o=t.oxw(2).index;t.xp6(4),t.MGl("id","url",o,"")}}function qt(i,a){1&i&&(t.TgZ(0,"p",149),t._uU(1," Please Enter Username "),t.qZA())}function It(i,a){1&i&&(t.TgZ(0,"p",149),t._uU(1,"Please provide valid url"),t.qZA())}const ot=function(i,a){return{"btn-primary":i,"btn-secondary":a}};function Ot(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"div",132)(1,"div",104)(2,"p",133),t._uU(3),t.qZA()(),t.TgZ(4,"div",134)(5,"div",135)(6,"span",136)(7,"button",137),t.NdJ("click",function(){t.CHM(o);const n=t.oxw().index,r=t.oxw(4);return t.KtG(r.onUpdateEventType(n,"share"))}),t._UZ(8,"i",138),t.qZA()(),t.TgZ(9,"span",136)(10,"button",139),t.NdJ("click",function(){t.CHM(o);const n=t.oxw().index,r=t.oxw(4);return t.KtG(r.onUpdateEventType(n,"follow"))}),t._UZ(11,"i",140),t.qZA()()()(),t.TgZ(12,"div",141)(13,"label",142),t._uU(14,"Username"),t.qZA(),t.YNc(15,kt,5,1,"div",143),t.YNc(16,qt,2,0,"p",144),t.YNc(17,It,2,0,"p",144),t.qZA()()}if(2&i){const o=t.oxw().$implicit,e=t.oxw(4);let n,r;t.xp6(3),t.Oqu(o.value.name),t.xp6(3),t.Q6J("tooltip",o.value.share?"":"This network does not support share feature"),t.xp6(1),t.Q6J("disabled",!o.value.share)("ngClass",t.WLB(10,ot,"share"===o.value.type&&o.value.share,"share"!==o.value.type||!o.value.share)),t.xp6(2),t.Q6J("tooltip",o.value.follow?"":"This network does not support follow feature"),t.xp6(1),t.Q6J("disabled",!o.value.follow)("ngClass",t.WLB(13,ot,"follow"===o.value.type||!o.value.share,"follow"!==o.value.type&&o.value.share)),t.xp6(5),t.Q6J("ngIf","share"!==o.value.type||!o.value.share&&o.value.follow),t.xp6(1),t.Q6J("ngIf",(null==(n=o.get("url"))||null==n.errors?null:n.errors.required)&&e.submitted),t.xp6(1),t.Q6J("ngIf",(null==(r=o.get("url"))||null==r.errors?null:r.errors.pattern)&&e.submitted)}}function Pt(i,a){if(1&i&&(t.ynx(0),t.TgZ(1,"div",130),t.YNc(2,Ot,18,16,"div",131),t.qZA(),t.BQk()),2&i){const o=a.$implicit,e=a.index,n=t.oxw(4);t.xp6(1),t.Q6J("formGroupName",e),t.xp6(1),t.Q6J("ngIf",n.allowedSocialNetworks.includes(o.value.name))}}function Dt(i,a){if(1&i&&(t.TgZ(0,"div",127)(1,"div",110)(2,"p-divider",66)(3,"b"),t._uU(4,"Social Networks Follow URL's "),t._UZ(5,"i-feather",128),t.qZA()()(),t.TgZ(6,"div",129),t.YNc(7,Pt,3,2,"ng-container",112),t.qZA()()),2&i){const o=t.oxw(3);t.xp6(7),t.Q6J("ngForOf",o.followUrls.controls)}}function Nt(i,a){1&i&&(t.TgZ(0,"small"),t._uU(1,"Path is required"),t.qZA())}function Jt(i,a){if(1&i&&(t.TgZ(0,"div",168),t.YNc(1,Nt,2,0,"small",169),t.qZA()),2&i){const o=t.oxw().$implicit;t.xp6(1),t.Q6J("ngIf",o.errors.required)}}
1function Lt(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"span",170),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(5);return t.KtG(n.addIngnoreURl())}),t.O4$(),t.TgZ(1,"svg",171),t._UZ(2,"path",172),t.qZA()()}}function Ht(i,a){if(1&i){const o=t.EpF();t.ynx(0),t._UZ(1,"input",161),t.YNc(2,Jt,2,1,"div",162),t.TgZ(3,"div",163),t.YNc(4,Lt,3,0,"span",164),t.TgZ(5,"span",165),t.NdJ("click",function(){const r=t.CHM(o).index,s=t.oxw(4);return t.KtG(s.removeIngnoreURl(r))}),t.O4$(),t.TgZ(6,"svg",166),t._UZ(7,"path",167),t.qZA()()(),t.BQk()}if(2&i){const o=a.$implicit,e=a.index,n=t.oxw(4);t.xp6(1),t.MGl("id","float-input-invalid",e,""),t.Q6J("formControlName",e),t.xp6(1),t.Q6J("ngIf",o.errors),t.xp6(2),t.Q6J("ngIf",n.ignoreUrls.length-1===e)}}function Yt(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"div",22)(1,"button",173),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(4);return t.KtG(n.addIngnoreURl())}),t._uU(2,"Add a URL"),t.qZA()()}}function Bt(i,a){1&i&&(t.TgZ(0,"small"),t._uU(1,"Path is required"),t.qZA())}function Rt(i,a){if(1&i&&(t.TgZ(0,"div",168),t.YNc(1,Bt,2,0,"small",169),t.qZA()),2&i){const o=t.oxw().$implicit;t.xp6(1),t.Q6J("ngIf",o.get("allowurl").errors.required)}}function Qt(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"span",170),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(5);return t.KtG(n.addNewRow())}),t.O4$(),t.TgZ(1,"svg",171),t._UZ(2,"path",172),t.qZA()()}}const Et=function(i){return{"is-invalid":i}};function Gt(i,a){if(1&i){const o=t.EpF();t.ynx(0,174),t.TgZ(1,"label",110),t._uU(2,"Path"),t.qZA(),t.TgZ(3,"div",175),t._UZ(4,"input",176),t.YNc(5,Rt,2,1,"div",162),t.qZA(),t.TgZ(6,"label",110),t._uU(7,"Type"),t.qZA(),t.TgZ(8,"div")(9,"select",177)(10,"option",178),t._uU(11,"Share/Follow"),t.qZA(),t.TgZ(12,"option",179),t._uU(13,"Share"),t.qZA(),t.TgZ(14,"option",180),t._uU(15,"Follow"),t.qZA()()(),t.TgZ(16,"div",163),t.YNc(17,Qt,3,0,"span",164),t.TgZ(18,"span",165),t.NdJ("click",function(){const r=t.CHM(o).index,s=t.oxw(4);return t.KtG(s.deleteRow(r))}),t.O4$(),t.TgZ(19,"svg",166),t._UZ(20,"path",167),t.qZA()()(),t.BQk()}if(2&i){const o=a.$implicit,e=a.index,n=t.oxw(4);t.Q6J("formGroupName",e),t.xp6(4),t.MGl("id","allowurl",e,""),t.Q6J("ngClass",t.VKq(8,Et,n.submitted&&o.get("allowurl").errors)),t.xp6(1),t.Q6J("ngIf",o.get("allowurl").errors),t.xp6(4),t.MGl("id","type",e,""),t.xp6(3),t.Q6J("disabled",n.ConfigurationForm.value.FollowOnHome),t.xp6(2),t.Q6J("disabled",n.ConfigurationForm.value.FollowOnHome),t.xp6(3),t.Q6J("ngIf",n.ConfigurationForm.value.AllowUrls.length-1===e)}}function zt(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"div",22)(1,"button",181),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(4);return t.KtG(n.addNewRow())}),t._uU(2,"Add a URL"),t.qZA()()}if(2&i){const o=t.oxw(4);t.xp6(1),t.Q6J("title",o.ConfigurationForm.value.FollowOnHome?"you need to disable follow on homepage only feature to access this feature":"")("disabled",!!o.ConfigurationForm.value.FollowOnHome)}}function Vt(i,a){if(1&i&&(t.TgZ(0,"div",150)(1,"div",151)(2,"p-divider",66)(3,"b"),t._uU(4,"Visitors Behavior"),t.qZA()(),t.TgZ(5,"div",76)(6,"div",77)(7,"p",78),t._uU(8,"Follow on home page only "),t._UZ(9,"i-feather",152),t.qZA()(),t.TgZ(10,"div",153),t._UZ(11,"p-inputSwitch",154),t.qZA()(),t.TgZ(12,"p-divider",66)(13,"b"),t._uU(14,"Do not show widget on pages"),t.qZA()(),t.TgZ(15,"div",155),t.YNc(16,Ht,8,4,"ng-container",112),t.YNc(17,Yt,3,0,"div",156),t.qZA(),t.TgZ(18,"p-divider",66)(19,"b"),t._uU(20,"Show widget on pages"),t.qZA()(),t.TgZ(21,"div",22)(22,"div",157),t.YNc(23,Gt,21,10,"ng-container",158),t.YNc(24,zt,3,2,"div",156),t.qZA()()(),t.TgZ(25,"div",159)(26,"b"),t._uU(27,"Note "),t.qZA(),t._uU(28," : Kindly provide the endpoint of the URL only, for example, if your URL is \u201chttps://mywebsite.com/folder1/route2\u201c just provide the endpoint \u201c/folder1/route2\u201c. If you want to exclude or include the widget from your website's home page, then enter only \u201c/\u201d in the text field. "),t.TgZ(29,"a",160),t._uU(30,"Click here to know more."),t.qZA()()()),2&i){const o=t.oxw(3);t.xp6(10),t.Q6J("tooltip",(null==o.ConfigurationForm.value?null:o.ConfigurationForm.value.AllowUrls.length)>0?"you need to remove all url from show widget on pages to enable this feature":""),t.xp6(1),t.Q6J("disabled",(null==o.ConfigurationForm.value?null:o.ConfigurationForm.value.AllowUrls.length)>0),t.xp6(5),t.Q6J("ngForOf",o.ignoreUrls.controls),t.xp6(1),t.Q6J("ngIf",0===o.ignoreUrls.controls.length),t.xp6(6),t.Q6J("ngForOf",o.ConfigurationForm.controls.AllowUrls.controls),t.xp6(1),t.Q6J("ngIf",0==o.ConfigurationForm.value.AllowUrls.length),t.xp6(5),t.MGl("href","",o.supportURL,"/help-center/articles/62/configure-social-fortuna-and-publish",t.LSH)}}function jt(i,a){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,Ut,155,16,"div",60),t.YNc(2,Ft,13,1,"div",61),t.YNc(3,Dt,8,1,"div",62),t.YNc(4,Vt,31,7,"div",63),t.qZA()),2&i){const o=t.oxw(2);t.Tol("steppers-"+o.ConfigurationForm.value.CurrentPreviewDevice),t.xp6(1),t.Q6J("ngIf",1===o.step),t.xp6(1),t.Q6J("ngIf",2===o.step),t.xp6(1),t.Q6J("ngIf",3===o.step),t.xp6(1),t.Q6J("ngIf",4===o.step)}}function Kt(i,a){if(1&i&&t._UZ(0,"app-social-fortuna-preview",182),2&i){const o=t.oxw(2);t.Q6J("allowedSocialNetworks",o.allowedSocialNetworks)("BundlePayload",o.Bu
1ndlePayload)("ConfigurationForm",o.ConfigurationForm.value)}}const D=function(i){return{"step-active":i}},Wt=function(){return[26,80]},$t=function(){return[24,50]},Q=function(i,a){return{"btn-primary device-btn":i,"btn-white":a}},E=function(i){return{fill:i}},Xt=function(i,a){return{oid:i,pid:a}};function te(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"form",19),t.NdJ("ngSubmit",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.onSubmit())}),t.TgZ(1,"div",20)(2,"div",21)(3,"div",22)(4,"h5",23),t._uU(5,"Social Fortuna"),t.qZA(),t.TgZ(6,"div",24)(7,"button",25),t.NdJ("click",function(){t.CHM(o);const n=t.oxw(),r=t.MAs(24);return t.KtG(n.openModal(r))}),t.qZA(),t.TgZ(8,"button",26),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.publishType="draft")}),t.qZA(),t.YNc(9,ft,2,0,"span",27),t.YNc(10,bt,1,1,"ng-template",null,28,t.W1O),t.qZA()()(),t.TgZ(12,"div",29)(13,"div",22)(14,"div",30)(15,"div",31),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.step=1)}),t.TgZ(16,"p",32),t._UZ(17,"i",33),t.qZA(),t.TgZ(18,"p",34),t._uU(19,"General"),t.qZA()(),t.TgZ(20,"div",31),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.step=2)}),t.TgZ(21,"p",32),t._UZ(22,"i-feather",35),t.qZA(),t.TgZ(23,"p",34),t._uU(24,"Social "),t._UZ(25,"br"),t._uU(26," Networks "),t.qZA()(),t.TgZ(27,"div",31),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.step=3)}),t.TgZ(28,"p",32),t._UZ(29,"i-feather",36),t.qZA(),t.TgZ(30,"p",34),t._uU(31,"Follow "),t._UZ(32,"br"),t._uU(33," URL's "),t.qZA()(),t.TgZ(34,"div",31),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.step=4)}),t.TgZ(35,"p",32),t._UZ(36,"i-feather",37),t.qZA(),t.TgZ(37,"p",34),t._uU(38," Behavior "),t.qZA()()(),t.TgZ(39,"div",38)(40,"p-splitter",39),t.YNc(41,jt,5,6,"ng-template",40),t.YNc(42,Kt,1,3,"ng-template",40),t.qZA()()()(),t.TgZ(43,"div",41)(44,"div",22),t._UZ(45,"div",42),t.TgZ(46,"div",43)(47,"h5"),t.O4$(),t.TgZ(48,"svg",44),t._UZ(49,"path",45),t.qZA(),t._uU(50," Preview Device"),t.qZA()(),t.kcU(),t.TgZ(51,"div",42)(52,"div",46)(53,"button",47),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.onSelectDevice("web"))}),t.O4$(),t.TgZ(54,"svg",48),t._UZ(55,"path",49),t.qZA()(),t.kcU(),t.TgZ(56,"button",47),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.onSelectDevice("tablet"))}),t.O4$(),t.TgZ(57,"svg",50),t._UZ(58,"path",51),t.qZA()(),t.kcU(),t.TgZ(59,"button",47),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.onSelectDevice("mobile"))}),t.O4$(),t.TgZ(60,"svg",52),t._UZ(61,"path",53),t.qZA()()()(),t.kcU(),t.TgZ(62,"div",54)(63,"a",55),t.O4$(),t.TgZ(64,"svg",56),t._UZ(65,"path",57),t.qZA(),t._uU(66," Publish History "),t.qZA()()()()()()}if(2&i){const o=t.MAs(11),e=t.oxw();t.Q6J("formGroup",e.ConfigurationForm),t.xp6(7),t.Q6J("disabled","saving"===e.contentSaving),t.xp6(2),t.Q6J("ngIf","saving"===e.contentSaving||e.ConfigurationForm.invalid)("ngIfElse",o),t.xp6(6),t.Q6J("ngClass",t.VKq(17,D,1===e.step)),t.xp6(5),t.Q6J("ngClass",t.VKq(19,D,2===e.step)),t.xp6(7),t.Q6J("ngClass",t.VKq(21,D,3===e.step)),t.xp6(7),t.Q6J("ngClass",t.VKq(23,D,4===e.step)),t.xp6(6),t.Q6J("panelSizes",t.DdM(25,Wt))("minSizes",t.DdM(26,$t)),t.xp6(13),t.Q6J("ngClass",t.WLB(27,Q,"web"===e.ConfigurationForm.value.CurrentPreviewDevice,"web"!==e.ConfigurationForm.value.CurrentPreviewDevice)),t.xp6(1),t.Q6J("ngStyle",t.VKq(30,E,"web"===e.ConfigurationForm.value.CurrentPreviewDevice?"#ffffff":"#1b365d")),t.xp6(2),t.Q6J("ngClass",t.WLB(32,Q,"tablet"===e.ConfigurationForm.value.CurrentPreviewDevice,"tablet"!==e.ConfigurationForm.value.CurrentPreviewDevice)),t.xp6(1),t.Q6J("ngStyle",t.VKq(35,E,"tablet"===e.ConfigurationForm.value.CurrentPreviewDevice?"#ffffff":"#1b365d")),t.xp6(2),t.Q6J("ngClass",t.WLB(37,Q,"mobile"===e.ConfigurationForm.value.CurrentPreviewDevice,"mobile"!==e.ConfigurationForm.value.CurrentPreviewDevice)),t.xp6(1),t.Q6J("ngStyle",t.VKq(40,E,"mobile"===e.ConfigurationForm.value.CurrentPreviewDevice?"#ffffff":"#1b365d")),t.xp6(3),t.Q6J("queryParams",t.WLB(42,Xt,e.currentManagedOrgID,e.currrentManagedPropID))}}function ee(i,a){1&i&&(t.TgZ(0,"div",183)(1,"h5",184),t._uU(2,"Creating Your Social Fortuna Setup..."),t.qZA(),t.TgZ(3,"div",185)(4,"div",186)(5,"span",187),t._uU(6,"Loading..."),t.qZA()(),t.TgZ(7,"div",188)(8,"span",187),t._uU(9,"Loading..."),t.qZA()(),t.TgZ(10,"div",189)(11,"span",187),t._uU(12,"Loading..."),t.qZA()(),t.TgZ(13,"div",190)(14,"span",187),t._uU(15,"Loading..."),t.qZA()(),t.TgZ(16,"div",191)(17,"span",187),t._uU(18,"Loading..."),t.qZA()(),t.TgZ(19,"div",192)(20,"span",187),t._uU(21,"Loading..."),t.qZA()(),t.TgZ(22,"div",193)(23,"span",187),t._uU(24,"Loading..."),t.qZA()(),t.TgZ(25,"div",194)(26,"span",187),t._uU(27,"Loading..."),t.qZA()()()())}function oe(i,a){if(1&i&&(t.TgZ(0,"alert",197),t._UZ(1,"span",198),t.qZA()),2&i){const o=t.oxw(2);t.Q6J("type",o.alertType)("dismissible",o.dismissible),t.xp6(1),t.Q6J("innerHTML",o.alertMsg,t.oJD)}}const ne=function(i){return{hide:i}};function ie(i,a){if(1&i&&(t.TgZ(0,"div",195),t.YNc(1,oe,2,3,"alert",196),t.qZA()),2&i){const o=t.oxw();t.Q6J("ngClass",t.VKq(2,ne,!o.isOpen)),t.xp6(1),t.Q6J("ngIf",o.isOpen)}}
1const re=function(i,a){return{background:i,opacity:a}};function ae(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"li",199),t.NdJ("click",function(){const n=t.CHM(o),r=n.$implicit,s=n.index,u=t.oxw();return t.KtG(u.onSelectSocialNetwork(r,s))}),t._UZ(1,"span",200),t.ALo(2,"safe"),t.qZA()}if(2&i){const o=a.$implicit,e=t.oxw();t.s9C("tooltip",null==o?null:o.name),t.Q6J("ngStyle",t.WLB(5,re,o.color,e.allowedSocialNetworks.includes(o.name)?"1":".3")),t.xp6(1),t.Q6J("innerHTML",t.lcZ(2,3,o.icon),t.oJD)}}function le(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"p-button",201),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.displayModal=!1)}),t.qZA()}}function se(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"div",202)(1,"button",203),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(null==n.modalRef?null:n.modalRef.hide())}),t.TgZ(2,"span",204),t._uU(3,"\xd7"),t.qZA()(),t.TgZ(4,"div",205)(5,"div",206),t._uU(6," Please ignore if you have already saved the script, otherwise copy and paste the code into header of your website."),t.qZA(),t.TgZ(7,"div",21)(8,"h6",207)(9,"b"),t._uU(10,"Production CDN "),t.qZA()(),t.TgZ(11,"button",208),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.copyToClipboard())}),t._UZ(12,"i",209),t._uU(13),t.qZA()(),t.TgZ(14,"div",210)(15,"p",211)(16,"span")(17,"code",212),t._uU(18,"//Please copy and paste this code into the header for each page on your website(s). It is important that this code be the first script in your document. "),t.qZA()(),t._UZ(19,"br"),t.TgZ(20,"span")(21,"code",213),t._uU(22),t.qZA()(),t.TgZ(23,"span",214),t._uU(24),t.qZA(),t.TgZ(25,"span")(26,"code",213),t._uU(27),t.qZA()(),t._UZ(28,"br"),t.qZA()(),t.TgZ(29,"div",215)(30,"div",216)(31,"h5"),t._uU(32),t.qZA()(),t.TgZ(33,"div",217)(34,"a",218)(35,"div",219),t._UZ(36,"img",220),t.qZA()(),t.TgZ(37,"a",218)(38,"div",221),t._UZ(39,"img",222),t.qZA()(),t.TgZ(40,"a",218)(41,"div",223),t._UZ(42,"img",224),t.qZA()(),t.TgZ(43,"a",218)(44,"div",225),t._UZ(45,"img",226),t.qZA()(),t.TgZ(46,"a",218)(47,"div",227),t._UZ(48,"img",228),t.qZA()(),t.TgZ(49,"a",218)(50,"div",229),t._UZ(51,"img",230),t.qZA()()(),t.TgZ(52,"div",231)(53,"button",232),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.goToDashboard())}),t._UZ(54,"i",233),t._uU(55," Go to Dashboard "),t.qZA(),t.TgZ(56,"button",234),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.goToSetup())}),t._UZ(57,"i",235),t._uU(58," Implementation "),t.qZA()()()()()}if(2&i){const o=t.oxw();t.xp6(13),t.hij(" ",o.isCopied?"Copied":"Copy Script",""),t.xp6(9),t.Oqu(o.addScript),t.xp6(2),t.Oqu(o.scriptUrl),t.xp6(3),t.Oqu(o.closeScript),t.xp6(5),t.hij("How to integrate ",o.portal," scripts to:"),t.xp6(2),t.MGl("href","",o.supportURL,"/help-center/articles/23/25/63/implement-adzapier-applications-on-website-html",t.LSH),t.xp6(3),t.MGl("href","",o.supportURL,"/help-center/articles/23/25/40/adzapiers-cookie-banner-integration-with-wordpress",t.LSH),t.xp6(3),t.MGl("href","",o.supportURL,"/help-center/articles/23/25/44/adzapiers-cookie-banner-integration-with-shopify",t.LSH),t.xp6(3),t.MGl("href","",o.supportURL,"/help-center/articles/23/25/49/adzapiers-cookie-banner-integration-with-squarespace",t.LSH),t.xp6(3),t.MGl("href","",o.supportURL,"/help-center/articles/23/25/47/adzapiers-cookie-banner-integration-with-blogger",t.LSH),t.xp6(3),t.MGl("href","",o.supportURL,"/help-center/articles/23/25/46/adzapiers-cookie-banner-integration-with-bigcommerce",t.LSH)}}function ce(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"div",202)(1,"button",203),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(null==n.modalRef?null:n.modalRef.hide())}),t.TgZ(2,"span",204),t._uU(3,"\xd7"),t.qZA()(),t.TgZ(4,"h5",236),t._uU(5," Are you sure you want to reset to default? "),t.qZA(),t.TgZ(6,"p"),t._uU(7,"This will reset all the user-defined settings, contents, and layouts into the default."),t.qZA(),t.TgZ(8,"button",237),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(null==n.modalRef?null:n.modalRef.hide())}),t._uU(9,"Cancel"),t.qZA(),t.TgZ(10,"button",234),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.onResetEverything())}),t._uU(11,"I Agree"),t.qZA()()}}function pe(i,a){if(1&i&&(t.TgZ(0,"p",246),t._uU(1),t.qZA()),2&i){const o=t.oxw(2).$implicit;t.xp6(1),t.hij(" ",o.message," ")}}function ue(i,a){if(1&i&&(t.TgZ(0,"span"),t.YNc(1,pe,2,1,"p",245),t.qZA()),2&i){const o=t.oxw().$implicit,e=t.oxw().$implicit,n=t.oxw(2);t.xp6(1),t.Q6J("ngIf",n.dynamicForm.controls[e.label].errors[o.name])}}function de(i,a){if(1&i&&(t.TgZ(0,"div"),t.YNc(1,ue,2,1,"span",169),t.qZA()),2&i){const o=t.oxw().$implicit,e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.dynamicForm.controls[o.label].touched&&e.dynamicForm.controls[o.label].errors)}}function ge(i,a){if(1&i&&(t.TgZ(0,"div",243)(1,"label"),t._uU(2),t.qZA(),t._UZ(3,"input",244),t.YNc(4,de,2,1,"div",112),t.qZA()),2&i){const o=a.$implicit;t.xp6(2),t.Oqu(o.label),t.xp6(1),t.Q6J("type",o.type)("formControlName",o.label),t.xp6(1),t.Q6J("ngForOf",o.validations)}}
1function he(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"div",238)(1,"b"),t._uU(2),t.qZA(),t.TgZ(3,"button",203),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.onCanceladdfield())}),t.TgZ(4,"span",204),t._uU(5,"\xd7"),t.qZA()()(),t.TgZ(6,"div",239)(7,"form",240),t.YNc(8,ge,5,4,"div",241),t.TgZ(9,"button",242),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.onsubmit())}),t._uU(10,"Submit"),t.qZA()()()}if(2&i){const o=t.oxw();t.xp6(2),t.Oqu(o.objects[0].name),t.xp6(5),t.Q6J("formGroup",o.dynamicForm),t.xp6(1),t.Q6J("ngForOf",o.fields),t.xp6(1),t.Q6J("disabled",!o.dynamicForm.valid)}}const _e=function(i){return{display:i}},me=function(){return{width:"50vw"}};let fe=(()=>{const a=class{constructor(e,n,r,s,u,h,w,x,S,Z,q){this.formBuilder=e,this.modalService=n,this.cd=r,this.SocialFortunaServices=s,this.loading=u,this.titleService=h,this.activatedRouter=w,this.dataService=x,this.router=S,this.location=Z,this.userService=q,this.step=1,this.contentSaving="",this.customerBrandLogo=null,this.showInput=0,this.submitted=!1,this.publishing=!1,this.dismissible=!0,this.isEdit=!1,this.isOpen=!1,this.allSocialIcons=F.e,this.allowedSocialNetworks=["facebook","linkedin","skype","twitter","google-plus"],this.publishType="",this.isFormUpdate=!1,this.disablePlanFeatures={isAllowedBadge:!1},this.addScript='<script type="application/javascript" src="',this.closeScript='"><\/script>',this.isCopied=!1,this.fields=[],this.objects=[],this.portal=_.N.portalPrefix,this.supportURL=_.N.supportPortalURL}ngOnInit(){this.activatedRouter.queryParams.subscribe(e=>{let n=e.oid,r=e.pid;null!=this.currentManagedOrgID&&(this.currentManagedOrgID!=n||this.currrentManagedPropID!=r)&&(this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.navigateByUrl(this.router.url)),this.currentManagedOrgID=n,this.currrentManagedPropID=r}),null==this.currentManagedOrgID&&null==this.currrentManagedPropID&&this.getOIDPIDFromURL(),this.titleService.setTitle("Social Fortuna Configuration - "+_.N.portalPrefix),this.formInIt(),this.dataService.isSubscriptionExistForSocialFortuna()||this.onGetSocialFortunaConfiguration(),this.userService.getLoggedInUserData.pipe((0,H.g)(1e3)).subscribe(e=>{null!==e&&(this.userRole=e.response.role)})}formInIt(){this.ConfigurationForm=this.formBuilder.group({Position:["left"],MobilePosition:["bottom"],ShowCount:[!0],ShowWaterMark:[!0],MinCountDisplay:[""],DisplayOnDesktop:[!0],DisplayOnMobile:[!0],FollowOnHome:[!1],IconsCircle:!0,IconsRadius:[10],IconMargin:[5],IconWidth:[26],IconHeight:[26],EdgeMargin:[0],MobileIconsCircle:!0,MobileIconsRadius:[10],MobileIconWidth:[26],MobileIconHeight:[26],MobileIconPadding:[1],Z_Index:[9999999],CurrentPreviewDevice:["web"],FollowUrls:this.formBuilder.array([]),IgnoreUrls:this.formBuilder.array([]),AllowUrls:this.formBuilder.array([]),CustomCss:[""],IconLimit:[5]}),this.ConfigurationForm.valueChanges.pipe((0,Y.U)(e=>e),(0,B.b)(2e3)).subscribe(e=>{this.BundlePayloadChange()}),this.allowedSocialNetworks=[];for(const e of F.e)this.followUrls.length<7&&this.allowedSocialNetworks.length<7&&(this.followUrls.push(this.newFollowUrl(e)),this.allowedSocialNetworks.push(e.name))}get formArr(){return this.ConfigurationForm.get("AllowUrls")}initItemRows(){return this.formBuilder.group({allowurl:["",g.kI.required],type:["follow",g.kI.required]})}addNewRow(){this.formArr.push(this.initItemRows())}deleteRow(e){this.formArr.removeAt(e)}get ignoreUrls(){return this.ConfigurationForm.get("IgnoreUrls")}get allowUrls(){return this.ConfigurationForm.get("AllowUrls")}addIngnoreURl(){this.ignoreUrls.push(this.formBuilder.control("",[g.kI.required]))}removeIngnoreURl(e){this.ignoreUrls.removeAt(e)}addAllowURl(){this.allowUrls.push(this.formBuilder.control("",[g.kI.required]))}removeAllowURl(e){this.allowUrls.removeAt(e)}ngAfterViewInit(){this.planDetails=this.dataService.getCurrentPropertyPlanDetails();const e=this.dataService.isAllowFeatureByYes(this.planDetails.response,L.f.SOCIAL_FORTUNA_BADGE);this.disablePlanFeatures={isAllowedBadge:!e},this.cd.detectChanges()}onCheckFeatureAvailableInThisPlan(){this.disablePlanFeatures.isAllowedBadge&&this.dataService.openUpgradeModalForSocialFortuna(this.planDetails)}get followUrls(){return this.ConfigurationForm.get("FollowUrls")}onGetSocialFortunaConfiguration(){this.loading.start(),this.SocialFortunaServices.onGetSocialFortunaData(this.constructor.name,T.e.consentPreferenceNewsLetter,this.currentManagedOrgID,this.currrentManagedPropID).subscribe(e=>{this.loading.stop(),null!==e&&e?.response.hasOwnProperty("configuration")?(this.isFormUpdate=!0,this.onSetSavedConfig(e.response)):this.BundlePayloadChange()},e=>{this.isOpen=!0,this.alertMsg=e,this.alertType="danger",this.loading.stop()})}onResetEverything(){if("View Only"!==this.userRole){this.allowedSocialNetworks=[],this.followUrls.clear();for(const e of F.e)this.followUrls.length<7&&this.allowedSocialNetworks.length<7&&(this.followUrls.push(this.newFollowUrl(e)),this.allowedSocialNetworks.push(e.name));this.ignoreUrls.clear(),this.allowUrls.clear(),this.ConfigurationForm.patchValue({Position:"left",MobilePosition:"bottom",ShowCount:!0,ShowWaterMark:!0,MinCountDisplay:"",DisplayOnDesktop:!0,DisplayOnMobile:!0,FollowOnHome:!1,IconsCircle:!0,IconsRadius:10,IconMargin:5,IconWidth:26,IconHeight:26,EdgeMargin:0,MobileIconsCircle:!0,MobileIconsRadius:10,MobileIconWidth:26,MobileIconHeight:26,MobileIconPadding:1,Z_Index:9999999,CurrentPreviewDevice:"web",CustomCss:[""],IconLimit:5}),this.modalRef.hide()}else this.modalRef.hide(),this.dataService.openUnAuthModal.next({isTrue:!0,error:"User is not authorized to access this functionality."})}copyToClipboard(){this.isCopied=!0;const e=this.addScript+this.scriptUrl+this.closeScript;let n=null;n=document.createElement("textarea"),n.style.height="0px",n.style.left="-100px",n.style.opacity="0",n.style.position="fixed",n.style.top="-100px",n.style.width="0px",document.body.appendChild(n),n.value=e.trim(),n.select(),document.execCommand("copy")}onSetSavedConfig(e){const n=e.configuration;this.followUrls.clear(),this.ignoreUrls.clear(),this.allowUrls.clear(),this.ConfigurationForm.patchValue({MobilePosition:n?.MobilePosition,Position:n?.Position,ShowCount:n?.ShowCount,MinCountDisplay:n?.MinCountDisplay,DisplayOnDesktop:n?.DisplayOnDesktop,DisplayOnMobile:n?.DisplayOnMobile,FollowOnHome:n?.FollowOnHome,IconsCircle:!!n.hasOwnProperty("IconsCircle")&&n?.IconsCircle,IconsRadius:n.hasOwnProperty("IconsRadius")?n?.IconsRadius:10,IconMargin:n.hasOwnProperty("IconMargin")?n?.IconMargin:0,IconWidth:n.hasOwnProperty("IconWidth")?n?.IconWidth:26,IconHeight:n.hasOwnProperty("IconHeight")?n?.IconHeight:26,EdgeMargin:n.hasOwnProperty("EdgeMargin")?n?.EdgeMargin:0,MobileIconsCircle:!!n.hasOwnProperty("MobileIconsCircle")&&n?.MobileIconsCircle,MobileIconsRadius:n.hasOwnProperty("MobileIconsRadius")?n?.MobileIconsRadius:10,MobileIconWidth:n.hasOwnProperty("MobileIconWidth")?n?.MobileIconWidth:26,MobileIconHeight:n.hasOwnProperty("MobileIconHeight")?n?.MobileIconHeight:26,MobileIconPadding:n.hasOwnProperty("MobileIconPadding")?n?.MobileIconPadding:1,Z_Index:n.hasOwnProperty("Z_Index")?n?.Z_Index:9999999,ShowWaterMark:n?.ShowWaterMark,CustomCss:n.hasOwnProperty("CustomCss")?n?.CustomCss:"",IconLimit:n.hasOwnProperty("IconLimit")?n?.IconLimit:5});for(const r in n?.FollowUrls){this.followUrls.push(this.updateFollowUrl(n?.FollowUrls[r]));const s=n?.FollowUrls[r],u=this.ConfigurationForm.get("FollowUrls").at(Number(r));"follow"===s.type?u.get("url").setValidators([g.kI.required]):u.get("url").setValidators([]),u.get("url").updateV
1alueAndValidity()}if(this.allowedSocialNetworks=n?.AllowedSocialNetworks,void 0!==n&&void 0!==n.IgnoreUrls)for(const r of n?.IgnoreUrls)this.ignoreUrls.push(this.formBuilder.control(r,[g.kI.required]));if(void 0!==n&&void 0!==n.AllowUrls)for(const r of n?.AllowUrls)this.allowUrls.push(this.formBuilder.group({allowurl:[r.allowurl,g.kI.required],type:[r.type,g.kI.required]}));this.cd.detectChanges()}updateFollowUrl(e){return this.formBuilder.group({name:e.name,color:e.color,icon:e.icon,type:[e.type],share:e.share,follow:e.follow,url:[e.url],fields:e.fields})}newFollowUrl(e){return e.share&&e.follow?this.formBuilder.group({name:e.name,color:e.color,icon:e.icon,type:["share"],share:e.share,follow:e.follow,url:[""],fields:e.fields}):!e.share&&e.follow?this.formBuilder.group({name:e.name,color:e.color,icon:e.icon,type:["follow"],share:e.share,follow:e.follow,url:["",[g.kI.required]]}):e.share&&!e.follow?this.formBuilder.group({name:e.name,color:e.color,icon:e.icon,share:e.share,follow:e.follow,type:["share"],url:[""],fields:e.fields}):void 0}open(e){if(this.inx>-1)this.Config({name:e.name,color:e.color,icon:e.icon,share:e.share,follow:e.follow,link:e.link,fields:e.fields});else{this.displayModal=!1,this.objects=[],this.fields=[],this.objects.push(e);const n={};for(const r of this.objects)r.fields.forEach(s=>{this.fields.push(s);const u=[];s.validations.forEach(h=>{"required"===h.name&&u.push(g.kI.required),"pattern"===h.name&&u.push(g.kI.pattern(h.validator))}),n[s.label]=new g.NI("",u)});this.dynamicForm=new g.cw(n),this.openModalone(this.formModal)}}onsubmit(){const e={name:this.objects[0].name,color:this.objects[0].color,icon:this.objects[0].icon,share:this.objects[0].share,follow:this.objects[0].follow,link:this.objects[0].link,fields:this.dynamicForm.value};this.modalRef.hide(),this.Config(e)}Config(e){if(this.inx>-1){if(1===this.allowedSocialNetworks.length)return alert("Atleast one social network should be activate"),!1;this.followUrls.removeAt(this.inx),this.allowedSocialNetworks.splice(this.inx,1)}else this.followUrls.push(this.newFollowUrl(e)),this.allowedSocialNetworks.push(e.name);const n=[];this.allowedSocialNetworks.forEach(s=>{n.includes(s)||n.push(s)});const r=this.getUniqueListBy(this.ConfigurationForm.value.FollowUrls,"name");this.allowedSocialNetworks=n,this.ConfigurationForm.patchValue({FollowUrls:r})}onCanceladdfield(){this.modalRef.hide(),this.displayModal=!0}openModalone(e){this.modalRef=this.modalService.show(e,{class:"modal-md",animated:!1,keyboard:!1,ignoreBackdropClick:!0})}onSelectSocialNetwork(e,n){const r=this.allowedSocialNetworks.indexOf(e.name);if(this.inx=this.allowedSocialNetworks.indexOf(e.name),e.hasOwnProperty("fields"))this.open(e);else{if(r>-1){if(1===this.allowedSocialNetworks.length)return alert("Atleast one social network should be activate"),!1;this.followUrls.removeAt(r),this.allowedSocialNetworks.splice(r,1)}else this.followUrls.push(this.newFollowUrl(e)),this.allowedSocialNetworks.push(e.name);const s=[];this.allowedSocialNetworks.forEach(h=>{s.includes(h)||s.push(h)});const u=this.getUniqueListBy(this.ConfigurationForm.value.FollowUrls,"name");this.allowedSocialNetworks=s,this.ConfigurationForm.patchValue({FollowUrls:u})}}getUniqueListBy(e,n){return[...new Map(e.map(r=>[r[n],r])).values()]}onSelectAction(e){if("share"===e)this.ConfigurationForm.removeControl("FollowUrls");else{this.ConfigurationForm.addControl("FollowUrls",this.formBuilder.array([]));for(const n of this.allowedSocialNetworks)this.followUrls.push(this.newFollowUrl(n))}}onSubmit(){if(this.submitted=!0,this.ConfigurationForm.invalid)return this.ConfigurationForm.controls.FollowUrls.invalid&&(this.step=3,setTimeout(()=>{const e=this.ConfigurationForm.get("FollowUrls").controls.findIndex(n=>n.invalid);document.getElementById("url"+e).scrollIntoView({behavior:"smooth"})},800)),void((this.ConfigurationForm.controls.IgnoreUrls.invalid||this.ConfigurationForm.controls.AllowUrls.invalid)&&this.ConfigurationForm.controls.FollowUrls.valid&&(this.step=4));this.isFormUpdate?this.onUpdateForm():this.onCreateForm()}onCreateForm(){const e={...this.ConfigurationForm.value};e.AllowedSocialNetworks=this.allowedSocialNetworks;const n={configuration:e};"draft"===this.publishType?this.loading.start():this.publishing=!0,this.SocialFortunaServices.onSubmitSocialFortunaData(n,this.publishType,this.constructor.name,T.e.socialFortuna,this.currentManagedOrgID,this.currrentManagedPropID).subscribe(r=>{this.ConfigurationForm.markAsPristine(),this.loading.stop(),this.isOpen=!0,this.alertMsg=r.response,this.alertType="success",this.publishing=!1,this.scriptUrl="https://"+r.JSPath,setTimeout(()=>{this.isOpen=!1},4e3),this.isFormUpdate=!0,"publish"===this.publishType&&(this.isCopied=!1,this.openModal(this.publishModal))},r=>{this.isOpen=!0,this.alertMsg=r.error,this.alertType="danger",this.loading.stop(),setTimeout(()=>{this.isOpen=!1},4e3),this.publishing=!1})}openModal(e){this.modalRef=this.modalService.show(e,{class:"setup-modal modal-lg",animated:!1,keyboard:!1,ignoreBackdropClick:!0})}addition(e){e<10&&(this.ConfigurationForm.value.IconLimit++,this.ConfigurationForm.patchValue({IconLimit:this.ConfigurationForm.value.IconLimit}))}substract(e){e>1&&(this.ConfigurationForm.value.IconLimit--,this.ConfigurationForm.patchValue({IconLimit:this.ConfigurationForm.value.IconLimit}))}onUpdateForm(){const e={...this.ConfigurationForm.value};e.AllowedSocialNetworks=this.allowedSocialNetworks;const n={configuration:e};"draft"===this.publishType?this.loading.start():this.publishing=!0,this.SocialFortunaServices.onUpdateSocialFortunaData(n,this.publishType,this.constructor.name,T.e.socialFortuna,this.currentManagedOrgID,this.currrentManagedPropID).subscribe(r=>{this.ConfigurationForm.markAsPristine(),this.loading.stop(),this.isOpen=!0,this.alertMsg=r.response,this.alertType="success",this.publishing=!1,this.scriptUrl="https://"+r.JSPath,setTimeout(()=>{this.isOpen=!1},4e3),this.onGetSocialFortunaConfiguration(),"publish"===this.publishType&&(this.isCopied=!1,this.openModal(this.publishModal))},r=>{this.isOpen=!0,this.alertMsg=r,this.alertType="danger",setTimeout(()=>{this.isOpen=!1},4e3),this.loading.stop(),this.publishing=!1})}onNavigate(){"follow"===this.ConfigurationForm.value.ActionType&&(this.step=3)}onSetLocation(e){this.ConfigurationForm.patchValue({Position:e})}onSetLocationMobile(e){this.ConfigurationForm.patchValue({MobilePosition:e})}drop(e){const n=this.ConfigurationForm.value.FollowUrls;(0,y.bA)(n,e.previousIndex,e.currentIndex),(0,y.bA)(this.allowedSocialNetworks,e.previousIndex,e.currentIndex),(0,y.bA)(this.allSocialIcons,e.previousIndex,e.currentIndex),this.ConfigurationForm.patchValue({FollowUrls:n})}goToDashboard(){this.router.navigate(["/social-fortuna/dashboard"],{queryParams:{oid:this.currentManagedOrgID,pid:this.currrentManagedPropID}}),this.modalRef.hide()}goToSetup(){this.router.navigate(["/social-fortuna/setup"],{queryParams:{oid:this.currentManagedOrgID,pid:this.currrentManagedPropID}}),this.modalRef.hide()}onUpdateEventType(e,n){const r=this.ConfigurationForm.get("FollowUrls").at(e);r.patchValue({type:n}),"follow"===n?r.get("url").setValidators([g.kI.required]):r.get("url").setValidators([]),r.get("url").updateV
1alueAndValidity()}showModalDialog(){this.displayModal=!0}onSelectDevice(e){this.ConfigurationForm.patchValue({CurrentPreviewDevice:e}),this.cd.detectChanges()}BundlePayloadChange(){let e=_.N.socialFortunaEndPoint.replace(":pid",this.currrentManagedPropID);e=e.replace(":oid",this.currentManagedOrgID),this.BundlePayload={Configuration:{...this.ConfigurationForm.value,AllowedSocialNetworks:this.allowedSocialNetworks},PropId:this.currrentManagedPropID,OrgId:this.currentManagedOrgID,LokiConfiguration:{app:_.N.lokiConfig.app,env:_.N.lokiConfig.env},EnvConfig:{ApiBaseUrl:_.N.apiUrl,EndPoint:e,Env:_.N.lokiConfig.env},LivePreview:!0}}getOIDPIDFromURL(){if(-1!==this.location.path().indexOf("oid")){let e=(0,A.Dq)(this.location.path());null!=e&&(this.currentManagedOrgID=e[0],this.currrentManagedPropID=e[1])}}};let i=a;return a.\u0275fac=function(n){return new(n||a)(t.Y36(g.QS),t.Y36(m.tT),t.Y36(t.sBO),t.Y36(c.Z),t.Y36(d.LA),t.Y36(b.Dx),t.Y36(f.gz),t.Y36(U.D),t.Y36(f.F0),t.Y36(l.Ye),t.Y36(v.KD))},a.\u0275cmp=t.Xpm({type:a,selectors:[["app-social-fortuna-config"]],viewQuery:function(n,r){if(1&n&&(t.Gf(_t,7),t.Gf(mt,7)),2&n){let s;t.iGM(s=t.CRH())&&(r.publishModal=s.first),t.iGM(s=t.CRH())&&(r.formModal=s.first)}},decls:27,vars:16,consts:[["appTheme","",1,"container-fluid",3,"ngStyle"],[1,"col-md-12","ml-4"],[1,"d-sm-flex","align-items-center","justify-content-between"],["aria-label","breadcrumb",1,"bredcrub-row",2,"margin-left","-14px"],[1,"breadcrumb","breadcrumb-style1","mg-b-10"],[1,"breadcrumb-item"],[1,"breadcrumb-item","active"],[3,"formGroup","ngSubmit",4,"ngIf"],["class","w-100 card mt-3 publish-loader",4,"ngIf"],["class","col-sm-5 mr-0 float-right flotingdiv",3,"ngClass",4,"ngIf"],["header","Add More Networks",3,"visible","visibleChange"],["pInput","","type","text","name","search","autocomplete","off","placeholder","Search for social network",1,"form-control","mb-2","mt-2",3,"ngModel","ngModelChange"],[1,"icon-list"],["cdkDrag","","class","mr-2 mb-2 svg-icon",3,"tooltip","ngStyle","click",4,"ngFor","ngForOf"],[1,"mt-3","tx-12"],["pTemplate","footer"],["publish",""],["resetConfig",""],["formmodal",""],[3,"formGroup","ngSubmit"],[1,"card"],[1,"card-header"],[1,"row"],[1,"main-heading","col-md-4","pt-1","pl-4"],[1,"col-md-8","pl-0","text-right"],["pButton","","pRipple","","type","button","label","Reset to Default",1,"p-button-secondary","action-btn","mr-2",3,"disabled","click"],["pButton","","pRipple","","type","submit","label","Save","tooltip","Any changes you make to the configuration will be reflected after it is published again.","placement","left",1,"p-button-warning","action-btn","mr-2",3,"click"],["class","action-btn p-ripple p-button p-component publish-disabled","tooltip","Please be sure to fill out all mandatory fields on all tabs.","placement","left",4,"ngIf","ngIfElse"],["actBtn",""],[1,"card-body","pb-0","pt-0","pl-3"],[1,"col-md-1","p-0",2,"background","#eaf1fe"],[1,"d-flex","step-bg","pt-2","pb-0","flex-column",3,"ngClass","click"],[1,"mb-2","p-0","text-center"],[1,"fas","fa-cogs","tx-35"],[1,"p-0","mb-2","text-center","tx-14","font-weight-bold"],["name","share"],["name","link"],["name","users"],[1,"col-md-11","p-0"],["stateStorage","session","styleClass","p-mb-5",3,"panelSizes","minSizes"],["pTemplate",""],[1,"card-body","p-1"],[1,"col-md-4"],[1,"col-md-2","preview-div"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 576 512",2,"height","25px"],["d","M279.6 160.4C282.4 160.1 285.2 160 288 160C341 160 384 202.1 384 256C384 309 341 352 288 352C234.1 352 192 309 192 256C192 253.2 192.1 250.4 192.4 247.6C201.7 252.1 212.5 256 224 256C259.3 256 288 227.3 288 192C288 180.5 284.1 169.7 279.6 160.4zM480.6 112.6C527.4 156 558.7 207.1 573.5 243.7C576.8 251.6 576.8 260.4 573.5 268.3C558.7 304 527.4 355.1 480.6 399.4C433.5 443.2 368.8 480 288 480C207.2 480 142.5 443.2 95.42 399.4C48.62 355.1 17.34 304 2.461 268.3C-.8205 260.4-.8205 251.6 2.461 243.7C17.34 207.1 48.62 156 95.42 112.6C142.5 68.84 207.2 32 288 32C368.8 32 433.5 68.84 480.6 112.6V112.6zM288 112C208.5 112 144 176.5 144 256C144 335.5 208.5 400 288 400C367.5 400 432 335.5 432 256C432 176.5 367.5 112 288 112z"],[1,"btn-group"],["type","button",1,"btn",3,"ngClass","click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 576 512",3,"ngStyle"],["d","M528 0h-480C21.5 0 0 21.5 0 48v320C0 394.5 21.5 416 48 416h192L224 464H152C138.8 464 128 474.8 128 488S138.8 512 152 512h272c13.25 0 24-10.75 24-24s-10.75-24-24-24H352L336 416h192c26.5 0 48-21.5 48-48v-320C576 21.5 554.5 0 528 0zM512 288H64V64h448V288z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512",3,"ngStyle"],["d","M384 .0001H64c-35.35 0-64 28.65-64 64v384c0 35.35 28.65 63.1 64 63.1h320c35.35 0 64-28.65 64-63.1v-384C448 28.65 419.3 .0001 384 .0001zM224 480c-17.75 0-32-14.25-32-32
1s14.25-32 32-32s32 14.25 32 32S241.8 480 224 480zM384 384H64v-320h320V384z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 384 512",3,"ngStyle"],["d","M304 0h-224c-35.35 0-64 28.65-64 64v384c0 35.35 28.65 64 64 64h224c35.35 0 64-28.65 64-64V64C368 28.65 339.3 0 304 0zM192 480c-17.75 0-32-14.25-32-32s14.25-32 32-32s32 14.25 32 32S209.8 480 192 480zM304 64v320h-224V64H304z"],[1,"col-md-2"],["routerLink","/social-fortuna/configuration/history",1,"btn","btn-link","float-right",3,"queryParams"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512",2,"fill","var(--side-nav-org)"],["d","M256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C201.7 512 151.2 495 109.7 466.1C95.2 455.1 91.64 436 101.8 421.5C111.9 407 131.8 403.5 146.3 413.6C177.4 435.3 215.2 448 256 448C362 448 448 362 448 256C448 149.1 362 64 256 64C202.1 64 155 85.46 120.2 120.2L151 151C166.1 166.1 155.4 192 134.1 192H24C10.75 192 0 181.3 0 168V57.94C0 36.56 25.85 25.85 40.97 40.97L74.98 74.98C121.3 28.69 185.3 0 255.1 0L256 0zM256 128C269.3 128 280 138.7 280 152V246.1L344.1 311C354.3 320.4 354.3 335.6 344.1 344.1C335.6 354.3 320.4 354.3 311 344.1L239 272.1C234.5 268.5 232 262.4 232 256V152C232 138.7 242.7 128 256 128V128z"],["tooltip","Please be sure to fill out all mandatory fields on all tabs.","placement","left",1,"action-btn","p-ripple","p-button","p-component","publish-disabled"],["pButton","","pRipple","","type","submit","label","Publish",1,"action-btn",3,"disabled","click"],["class","general step-1",4,"ngIf"],["class","Social-share step-2 pl-1 pr-1","style","margin-bottom: 50px;",4,"ngIf"],["class","Follow-urls step-3 pl-1 pr-1","id","step-3",4,"ngIf"],["class","behaviour step-4",4,"ngIf"],[1,"general","step-1"],[1,"allow-regulations","mt-3"],["align","left","type","dashed"],[1,"banner-box-type","ml-4"],[1,"tx-15"],["tooltip","Select to see the preview",1,"col-md-4","mb-4","cursor-pointer",3,"click"],["class","fas fa-check-circle banner-types",4,"ngIf"],[1,"w-100",2,"height","45px",3,"src"],[2,"height","45px","width","35px",3,"src"],[2,"height","45px",3,"ngStyle","src"],[1,""],[1,"advanced-config","ml-3"],[1,"row","mt-3"],[1,"col-md-8"],[1,"mb-0","input-label","pt-2"],["name","info","tooltip","If disabled, Social Media Icons will not show on the desktop.",1,"feather-16"],["formControlName","DisplayOnDesktop"],["name","info","tooltip","If disabled, Social Media Icons will not display on mobile.",1,"feather-16"],["formControlName","DisplayOnMobile"],["name","info",1,"feather-16",3,"tooltip"],["formControlName","ShowWaterMark"],[1,"row","mt-2"],["type","text","pInputText","","formControlName","Z_Index",1,"p-inputtext-sm"],["name","info","tooltip","If disabled, Social Media Icons will be displayed in square form.",1,"feather-16"],["formControlName","IconsCircle"],[1,"col-md-6"],[1,"pr-1","d-flex"],["pButton","","type","button","icon","pi pi-minus",1,"p-button-sm",2,"border-radius","3px 0px 0px 3px","font-size","11px","background-color","var(--user-preference)","color","white",3,"disabled","click"],["disabled","","formControlName","IconLimit","type","text","id","sel1","required","","pattern","^[1-9][0-9]*$","oninput","if(!this.value.match('^[1-9][0-9]*$'))this.value='';",2,"width","40px","text-align","center"],["pButton","","type","button","icon","pi pi-plus",1,"p-button-sm",2,"border-radius","0px 3px 3px 0px","font-size","11px","background-color","var(--user-preference)","color","white",3,"disabled","click"],["class","row mt-2",4,"ngIf"],["type","text","pInputText","","formControlName","IconMargin",1,"p-inputtext-sm"],["type","text","pInputText","","formControlName","IconWidth",1,"p-inputtext-sm"],["type","text","pInputText","","formControlName","IconHeight",1,"p-inputtext-sm"],["type","text","pInputText","","formControlName","EdgeMargin",1,"p-inputtext-sm"],["formControlName","MobileIconsCircle"],["type","text","pInputText","","formControlName","MobileIconWidth",1,"p-inputtext-sm"],["type","text","pInputText","","formControlName","MobileIconHeight",1,"p-inputtext-sm"],["type","text","pInputText","","formControlName","MobileIconPadding",1,"p-inputtext-sm"],[1,"customer-logo","ml-2"],[1,"col-md-12"],["formControlName","CustomCss","rows","5","cols","30"],[1,"fas","fa-check-circle","banner-types"],["type","text","pInputText","","formControlName","IconsRadius",1,"p-inputtext-sm"],["type","text","pInputText","","formControlName","MobileIconsRadius",1,"p-inputtext-sm"],[1,"Social-share","step-2","pl-1","pr-1",2,"margin-bottom","50px"],[1,"mt-3"],["cdkDropList","",3,"cdkDropListDropped"],[4,"ngFor","ngForOf"],[1,"add-social-market","text-center","add-network-btn"],["type","button",1,"btn","btn-primary","pl-5","pr-5",2,"background","var(--side-nav-org)",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512",2,"fill","#ffffff","height","20px"],["d","M432 256c0 17.69-14.33 32.01-32 32.01H256v144c0 17.69-14.33 31.99-32 31.99s-32-14.3-32-31.99v-144H48c-17.67 0-32-14.32-32-32.01s14.33-31.99 32-31.99H192v-144c0-17.69 14.33-32.01 32-32.01s32 14.32 32 32.01v144h144C417.7 224 432 238.3 432 256z"],["cdkDrag","","style","width: 300px","class","card ml-2 mb-2",4,"ngIf"],["cdkDrag","",1,"card","ml-2","mb-2",2,"width","300px"],[1,"card-body","row","p-0"],["cdkDragHandle","",1,"drag-drop","col-md-2",2,"cursor","move"],["tooltip","Drag to move",1,"fas","fa-grip-vertical"],[1,"svg-icon","col-md-2",2,"width","40px",3,"innerHTML","ngStyle"],[1,"network-text","text-capitalize","col-md-4","pl-3"],["tooltip","Remove the network",1,"col-md-4","close-btn-div","float-right","cursor-pointer",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 320 512",2,"fill","darkred","height","20px"],["d","M310.6 361.4c12.5 12.5 12.5 32.75 0 45.25C304.4 412.9 296.2 416 288 416s-16.38-3.125-22.62-9.375L160 301.3L54.63 406.6C48.38 412.9 40.19 416 32 416S15.63 412.9 9.375 406.6c-12.5-12.5-12.5-32.75 0-45.25l105.4-105.4L9.375 150.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L160 210.8l105.4-105.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-105.4 105.4L310.6 361.4z"],["id","step-3",1,"Follow-urls","step-3","pl-1","pr-1"],["name","info","tooltip","Visitors can share the URL of your website if you choose Share, and they can follow your social media accounts if you choose Follow. You must provide the Username of your social media account for Follow.","placement","bottom",1,"feather-16"],["formArrayName","FollowUrls"],[3,"formGroupName"],["class","row mb-1 ml-1",4,"ngIf"],[1,"row","mb-1","ml-1"],[1,"mb-0","input-label","pt-2",2,"text-transform","capitalize"],[1,"col-md-4","network-text","p-0"],["role","group","aria-label","Follow Type",1,"btn-group"],["placement","right",3,"tooltip"],["type","button","tooltip","Share",1,"btn","btn-sm",3,"disabled","ngClass","click"],[1,"pi","pi-share-alt"],["type","button","tooltip","Follow",1,"btn","btn-sm",3,"disabled","ngClass","click"],[1,"pi","pi-user"],[1,"col-md-8","network-group"],["for","inlineFormInputGroup",1,"sr-only"],["class","input-group mb-0","style","margin-top:3px;",4,"ngIf"],["class","text-danger tx-9 font-weight-bold mb-0",4,"ngIf"],[1,"input-group","mb-0",2,"margin-top","3px"],[1,"input-group-prepend"],[1,"input-group-text",2,"padding-top","0px","padding-bottom","2px"],["formControlName","url","type","text","id","inlineFormInputGroup","placeholder","Username",1,"form-control","input-sm",3,"id"],[1,"text-danger","tx-9","font-weight-bold","mb-0"],[1,"behaviour","step-4"],[1,"mt-3","pl-2"],["name","info","tooltip","If disabled, follow can be performed on each page of the website.",1,"feather-16"],[1,"col-md-4",3,"tooltip"],["formControlName","FollowOnHome",3,"disabled"],["formArrayName","IgnoreUrls",1,"pr-2"],["class","row",4,"ngIf"],["formArrayName","AllowUrls",1,"col-sm-12","table-responsive"],["style","display:flex;flex-direction:column;",3,"formGroupName",4,"ngFor","ngForOf"],[1,"alert","alert-info","tx-11","mt-5","mr-1","ml-1","text-align-left"],["target","_blank",1,"alert-link",2,"color","#0168fa",3,"href"],["type","text","pInputText","","placeholder","Ex: /about-us",1,"p-inputtext-md","w-100",3,"id","formControlName"],["class","text-danger mt-1",4,"ngIf"],[1,"float-right","pt-1","pb-1","text-right","w-100"],["class","pr-2",3,"click",4,"ngIf"],[3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512",2,"fill","darkred","height","20px","cursor","pointer"],["d","M384 32C419.3 32 448 60.65 448 96V416C448 451.3 419.3 480 384 480H64C28.65 480 0 451.3 0 416V96C0 60.65 28.65 32 64 32H384zM136 232C122.7 232 112 242.7 112 256C112 269.3 122.7 280 136 28
10H312C325.3 280 336 269.3 336 256C336 242.7 325.3 232 312 232H136z"],[1,"text-danger","mt-1"],[4,"ngIf"],[1,"pr-2",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 448 512",2,"fill","green","height","20px","cursor","pointer"],["d","M384 32C419.3 32 448 60.65 448 96V416C448 451.3 419.3 480 384 480H64C28.65 480 0 451.3 0 416V96C0 60.65 28.65 32 64 32H384zM224 368C237.3 368 248 357.3 248 344V280H312C325.3 280 336 269.3 336 256C336 242.7 325.3 232 312 232H248V168C248 154.7 237.3 144 224 144C210.7 144 200 154.7 200 168V232H136C122.7 232 112 242.7 112 256C112 269.3 122.7 280 136 280H200V344C200 357.3 210.7 368 224 368z"],["type","button",1,"btn","btn-sm","btn-primary",2,"width","200px","margin-left","30px",3,"click"],[2,"display","flex","flex-direction","column",3,"formGroupName"],[2,"white-space","nowrap","border","none"],["placeholder","Ex: /about-us","formControlName","allowurl",1,"form-control",3,"id","ngClass"],["formControlName","type",1,"form-control",3,"id"],["value","share/follow"],["value","share",3,"disabled"],["value","follow",3,"disabled"],["type","button",1,"btn","btn-sm","btn-primary",2,"width","200px","margin-left","30px",3,"title","disabled","click"],[2,"width","100%",3,"allowedSocialNetworks","BundlePayload","ConfigurationForm"],[1,"w-100","card","mt-3","publish-loader"],[1,"text-center"],[1,"loading","text-center"],["role","status",1,"spinner-grow","text-primary"],[1,"sr-only"],["role","status",1,"spinner-grow","text-secondary"],["role","status",1,"spinner-grow","text-success"],["role","status",1,"spinner-grow","text-danger"],["role","status",1,"spinner-grow","text-warning"],["role","status",1,"spinner-grow","text-info"],["role","status",1,"spinner-grow","text-light"],["role","status",1,"spinner-grow","text-dark"],[1,"col-sm-5","mr-0","float-right","flotingdiv",3,"ngClass"],["dismissOnTimeout","5000",3,"type","dismissible",4,"ngIf"],["dismissOnTimeout","5000",3,"type","dismissible"],[3,"innerHTML"],["cdkDrag","",1,"mr-2","mb-2","svg-icon",3,"tooltip","ngStyle","click"],["cdkDragHandle","",3,"innerHTML"],["type","button","icon","pi pi-check","label","Ok","styleClass","p-button-primary",3,"click"],["appTheme","",1,"modal-body","text-center"],["type","button","aria-label","Close",1,"btn-close","close","pull-right",3,"click"],["aria-hidden","true",1,"visually-hidden"],[1,"card","mt-3"],[1,"alert","alert-info","ccpa-status-text","mt-1","mr-1","ml-1"],[2,"float","left"],["type","button",1,"pull-right","btn-sm","btn","btn-primary",2,"float","right",3,"click"],["aria-hidden","true",1,"mr-1","fa","fa-clipboard"],[1,"card-body",2,"background","#282a36"],[1,"text-danger","codeText"],[2,"color","rgb(116, 116, 116)"],[2,"color","#8be9fd"],[2,"color","#fff","font-size","16px"],[1,"card-footer"],[2,"justify-content","center","display","flex"],[1,"platform-list","d-flex","justify-content-center","flex-wrap","mt-3"],["target","_blank",3,"href"],["tooltip","HTML","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/html5.png",1,"platform-logo"],["tooltip","Wordpress","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/wordpress.svg",1,"platform-logo"],["tooltip","Shopify","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/shopify.svg",1,"platform-logo"],["tooltip","Squarespace","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/squarespace.svg",1,"platform-logo"],["tooltip","Blogger","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/blogger.svg",1,"platform-logo"],["tooltip","BigCommerce","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/big-commerce-logo-partner.png",1,"platform-logo"],[2,"display","flex","justify-content","center","margin-top","15px"],["type","button",1,"btn","btn-sm","btn-primary","mr-4",3,"click"],[1,"fa-cookie","fas","feather-16","pr-2"],["type","button",1,"btn","btn-sm","btn-primary",3,"click"],[1,"fa-wrench","fas","feather-16","pr-2"],[1,"mb-3"],["type","button",1,"btn","btn-sm","btn-secondary","mr-2",3,"click"],[1,"modal-header"],["appTheme","",1,"modal-body"],["novalidate","",3,"formGroup"],["class","form-group",4,"ngFor","ngForOf"],["type","submit",1,"btn","btn-sm","btn-primary",2,"float","right",3,"disabled","click"],[1,"form-group"],[1,"form-control",3,"type","formControlName"],["class","tx-danger",4,"ngIf"],[1,"tx-danger"]],template:function(n,r){1&n&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div")(4,"nav",3)(5,"ol",4)(6,"li",5),t._uU(7,"Privacy"),t.qZA(),t.TgZ(8,"li",6),t._uU(9,"Social Fortuna"),t.qZA()()()()()(),t.YNc(10,te,67,45,"form",7),t.qZA(),t.YNc(11,ee,28,0,"div",8),t.YNc(12,ie,2,4,"div",9),t.TgZ(13,"p-dialog",10),t.NdJ("visibleChange",function(u){return r.displayModal=u}),t.TgZ(14,"input",11),t.NdJ("ngModelChange",function(u){return r.searchText=u}),t.qZA(),t.TgZ(15,"ul",12),t.YNc(16,ae,3,8,"li",13),t.ALo(17,"filter"),t.qZA(),t.TgZ(18,"p",14),t._uU(19,"*Click on a network to add or remove it from your preview. "),t.qZA(),t.YNc(20,le,1,0,"ng-template",15),t.qZA(),t.YNc(21,se,59,11,"ng-template",null,16,t.W1O),t.YNc(23,ce,12,0,"ng-template",null,17,t.W1O),t.YNc(25,he,11,4,"ng-template",null,18,t.W1O)),2&n&&(t.Q6J("ngStyle",t.VKq(13,_e,r.publishing?"none":"block")),t.xp6(10),t.Q6J("ngIf",r.ConfigurationForm),t.xp6(1),t.Q6J("ngIf",r.publishing),t.xp6(1),t.Q6J("ngIf",r.isOpen),t.xp6(1),t.Akn(t.DdM(15,me)),t.Q6J("visible",r.displayModal),t.xp6(1),t.Q6J("ngModel",r.searchText),t.xp6(2),t.Q6J("ngForOf",t.Dn7(17,9,r.allSocialIcons,r.searchText,"name")))},dependencies:[l.mk,l.sg,l.O5,l.PC,f.rH,k.Hq,k.zx,G.H,g._Y,g.YN,g.Kr,g.Fj,g.EJ,g.JJ,g.JL,g.Q7,g.c5,g.sg,g.u,g.x0,g.CE,y.Wj,y.Zt,y.Bh,z.u,O.i9,P.wx,V.mh,j.q,K.jx,W.i,g.On,$.Ql,X.o,tt.V,et.E,dt,gt.g,ht],styles:[".row-cols-group[_ngcontent-%COMP%]{margin-bottom:50px;background:#fff}.codeText[_ngcontent-%COMP%]{font-size:19px}.setup-modal[_ngcontent-%COMP%]{margin-top:4em!important;max-width:1350px!important}.menu-background[_ngcontent-%COMP%]{background:#eaf2fe}.icon-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:15px 16px;border-radius:100%;border:.5px solid #c2c3c5;margin-right:14px;cursor:pointer;box-shadow:0 2px 4px #0003,0 6px 20px #00000030}.platform-logo[_ngcontent-%COMP%]{width:25px;height:25px}.p-inputtext.p-inputtext-sm[_ngcontent-%COMP%]{width:100%}.step-bg[_ngcontent-%COMP%]{background:#eaf1fe;padding-top:10px;color:#1b365d;border-bottom:1px solid lightblue;cursor:pointer}.tx-35[_ngcontent-%COMP%]{font-size:35px}.step-active[_ngcontent-%COMP%]{background:var(--billing-background);color:#fff}  .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider{color:var(--user-preference)!important;background:var(--user-preference)!important}  .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider:hover{color:var(--user-preference)!important;background:var(--user-preference)!important}.label-tx[_ngcontent-%COMP%]{font-weight:500;font-size:13px;color:#1b365d}.head-tx[_ngcontent-%COMP%]{font-size:16px;font-weight:600}.p-checkbox[_ngcontent-%COMP%]   .p-checkbox-box.p-highlight[_ngcontent-%COMP%]{background:#004097;border-color:#004097}.p-checkbox[_ngcontent-%COMP%]:not(.p-checkbox-disabled)   .p-checkbox-box.p-highlight[_ngcontent-%COMP%]:hover{background:#004097;border-color:#004097}.p-dropdown[_ngcontent-%COMP%]{width:100%}.flag[_ngcontent-%COMP%]{margin-top:2px}.p-splitter-horizontal[_ngcontent-%COMP%]{border-bottom:0px}.p-inputswitch.p-inputswitch-checked[_ngcontent-%COMP%]   .p-inputswitch-slider[_ngcontent-%COMP%]{background:#004097}
1.p-inputswitch.p-inputswitch-checked[_ngcontent-%COMP%]:not(.p-disabled):hover   .p-inputswitch-slider[_ngcontent-%COMP%]{background:#004097}.flag-gdpr[_ngcontent-%COMP%]{float:left;margin-right:10px}.p-multiselect[_ngcontent-%COMP%], .p-dropdown[_ngcontent-%COMP%]{width:100%;max-width:240px}.multiselect-custom[_ngcontent-%COMP%]   .p-multiselect-label[_ngcontent-%COMP%]{padding-top:.25rem;padding-bottom:.25rem}.multiselect-custom[_ngcontent-%COMP%]   .country-item-value[_ngcontent-%COMP%]{padding:.25rem .5rem;border-radius:3px;display:inline-flex;margin-right:.5rem;background-color:var(--primary-color);color:var(--primary-color-text)}.multiselect-custom[_ngcontent-%COMP%]   .country-item-value[_ngcontent-%COMP%]   img.flag[_ngcontent-%COMP%]{width:17px}.multiselect-custom[_ngcontent-%COMP%]   .country-placeholder[_ngcontent-%COMP%]{padding:.25rem}@media screen and (max-width: 640px){.p-multiselect[_ngcontent-%COMP%]{width:100%}}.steppers-web[_ngcontent-%COMP%]{min-height:535px;max-height:535px;min-width:280px;max-width:280px;overflow:scroll;width:100%;padding-bottom:20px;overflow-x:hidden}.steppers-mobile[_ngcontent-%COMP%]{width:100%;max-height:770px;overflow:scroll;overflow-x:hidden;min-width:280px;max-width:280px}.steppers-tablet[_ngcontent-%COMP%]{max-height:840px;min-width:280px;max-width:280px;overflow:scroll;width:100%;overflow-x:hidden}.p-selectbutton[_ngcontent-%COMP%]   .p-button.p-highlight[_ngcontent-%COMP%]{background:#1b365d!important;border-color:#1b365d!important;color:#fff!important}.p-buttonset[_ngcontent-%COMP%]   .p-button[_ngcontent-%COMP%]{font-size:12px!important}.p-radiobutton[_ngcontent-%COMP%]   .p-radiobutton-box.p-highlight[_ngcontent-%COMP%]{border-color:#004097;background:#004097}.p-radiobutton[_ngcontent-%COMP%]   .p-radiobutton-box[_ngcontent-%COMP%]   .p-radiobutton-icon[_ngcontent-%COMP%]{width:12px;height:12px;transition-duration:.2s;background-color:#004097}.az-dropdown[_ngcontent-%COMP%]{cursor:pointer;font-size:15px;font-weight:600;color:#1b365d;width:90%}.az-dropdown[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{float:right}.az-purpose-dropdown[_ngcontent-%COMP%]{cursor:pointer;font-size:15px;font-weight:600;color:#1b365d;width:90%;padding-top:20px;padding-left:12px}.az-purpose-dropdown[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{float:right}.p-field[_ngcontent-%COMP%]{margin-bottom:1rem}.p-field[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{display:inline-block;margin-bottom:.5rem}.az-input[_ngcontent-%COMP%]{width:100%;font-weight:600;color:#1b365d;font-size:15px!important}.p-field[_ngcontent-%COMP%]{display:block}.input-label[_ngcontent-%COMP%]{font-size:13px;font-weight:600;color:#1b365d}.p-tabview[_ngcontent-%COMP%]   .p-tabview-nav[_ngcontent-%COMP%]{justify-content:center;flex-direction:initial;padding:0!important}.p-divider.p-divider-horizontal[_ngcontent-%COMP%]{width:100%;z-index:0}.p-colorpicker-preview[_ngcontent-%COMP%]{width:100%;height:100%;border-right:none}.color-input[_ngcontent-%COMP%]{border-radius:0}.p-colorpicker[_ngcontent-%COMP%]{height:42px}.p-colorpicker[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border-radius:0}.btn-primary[_ngcontent-%COMP%]{background-color:var(--side-nav-org)}.btn-link[_ngcontent-%COMP%]{color:var(--side-nav-org)}.theme-btn-dark[_ngcontent-%COMP%]{padding:20px;border:1px solid #e2e5ed;border-radius:6px;background:#1b365d;color:#fff;cursor:pointer;font-size:15px;font-weight:600}.theme-btn-light[_ngcontent-%COMP%]{padding:20px;border:1px solid #e2e5ed;border-radius:6px;cursor:pointer;background:#ffffff;color:#1b365d;font-size:15px;font-weight:600}.allowSign[_ngcontent-%COMP%]{float:right;color:#9fe0fa;font-size:18px}.p-divider-content[_ngcontent-%COMP%]{font-size:18px}.min-count[_ngcontent-%COMP%]{width:60px!important}.p-inputtextarea[_ngcontent-%COMP%]{width:100%;font-weight:600;color:#1b365d;font-size:15px!important}.content[_ngcontent-%COMP%]{padding:0 10px 10px}.az-input-group[_ngcontent-%COMP%]{margin:25px 5%}.example-list[_ngcontent-%COMP%]{width:500px;max-width:100%;border:solid 1px #ccc;min-height:60px;display:block;background:white;border-radius:4px;overflow:hidden}.example-box[_ngcontent-%COMP%]{padding:20px 10px;border-bottom:solid 1px #ccc;color:#000000de;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;
1cursor:move;background:white;font-size:14px}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.example-box[_ngcontent-%COMP%]:last-child{border:none}.example-list.cdk-drop-list-dragging[_ngcontent-%COMP%]   .example-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.purpose-preference[_ngcontent-%COMP%]{padding:0 7% 7%!important}.p-inputnumber-class[_ngcontent-%COMP%]   .p-inputnumber[_ngcontent-%COMP%]{width:100%;height:43px;border-right:none}.title-head[_ngcontent-%COMP%]{border-bottom:none;width:100%}.main-heading[_ngcontent-%COMP%]{font-size:18px;font-weight:600;color:#1b365d}.action-btn[_ngcontent-%COMP%]{font-size:12px}.live-preview-type[_ngcontent-%COMP%]{color:#1b365d;font-weight:600;font-size:18px;padding-top:6px;margin-bottom:0}.preview-radio[_ngcontent-%COMP%]{vertical-align:inherit}.preview-border-left[_ngcontent-%COMP%]{border-left:3px solid #1b365d}.lang-checkbox[_ngcontent-%COMP%]{width:40px;height:20px}.drag-drop[_ngcontent-%COMP%]{float:left!important;font-size:21px;margin-right:0}.fa-grip-vertical[_ngcontent-%COMP%]{padding-top:13px;padding-left:12px}.network-text[_ngcontent-%COMP%]{display:flex;align-items:center}.spinner-border[_ngcontent-%COMP%]{width:1rem;height:1rem}.publish-loader[_ngcontent-%COMP%]{height:100vh;justify-content:center}.btn-group-action[_ngcontent-%COMP%]{text-align:center;border-bottom:1px solid lightgray}.btn-group-action[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{color:#555;font-weight:600}.alert-info[_ngcontent-%COMP%]{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.alert-success[_ngcontent-%COMP%]{background-color:#10b759;border-color:#10b759;color:#fff}.alert-danger[_ngcontent-%COMP%]{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.flotingdiv[_ngcontent-%COMP%]{position:fixed;bottom:0;top:84%;right:0;overflow-x:hidden;overflow-y:auto}.id-cell[_ngcontent-%COMP%]{text-align:left;border:1px solid #e9ecef;border-width:0 0 1px 0;padding:1rem}.banner-types[_ngcontent-%COMP%]{position:absolute;right:20px;font-size:14px;color:var(--side-nav-org)}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.img-preview[_ngcontent-%COMP%]{max-width:270px;max-height:120px;border:1px solid lightgray;border-radius:2px;padding:10px}.img-preview-tag[_ngcontent-%COMP%]{max-width:250px;max-height:100px}.publish-date-text[_ngcontent-%COMP%]{margin-bottom:-15px;margin-top:5px;font-weight:500;font-size:12px}.margin-top-70[_ngcontent-%COMP%]{margin:70px 0 0}.p-colorpicker-preview[_ngcontent-%COMP%]{width:57px;height:42px}.p-scrollpanel[_ngcontent-%COMP%]   .p-scrollpanel-bar[_ngcontent-%COMP%]{background:#0975e0}.input-sm[_ngcontent-%COMP%]{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.config-divider[_ngcontent-%COMP%]   .p-divider[_ngcontent-%COMP%]{margin-bottom:0}.p-inputnumber[_ngcontent-%COMP%]{height:33px}.icon-list[_ngcontent-%COMP%]{list-style:none;padding:0;display:flex;flex-wrap:wrap}.allow-icon-checked[_ngcontent-%COMP%]{position:absolute;color:#f0f8ff;font-size:11px}.follow-url[_ngcontent-%COMP%]{width:90%;height:30px;font-size:12px}.pi-share-alt[_ngcontent-%COMP%], .pi-user[_ngcontent-%COMP%]{font-size:10px}.svg-icon[_ngcontent-%COMP%]{padding:10px 13px}.svg-icon[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{min-width:30px}.allow-social-checkbox[_ngcontent-%COMP%]{width:40px;height:20px}.add-social-market[_ngcontent-%COMP%]{position:absolute;bottom:0}.add-network-btn[_ngcontent-%COMP%]{width:280px;background:#ffffff;padding-top:15px;padding-bottom:15px}.close-btn-div[_ngcontent-%COMP%]{padding:0;display:flex;align-items:center;justify-content:center}.d-flex-center[_ngcontent-%COMP%]{display:flex;align-content:center;justify-content:flex-start}.preview-div[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center}.preview-div[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:15px;padding-top:5px}.modal-content[_ngcontent-%COMP%]{max-width:1350px!important}.mobile-height[_ngcontent-%COMP%]{height:720px}.tx-25[_ngcontent-%COMP%]{font-size:25px!important}.device-btn[_ngcontent-%COMP%]{background:var(--user-preference)!important}.device-btn[_ngcontent-%COMP%]:active{background:var(--user-preference)}.publish-disabled[_ngcontent-%COMP%]{background-color:#66c2f8!important;height:36px;border:none!important}"]}),i})();var be=p(22833),Ce=p(32270);let xe=(()=>{const a=class{constructor(e){this.sanitizer=e}transform(e){return this.sanitizer.bypassSecurityTrustResourceUrl(e)}};let i=a;return a.\u0275fac=function(n){return new(n||a)(t.Y36(b.H7,16))}
1,a.\u0275pipe=t.Yjl({name:"uRLSanitizer",type:a,pure:!0}),i})();const ve=["template"];function Ze(i,a){1&i&&(t.TgZ(0,"label"),t._uU(1,"with HTML"),t.qZA())}function we(i,a){1&i&&(t.TgZ(0,"label"),t._uU(1,"with WordPress"),t.qZA())}function Te(i,a){1&i&&(t.TgZ(0,"label"),t._uU(1,"with Shopify"),t.qZA())}function ye(i,a){1&i&&(t.TgZ(0,"label"),t._uU(1,"with BigCommerce"),t.qZA())}function Ue(i,a){1&i&&(t.TgZ(0,"label"),t._uU(1,"with Squarespace"),t.qZA())}function Se(i,a){1&i&&(t.TgZ(0,"label"),t._uU(1,"with Blogger"),t.qZA())}function Ae(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"button",51),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.hideshowvideo())}),t._uU(1,"Hide tutorial"),t.qZA()}}function Me(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"button",51),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.showvideo())}),t._uU(1,"Show tutorial"),t.qZA()}}function Fe(i,a){1&i&&(t.TgZ(0,"div",60)(1,"p"),t._uU(2,"Video"),t.qZA(),t.TgZ(3,"h3"),t._uU(4,"How to insert "),t.qZA(),t.TgZ(5,"h3"),t._uU(6," Social Fortuna JS into website HTML"),t.qZA()())}function ke(i,a){1&i&&(t.TgZ(0,"div",60)(1,"p"),t._uU(2,"Video"),t.qZA(),t.TgZ(3,"h3"),t._uU(4,"How to insert "),t.qZA(),t.TgZ(5,"h3"),t._uU(6," Social Fortuna JS into WordPress"),t.qZA()())}function qe(i,a){if(1&i&&(t.TgZ(0,"div",60)(1,"p"),t._uU(2,"Video"),t.qZA(),t.TgZ(3,"h3"),t._uU(4),t.qZA(),t.TgZ(5,"h3"),t._uU(6," Social Fortuna JS into Shopify"),t.qZA()()),2&i){const o=t.oxw(2);t.xp6(4),t.hij("How to insert ",o.portal,"\u2019s ")}}function Ie(i,a){if(1&i&&(t.TgZ(0,"div",60)(1,"p"),t._uU(2,"Video"),t.qZA(),t.TgZ(3,"h3"),t._uU(4),t.qZA(),t.TgZ(5,"h3"),t._uU(6," Social Fortuna JS into BigCommerce"),t.qZA()()),2&i){const o=t.oxw(2);t.xp6(4),t.hij("How to insert ",o.portal,"\u2019s ")}}function Oe(i,a){if(1&i&&(t.TgZ(0,"div",60)(1,"p"),t._uU(2,"Video"),t.qZA(),t.TgZ(3,"h3"),t._uU(4),t.qZA(),t.TgZ(5,"h3"),t._uU(6," Social Fortuna JS into Squarespace"),t.qZA()()),2&i){const o=t.oxw(2);t.xp6(4),t.hij("How to insert ",o.portal,"\u2019s ")}}function Pe(i,a){if(1&i&&(t.TgZ(0,"div",60)(1,"p"),t._uU(2,"Video"),t.qZA(),t.TgZ(3,"h3"),t._uU(4),t.qZA(),t.TgZ(5,"h3"),t._uU(6," Social Fortuna JS into Blogger"),t.qZA()()),2&i){const o=t.oxw(2);t.xp6(4),t.hij("How to insert ",o.portal,"\u2019s ")}}function De(i,a){1&i&&t._UZ(0,"video",61)}function Ne(i,a){1&i&&t._UZ(0,"video",62)}function Je(i,a){if(1&i&&(t._UZ(0,"video",63),t.ALo(1,"uRLSanitizer")),2&i){const o=t.oxw(2);t.Q6J("src",t.lcZ(1,1,o.tabUrl),t.LSH)}}function Le(i,a){if(1&i&&(t._UZ(0,"video",63),t.ALo(1,"uRLSanitizer")),2&i){const o=t.oxw(2);t.Q6J("src",t.lcZ(1,1,o.tabUrl),t.LSH)}}function He(i,a){if(1&i&&(t._UZ(0,"video",63),t.ALo(1,"uRLSanitizer")),2&i){const o=t.oxw(2);t.Q6J("src",t.lcZ(1,1,o.tabUrl),t.LSH)}}function Ye(i,a){if(1&i&&(t._UZ(0,"video",63),t.ALo(1,"uRLSanitizer")),2&i){const o=t.oxw(2);t.Q6J("src",t.lcZ(1,1,o.tabUrl),t.LSH)}}function Be(i,a){if(1&i&&(t.TgZ(0,"div",52)(1,"div",53),t.YNc(2,Fe,7,0,"div",54),t.YNc(3,ke,7,0,"div",54),t.YNc(4,qe,7,1,"div",54),t.YNc(5,Ie,7,1,"div",54),t.YNc(6,Oe,7,1,"div",54),t.YNc(7,Pe,7,1,"div",54),t.YNc(8,De,1,0,"video",55),t.YNc(9,Ne,1,0,"video",56),t.YNc(10,Je,2,3,"video",57),t.YNc(11,Le,2,3,"video",57),t.YNc(12,He,2,3,"video",57),t.YNc(13,Ye,2,3,"video",57),t.qZA(),t.O4$(),t.TgZ(14,"svg",58),t._UZ(15,"path",59),t.qZA()()),2&i){const o=t.oxw();t.xp6(2),t.Q6J("ngIf",1==o.showVendorType),t.xp6(1),t.Q6J("ngIf",2==o.showVendorType),t.xp6(1),t.Q6J("ngIf",3==o.showVendorType),t.xp6(1),t.Q6J("ngIf",4==o.showVendorType),t.xp6(1),t.Q6J("ngIf",5==o.showVendorType),t.xp6(1),t.Q6J("ngIf",6==o.showVendorType),t.xp6(1),t.Q6J("ngIf",1==o.showVendorType),t.xp6(1),t.Q6J("ngIf",2==o.showVendorType),t.xp6(1),t.Q6J("ngIf",3==o.showVendorType),t.xp6(1),t.Q6J("ngIf",4==o.showVendorType),t.xp6(1),t.Q6J("ngIf",5==o.showVendorType),t.xp6(1),t.Q6J("ngIf",6==o.showVendorType)}}function Re(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"ul",64)(1,"li")(2,"div",12)(3,"h5",65),t._uU(4,"Copy your Social Fortuna Setup Script "),t.qZA(),t.TgZ(5,"button",66),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.copyToClipboard())}),t._UZ(6,"i",67),t._uU(7),t.qZA()(),t.TgZ(8,"div",68)(9,"p",69)(10,"span")(11,"code",70),t._uU(12),t.qZA()(),t.TgZ(13,"span",71),t._uU(14),t.qZA(),t.TgZ(15,"span")(16,"code",70),t._uU(17),t.qZA()(),t._UZ(18,"br"),t.qZA()()(),t.TgZ(19,"li")(20,"h5",72),t._uU(21,"Where to Paste!"),t.qZA(),t.TgZ(22,"p"),t._uU(23,"You must Insert the Social Fortuna CDN script before closing the "),t.TgZ(24,"strong"),t._uU(25,"</head>"),t.qZA(),t._uU(26," tag. "),t.qZA(),t.TgZ(27,"div",73)(28,"span"),t._uU(29,"<html>"),t.qZA(),t._UZ(30,"br"),t._uU(31," \xa0\xa0"),t.TgZ(32,"span"),t._uU(33,"<head>"),t.qZA(),t._UZ(34,"br"),t._uU(35," \xa0\xa0\xa0\xa0"),t.TgZ(36,"span"),t._uU(37,"<title>"),t.qZA(),t._UZ(38,"br"),t._uU(39," \xa0\xa0\xa0\xa0"),t.TgZ(40,"span"),t._uU(41,"</title>"),t.qZA(),t._UZ(42,"br"),t._uU(43," \xa0\xa0\xa0\xa0"),t.TgZ(44,"span",74),t._uU(45,"Paste here!"),t.qZA(),t._UZ(46,"br"),t._uU(47," \xa0\xa0"),t.TgZ(48,"span"),t._uU(49,"</head>"),t.qZA(),t._UZ(50,"br"),t._uU(51," \xa0\xa0"),t.TgZ(52,"span"),t._uU(53,"<body>"),t.qZA(),t._UZ(54,"br"),t._uU(55," \xa0\xa0\xa0\xa0"),t.TgZ(56,"span"),t._uU(57,"<p>
1You Should paste your code before closing body tag.</p>"),t.qZA(),t._UZ(58,"br"),t._uU(59," \xa0\xa0"),t.TgZ(60,"span"),t._uU(61,"</body>"),t.qZA(),t._UZ(62,"br"),t.TgZ(63,"span"),t._uU(64,"</html>"),t.qZA()()(),t.TgZ(65,"li")(66,"h5",72),t._uU(67,"Now run your website. Check that the social media buttons appear on the website properly."),t.qZA()()()}if(2&i){const o=t.oxw();t.xp6(7),t.hij(" ",o.isCopied.one?"Copied":"Copy Script",""),t.xp6(5),t.Oqu(o.addScript),t.xp6(2),t.hij("",o.scriptUrl," "),t.xp6(3),t.Oqu(o.closeScript)}}function Qe(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"ul",64)(1,"li")(2,"div",12)(3,"h5",65),t._uU(4,"Copy your Social Fortuna Setup Script "),t.qZA(),t.TgZ(5,"button",66),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.copyToClipboard())}),t._UZ(6,"i",67),t._uU(7),t.qZA()(),t.TgZ(8,"div",68)(9,"p",69)(10,"span")(11,"code",70),t._uU(12),t.qZA()(),t.TgZ(13,"span",71),t._uU(14),t.qZA(),t.TgZ(15,"span")(16,"code",70),t._uU(17),t.qZA()(),t._UZ(18,"br"),t.qZA()()(),t.TgZ(19,"li")(20,"h5",45),t._uU(21,"Log in to the "),t.TgZ(22,"strong"),t._uU(23,"WordPress admin panel"),t.qZA(),t._uU(24,"."),t.qZA()(),t.TgZ(25,"li")(26,"h5",72),t._uU(27,"In the left pane, in "),t.TgZ(28,"strong"),t._uU(29,"Plugins"),t.qZA(),t._uU(30," and click "),t.TgZ(31,"strong"),t._uU(32,"Add New"),t.qZA(),t._uU(33,"."),t.qZA(),t._UZ(34,"img",75),t.qZA(),t.TgZ(35,"li")(36,"h5",72),t._uU(37,"In "),t.TgZ(38,"strong"),t._uU(39,"Search Plugins"),t.qZA(),t._uU(40),t.TgZ(41,"strong"),t._uU(42,"Enter"),t.qZA(),t._uU(43,"."),t.qZA()(),t.TgZ(44,"li")(45,"h5",72),t._uU(46,"Click "),t.TgZ(47,"strong"),t._uU(48,"Install Now"),t.qZA(),t._uU(49,", and click "),t.TgZ(50,"strong"),t._uU(51,"Activate"),t.qZA(),t._uU(52,"."),t.qZA(),t._UZ(53,"img",76),t.TgZ(54,"p"),t._uU(55,"The installed plugin will appear under the Settings menu."),t.qZA()(),t.TgZ(56,"li")(57,"h5",72),t._uU(58,"In "),t.TgZ(59,"strong"),t._uU(60,"Settings"),t.qZA(),t._uU(61,", click "),t.TgZ(62,"strong"),t._uU(63),t.qZA(),t._uU(64,"."),t.qZA(),t._UZ(65,"img",77),t.qZA(),t.TgZ(66,"li")(67,"h5",72),t._uU(68,"In the "),t.TgZ(69,"strong"),t._uU(70,"Insert JS Code"),t.qZA(),t._uU(71," editor, insert the Social Fortuna CDN script and click "),t.TgZ(72,"strong"),t._uU(73,"Save"),t.qZA(),t._uU(74,". "),t.qZA(),t._UZ(75,"img",78),t.qZA(),t.TgZ(76,"li")(77,"h5",72),t._uU(78,"Now run your website. Check that the set of social media buttons appears on the website properly."),t.qZA()()()}if(2&i){const o=t.oxw();t.xp6(7),t.hij(" ",o.isCopied.one?"Copied":"Copy Script",""),t.xp6(5),t.Oqu(o.addScript),t.xp6(2),t.hij("",o.scriptUrl," "),t.xp6(3),t.Oqu(o.closeScript),t.xp6(23),t.hij(', type "',o.portal,'", and press '),t.xp6(23),t.hij("",o.portal," GDPR")}}function Ee(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"ul",64)(1,"li")(2,"div",12)(3,"h5",65),t._uU(4,"Copy your Social Fortuna Setup Script "),t.qZA(),t.TgZ(5,"button",66),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.copyToClipboard())}),t._UZ(6,"i",67),t._uU(7),t.qZA()(),t.TgZ(8,"div",68)(9,"p",69)(10,"span")(11,"code",70),t._uU(12),t.qZA()(),t.TgZ(13,"span",71),t._uU(14),t.qZA(),t.TgZ(15,"span")(16,"code",70),t._uU(17),t.qZA()(),t._UZ(18,"br"),t.qZA()()(),t.TgZ(19,"li")(20,"h5",45),t._uU(21,"Log in to "),t.TgZ(22,"strong"),t._uU(23,"Shopify admin panel"),t.qZA(),t._uU(24,"."),t.qZA()(),t.TgZ(25,"li")(26,"h5",45),t._uU(27,"In the left pane, click "),t.TgZ(28,"strong"),t._uU(29,"Home"),t.qZA(),t._uU(30," and select "),t.TgZ(31,"strong"),t._uU(32,"Customize theme"),t.qZA(),t._uU(33,"."),t.qZA(),t._UZ(34,"img",79),t.qZA(),t.TgZ(35,"li")(36,"h5",45),t._uU(37,"In "),t.TgZ(38,"strong"),t._uU(39,"Actions"),t.qZA(),t._uU(40,", click "),t.TgZ(41,"strong"),t._uU(42,"Edit code"),t.qZA(),t._uU(43,"."),t.qZA(),t._UZ(44,"img",80),t.TgZ(45,"p"),t._uU(46,"The code editor window appears."),t.qZA()(),t.TgZ(47,"li")(48,"h5",45),t._uU(49,"A list of code files is available in the left pane, under the "),t.TgZ(50,"strong"),t._uU(51,"Layout"),t.qZA(),t._uU(52," folder click select "),t.TgZ(53,"strong"),t._uU(54,"/theme.liquid file"),t.qZA(),t._uU(55,"."),t.qZA(),t._UZ(56,"img",81),t.qZA(),t.TgZ(57,"li")(58,"h5",45),t._uU(59,"Insert the Social Fortuna CDN script before closing the </head> tag and click "),t.TgZ(60,"strong"),t._uU(61,"Save"),t.qZA(),t._uU(62,"."),t.qZA()(),t.TgZ(63,"li")(64,"h5",45),t._uU(65,"Now run your website. Check that the set of social media buttons appears on the website properly"),t.qZA()()()}if(2&i){const o=t.oxw();
1t.xp6(7),t.hij(" ",o.isCopied.one?"Copied":"Copy Script",""),t.xp6(5),t.Oqu(o.addScript),t.xp6(2),t.hij("",o.scriptUrl," "),t.xp6(3),t.Oqu(o.closeScript)}}function Ge(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"ul",64)(1,"li")(2,"div",12)(3,"h5",65),t._uU(4,"Copy your Social Fortuna Setup Script "),t.qZA(),t.TgZ(5,"button",66),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.copyToClipboard())}),t._UZ(6,"i",67),t._uU(7),t.qZA()(),t.TgZ(8,"div",68)(9,"p",69)(10,"span")(11,"code",70),t._uU(12),t.qZA()(),t.TgZ(13,"span",71),t._uU(14),t.qZA(),t.TgZ(15,"span")(16,"code",70),t._uU(17),t.qZA()(),t._UZ(18,"br"),t.qZA()()(),t.TgZ(19,"li")(20,"h5",45),t._uU(21,"Log in to the "),t.TgZ(22,"strong"),t._uU(23,"BigCommerce control panel"),t.qZA(),t._uU(24,"."),t.qZA()(),t.TgZ(25,"li")(26,"h5",45),t._uU(27,"In the left pane, click "),t.TgZ(28,"strong"),t._uU(29,"Storefront"),t.qZA(),t._uU(30," and click "),t.TgZ(31,"strong"),t._uU(32,"Script Manager"),t.qZA(),t._uU(33,"."),t.qZA(),t.TgZ(34,"p"),t._uU(35,"The Script Manager page appears."),t.qZA(),t._UZ(36,"img",82),t.qZA(),t.TgZ(37,"li")(38,"h5",45),t._uU(39,"Click "),t.TgZ(40,"strong"),t._uU(41,"Create a Script"),t.qZA(),t._uU(42,"."),t.qZA(),t.TgZ(43,"p"),t._uU(44,"The Create Script page appears."),t.qZA()(),t.TgZ(45,"li")(46,"h5",45),t._uU(47,"Enter any Name of script and Description. "),t.qZA()(),t.TgZ(48,"li")(49,"h5",45),t._uU(50,"Select "),t.TgZ(51,"strong"),t._uU(52,"All pages"),t.qZA(),t._uU(53,' option where the script needs to be added, and under "Script type", select '),t.TgZ(54,"strong"),t._uU(55,"Script"),t.qZA(),t._uU(56,"."),t.qZA(),t.TgZ(57,"p"),t._uU(58,"The script editor appears."),t.qZA(),t._UZ(59,"img",83),t.qZA(),t.TgZ(60,"li")(61,"h5",45),t._uU(62,"In the "),t.TgZ(63,"strong"),t._uU(64,"Script contents"),t.qZA(),t._uU(65,", insert the Social Fortuna CDN script, and click "),t.TgZ(66,"strong"),t._uU(67,"Save"),t.qZA(),t._uU(68,"."),t.qZA()(),t.TgZ(69,"li")(70,"h5",45),t._uU(71,"Click "),t.TgZ(72,"strong"),t._uU(73,"View Store"),t.qZA(),t._uU(74," and check that the set of social media buttons appears properly on the website."),t.qZA()()()}if(2&i){const o=t.oxw();t.xp6(7),t.hij(" ",o.isCopied.one?"Copied":"Copy Script",""),t.xp6(5),t.Oqu(o.addScript),t.xp6(2),t.hij("",o.scriptUrl," "),t.xp6(3),t.Oqu(o.closeScript)}}function ze(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"ul",64)(1,"li")(2,"div",12)(3,"h5",65),t._uU(4,"Copy your Social Fortuna Setup Script "),t.qZA(),t.TgZ(5,"button",66),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.copyToClipboard())}),t._UZ(6,"i",67),t._uU(7),t.qZA()(),t.TgZ(8,"div",68)(9,"p",69)(10,"span")(11,"code",70),t._uU(12),t.qZA()(),t.TgZ(13,"span",71),t._uU(14),t.qZA(),t.TgZ(15,"span")(16,"code",70),t._uU(17),t.qZA()(),t._UZ(18,"br"),t.qZA()()(),t.TgZ(19,"li")(20,"h5",45),t._uU(21,"Log in to "),t.TgZ(22,"strong"),t._uU(23,"Squarespace"),t.qZA(),t._uU(24," and go to the "),t.TgZ(25,"strong"),t._uU(26,"My Dashboard"),t.qZA(),t._uU(27," page."),t.qZA()(),t.TgZ(28,"li")(29,"h5",45),t._uU(30,"Go to "),t.TgZ(31,"strong"),t._uU(32,"Settings"),t.qZA(),t._uU(33,", click "),t.TgZ(34,"strong"),t._uU(35,"Advanced"),t.qZA(),t._uU(36,", and then click "),t.TgZ(37,"strong"),t._uU(38,"Code Injection"),t.qZA(),t._uU(39,". The code editing window appears."),t.qZA(),t._UZ(40,"img",84),t.qZA(),t.TgZ(41,"li")(42,"h5",45),t._uU(43,"In the "),t.TgZ(44,"strong"),t._uU(45,"HEADER"),t.qZA(),t._uU(46," code editor, insert the Social Fortuna CDN script, and at the top-left of the window click "),t.TgZ(47,"strong"),t._uU(48,"Save"),t.qZA(),t._uU(49,". "),t.qZA(),t._UZ(50,"img",85),t.qZA(),t.TgZ(51,"li")(52,"h5",45),t._uU(53,"Now run your website. Check that the set of social media buttons appears on the website properly."),t.qZA()()()}if(2&i){const o=t.oxw();t.xp6(7),t.hij(" ",o.isCopied.one?"Copied":"Copy Script",""),t.xp6(5),t.Oqu(o.addScript),t.xp6(2),t.hij("",o.scriptUrl," "),t.xp6(3),t.Oqu(o.closeScript)}}function Ve(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"ul",64)(1,"li")(2,"div",12)(3,"h5",65),t._uU(4,"Copy your Social Fortuna Setup Script "),t.qZA(),t.TgZ(5,"button",66),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.copyToClipboard())}),t._UZ(6,"i",67),t._uU(7),t.qZA()(),t.TgZ(8,"div",68)(9,"p",69)(10,"span")(11,"code",70),t._uU(12),t.qZA()(),t.TgZ(13,"span",71),t._uU(14),t.qZA(),t.TgZ(15,"span")(16,"code",70),t._uU(17),t.qZA()(),t._UZ(18,"br"),t.qZA()()(),t.TgZ(19,"li")(20,"h5",45),t._uU(21,"Log in to the "),t.TgZ(22,"strong"),t._uU(23,"Blogger"),t.qZA(),t._uU(24," application."),t.qZA()(),t.TgZ(25,"li")(26,"h5",45),t._uU(27,"In the left pane, click "),t.TgZ(28,"strong"),t._uU(29,"Layout"),t.qZA(),t._uU(30,"."),t.qZA(),t.TgZ(31,"p"),t._uU(32,"The layout configuration window appears."),t.qZA(),t._UZ(33,"img",86),t.qZA(),t.TgZ(34,"li")(35,"h5",45),t._uU(36,"Under the Sidebar (Top) module, click "),t.TgZ(37,"strong"),t._uU(38,"Add a Gadget"),t.qZA(),t._uU(39,"."),t.qZA(),t.TgZ(40,"p"),t._uU(41,"A list of gadget options appears."),t.qZA()(),t.TgZ(42,"li")(43,"h5",45),t._uU(44,"Select "),t.TgZ(45,"strong"),t._uU(46,"HTML/JavaScript"),t.qZA(),t._uU(47,"."),t.qZA(),t.TgZ(48,"p"),t._uU(49,"Configure HTML/JavaScript appears."),t.qZA()(),t.TgZ(50,"li")(51,"h5",45),t._uU(52,"In "),t.TgZ(53,"strong"),t._uU(54,"Title"),t.qZA(),t._uU(55,", enter a suitable title for the script. "),t.qZA(),t._UZ(56,"img",87),t.qZA(),t.TgZ(57,"li")(58,"h5",45),t._uU(59,"In "),t.TgZ(60,"strong"),t._uU(61,"Content"),t.qZA(),t._uU(62,", insert the Social Fortuna CDN script, and click "),t.TgZ(63,"strong"),t._uU(64,"SAVE"),t.qZA(),t._uU(65,"."),t.qZA()(),t.TgZ(66,"li")(67,"h5",45),t._uU(68,"Now run your website. Check that the set of social media buttons appears on the website properly."),t.qZA()()()}if(2&i){const o=t.oxw();
1t.xp6(7),t.hij(" ",o.isCopied.one?"Copied":"Copy Script",""),t.xp6(5),t.Oqu(o.addScript),t.xp6(2),t.hij("",o.scriptUrl," "),t.xp6(3),t.Oqu(o.closeScript)}}function je(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"alert",88),t.NdJ("onClosed",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.onClosed(n.alertMsg))}),t._uU(1),t.qZA()}if(2&i){const o=t.oxw();t.Q6J("type",o.alertType)("dismissible",o.dismissible),t.xp6(1),t.Oqu(o.alertMsg)}}function Ke(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"div",89)(1,"p"),t._uU(2,"Selected Property does not have any Social Fortuna Configuration "),t._UZ(3,"br"),t._uU(4," First create your Configuration "),t.qZA(),t.TgZ(5,"button",90),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return null==n.modalRef||n.modalRef.hide(),t.KtG(n.navigateToConfigPage())}),t._uU(6,"Go Now"),t.qZA()()}}const We=function(i,a){return{oid:i,pid:a}},M=function(i,a){return{color:i,"box-shadow":a}};let $e=(()=>{const a=class{constructor(e,n,r,s,u,h,w,x,S,Z,q){this.cookieBannerService=e,this.loading=n,this.modalService=r,this.userService=s,this.router=u,this.orgservice=h,this.SocialFortunaServices=w,this.activateRoute=x,this.titleService=S,this.dataService=Z,this.location=q,this.env=_.N,this.isCopied={one:!1,two:!1,three:!1},this.currrentManagedPropID="",this.closeScript='"><\/script>',this.addScript='<script type="application/javascript" src="',this.tagEle={openHead:"<head>",closeHead:"</head>",openScript:"<script>",closeScript:"<\/script>"},this.appId="",this.loadingSkeleton=!1,this.scriptUrl="",this.dismissible=!0,this.isOpen=!1,this.hidevideo=!0,this.showVendorType=1,this.implementationVideoLink=_.N.implementationvideoLink,this.portal=_.N.portalPrefix,this.supportURL=_.N.supportPortalURL,this.titleService.setTitle("Social Fortuna Setup - "+_.N.portalPrefix),this.router.routeReuseStrategy.shouldReuseRoute=()=>!1}ngOnInit(){if(this.dataService.isSubscriptionExistForSocialFortuna())return!1;if(this.activateRoute.queryParamMap.subscribe(e=>{this.queryOID=e.get("oid"),this.queryPID=e.get("pid")}),this.userService.isUserClickedOnProperty||null==this.queryOID){if(this.userService.isUserClickedOnProperty&&null!=this.queryOID)this.onGetSocialFortunaConfiguration();else if(this.userService.isUserClickedOnProperty&&null==this.queryOID&&null==this.queryPID){const e=(0,A.Dq)(this.userService.currentProductURL);this.queryOID=e[0],this.queryPID=e[1],this.onGetSocialFortunaConfiguration()}}else this.onGetSocialFortunaConfiguration()}onGetSocialFortunaConfiguration(){this.loading.start(),this.SocialFortunaServices.onGetSocialFortunaData(this.constructor.name,T.e.consentPreferenceNewsLetter,this.queryOID,this.queryPID).subscribe(e=>{this.loading.stop(),null!=e&&e?.response.hasOwnProperty("js_location")?this.scriptUrl="https://"+e.response?.js_location:this.openModal(this.template)},e=>{this.isOpen=!0,this.alertMsg=e,this.alertType="danger",this.loading.stop(),this.loading.stop()})}copyToClipboard(){this.isCopied.one=!0;const e=this.addScript+this.scriptUrl+this.closeScript;let n=null;n=document.createElement("textarea"),n.style.height="0px",n.style.left="-100px",n.style.opacity="0",n.style.position="fixed",n.style.top="-100px",n.style.width="0px",document.body.appendChild(n),n.value=e.trim(),n.select(),document.execCommand("copy")}openModal(e){this.modalRef=this.modalService.show(e,{animated:!1,keyboard:!1,ignoreBackdropClick:!0})}hideModal(){this.modalRef.hide()}onClosed(e){}onTabclick(e){this.tabUrl=this.implementationVideoLink+e}hideshowvideo(){this.hidevideo=!1}showvideo(){this.hidevideo=!0}navigateToConfigPage(){return this.router.navigate(["/social-fortuna/configuration"],{queryParams:{oid:this.queryOID,pid:this.queryPID},queryParamsHandling:"merge",skipLocationChange:!1})}};let i=a;return a.\u0275fac=function(n){return new(n||a)(t.Y36(Ce.s),t.Y36(d.LA),t.Y36(m.tT),t.Y36(v.KD),t.Y36(f.F0),t.Y36(v.Mn),t.Y36(c.Z),t.Y36(f.gz),t.Y36(b.Dx),t.Y36(U.D),t.Y36(l.Ye))},a.\u0275cmp=t.Xpm({type:a,selectors:[["app-social-fortuna-setup"]],viewQuery:function(n,r){if(1&n&&t.Gf(ve,7),2&n){let s;t.iGM(s=t.CRH())&&(r.template=s.first)}},decls:110,vars:55,consts:[["xmlns","http://www.w3.org/1999/html","appTheme",""],[1,"d-sm-flex","align-items-center","justify-content-between","mg-b-5","mg-lg-b-10","mg-xl-b-15"],["aria-label","breadcrumb"],[1,"breadcrumb","breadcrumb-style1","mg-b-10"],[1,"breadcrumb-item"],["routerLink","/social-fortuna/configuration",3,"queryParams"],[1,"breadcrumb-item","active"],[1,"card",2,"background","inherit","border","none"],[1,"card-body","setupheader"],[1,"btn-group-action"],["type","button",1,"btn","btn-link",3,"ngStyle","click"],[1,"card","floatingdiv"],[1,"card-header",2,"border","none"],[1,"head","setupheaders"],[4,"ngIf"],["class","btn btn-primary btn-sm",3,"click",4,"ngIf"],["class","videos",4,"ngIf"],[1,"card","mt-3",2,"border","none"],["class","Instru
1ctions-list",4,"ngIf"],[1,"card","mt-3"],[1,"card-header"],[2,"justify-content","center","display","flex"],[1,"platform-list","d-flex","justify-content-center","flex-wrap","mt-3"],["target","_blank",3,"href"],["tooltip","HTML","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/html5.png",1,"platform-logo"],["tooltip","Wordpress","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/wordpress.svg",1,"platform-logo"],["tooltip","Shopify","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/shopify.svg",1,"platform-logo"],["tooltip","Squarespace","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/squarespace.svg",1,"platform-logo"],["tooltip","Blogger","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/blogger.svg",1,"platform-logo"],["tooltip","BigCommerce","placement","bottom",1,"icon-wrapper"],["src","/assets/imgs/icons/big-commerce-logo-partner.png",1,"platform-logo"],[1,"card-body"],[2,"display","flex","justify-content","space-between","list-style-type","none"],[2,"width","33.33%","text-align","center","border-right","1px solid #ffc107"],["src","/assets/imgs/icons/help.png",1,"email-logo",2,"width","60px","height","60px"],[1,"mt-2"],[1,"effects"],[1,"text-center",2,"width","33.33%","text-align","center","border-right","1px solid #ffc107"],["href","mailto:"],["src","/assets/imgs/icons/email.svg",1,"email-logo"],[1,"mt-4"],[2,"width","33.33%","text-align","center"],["src","/assets/imgs/icons/neural.png",1,"email-logo",2,"width","50px","height","50px"],[1,"col-sm-5","mt-3","mr-0","float-right"],["dismissOnTimeout","5000",3,"type","dismissible","onClosed",4,"ngIf"],["template",""],[1,"btn","btn-primary","btn-sm",3,"click"],[1,"videos"],[1,"videotexts"],["class","ml-3 mt-4",4,"ngIf"],["controls","","class","mt-3 mb-3 mr-3","width","660","height","415","src","/assets/Video/publish html.mp4","title","YouTube video player","frameborder","0","sandbox","","allow","accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen","",4,"ngIf"],["controls","","class","mt-3 mb-3 mr-3","width","660","height","415","src","/assets/Video/publish wordpress.mp4","title","YouTube video player","frameborder","0","sandbox","","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen","",4,"ngIf"],["controls","","class","mt-3 mb-3 mr-3","width","660","height","415","title","YouTube video player","frameborder","0","sandbox","","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen","",3,"src",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","version","1.1","width","100%","height","100","viewBox","50 20 50 80","preserveAspectRatio","none",2,"fill","white","stroke","none"],["d","M0,100 C15,100 35,50 50,50 L50,50 C65,50 85,100 100,100 Z"],[1,"ml-3","mt-4"],["controls","","width","660","height","415","src","/assets/Video/publish html.mp4","title","YouTube video player","frameborder","0","sandbox","","allow","accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen","",1,"mt-3","mb-3","mr-3"],["controls","","width","660","height","415","src","/assets/Video/publish wordpress.mp4","title","YouTube video player","frameborder","0","sandbox","","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen","",1,"mt-3","mb-3","mr-3"],["controls","","width","660","height","415","title","YouTube video player","frameborder","0","sandbox","","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen","",1,"mt-3","mb-3","mr-3",3,"src"],[1,"Instructions-list"],[1,"mt-1"],["type","button",1,"pull-right","btn-sm","btn","btn-primary",2,"float","right",3,"click"],["aria-hidden","true",1,"mr-1","fa","fa-clipboard"],[1,"card-body","mr-3",2,"background","#282a36","margin-top","50px"],[1,"text-danger","codeText"],[2,"color","#8be9fd"],[2,"color","#fff","font-size","16px"],[1,"mt-3"],[1,"Instructions-code","mr-3"],[2,"color","yellow"],["src","/assets/implementationimages/wordpress_1.png"],["src","/assets/implementationimages/wordpress_2.png"],["src","/assets/implementationimages/wordpress_3.png"],["src","/assets/implementationimages/wordpress_4.png"],["src","/assets/implementationimages/shopify.png"],["src","/assets/implementationimages/shopify_1.png"],["src","/assets/implementationimages/shopify_2.png"],["src","/assets/implementationimages/big_1.png"],["src","/assets/implementationimages/big_2.png"],["src","/assets/implementationimages/squarespace_1.png"],["src","/assets/implementationimages/squarespace_2.png"],["src","/assets/implementationimages/blogger_1.png"],["src","/assets/implementationimages/blogger_2.png"],["dismissOnTimeout","5000",3,"type","dismissible","onClosed"],["appTheme","",1,"modal-body","text-center"],[1,"btn","btn-primary",3,"click"]],template:function(n,r){1&n&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div")(3,"nav",2)(4,"ol",3)(5,"li",4),t._uU(6,"Privacy"),t.qZA(),t.TgZ(7,"li",4)(8,"a",5),t._uU(9,"Social Fortuna"),t.qZA()(),t.TgZ(10,"li",6),t._uU(11,"Implementation "),t.qZA()()()()(),t.TgZ(12,"div",7)(13,"div",8)(14,"div")(15,"div",9)(16,"button",10),t.NdJ("click",function(){return r.showVendorType=1}),t._uU(17,"HTML"),t.qZA(),t.TgZ(18,"button",10),t.NdJ("click",function(){return r.showVendorType=2}),t._uU(19,"WordPress"),t.qZA(),t.TgZ(20,"button",10),t.NdJ("click",function(){return r.showVendorType=3,r.onTabclick("cmp/implementation-videos/socialfortuna/social%20fortuna%20shopify.webm")}),t._uU(21,"Shopify"),t.qZA(),t.TgZ(22,"button",10),t.NdJ("click",function(){return r.showVendorType=4,r.onTabclick("cmp/implementation-videos/socialfortuna/social%20fortuna%20bigcommerce.webm")}),t._uU(23,"BigCommerce"),t.qZA(),t.TgZ(24,"button",10),t.NdJ("click",function(){return r.showVendorType=5,r.onTabclick("cmp/implementation-videos/socialfortuna/social%20fortuna%20squarespace.webm")}),t._uU(25,"Squarespace"),t.qZA(),t.TgZ(26,"button",10),t.NdJ("click",function(){return r.showVendorType=6,r.onTabclick("cmp/implementation-videos/socialfortuna/social%20fortuna%20blogger.webm")}),t._uU(27,"Blogger"),t.qZA()()()()(),t.TgZ(28,"div",11)(29,"div",12)(30,"h5",13)(31,"label"),t._uU(32,"Implementing Social Fortuna "),t.YNc(33,Ze,2,0,"label",14),t.YNc(34,we,2,0,"label",14),t.YNc(35,Te,2,0,"label",14),t.YNc(36,ye,2,0,"label",14),t.YNc(37,Ue,2,0,"label",14),t.YNc(38,Se,2,0,"label",14),t.qZA(),t.YNc(39,Ae,2,0,"button",15),t.YNc(40,Me,2,0,"button",15),t.qZA()(),t.YNc(41,Be,16,12,"div",16),t.TgZ(42,"div",17),t.YNc(43,Re,68,4,"ul",18),t.YNc(44,Qe,79,6,"ul",18),t.YNc(45,Ee,66,4,"ul",18),t.YNc(46,Ge,75,4,"ul",18),t.YNc(47,ze,54,4,"ul",18),t.YNc(48,Ve,69,4,"ul",18),t.qZA()(),t.TgZ(49,"div",19)(50,"div",20)(51,"div",21)(52,"h5"),t._uU(53),t.qZA()(),t.TgZ(54,"div",22)(55,"a",23)(56,"div",24),t._UZ(57,"img",25),t.qZA()(),t.TgZ(58,"a",23)(59,"div",26),t._UZ(60,"img",27),t.qZA()(),t.TgZ(61,"a",23)(62,"div",28),t._UZ(63,"img",29),t.qZA()(),t.TgZ(64,"a",23)(65,"div",30),t._UZ(66,"img",31),t.qZA()(),t.TgZ(67,"a",23)(68,"div",32),t._UZ(69,"img",33),t.qZA()(),t.TgZ(70,"a",23)(71,"div",34),t._UZ(72,"img",35),t.qZA()()()(),t.TgZ(73,"div",36)(74,"div")(75,"ul",37)(76,"li",38)(77,"a",23),t._UZ(78,"img",39)(79,"br"),t.TgZ(80,"h5",40)(81,"label",41),t._uU(82,"Need help!"),t.qZA(),t._UZ(83,"br"),t.TgZ(84,"label",41),t._uU(85),t.qZA()()()(),t.TgZ(86,"li",42)(87,"a",43),t._UZ(88,"img",44)(89,"br"),t.TgZ(90,"h5",45)(91,"label",41),t._uU(92,"Email Code to"),t.qZA(),t._UZ(93,"br"),t.TgZ(94,"label",41),t._uU(95,"your Developer"),t.qZA()()()(),t.TgZ(96,"li",46)(97,"a",23),t._UZ(98,"img",47)(99,"br"),t.TgZ(100,"h5",40)(101,"label",41),t._uU(102,"Learn more"),t.qZA(),t._UZ(103,"br"),t.TgZ(104,"label",41),t._uU(105),t.qZA()()()()()()()()(),t.TgZ(106,"div",48),t.YNc(107,je,2,3,"alert",49),t.qZA(),t.YNc(108,Ke,7,0,"ng-template",null,50,t.W1O)),2&n&&(t.xp6(8),t.Q6J("queryParams",t.WLB(34,We,r.queryOID,r.queryPID)),t.xp6(8),t.Q6J("ngStyle",t.WLB(37,M,1===r.showVendorType?"#1B365D":"#555",1===r.showVendorType?"0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)":null)),t.xp6(2),t.Q6J("ngStyle",t.WLB(40,M,2===r.showVendorType?"#1B365D":"#555",2===r.showVendorType?"0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)":null)),t.xp6(2),t.Q6J("ngStyle",t.WLB(43,M,3===r.showVendorType?"#1B365D":"#555",3===r.showVendorType?"0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)":null)),t.xp6(2),t.Q6J("ngStyle",t.WLB(46,M,4===r.showVendorType?"#1B365D":"#555",4===r.showVendorType?"0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)":null)),t.xp6(2),t.Q6J("ngStyle",t.WLB(49,M,5===r.
1showVendorType?"#1B365D":"#555",5===r.showVendorType?"0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)":null)),t.xp6(2),t.Q6J("ngStyle",t.WLB(52,M,6===r.showVendorType?"#1B365D":"#555",6===r.showVendorType?"0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)":null)),t.xp6(7),t.Q6J("ngIf",1==r.showVendorType),t.xp6(1),t.Q6J("ngIf",2==r.showVendorType),t.xp6(1),t.Q6J("ngIf",3==r.showVendorType),t.xp6(1),t.Q6J("ngIf",4==r.showVendorType),t.xp6(1),t.Q6J("ngIf",5==r.showVendorType),t.xp6(1),t.Q6J("ngIf",6==r.showVendorType),t.xp6(1),t.Q6J("ngIf",r.hidevideo),t.xp6(1),t.Q6J("ngIf",!r.hidevideo),t.xp6(1),t.Q6J("ngIf",r.hidevideo),t.xp6(2),t.Q6J("ngIf",1==r.showVendorType),t.xp6(1),t.Q6J("ngIf",2==r.showVendorType),t.xp6(1),t.Q6J("ngIf",3==r.showVendorType),t.xp6(1),t.Q6J("ngIf",4==r.showVendorType),t.xp6(1),t.Q6J("ngIf",5==r.showVendorType),t.xp6(1),t.Q6J("ngIf",6==r.showVendorType),t.xp6(5),t.hij("How to integrate ",r.portal," scripts to:"),t.xp6(2),t.MGl("href","",r.supportURL,"/help-center/articles/23/25/63/implement-adzapier-applications-on-website-html",t.LSH),t.xp6(3),t.MGl("href","",r.supportURL,"/help-center/articles/23/25/40/adzapiers-cookie-banner-integration-with-wordpress",t.LSH),t.xp6(3),t.MGl("href","",r.supportURL,"/help-center/articles/23/25/44/adzapiers-cookie-banner-integration-with-shopify",t.LSH),t.xp6(3),t.MGl("href","",r.supportURL,"/help-center/articles/23/25/49/adzapiers-cookie-banner-integration-with-squarespace",t.LSH),t.xp6(3),t.MGl("href","",r.supportURL,"/help-center/articles/23/25/47/adzapiers-cookie-banner-integration-with-blogger",t.LSH),t.xp6(3),t.MGl("href","",r.supportURL,"/help-center/articles/23/25/46/adzapiers-cookie-banner-integration-with-bigcommerce",t.LSH),t.xp6(7),t.MGl("href","",r.supportURL,"/help-center/tickets/new",t.LSH),t.xp6(8),t.hij("Contact ",r.portal," Support"),t.xp6(12),t.MGl("href","",r.supportURL,"/help-center",t.LSH),t.xp6(8),t.hij("about ",r.portal,""),t.xp6(2),t.Q6J("ngIf",r.isOpen))},dependencies:[l.O5,l.PC,f.rH,O.i9,P.wx,et.E,xe],styles:['.btn-group-action[_ngcontent-%COMP%]{text-align:center;padding-top:25px;border-bottom:1px solid lightgray}.btn-group-action[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{color:#555;font-weight:600}.btn-primary[_ngcontent-%COMP%]{background-color:var(--side-nav-org)}.floatingdiv[_ngcontent-%COMP%]{box-shadow:0 4px 8px #0003,0 6px 20px #00000030}.videosection[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.videos[_ngcontent-%COMP%]{background-color:#1d2951;background-image:linear-gradient(315deg,var(--user-preference) 0%,#dbe7fc 74%)}.videotexts[_ngcontent-%COMP%]{display:flex;justify-content:space-between;border:none}.Instructions-list[_ngcontent-%COMP%]{counter-reset:step;list-style-type:none}.Instructions-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{position:relative;padding:0 0 60px 60px;min-height:75px;border-left:2px solid #C7E4FF;color:#44484b}.Instructions-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:before{counter-increment:step;content:counters(step,".") " ";position:absolute;left:-26px;top:0;height:50px;width:50px;padding-top:11px;font-size:17px;font-weight:700;line-height:20px;text-align:center;color:#fff;background-color:#001737;border:2px solid #C7E4FF;border-radius:50%;z-index:2}.icon-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:15px 16px;border-radius:100%;border:.5px solid #c2c3c5;margin-right:14px;cursor:pointer;box-shadow:0 2px 4px #0003,0 6px 20px #00000030}.platform-logo[_ngcontent-%COMP%]{width:25px;height:25px}.email-logo[_ngcontent-%COMP%]{width:40px;height:40px}.setupheaders[_ngcontent-%COMP%]{display:flex;justify-content:space-between;border:none}.codeText[_ngcontent-%COMP%]{font-size:19px}.Instructions-code[_ngcontent-%COMP%]{margin-bottom:40px;padding:20px;background:linear-gradient(45deg,#202143 0,#303261 100%);color:#aaacd8;font-family:courier,monospace;font-size:16px;-webkit-user-select:none;user-select:none;border-radius:10px;overflow:auto;white-space:nowrap}.Instructions-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child:before{content:"Done"}.Instructions-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{border-left:none}.effects[_ngcontent-%COMP%]{background-image:linear-gradient(transparent 0%,transparent 90%,#1B365
1D 90%,#1B365D 100%);background-repeat:no-repeat;background-size:0% 100%;background-position-x:right;transition:background-size .3s}.effects[_ngcontent-%COMP%]:hover{background-size:100% 100%;background-position-x:left}']}),i})();var Xe=p(8762),C=p(15439),nt=p(1637),it=p(73747),rt=p(94829);const to=["noLicenseForConsentPreference"];function eo(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"span",32),t.NdJ("click",function(){t.CHM(o),t.oxw();const n=t.MAs(19);return t.KtG(n.show())}),t._UZ(1,"i",33),t.qZA()}if(2&i){const o=t.oxw();t.xp6(1),t.Q6J("ngClass",""!==o.searchbydaterange?"":"fa-caret-down")}}function oo(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"span",34),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.clearDatePicker())}),t._UZ(1,"i",35),t.qZA()}if(2&i){const o=t.oxw();t.xp6(1),t.Q6J("ngClass",null==o.searchbydaterange?"fa-caret-down":"fa-times color-red")}}function no(i,a){if(1&i&&(t.TgZ(0,"div",36)(1,"div",37)(2,"div",38)(3,"h6",39),t._uU(4,"Total Visits"),t.qZA(),t.TgZ(5,"div",40)(6,"h3",41),t._uU(7),t.qZA()()()(),t.TgZ(8,"div",42)(9,"div",38)(10,"h6",39),t._uU(11,"Total Shares"),t.qZA(),t.TgZ(12,"div",40)(13,"h3",41)(14,"span"),t._uU(15),t.qZA()()()()(),t.TgZ(16,"div",43)(17,"div",38)(18,"h6",39),t._uU(19,"Total Follow"),t.qZA(),t.TgZ(20,"div",40)(21,"h3",41),t._uU(22),t.qZA()()()()()),2&i){const o=t.oxw();t.xp6(7),t.Oqu(o.consentData.TotalCount),t.xp6(8),t.Oqu(o.consentData.ShareCount),t.xp6(7),t.Oqu(o.consentData.FollowCount)}}function io(i,a){1&i&&(t.TgZ(0,"div",24)(1,"div",44),t._UZ(2,"ngx-skeleton-loader",45),t.qZA()())}function ro(i,a){if(1&i&&(t.TgZ(0,"div",46),t._UZ(1,"canvas",47),t.qZA()),2&i){const o=t.oxw();t.xp6(1),t.Q6J("datasets",o.lineChartData)("labels",o.lineChartLabels)("options",o.lineChartOptions)("colors",o.lineChartColors)("legend",o.lineChartLegend)("chartType",o.lineChartType)("plugins",o.lineChartPlugins)}}function ao(i,a){1&i&&(t.TgZ(0,"div",44),t._UZ(1,"ngx-skeleton-loader",48),t.qZA())}function lo(i,a){if(1&i&&(t.TgZ(0,"div",46),t._UZ(1,"canvas",49),t.qZA()),2&i){const o=t.oxw();t.xp6(1),t.Q6J("data",o.pieChartData)("labels",o.pieChartLabels)("chartType",o.pieChartType)("options",o.pieChartOptions)("colors",o.pieChartColors)("plugins",o.pieChartPlugins)("legend",o.pieChartLegend)}}function so(i,a){1&i&&(t.TgZ(0,"div",44),t._UZ(1,"ngx-skeleton-loader",48),t.qZA())}function co(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"div",50)(1,"h4"),t._uU(2,"You haven't assigned Consent Preference license to this property"),t.qZA(),t.TgZ(3,"p",51),t.NdJ("click",function(){t.CHM(o);const n=t.oxw();return t.KtG(n.onGoBack())}),t._uU(4,"or Cancel & Go Back"),t.qZA()()}}let po=(()=>{const a=class{constructor(e,n,r,s,u,h,w,x,S,Z,q){this.SocialFortunaServ=e,this.loading=n,this.dataService=r,this.modalService=s,this._location=u,this.router=h,this.cd=w,this.activatedroute=x,this.titleService=S,this.userService=Z,this.orgService=q,this.consentData={ShareCount:0,FollowCount:0,TotalCount:0},this.ranges=[{value:[new Date,new Date],label:"Today"},{value:[new Date((new Date).setDate((new Date).getDate()-1)),new Date((new Date).setDate((new Date).getDate()-1))],label:"Yesterday"},{value:[new Date((new Date).setDate((new Date).getDate()-7)),new Date],label:"Last 7 Days"},{value:[new Date((new Date).setDate((new Date).getDate()-30)),new Date],label:"Last 30 Days"},{value:[new Date((new Date).getFullYear(),(new Date).getMonth(),1),new Date((new Date).getFullYear(),(new Date).getMonth()+1,0)],label:"This Month"},{value:[new Date((new Date).getFullYear(),(new Date).getMonth()-1,1),new Date((new Date).getFullYear(),(new Date).getMonth(),0)],label:"Last Month"},{value:[new Date((new Date).getFullYear(),0,1),new Date],label:"This Year"},{value:[new Date((new Date).setFullYear((new Date).getFullYear()-1)),new Date],label:"Last Year"}],this.doughnutChartOptions={responsive:!0,legend:{position:"left"},plugins:{datalabels:{formatter:(Mo,at)=>at.chart.data.labels[at.dataIndex]}}},this.doughnutChartLabels=[],this.doughnutChartData=[],this.doughnutChartType="doughnut",this.consentColor=["#f77eb9","#fdb16d","#c693f9","#65e0e0","#69b2f8","#6fd39b"],this.doughnutChartColors=[{backgroundColor:this.consentColor}],this.pieChartLegend=!0,this.lineChartData=[{data:[65,59,80,81,56,55,40],label:"Visits"}
1],this.lineChartLabels=["January","February","March","April","May","June","July"],this.lineChartOptions={responsive:!0,legend:{display:!1},scales:{yAxes:[{ticks:{min:0,stepValue:10}}]}},this.lineChartColors=[{borderColor:"#69b2f8",backgroundColor:"rgba(1,104,250,0.3)"}],this.lineChartLegend=!0,this.lineChartType="line",this.lineChartPlugins=[],this.pieChartOptions={responsive:!0,legend:{position:"bottom"}},this.pieChartLabels=[],this.pieChartData=[],this.pieChartType="pie",this.pieChartPlugins=[],this.pieChartColors=[{backgroundColor:["#f77eb9","#fdb16d","#c693f9","#65e0e0","#D3C2EB","#6fd39b","#42a5f5","#ba68c8","#ef5350","#ff9800","#03a9f4","#4caf50","#00FA9A","#AF9B60","#CCF381","#E2V144","#358597","#768591","#F4DB78","#8E3463","#CDEBC2","#542A7E","#C247B8","#C28547","#A6DA90","#BBB33E","#B43C5A","#224767","#7D93D4","#E4B8AF","#2E718A","#C2BE47","#E6B3DB","#8AF30F","#D46D8D","#1BE68D","#F803E4","#F90389","#F4A86C","#74BAC4","#6CE3F6","#0B5C35","#66DC5A","#8CAEDA","#C2C698","#2F2AAF","#9D6153","#BF247E","#05F6DA","#F46845","#95DDEA","#A1FBF8","#1CFF2B","#E3F6C3","#1BAFB9"]}],this.skLoading=!0,this.searchbydaterange="",this.titleService.setTitle("Social Fortuna Dashboard - "+_.N.portalPrefix)}ngOnInit(){if(!this.dataService.isSubscriptionExistForSocialFortuna()){if(this.searchbydaterange=[new Date((new Date).setDate((new Date).getDate()-30)),new Date],this.bsConfig=Object.assign({},{containerClass:"theme-dark-blue",showClearButton:!0,returnFocusToInput:!0,dateInputFormat:"MM-DD-YYYY",adaptivePosition:!0,showTodayButton:!0,ranges:this.ranges}),this.activatedroute.queryParamMap.subscribe(e=>{let n=e.get("oid"),r=e.get("pid");null!=this.queryOID&&(this.queryOID!=n||this.queryPID!=r)&&(this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.navigateByUrl(this.router.url)),this.queryOID=n,this.queryPID=r}),null==this.queryOID&&null==this.queryPID&&!this.userService.isUserClickedOnProperty&&void 0!==this.userService&&void 0!==this.userService.currentProductURL&&this.userService.currentProductURL.includes("oid")){const e=(0,A.Dq)(this.userService.currentProductURL);this.queryOID=e[0],this.queryPID=e[1]}this.onGetConsentData()}}onSetUpDate(){const e=this,n=C().utc().subtract(29,"days"),r=C().utc();function s(u,h){jQuery("#reportrange span").html(u.format("MMMM D, YYYY")+" - "+h.format("MMMM D, YYYY")),e.startDate=u.format("YYYY-MM-DD"),e.endDate=h.format("YYYY-MM-DD"),this.dataService.isSubscriptionExistForSocialFortuna()||e.onGetConsentData()}jQuery("#reportrange").daterangepicker({startDate:n,endDate:r,maxDate:new Date,ranges:{Today:[C().utc(),C().utc()],Yesterday:[C().utc().subtract(1,"days"),C().utc().subtract(1,"days")],"Last 7 Days":[C().utc().subtract(6,"days"),C().utc()],"Last 30 Days":[C().utc().subtract(29,"days"),C().utc()],"This Month":[C().utc().startOf("month"),C().utc().endOf("month")],"Last Month":[C().utc().subtract(1,"month").startOf("month"),C().utc().subtract(1,"month").endOf("month")],"This Year":[C().utc().startOf("year"),C().utc().endOf("year")],"Last Year":[C().utc().subtract(1,"year").startOf("year"),C().utc().subtract(1,"year").endOf("year")]}},s),s(n,r)}convertToInternationalCurrencySystem(e){return Math.abs(Number(e))>=1e9?(Math.abs(Number(e))/1e9).toFixed(2)+"B":Math.abs(Number(e))>=1e6?(Math.abs(Number(e))/1e6).toFixed(2)+"M":Math.abs(Number(e))>=1e3?(Math.abs(Number(e))/1e3).toFixed(2)+"K":Math.abs(Number(e))}onGetConsentData(){let e,n,r;this.getOIDPIDFromURL(),void 0!==this.searchbydaterange&&""!==this.searchbydaterange?(e=this.searchbydaterange[0].toJSON().split("T")[0],n=this.searchbydaterange[1].toJSON().split("T")[0],this.startDate=this.searchbydaterange[0].toJSON().split("T")[0],this.endDate=this.searchbydaterange[1].toJSON().split("T")[0]):(null==this.searchbydaterange||""==this.searchbydaterange)&&(this.searchbydaterange=[new Date((new Date).setDate((new Date).getDate()-30)),new Date],e=this.searchbydaterange[0].toJSON().split("T")[0],n=this.searchbydaterange[1].toJSON().split("T")[0],this.startDate=this.searchbydaterange[0].toJSON().split("T")[0],this.endDate=this.searchbydaterange[1].toJSON().split("T")[0]);const s=new Date(e),w=(new Date(n).getTime()-s.getTime())/864e5;r={from_date:this.startDate,to_date:this.endDate,type:w>30?"month":"day"},this.loading.start(),this.skLoading=!0,this.SocialFortunaServ.getSocialFortunaCountForDashboard(this.constructor.name,r,T.e.consentSolutionModule,this.queryOID,this.queryPID).subscribe(x=>{this.skLoading=!1,this.loading.stop(),x&&200===x.status&&(this.consentData={ShareCount:this.convertToInternationalCurrencySystem(x.statics?.ShareCount),FollowCount:this.convertToInternationalCurrencySystem(x.statics?.FollowCount),TotalCount:this.convertToInternationalCurrencySystem(x.statics?.TotalCount)},this.onSetUpChart(x))},x=>{this.skLoading=!1,this.loading.stop()})}onSetUpChart(e){const n=new Date(this.startDate),u=(new Date(this.endDate).getTime()-n.getTime())/864e5,h=[],w=[];for(const Z of e.chart)h.push(Z.number_of_users),w.push(u>30?this.formateMonth(Z.day):this.formatDate(Z.day));this.lineChartData=[{data:h,label:"Visits"}
1],this.lineChartLabels=w;const x=[],S=[];for(const Z of e.networkChart)x.push(Z.count),S.push(Z.destination);this.pieChartLabels=S,this.pieChartData=x,this.cd.detectChanges(),this.loading.stop()}isConsentPreferenceAssigned(){let e;return this.dataService.isConsentPreferenceAppliedForProperty.subscribe(n=>{e=n}),e.hasaccess}onOpenPopUp(){this.isConsentPreferenceAssigned()||(this.modalRef=this.modalService.show(this.noLicenseForConsentPreference,{class:"modal-md",ignoreBackdropClick:!0}))}onGoBack(){this.router.navigate(["/home/dashboard/analytics"],{queryParams:{oid:this.queryOID,pid:this.queryPID},skipLocationChange:!1}),this.modalRef.hide()}formatDate(e){let r=new Date(e),s=""+["Jan","Feb","Mar","Apr","May","June","July","Aug","Sep","Oct","Nov","Dec"][r.getMonth()],u=""+r.getDate();return r.getFullYear(),s.length<2&&(s="0"+s),u.length<2&&(u="0"+u),[u,s].join("-")}formateMonth(e){let r=new Date(e),s=""+["January","February","March","April","May","June","July","August","September","October","November","December"][r.getMonth()],u=""+r.getDate(),h=r.getFullYear();return s.length<2&&(s="0"+s),u.length<2&&(u="0"+u),[s,h].join("-")}clearDatePicker(){this.searchbydaterange=""}onDateSelection(){null!==this.searchbydaterange&&""!==this.searchbydaterange&&this.onGetConsentData()}getOIDPIDFromURL(){if(-1!==this._location.path().indexOf("oid")){let e=(0,A.Dq)(this._location.path());null!=e&&(this.queryOID=e[0],this.queryPID=e[1])}else if(void 0!==this.userService.currentProductRoute&&-1!==this.userService.currentProductRoute.indexOf("oid")){let e=(0,A.Dq)(this.userService.currentProductRoute);null!=e&&(this.queryOID=e[0],this.queryPID=e[1])}else null!==this.orgService.getCurrentOrgWithProperty()&&void 0!==this.orgService.getCurrentOrgWithProperty()&&(this.queryOID=this.orgService.getCurrentOrgWithProperty().organization_id,this.queryPID=this.orgService.getCurrentOrgWithProperty().property_id)}ngAfterContentChecked(){this.cd.detectChanges()}};let i=a;return a.\u0275fac=function(n){return new(n||a)(t.Y36(c.Z),t.Y36(d.LA),t.Y36(U.D),t.Y36(m.tT),t.Y36(l.Ye),t.Y36(f.F0),t.Y36(t.sBO),t.Y36(f.gz),t.Y36(b.Dx),t.Y36(v.KD),t.Y36(v.Mn))},a.\u0275cmp=t.Xpm({type:a,selectors:[["app-social-fortuna-dashboard"]],viewQuery:function(n,r){if(1&n&&t.Gf(to,7),2&n){let s;t.iGM(s=t.CRH())&&(r.noLicenseForConsentPreference=s.first)}},decls:46,vars:10,consts:[[1,"pl-0","pr-0","container-fluid"],[1,"d-sm-flex","align-items-center","justify-content-between","mg-b-5","mg-lg-b-10","mg-xl-b-15"],["aria-label","breadcrumb"],[1,"breadcrumb","breadcrumb-style1","mg-b-10"],[1,"breadcrumb-item"],["aria-current","page",1,"breadcrumb-item","active"],[1,"mg-b-0","tx-spacing--1"],[1,"date-picker-wrapper"],[1,"col-sm-9","pr-0","pl-2","mr-2","d-flex","row-reverse"],[1,"input-group-prepend"],["class","input-group-text rounded-right border-left-0","id","inputGroup-sizing-sm",3,"click",4,"ngIf"],["class","input-group-text bg-transparent","style","background-color: #fff !important; border-left:0 !important; border-radius: 0px 5px 5px 0px;",3,"click",4,"ngIf"],["type","text","bsDaterangepicker","","placeholder","Select Date",1,"form-control","border-left-0","border-right-0","rounded-right",3,"ngModel","bsConfig","ngModelChange","onHidden"],["dp","bsDaterangepicker"],[1,"input-group-prepend","border-left-0",3,"click"],["id","inputGroup-sizing-sm",1,"input-group-text","rounded-left","border-right-0"],[1,"fa","fa-calendar"],[1,"btn","btn-sm","pd-x-15","btn-white","btn-uppercase","mg-l-5","btn-refresh",3,"click"],[1,"mr-2"],[1,"fas","fa-sync"],["class","row row-xs",4,"ngIf"],["class","card",4,"ngIf"],[1,"row","mt-2"],[1,"col-md-8"],[1,"card"],[1,"card-header","pd-t-20"],[1,"mg-b-0","pt-0"],["style","display: block;","class","card-body",4,"ngIf"],["class","card-body",4,"ngIf"],[1,"col-md-4"],[1,"card-header"],["noLicenseForConsentPreference",""],["id","inputGroup-sizing-sm",1,"input-group-text","rounded-right","border-left-0",3,"click"],[1,"fa",3,"ngClass"],[1,"input-group-text","bg-transparent",2,"background-color","#fff !important","border-left","0 !important","border-radius","0px 5px 5px 0px",3,"click"],["aria-hidden","true",1,"fa",3,"ngClass"],[1,"row","row-xs"],[1,"col-sm-6","col-lg-4"],[1,"card","card-body"],[1,"tx-11","tx-spacing-1","tx-color-02","tx-semibold","mg-b-8"],[1,"d-flex","d-lg-block","d-xl-flex","align-items-end"],[1,"tx-normal","tx-rubik","mg-b-0","mg-r-5","lh-1"],[1,"col-sm-6","col-lg-4","mg-t-10","mg-sm-t-0"],[1,"col-sm-6","col-lg-4","mg-t-10","mg-lg-t-0"],[1,"card-body"],["count","3"],[1,"card-body",2,"display","block"],["baseChart","",3,"datasets","labels","options","colors","legend","chartType","plugins"],["count","8"],["baseChart","","height","333",3,"data","labels","chartType","options","colors","plugins","legend"],[1,"modal-body","text-center"],[1,"cancel-btn","btn","btn-primary","mt-2","mb-2",3,"click"]],template:function(n,r){if(1&n){const s=t.EpF();t.TgZ(0,"div",0)(1,"div",1)(2,"div")(3,"nav",2)(4,"ol",3)(5,"li",4),t._uU(6,"Privacy"),t.qZA(),t.TgZ(7,"li",4),t._uU(8,"Social Fortuna"),t.qZA(),t.TgZ(9,"li",5),t._uU(10,"Dashboard"),t.qZA()()(),t.TgZ(11,"h4",6),t._uU(12,"Social Fortuna Dashboard"),t.qZA()(),t.TgZ(13,"div",7)(14,"div",8)(15,"div",9),t.YNc(16,eo,2,1,"span",10),t.YNc(17,oo,2,1,"span",11),t.qZA(),t.TgZ(18,"input",12,13),t.NdJ("ngModelChange",function(h){return r.searchbydaterange=h})("onHidden",function(){return r.onDateSelection()}),t.qZA(),t.TgZ(20,"div",14),t.NdJ("click",function(){t.CHM(s);const h=t.MAs(19);return t.KtG(h.show())}),t.TgZ(21,"span",15),t._UZ(22,"i",16),t.qZA()()(),t.TgZ(23,"button",17),t.NdJ("click",function(){return r.onGetConsentData()}),t.TgZ(24,"span",18),t._UZ(25,"i",19),t.qZA(),t._uU(26," Refresh "),t.qZA()()(),t.YNc(27,no,23,3,"div",20),t.YNc(28,io,3,0,"div",21),t.TgZ(29,"div",22)(30,"div",23)(31,"div",24)(32,"div",25)(33,"h6",26),t._uU(34,"Activities"),t.qZA()(),t.YNc(35,ro,2,7,"div",27),t.YNc(36,ao,2,0,"div",28),t.qZA()(),t.TgZ(37,"div",29)(38,"div",24)(39,"div",30)(40,"h6"),t._uU(41,"Networks"),t.qZA()(),t.YNc(42,lo,2,7,"div",27),t.YNc(43,so,2,0,"div",28),t.qZA()()()(),t.YNc(44,co,5,0,"ng-template",null,31,t.W1O)}2&n&&(t.xp6(16),t.Q6J("ngIf",""==r.searchbydaterange),t.xp6(1),t.Q6J("ngIf",""!==r.searchbydaterange),t.xp6(1),t.Q6J("ngModel",r.searchbydaterange)("bsConfig",r.bsConfig),t.xp6(9),t.Q6J("ngIf",!r.skLoading),t.xp6(1),t.Q6J("ngIf",r.skLoading),t.xp6(7),t.Q6J("ngIf",!r.skLoading),t.xp6(1),t.Q6J("ngIf",r.skLoading),t.xp6(6),t.Q6J("ngIf",!r.skLoading),t.xp6(1),t.Q6J("ngIf",r.skLoading))},dependencies:[l.mk,l.O5,g.Fj,g.JJ,nt.xr,it.FR,it.TB,V.mh,g.On,rt.jh],styles:[".chart-size[_ngcontent-%COMP%]{margin-bottom:30px;margin-top:15px}.no-chart[_ngcontent-%COMP%]{flex-direction:column;height:300px}.date-picker-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center}.btn-refresh[_ngcontent-%COMP%]{text-transform:none;display:flex;font-size:12px;align-content:center;justify-content:center;align-items:center;flex-wrap:nowrap}.row-reverse[_ngcontent-%COMP%]{flex-direction:row-reverse}.input-group-prepend[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{background-color:#fff;border-color:#c0ccda!important;border-radius:0;cursor:pointer}  .theme-dark-blue{flex-direction:row-reverse;right:-190px;display:flex;position:absolute;flex-wrap:nowrap;justify-content:flex-start}  .theme-dark-blue .bs-datepicker-predefined-btns button{margin-bottom:2px!important;background:#fff;color:#333;width:130px;border:1px solid #ccc}  .theme-dark-blue .bs-datepicker-predefined-btns button.selected{color:#fff;background:#16BF5E}  .theme-dark-blue .bs-datepicker-head{background-color:#000}"]}),i})();var uo=p(19119),go=p(17489),N=p(43265),J=p(96923);function ho(i,a){1&i&&(t.TgZ(0,"tr",16)(1,"th"),t._uU(2,"Version"),t.qZA(),t.TgZ(3,"th",17),t._uU(4,"Publish Date "),t._UZ(5,"p-sortIcon",18),t.qZA(),t.TgZ(6,"th"),t._uU(7,"Status"),t.qZA(),t.TgZ(8,"th"),t._uU(9,"Action"),t.qZA()())}function _o(i,a){1&i&&(t.TgZ(0,"span",22),t._uU(1,"Inactive"),t.qZA())}function mo(i,a){1&i&&(t.TgZ(0,"span",23),t._uU(1,"Active"),t.qZA())}
1function fo(i,a){if(1&i){const o=t.EpF();t.TgZ(0,"div",24)(1,"button",25),t.O4$(),t.TgZ(2,"svg",26),t._UZ(3,"path",27),t.qZA()(),t.kcU(),t.TgZ(4,"div",28)(5,"button",29),t.NdJ("click",function(){t.CHM(o);const n=t.oxw().$implicit,r=t.oxw();return t.KtG(r.onActiveConfig(n.id))}),t._uU(6,"Rollback"),t.qZA(),t.TgZ(7,"button",29),t.NdJ("click",function(){t.CHM(o);const n=t.oxw().$implicit,r=t.oxw();return t.KtG(r.onDeleteConfig(n.id))}),t._uU(8,"Delete"),t.qZA()()()}}function bo(i,a){if(1&i&&(t.TgZ(0,"tr")(1,"td"),t._uU(2),t.qZA(),t.TgZ(3,"td"),t._uU(4),t.ALo(5,"date"),t.qZA(),t.TgZ(6,"td"),t.YNc(7,_o,2,0,"span",19),t.YNc(8,mo,2,0,"span",20),t.qZA(),t.TgZ(9,"td"),t.YNc(10,fo,9,0,"div",21),t.qZA()()),2&i){const o=a.$implicit;t.xp6(2),t.hij("Version - ",o.version_count,""),t.xp6(2),t.Oqu(t.lcZ(5,5,o.created_at)),t.xp6(3),t.Q6J("ngIf",!o.active),t.xp6(1),t.Q6J("ngIf",o.active),t.xp6(2),t.Q6J("ngIf",!o.active)}}function Co(i,a){1&i&&(t.TgZ(0,"tr")(1,"td"),t._uU(2," No records found "),t.qZA()()),2&i&&(t.xp6(1),t.uIk("colspan",4))}function xo(i,a){if(1&i&&(t.TgZ(0,"alert",30),t._uU(1),t.qZA()),2&i){const o=t.oxw();t.Q6J("type",o.alertType),t.xp6(1),t.Oqu(o.alertMsg)}}const vo=function(i,a){return{oid:i,pid:a}},Zo=function(){return[10,20,30]};let wo=(()=>{const a=class{constructor(e,n,r,s){this.activatedRouter=e,this.router=n,this.socialFortunaService=r,this.titleService=s,this.BannerHistoryList=[],this.isEdit=!1,this.isOpen=!1,this.isLoading=!1,this.router.routeReuseStrategy.shouldReuseRoute=()=>!1}ngOnInit(){this.titleService.setTitle("Social Fortuna - Publish History"),this.activatedRouter.queryParams.subscribe(e=>{this.oID=e.oid,this.pID=e.pid}),this.currentManagedOrgID=this.oID,this.currrentManagedPropID=this.pID,this.onGetSocialFortunaConfigHistory()}onGetSocialFortunaConfigHistory(){this.isLoading=!0,this.socialFortunaService.GetSocialFortunaConfigHistory(this.constructor.name,T.e.cookieBannerModule,this.oID,this.pID).subscribe(e=>{this.BannerHistoryList=e.response,this.BannerHistoryList=(0,go.orderBy)(this.BannerHistoryList,["created_at"],["desc"]),this.isLoading=!1},e=>{this.isOpen=!0,this.alertMsg=e,this.alertType="danger",this.isLoading=!1})}onActiveConfig(e){this.socialFortunaService.ActiveSocialFortunaConfigHistory(this.constructor.name,T.e.cookieBannerModule,this.pID,this.oID,e).subscribe(n=>{this.isOpen=!0,this.alertMsg=n.response,this.alertType="success",this.onGetSocialFortunaConfigHistory()},n=>{this.isOpen=!0,this.alertMsg=n,this.alertType="danger"})}onDeleteConfig(e){this.socialFortunaService.DeleteSocialFortunaConfigHistory(this.constructor.name,T.e.cookieBannerModule,this.pID,this.oID,e).subscribe(n=>{this.isOpen=!0,this.alertMsg=n.response,this.alertType="success",this.onGetSocialFortunaConfigHistory()},n=>{this.isOpen=!0,this.alertMsg=n,this.alertType="danger"})}};let i=a;return a.\u0275fac=function(n){return new(n||a)(t.Y36(f.gz),t.Y36(f.F0),t.Y36(c.Z),t.Y36(b.Dx))}
1,a.\u0275cmp=t.Xpm({type:a,selectors:[["app-social-fortuna-config-history"]],decls:22,vars:15,consts:[[1,"col-md-9","ml-4"],[1,"d-sm-flex","align-items-center","justify-content-between"],["aria-label","breadcrumb",1,"bredcrub-row",2,"margin-left","-14px"],[1,"breadcrumb","breadcrumb-style1","mg-b-10"],[1,"breadcrumb-item"],[1,"breadcrumb-item","active"],["routerLink","/social-fortuna/configuration",3,"queryParams"],[1,"card"],[1,"pl-4","pt-3"],[1,"card-body"],["currentPageReportTemplate","Showing {first} to {last} of {totalRecords} entries","styleClass","p-datatable-sm",1,"bannner-history-table","p-paginator-alignment",3,"value","responsive","paginator","rows","rowHover","showCurrentPageReport","totalRecords","loading","rowsPerPageOptions"],["pTemplate","header"],["pTemplate","body"],["pTemplate","emptymessage"],[1,"col-sm-5","mt-3","mr-0","float-right","flotingdiv"],["dismissOnTimeout","5000",3,"type",4,"ngIf"],[2,"text-align","center"],["pSortableColumn","created_at"],["field","created_at"],["class","product-badge status-outofstock",4,"ngIf"],["class","product-badge status-instock",4,"ngIf"],["ngbDropdown","","class","d-inline-block",4,"ngIf"],[1,"product-badge","status-outofstock"],[1,"product-badge","status-instock"],["ngbDropdown","",1,"d-inline-block"],["tooltip"," Click to delete or roll back the version","id","dropdownBasic1","ngbDropdownToggle","",1,"btn","btn-light","bg-white","border-0"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 128 512"],["d","M64 360C94.93 360 120 385.1 120 416C120 446.9 94.93 472 64 472C33.07 472 8 446.9 8 416C8 385.1 33.07 360 64 360zM64 200C94.93 200 120 225.1 120 256C120 286.9 94.93 312 64 312C33.07 312 8 286.9 8 256C8 225.1 33.07 200 64 200zM64 152C33.07 152 8 126.9 8 96C8 65.07 33.07 40 64 40C94.93 40 120 65.07 120 96C120 126.9 94.93 152 64 152z"],["ngbDropdownMenu","","aria-labelledby","dropdownBasic1"],["ngbDropdownItem","",1,"btn","btn-link",3,"click"],["dismissOnTimeout","5000",3,"type"]],template:function(n,r){1&n&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div")(3,"nav",2)(4,"ol",3)(5,"li",4),t._uU(6,"Privacy"),t.qZA(),t.TgZ(7,"li",5)(8,"a",6),t._uU(9,"Social Fortuna"),t.qZA()(),t.TgZ(10,"li",5),t._uU(11,"Publish History"),t.qZA()()()()()(),t.TgZ(12,"div",7)(13,"h4",8),t._uU(14,"Publish history"),t.qZA(),t.TgZ(15,"div",9)(16,"p-table",10),t.YNc(17,ho,10,0,"ng-template",11),t.YNc(18,bo,11,7,"ng-template",12),t.YNc(19,Co,3,1,"ng-template",13),t.qZA()()(),t.TgZ(20,"div",14),t.YNc(21,xo,2,2,"alert",15),t.qZA()),2&n&&(t.xp6(8),t.Q6J("queryParams",t.WLB(11,vo,r.oID,r.pID)),t.xp6(8),t.Q6J("value",r.BannerHistoryList)("responsive",!0)("paginator",!0)("rows",10)("rowHover",!0)("showCurrentPageReport",!0)("totalRecords",r.BannerHistoryList.length)("loading",r.isLoading)("rowsPerPageOptions",t.DdM(14,Zo)),t.xp6(5),t.Q6J("ngIf",r.isOpen))},dependencies:[l.O5,f.rH,N.jt,N.iD,N.Vi,N.TH,O.i9,P.wx,K.jx,J.iA,J.lQ,J.fz,l.uU],styles:[".product-badge[_ngcontent-%COMP%]{border-radius:2px;padding:.25em .5rem;text-transform:uppercase;font-weight:700;font-size:10px;letter-spacing:.3px}.product-badge.status-instock[_ngcontent-%COMP%]{background:#c8e6c9;color:#256029}.product-badge.status-lowstock[_ngcontent-%COMP%]{background:#feedaf;color:#8a5340}.product-badge.status-outofstock[_ngcontent-%COMP%]{background:#ffcdd2;color:#c63737}"]}),i})();var To=p(23501),yo=p(55466),Uo=p(91742);const So=[{path:"dashboard",component:po},{path:"configuration",component:fe},{path:"setup",component:$e},{path:"configuration/history",component:wo}];let Ao=(()=>{const a=class{};let i=a;return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=t.oAB({type:a}),a.\u0275inj=t.cJS({imports:[l.ez,f.Bz.forChild(So),k.hJ,G.T,g.UX,uo.J,j.t,W.x,P.nM,be.cc,g.u5,$.Iu,X.j,z.p,O.z8,Xe.Qy,rt.m9,y._t,tt.S,nt.hx,J.U$,To.O.forRoot({themes:[yo.W,Uo.$],active:_.N.theme})]}),i})()},22833:(lt,I,p)=>{p.d(I,{EU:()=>_,cc:()=>A});var l=p(94650),f=p(36895),g=p(24006);const T=["rb"],F=function(t,m,c){return{"p-radiobutton-label":!0,"p-radiobutton-label-active":t,"p-disabled":m,"p-radiobutton-label-focus":c}};function y(t,m){if(1&t){const c=l.EpF();l.TgZ(0,"label",4),l.NdJ("click",function(b){l.CHM(c);const U=l.oxw();return l.KtG(U.select(b))}),l._uU(1),l.qZA()}if(2&t){const c=l.oxw(),d=l.MAs(3);l.Tol(c.labelStyleClass),l.Q6J("ngClass",l.kEZ(5,F,d.checked,c.disabled,c.focused)),l.uIk("for",c.inputId),l.xp6(1),l.Oqu(c.label)}}const L=function(t,m,c){return{"p-radiobutton p-component":!0,"p-radiobutton-checked":t,"p-radiobutton-disabled":m,"p-radiobutton-focused":c}},H=function(t,m,c){return{"p-radiobutton-box":!0,"p-highlight":t,"p-disabled":m,"p-focus":c}},Y={provide:g.JU,useExisting:(0,l.Gpc)(()=>_),multi:!0};let B=(()=>{class t{constructor(){this.accessors=[]}add(c,d){this.accessors.push([c,d])}remove(c){this.accessors=this.accessors.filter(d=>d[1]!==c)}
1select(c){this.accessors.forEach(d=>{this.isSameGroup(d,c)&&d[1]!==c&&d[1].writeValue(c.value)})}isSameGroup(c,d){return!!c[0].control&&c[0].control.root===d.control.control.root&&c[1].name===d.name}}return t.\u0275fac=function(c){return new(c||t)},t.\u0275prov=(0,l.Yz7)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),_=(()=>{class t{constructor(c,d,b){this.cd=c,this.injector=d,this.registry=b,this.onClick=new l.vpe,this.onFocus=new l.vpe,this.onBlur=new l.vpe,this.onModelChange=()=>{},this.onModelTouched=()=>{}}ngOnInit(){this.control=this.injector.get(g.a5),this.checkName(),this.registry.add(this.control,this)}handleClick(c,d,b){c.preventDefault(),!this.disabled&&(this.select(c),b&&d.focus())}select(c){this.disabled||(this.inputViewChild.nativeElement.checked=!0,this.checked=!0,this.onModelChange(this.value),this.registry.select(this),this.onClick.emit(c))}writeValue(c){this.checked=c==this.value,this.inputViewChild&&this.inputViewChild.nativeElement&&(this.inputViewChild.nativeElement.checked=this.checked),this.cd.markForCheck()}registerOnChange(c){this.onModelChange=c}registerOnTouched(c){this.onModelTouched=c}setDisabledState(c){this.disabled=c,this.cd.markForCheck()}onInputFocus(c){this.focused=!0,this.onFocus.emit(c)}onInputBlur(c){this.focused=!1,this.onModelTouched(),this.onBlur.emit(c)}onChange(c){this.select(c)}focus(){this.inputViewChild.nativeElement.focus()}ngOnDestroy(){this.registry.remove(this)}checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this.throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}throwNameError(){throw new Error('\n          If you define both a name and a formControlName attribute on your radio button, their values\n          must match. Ex: <p-radioButton formControlName="food" name="food"></p-radioButton>\n        ')}}return t.\u0275fac=function(c){return new(c||t)(l.Y36(l.sBO),l.Y36(l.zs3),l.Y36(B))},t.\u0275cmp=l.Xpm({type:t,selectors:[["p-radioButton"]],viewQuery:function(c,d){if(1&c&&l.Gf(T,5),2&c){let b;l.iGM(b=l.CRH())&&(d.inputViewChild=b.first)}},inputs:{disabled:"disabled",name:"name",value:"value",formControlName:"formControlName",label:"label",tabindex:"tabindex",inputId:"inputId",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",style:"style",styleClass:"styleClass",labelStyleClass:"labelStyleClass"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[l._Bn([Y])],decls:7,vars:23,consts:[[3,"ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","radio",3,"checked","disabled","change","focus","blur"],["rb",""],[3,"ngClass","click"],[1,"p-radiobutton-icon"],[3,"class","ngClass","click",4,"ngIf"]],template:function(c,d){if(1&c){const b=l.EpF();l.TgZ(0,"div",0)(1,"div",1)(2,"input",2,3),l.NdJ("change",function(v){return d.onChange(v)})("focus",function(v){return d.onInputFocus(v)})("blur",function(v){return d.onInputBlur(v)}),l.qZA()(),l.TgZ(4,"div",4),l.NdJ("click",function(v){l.CHM(b);const k=l.MAs(3);return l.KtG(d.handleClick(v,k,!0))}),l._UZ(5,"span",5),l.qZA()(),l.YNc(6,y,2,9,"label",6)}2&c&&(l.Tol(d.styleClass),l.Q6J("ngStyle",d.style)("ngClass",l.kEZ(15,L,d.checked,d.disabled,d.focused)),l.xp6(2),l.Q6J("checked",d.checked)("disabled",d.disabled),l.uIk("id",d.inputId)("name",d.name)("value",d.value)("tabindex",d.tabindex)("aria-checked",d.checked)("aria-label",d.ariaLabel)("aria-labelledby",d.ariaLabelledBy),l.xp6(2),l.Q6J("ngClass",l.kEZ(19,H,d.checked,d.disabled,d.focused)),l.xp6(2),l.Q6J("ngIf",d.label))},dependencies:[f.mk,f.O5,f.PC],encapsulation:2,changeDetection:0}),t})(),A=(()=>{class t{}return t.\u0275fac=function(c){return new(c||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({imports:[f.ez]}),t})()}}]);

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.