text: (window.webpackJsonp=window.webpackJsonp||[]).push([[28],{208:function(t,e,n){var content=n(211);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(34).default)("203e5b3c",content,!0,{sourceMap:!1})},210:function(t,e,n){"use strict";var r=n(208);n.n(r).a},211:function(t,e,n){(e=n(33)(!1)).push([t.i,".surah__header[data-v-5b63acff]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.surah__title[data-v-5b63acff]{font-size:2rem;width:100%;float:right;text-align:right}.surah__title--latin[data-v-5b63acff]{width:100%;font-size:1.2rem}.surah__trans[data-v-5b63acff]{font-style:italic;line-height:2}.surah__count[data-v-5b63acff],.surah__trans[data-v-5b63acff]{text-align:right}.surah svg[data-v-5b63acff]{fill:var(--text-color)}",""]),t.exports=e},212:function(t,e,n){"use strict";n(21),n(22),n(15),n(55),n(67),n(91),n(111);var r=n(26),o=n(35),c=n(27),l=n(28),f=n(16),d=n(3),h=n(17),v=n(9);function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var _=function(t){Object(c.a)(d,t);var e,n=(e=d,function(){var t,n=Object(f.a)(e);if(m()){var r=Object(f.a)(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Object(l.a)(this,t)});function d(){return Object(r.a)(this,d),n.apply(this,arguments)}return Object(o.a)(d,[{key:"doAddToFavorite",value:function(t){this.addToFavorite(t),this.showNotification({title:"Pesan Sukses",message:"Surat berhasil ditambahkan ke daftar favorit."})}},{key:"doRemoveFromfavorite",value:function(t){this.removeFromFavorite(t),this.showNotification({title:"Pesan Sukses",message:"Surat berhasil dihapus dari daftar favorit."})}},{key:"findInFavorite",value:function(t){return!!(this.surahFavorite||[]).find((function(e){return e.index===t.index}))}},{key:"getSurahDetailUrl",value:function(t){return"/".concat(t,"/")}},{key:"goToSurahDetail",value:function(t){var path=this.getSurahDetailUrl(t);this.$router.push(path)}},{key:"isAmp",get:function(){return this.source.includes("amp")}}]),d}(h.Vue);Object(d.a)([Object(h.Prop)({default:function(){return[]}})],_.prototype,"surahArray",void 0),Object(d.a)([Object(h.Prop)({type:String,default:""})],_.prototype,"source",void 0),Object(d.a)([v.State],_.prototype,"surahFavorite",void 0),Object(d.a)([v.Action],_.prototype,"addToFavorite",void 0),Object(d.a)([v.Action],_.prototype,"removeFromFavorite",void 0),Object(d.a)([v.Action],_.prototype,"showNotification",void 0);var y=_=Object(d.a)([h.Component],_),x=(n(210),n(5)),component=Object(x.a)(y,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"surah__root"},t._l(t.surahArray,(function(e){return n("nuxt-link",{key:e.index,staticClass:"surah block_content has-shadow",attrs:{to:"/"+e.index+"/"},on:{click:function(n){return n.preventDefault(),t.goToSurahDetail(e.index)}}},[n("div",{staticClass:"surah__header"},[n("div",{staticClass:"surah__index tag_index"},[t._v("\n        "+t._s(e.index)+"\n      ")]),t._v(" "),n("div",{staticClass:"surah__header--right"},[t.isAmp||t.findInFavorite(e)?t._e():n("svg",{attrs:{viewBox:"0 0 512 512",width:"30px",height:"30px"},on:{click:function(n){return n.preventDefault(),t.doAddToFavorite(e)}}},[n("path",{attrs:{d:"M463 192H315.9L271.2 58.6C269 52.1 262.9 48 256 48s-13 4.1-15.2 10.6L196.1 192H48c-8.8 0-16 7.2-16 16 0 .9.1 1.9.3 2.7.2 3.5 1.8 7.4 6.7 11.3l120.9 85.2-46.4 134.9c-2.3 6.5 0 13.8 5.5 18 2.9 2.1 5.6 3.9 9 3.9 3.3 0 7.2-1.7 10-3.6l118-84.1 118 84.1c2.8 2 6.7 3.6 10 3.6 3.4 0 6.1-1.7 8.9-3.9 5.6-4.2 7.8-11.4 5.5-18L352 307.2l119.9-86 2.9-2.5c2.6-2.8 5.2-6.6 5.2-10.7 0-8.8-8.2-16-17-16zm-127.2 92.5c-10 7.2-14.2 20.2-10.2 31.8l30.1 87.7c1.3 3.7-2.9 6.8-6.1 4.6l-77.4-55.2c-4.9-3.5-10.6-5.2-16.3-5.2-5.7 0-11.4 1.7-16.2 5.2l-77.4 55.1c-3.2 2.3-7.4-.9-6.1-4.6l30.1-87.7c4-11.8-.2-24.8-10.3-32l-81-57.1c-3.2-2.2-1.6-7.3 2.3-7.3H196c12 0 22.7-7.7 26.5-19.1l29.6-88.2c1.2-3.6 6.4-3.6 7.6 0l29.6 88.2c3.8 11.4 14.5 19.1 26.5 19.1h97.3c3.9 0 5.5 5 2.3 7.2l-79.6 57.5z"}})]),t._v(" "),!t.isAmp&&t.findInFavorite(e)?n("svg",{staticStyle:{fill:"#f5aa1e!important"},attrs:{viewBox:"0 0 512 512",width:"30px",height:"30px"},on:{click:function(n){return n.preventDefault(),t.doRemoveFromfavorite(e)}}},[n("path",{attrs:{d:"M463 192H315.9L271.2 58.6C269 52.1 262.9 48 256 48s-13 4.1-15.2 10.6L196.1 192H48c-8.8 0-16 7.2-16 16 0 .9.1 1.9.3 2.7.2 3.5 1.8 7.4 6.7 11.3l120.9 85.2-46.4 134.9c-2.3 6.5 0 13.8 5.5 18 2.9 2.1 5.6 3.9 9 3.9 3.3 0 7.2-1.7 10-3.6l118-84.1 118 84.1c2.8 2 6.7 3.6 10 3.6 3.4 0 6.1-1.7 8.9-3.9 5.6-4.2 7.8-11.4 5.5-18L352 307.2l119.9-86 2.9-2.5c2.6-2.8 5.2-6.6 5.2-10.7 0-8.8-8.2-16-17-16z"}})]):t._e()])]),t._v(" "),n("div",{staticClass:"divider clearfix"},[n("div",{staticClass:"surah__title font-arabic",attrs:{dir:"rtl",lang:"ar"}},[t._v("\n        "+t._s(e.arabic)+"\n      ")])]),t._v(" "),n("div",{staticClass:"divider clearfix"},[n("div",{staticClass:"surah__title surah__title--latin"},[t._v("\n        "+t._s(e.latin)+"\n      ")])]),t._v(" "),n("div",{staticClass:"divider clearfix"},[n("div",{staticClass:"surah__trans"},[t._v("\n        ("+t._s(e.translation)+": "+t._s(e.ayah_count)+" Ayat)\n      ")])])])})),1)}),[],!1,null,"5b63acff",null);e.a=component.exports},216:function(t,e,n){"use strict";e.a={data:[{translation:"Yusuf",arabic:"يوسف",latin:"Yusuf",ayah_count:111,index:12},{translation:"Goa",arabic:"الكهف",latin:"Al-Kahf",ayah_count:110,index:18},{translation:"Yasin",arabic:"يٰسۤ",latin:"Yasin",ayah_count:83,index:36},{translation:"Maha Pengasih",arabic:"الرحمن",latin:"Ar-Rahman",ayah_count:78,index:55},{translation:"Hari Kiamat",arabic:"الواقعة",latin:"Al-Waqi'ah",ayah_count:96,index:56},{translation:"Jumat",arabic:"الجمعة",latin:"Al-Jumu'ah",ayah_count:11,index:62},{translation:"Kerajaan",arabic:"الملك",latin:"Al-Mulk",ayah_count:30,index:67}]}},231:function(t,e,n){var content=n(280);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(34).default)("0a7bbf1a",content,!0,{sourceMap:!1})},279:function(t,e,n){"use strict";var r=n(231);n.n(r).a},280:function(t,e,n){(e=n(33)(!1)).push([t.i,".feed[data-v-1e4a6a12]{display:block;width:90%;margin:1em auto;padding-bottom:1em;border-bottom:1px solid #ccc}.feed__title[data-v-1e4a6a12]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;font-size:1.5rem}.feed__title svg[data-v-1e4a6a12]{margin-right:.2em}.feed__empty[data-v-1e4a6a12]{text-align:left;padding-top:1em;color:var(--text-color);font-style:italic}",""]),t.exports=e},452:function(t,e,n){"use strict";n.r(e);n(21),n(22),n(15),n(55);var r=n(26),o=n(35),c=n(27),l=n(28),f=n(16),d=n(3),h=n(17),v=n(9),m=n(113),_=n.n(m),y=n(212),x=n(66),k=n(216);function j(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var O=function(t){Object(c.a)(d,t);var e,n=(e=d,function(){var t,n=Object(f.a)(e);if(j()){var r=Object(f.a)(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Object(l.a)(this,t)});function d(){var t;return Object(r.a)(this,d),(t=n.apply(this,arguments)).surahRecommendation=k.a.data,t}return Object(o.a)(d,[{key:"head",value:function(){return this.metaHead}},{key:"mounted",value:function(){this.setHeaderTitle(x.a.RECOMMENDATION),this.setPage("recommendation")}},{key:"activated",value:function(){this.setHeaderTitle(x.a.RECOMMENDATION),this.setPage("recommendation")}},{key:"metaHead",get:function(){return{title:x.s,meta:[{hid:"description",name:"description",content:x.h},{hid:"og:title",property:"og:title",content:x.s},{hid:"twitter:title",name:"twitter:title",content:x.s},{hid:"theme-color",name:"theme-color",content:this.settingActiveTheme.bgColor}],link:[{rel:"amphtml",href:"".concat(x.a.PATH,"amp/recommendation/")}]}}}]),d}(h.Vue);Object(d.a)([v.State],O.prototype,"settingActiveTheme",void 0),Object(d.a)([v.Mutation],O.prototype,"setHeaderTitle",void 0),Object(d.a)([v.Mutation],O.prototype,"setPage",void 0);var w=O=Object(d.a)([Object(h.Component)({components:{IosNavigateIcon:_.a,Surah:y.a}})],O),C=(n(279),n(5)),component=Object(C.a)(w,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"container"},[e("div",{staticClass:"feed clearfix"},[e("div",{staticClass:"feed__title"},[e("IosNavigateIcon",{attrs:{w:"1em",h:"1em"}}),this._v("\n      Surat rekomendasi:\n    ")],1),this._v(" "),e("div",{staticClass:"feed__item clearfix"},[e("Surah",{attrs:{"surah-array":this.surahRecommendation}})],1)])])}),[],!1,null,"1e4a6a12",null);e.default=component.exports}}]);