12 |
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[67314],{21572:function(e,n,r){"use strict";var t,a=r(67597);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)({}).hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},i.apply(null,arguments)}n.Z=function(e){return a.createElement("svg",i({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t||(t=a.createElement("path",{d:"m15 5-1.41 1.41L18.17 11H2v2h16.17l-4.59 4.59L15 19l7-7-7-7Z",fill:"currentColor"})))}},25064:function(e,n,r){"use strict";var t,a=r(67597);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)({}).hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},i.apply(null,arguments)}n.Z=function(e){return a.createElement("svg",i({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t||(t=a.createElement("path",{d:"M11.625 0C5.208 0 0 5.208 0 11.625S5.208 23.25 11.625 23.25 23.25 18.042 23.25 11.625 18.042 0 11.625 0Zm1.162 17.438h-2.325v-6.975h2.325v6.975Zm0-9.3h-2.325V5.812h2.325v2.324Z",fill:"currentColor"})))}},67314:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return we}});var t,a,i=r(45361),s=r(57044),o=r(16946),c=r(8522),u=r(57611),l=r(67597),d=r(37014),m=r.n(d),_=r(85378),v=r.n(_),h=r(61395),f=r(648),p=r(69976),g=r(15129),R=r(47189),C=r(85494),x=r(43172),y=function(e){var n=e.isClearable,r=e.onRemoveCommandClicked,t=e.commandKey;e.isSelected;return n?(0,u.jsx)(C.ZP,{variant:C.Wu.Ghost,size:C.qE.Small,onClick:function(e){return r(e,t)},children:(0,u.jsx)(x.Z,{})}):null},E=r(51805),N=r.n(E),b=r(78831),j=r.n(b),S=r(21572),T=r(94292),Z=function(e){var n=e.name,r=e.type,t=(0,h.Z)("common").t;return(0,u.jsxs)("div",{className:j().container,children:[(0,u.jsx)("span",{className:j().commandPrefix,children:(0,u.jsx)(S.Z,{})}),(0,u.jsx)("p",{className:j().name,children:r===T.H.SEARCH_PAGE?t("search-for",{searchQuery:n}):n})]})},O=r(81858),w=r(82649),k=r(12195),P=r(84020),A=function(e){var n=e.commandGroups,r=n.groups,t=n.numberOfCommands,a=(0,h.Z)("common").t,s=(0,p.Z)((0,O.ZP)(O.nv),2),o=s[0],c=s[1],d=(0,l.useState)(t?0:null),_=d[0],v=d[1],C=(0,l.useState)(null),x=C[0],E=C[1];(0,l.useEffect)((function(){c.current&&E(c.current.offsetTop)}),[_,c]),(0,l.useEffect)((function(){v(t?0:null)}),[t]);var b=(0,g.useRouter)(),j=(0,f.I0)(),S=(0,l.useCallback)((function(e){e.preventDefault(),v((function(e){return e-1})),o()}),[o]),T=(0,l.useCallback)((function(e){e.preventDefault(),v((function(e){return e+1})),o()}),[o]),A=(0,l.useCallback)((function(e){var n=e.name,r=e.resultType,t=e.key;b.push((0,P.zp)(r,t)).then((function(){j({type:w.EK.type,payload:{name:n,resultType:r,key:t}}),j({type:w.Pn.type,payload:!1})}))}),[j,b]);(0,R.y1)("up",S,{enabled:t&&0!==_,enableOnTags:["INPUT"]},[o]),(0,R.y1)("down",T,{enabled:t&&_!==t-1,enableOnTags:["INPUT"]},[o]),(0,R.y1)("enter",(function(){var e=null;Object.keys(r).forEach((function(n){var t=r[n].find((function(e){return e.index===_}));t&&(e=t)})),A(e)}),{enabled:null!==_,enableOnTags:["INPUT"]},[_,r,A]);var I=function(e,n){(0,k.MY)("remove_command_bar_navigation"),e.stopPropagation(),j({type:w.vr.type,payload:n})};return 0===t?(0,u.jsx)("p",{className:N().noResult,children:a("command-bar.no-nav-results")}):(0,u.jsxs)("ul",{role:"listbox",children:[(0,u.jsx)("div",{className:N().highlight,style:{transform:x?"translateY(".concat(x,"px)"):"translateY(100%)"}}),(0,u.jsx)("li",{role:"presentation",children:Object.keys(r).map((function(e){return(0,u.jsxs)("div",{children:[(0,u.jsx)("div",{className:N().groupHeader,id:e,children:e}),(0,u.jsx)("ul",{role:"group","aria-labelledby":e,children:r[e].map((function(e){var n=e.name,r=e.resultType,t=_===e.index;return(0,u.jsxs)("li",{ref:t?c:null,role:"option","aria-selected":t,className:m()(N().command,(0,i.Z)({},N().selected,t)),onClick:function(){return A(e)},onMouseOver:function(){return v(e.index)},children:[(0,u.jsx)(Z,{name:n,type:r}),(0,u.jsx)("div",{className:N().keyboardInputContainer,children:(0,u.jsx)(y,{isClearable:e.isClearable,isSelected:t,commandKey:e.key,onRemoveCommandClicked:I})})]},e.index)}))})]},e)}))})]})},I=r(67534),B=r.n(I),H=r(73756),L=r(82531),M=r.n(L),K=r(57830),U=r(25064),D=r(15138);function G(){return G=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var t in r)({}).hasOwnProperty.call(r,t)&&(e[t]=r[t])}return e},G.apply(null,arguments)}var W,z=function(e){return l.createElement("svg",G({width:80,height:61,viewBox:"0 0 80 61",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t||(t=l.createElement("path",{d:"M41.784 38.612c5.056 0 9.193-4.146 9.193-9.213V9.212C50.977 4.146 46.84 0 41.784 0S32.59 4.146 32.59 9.212V29.4c0 5.067 4.137 9.213 9.193 9.213Zm16.24-10.116c0 9.212-7.813 15.661-16.24 15.661s-16.241-6.449-16.241-15.661h-5.21c0 10.44 8.275 19.192 18.387 20.575v10.992h6.128V49.07c10.112-1.536 18.387-10.135 18.387-20.575h-5.21Z"})),a||(a=l.createElement("path",{stroke:"var(--color-background-inverse)",strokeWidth:5,d:"m1.583 56.941 76.999-53"})))};!function(e){e.NO_PERMISSION="NO_PERMISSION",e.NOT_SUPPORTED="NOT_SUPPORTED",e.SOCKET_ERROR="SOCKET_ERROR",e.RESPONSE_ERROR="RESPONSE_ERROR",e.WORKLET_ERROR="WORKLET_ERROR",e.GENERAL_ERROR="GENERAL_ERROR"}(W||(W={}));var q,F=W,V=function(e){var n=e.error,r=e.isWaitingForPermission,t=e.isCommandBar,a=(0,h.Z)("common").t,i=null,s=null;if(r)s=(0,u.jsx)("p",{children:a("voice.ask-permission")}),i=(0,u.jsx)(D.Z,{});else{var o="";switch(n){case F.NO_PERMISSION:o=a("voice.no-permission"),i=(0,u.jsx)(z,{});break;case F.NOT_SUPPORTED:o=a("voice.not-supported"),i=(0,u.jsx)(z,{});break;default:o=a("voice.error"),i=(0,u.jsx)(U.Z,{})}s=(0,u.jsxs)("div",{children:[(0,u.jsx)("span",{children:o}),(0,u.jsx)(K.Z,{href:"https://download.tarteel.ai",isNewTab:!0,variant:K.r.Highlight,onClick:function(){(0,k.Io)("".concat(t?"command_bar":"search_drawer","_error"))},children:a("tarteel.app")})]})}return(0,u.jsxs)("div",{className:M().container,children:[i,s]})},Y=r(37646),J=r.n(Y),Q=function(e){return Math.max(1.5*e/100)+1},X=function(e){var n=e.partialTranscript,r=e.volume,t=e.verticalLayout,a=e.stopRecording,i=(0,h.Z)("common").t;return(0,u.jsxs)("div",{className:m()(J().outerContainer,t&&J().verticalLyaout),children:[(0,u.jsxs)("div",{className:J().innerContainer,children:[(0,u.jsxs)("div",{children:[(0,u.jsx)("h3",{className:J().suggestTitle,children:i("voice.suggest-title")}),(0,u.jsx)("p",{className:J().suggestSubtitle,children:i("voice.suggest-subtitle")})]}),(0,u.jsxs)("div",{className:J().circlesContainer,onClick:a,children:[(0,u.jsx)("div",{className:J().volumeCircle,style:{"--volume":Q(r)}}),(0,u.jsx)("div",{className:J().micCircle,children:(0,u.jsx)(D.Z,{})})]})]}),(0,u.jsx)("p",{className:J().transcript,children:n})]})},$=r(17580),ee=r(48752),ne=r(61388),re=r(18054),te=r(27967),ae=r(1050),ie=r(43609),se=r(48842),oe=function(e){var n=e.searchResult,r=e.isCommandBar,t=(0,f.v9)(ee.qw,ae.Hj),a=(0,h.Z)("common"),i=a.t,c=a.lang,d=(0,s.Z)({filters:n.matches.slice(0,10).map((function(e){return"".concat(e.surahNum,":").concat(e.ayahNum)})).join(","),fields:"text_uthmani"},!r&&(0,s.Z)({words:!0},!!t.length&&{translations:t.join(","),translationFields:"text,resource_id,resource_name"})),m=(0,l.useCallback)((function(e){if(r){var n=e.verses.map((function(e){return{key:e.verseKey,resultType:T.H.AYAH,name:"[".concat((0,ie.Tj)(e.verseKey,c),"] ").concat((0,se.aS)(e.textUthmani,80)),group:i("command-bar.navigations")}}));return(0,u.jsx)(A,{commandGroups:{groups:v()(n.map((function(e,n){return(0,o.Z)((0,s.Z)({},e),{index:n})})),(function(e){return e.group})),numberOfCommands:e.verses.length}})}return(0,u.jsx)(u.Fragment,{children:e.verses.map((function(e){return(0,u.jsx)($.Z,{result:e,source:re.Z.Tarteel,service:ne.Z.Tarteel},e.verseKey)}))})}),[r,c,i]);return(0,u.jsx)(H.Z,{queryKey:(0,te.Wq)(d),render:m})},ce=r(49326),ue=r.n(ce),le=r(99807),de=r(10117),me=r(1997),_e=r(51726),ve=function(e){return e},he=r(32190),fe=r(42739);!function(e){e.START_STREAM="START_STREAM",e.END_STREAM="END_STREAM",e.SEARCH_LOADING="SEARCH_LOADING",e.SEARCH_RESULT="SEARCH_RESULT",e.PARTIAL_TRANSCRIPT="PARTIAL_TRANSCRIPT",e.ERROR="ERROR"}(q||(q={}));var pe=q,ge=r(25620),Re={sampleRate:16e3,fileFormat:"WAV",channels:1},Ce={event:pe.END_STREAM},xe={event:pe.START_STREAM,data:{audioConfig:Re}},ye={sampleRate:Re.sampleRate,channelCount:Re.channels,sampleSize:4096},Ee="USER_MEDIA_NOT_SUPPORTED",Ne=function(e){return e&&e.readyState===e.OPEN},be=function(){var e=(0,l.useState)(0),n=e[0],t=e[1],a=(0,l.useRef)(null),i=(0,l.useState)(!1),s=i[0],o=i[1],c=(0,l.useState)(null),u=c[0],d=c[1],m=(0,l.useState)(null),_=m[0],v=m[1],h=(0,l.useState)(null),f=h[0],p=h[1],g=(0,l.useState)(!1),R=g[0],C=g[1],x=(0,l.useRef)(null),y=(0,l.useRef)(null),E=(0,l.useRef)(null),N=(0,l.useRef)(null),b=(0,l.useRef)(null);(0,he.Z)((function(){window.AudioContext=window.AudioContext||window.webkitAudioContext,void 0===navigator.mediaDevices&&(navigator.mediaDevices={}),void 0===navigator.mediaDevices.getUserMedia&&(navigator.mediaDevices.getUserMedia=function(e){var n=navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.getUserMedia;return n?new Promise((function(r,t){n.call(navigator,e,r,t)})):Promise.reject(new Error(Ee))})}),[]);var j=(0,l.useCallback)((function(){a.current&&a.current.getAudioTracks().forEach((function(e){e.stop()})),t(0)}),[]),S=(0,l.useCallback)((0,me.Z)((function(){var e,n=arguments;return(0,_e.__generator)(this,(function(r){switch(r.label){case 0:return(e=!(n.length>0&&void 0!==n[0])||n[0])||_?(Ne(x.current)&&(x.current.send(JSON.stringify(Ce)),e&&x.current.close()),j(),y&&y.current.disconnect(),E&&E.current.disconnect(),b&&b.current.disconnect(),"running"!==N.current.state?[3,2]:[4,N.current.close()]):[2];case 1:r.sent(),r.label=2;case 2:return[2]}}))})),[j,_]),T=(0,l.useCallback)((function(e){var n=JSON.parse(e.data),r=n.event,t=n.data;switch(r){case pe.SEARCH_LOADING:o(!0);break;case pe.SEARCH_RESULT:var a;o(!1),p(t),(null===(a=t.matches)||void 0===a?void 0:a.length)||(0,k.Dy)({query:t.queryText,source:re.Z.Tarteel,type:fe.Z.Voice,service:ne.Z.Tarteel}),S();break;case pe.PARTIAL_TRANSCRIPT:o(!1),v(t.queryText);break;case pe.ERROR:o(!1),(0,k.Kz)("tarteel_error",{error:r}),d(F.RESPONSE_ERROR)}}),[S]),Z=(0,l.useCallback)((0,me.Z)((function(){return(0,_e.__generator)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,N.current.audioWorklet.addModule(new ve(r.tu(new URL(r.p+r.u(14368),r.b))))];case 1:return e.sent(),(0,k.Kz)("tarteel_websocket_initialize"),o(!0),x.current=new WebSocket("wss://voice-v2.tarteel.io/search/?Authorization=".concat(ge.env.NEXT_PUBLIC_TARTEEL_VS_API_KEY)),x.current.onopen=function(){(0,k.Kz)("tarteel_websocket_open"),o(!1),y.current=N.current.createAnalyser(),y.current.smoothingTimeConstant=.8,y.current.fftSize=1024;var e=new Uint8Array(y.current.frequencyBinCount);E.current=new AudioWorkletNode(N.current,"MicInputProcessor"),x.current.send(JSON.stringify(xe)),b.current.connect(y.current),y.current.connect(E.current),E.current.connect(N.current.destination),E.current.port.onmessage=function(n){t(function(e,n){e.getByteFrequencyData(n);for(var r=0,t=n.length,a=0;a<t;a+=1)r+=n[a];var i=Math.round(r/t);return i>100?100:i}(y.current,e)),Ne(x.current)&&x.current.send(n.data)}},x.current.onmessage=function(e){T(e)},x.current.onerror=function(){(0,k.Kz)("tarteel_websocket_error"),o(!1),d(F.SOCKET_ERROR),j()},[3,3];case 2:return e.sent(),(0,k.Kz)("voice_search_worklet_error"),d(F.WORKLET_ERROR),[3,3];case 3:return[2]}}))})),[T,j]),O=(0,l.useCallback)((0,me.Z)((function(){var e,n,r;return(0,_e.__generator)(this,(function(t){switch(t.label){case 0:d(null),v(null),p(null),C(!0),N.current=new window.AudioContext({sampleRate:Re.sampleRate}),t.label=1;case 1:return t.trys.push([1,4,5,6]),[4,navigator.mediaDevices.getUserMedia({audio:ye})];case 2:e=t.sent(),a.current=e;try{b.current=N.current.createMediaStreamSource(e)}catch(i){throw(0,k.Kz)("voice_search_create_media_stream_error"),S(),new Error(Ee)}return[4,Z()];case 3:return t.sent(),[3,6];case 4:return(n=t.sent()).message===Ee?((0,k.Kz)("voice_search_not_supported"),d(F.NOT_SUPPORTED)):((r="NotAllowedError"===n.name)&&(0,k.Kz)("voice_search_permission_denied"),d(r?F.NO_PERMISSION:F.GENERAL_ERROR)),[3,6];case 5:return C(!1),[7];case 6:return[2]}}))})),[S,Z]);return{isLoading:s,error:u,partialTranscript:_,searchResult:f,volume:n,isWaitingForPermission:R,startRecording:O,stopRecording:S}},je=function(e){var n,r=e.isCommandBar,t=void 0!==r&&r,a=be(),s=a.isLoading,o=a.partialTranscript,c=a.searchResult,d=a.error,_=a.volume,v=a.isWaitingForPermission,h=a.startRecording,f=a.stopRecording;(0,l.useEffect)((function(){return h(),function(){f()}}),[]);var p,g;return s?(0,u.jsx)(de.Z,{size:de.E.Large}):d||v?(0,u.jsx)("div",{className:m()((0,i.Z)({},ue().container,!t)),children:(0,u.jsx)(V,{isCommandBar:t,error:d,isWaitingForPermission:v})}):c&&!(null===(n=c.matches)||void 0===n?void 0:n.length)?(0,u.jsx)("div",{className:m()((p={},(0,i.Z)(p,ue().container,!t),(0,i.Z)(p,ue().noResultContainer,t),p)),children:(0,u.jsx)(le.Z,{searchQuery:o})}):(0,u.jsx)(u.Fragment,{children:c?(0,u.jsx)(oe,{searchResult:c,isCommandBar:t}):(0,u.jsx)("div",{className:m()((g={},(0,i.Z)(g,ue().container,!t),(0,i.Z)(g,ue().commandBarContainer,t),g)),children:(0,u.jsx)(X,{verticalLayout:!t,partialTranscript:o,volume:_,stopRecording:function(){f(!1)}})})})},Se=r(62076),Te=r(42366),Ze=r(17678),Oe=[{name:"Juz 1",key:1,resultType:T.H.JUZ},{name:"Hizb 1",key:1,resultType:T.H.HIZB},{name:"Rub el Hizb 1",key:1,resultType:T.H.RUB_EL_HIZB},{name:"Page 1",key:1,resultType:T.H.PAGE},{name:"Surah Yasin",key:36,resultType:T.H.SURAH},{name:"2:255",key:"2:255",resultType:T.H.AYAH}],we=function(){var e=(0,h.Z)("common").t,n=(0,f.v9)(w.cl,ae.Hj),r=(0,f.v9)(Ze.ID,f.wU),t=(0,l.useState)(null),a=t[0],d=t[1],_=(0,Se.Z)(a,1500);(0,l.useEffect)((function(){_&&(0,k.tL)(_,re.Z.CommandBar)}),[_]);var p=(0,l.useCallback)((function(e){d(e.currentTarget.value||null)}),[]),g=(0,l.useCallback)((function(){return n.map((function(n){return(0,o.Z)((0,s.Z)({},n),{group:e("command-bar.recent-navigations"),isClearable:!0})})).concat(Oe.map((function(n){return(0,o.Z)((0,s.Z)({},n),{group:e("command-bar.try-navigating"),isClearable:!1})})))}),[n,e]),R=(0,l.useCallback)((function(r){var t=[],i=0;return r?(t=(0,c.Z)(r.result.navigation.map((function(n){return(0,o.Z)((0,s.Z)({},n),{group:e("command-bar.navigations")})}))).concat([{key:a,resultType:T.H.SEARCH_PAGE,name:a,group:e("search.title")}]),i=r.result.navigation.length+1):(t=g(),i=n.length+Oe.length),(0,u.jsx)(A,{commandGroups:{groups:v()(t.map((function(e,n){return(0,o.Z)((0,s.Z)({},e),{index:n})})),(function(e){return e.group})),numberOfCommands:i}})}),[g,n.length,a,e]);return(0,u.jsxs)("div",{className:B().container,children:[(0,u.jsx)("div",{className:m()(B().inputContainer,(0,i.Z)({},B().voiceFlowContainer,r)),children:!r&&(0,u.jsxs)("div",{className:B().textInputContainer,children:[(0,u.jsx)(Te.Z,{}),(0,u.jsx)("input",{onChange:p,placeholder:e("command-bar.placeholder"),className:B().input,type:"text",inputMode:"text",autoFocus:!0})]})}),(0,u.jsx)("div",{className:B().bodyContainer,children:r?(0,u.jsx)(je,{isCommandBar:!0}):(0,u.jsx)(H.Z,{queryKey:a?(0,te.do)({query:a}):null,render:R})})]})}},99807:function(e,n,r){"use strict";var t=r(57611),a=(r(67597),r(61395)),i=r(36773),s=r.n(i),o=r(42366);n.Z=function(e){var n=e.searchQuery,r=(0,a.Z)("common").t;return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:s().container,children:(0,t.jsxs)("div",{className:s().mainBody,children:[(0,t.jsx)("div",{className:s().iconContainer,children:(0,t.jsx)(o.Z,{})}),(0,t.jsx)("p",{className:s().mainMessage,children:r("search.no-results")}),(0,t.jsx)("p",{className:s().secondaryMessage,children:r("search.no-results-suggestion",{searchQuery:n})})]})})})}},17580:function(e,n,r){"use strict";var t=r(57611),a=r(67597),i=r(61395),s=r(77684),o=r.n(s),c=r(57830),u=r(18636),l=r(15104),d=r(61388),m=r(22582),_=r(12195),v=r(43609),h=r(84020),f=r(69640);n.Z=function(e){var n,r=e.result,s=e.source,p=e.service,g=void 0===p?d.Z.QDC:p,R=(0,i.Z)("quran-reader").lang,C=(0,a.useMemo)((function(){return(0,v.Tj)(r.verseKey,R)}),[R,r.verseKey]),x=(0,l.Z)(R);if(!x)return null;var y=(0,f.Tc)(r.verseKey),E=(0,m.dy)(x,y.toString());return(0,t.jsx)("div",{className:o().container,children:(0,t.jsxs)("div",{className:o().itemContainer,children:[(0,t.jsxs)(c.Z,{className:o().verseKey,href:(0,h.P6)(r.verseKey),onClick:function(){(0,_.MY)("search_result_item",{service:g,source:s})},children:[E.transliteratedName," ",C]}),(0,t.jsx)("div",{className:o().quranTextContainer,children:(0,t.jsx)("div",{className:o().quranTextResult,translate:"no",children:r.words.map((function(e,n){return(0,t.jsx)(u.Z,{isHighlighted:!!e.highlight,word:e,isWordByWordAllowed:!1,isAudioHighlightingAllowed:!1},"".concat(r.verseKey,":").concat(n+1))}))})}),null===(n=r.translations)||void 0===n?void 0:n.map((function(e){return(0,t.jsxs)("div",{className:o().translationContainer,children:[(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:e.text}}),(0,t.jsxs)("p",{className:o().translationName,children:[" - ",e.resourceName]})]},e.resourceId)}))]})})}},81858:function(e,n,r){"use strict";r.d(n,{Oz:function(){return a},gZ:function(){return s},lT:function(){return o},nv:function(){return i}});var t=r(67597),a=function(e){var n=(0,t.useRef)(null);return[function(){n.current&&n.current.scrollIntoView(e)},n]},i={block:"center",behavior:"smooth"},s={block:"start",behavior:"smooth"},o={block:"nearest"};n.ZP=a},48842:function(e,n,r){"use strict";r.d(n,{Nl:function(){return i},aS:function(){return t},ox:function(){return a}});var t=function(e,n){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"...",t=e.split("",n),a="",i=0;i<t.length;i+=1){var s=t[i];if(a.length===n-1){a="".concat(a).concat(s).concat(r);break}a="".concat(a).concat(s)}return a},a=function(e){return e.replace(/(<([^>]+)>)/gi,"")},i=function(e){if(!e)return"";var n=e.split("-");return 1===n.length?n[0]:n[n.length-1]}},67534:function(e){e.exports={container:"CommandBarBody_container__s5HGd",textInputContainer:"CommandBarBody_textInputContainer__nA99M",input:"CommandBarBody_input__EiX78",inputContainer:"CommandBarBody_inputContainer__mYwbs",voiceFlowContainer:"CommandBarBody_voiceFlowContainer__FlqZy",bodyContainer:"CommandBarBody_bodyContainer__R267m",attribution:"CommandBarBody_attribution__8GTI0"}},51805:function(e){e.exports={noResult:"CommandList_noResult__oTg7n",groupHeader:"CommandList_groupHeader___yWaG",command:"CommandList_command__BB_Gf",selected:"CommandList_selected__rVGLj",highlight:"CommandList_highlight__1HwZs",keyboardInputContainer:"CommandList_keyboardInputContainer__9XbOW"}},78831:function(e){e.exports={commandPrefix:"CommandPrefix_commandPrefix__MOHuk",container:"CommandPrefix_container__xqFc2",name:"CommandPrefix_name__P_IKZ"}},36773:function(e){e.exports={container:"NoResults_container__I2jHF",mainBody:"NoResults_mainBody__GC8l_",iconContainer:"NoResults_iconContainer__ks7uY",mainMessage:"NoResults_mainMessage__o3ksN",secondaryMessage:"NoResults_secondaryMessage__CNI0d"}},77684:function(e){e.exports={translationName:"SearchResultItem_translationName__5mkDi",translationContainer:"SearchResultItem_translationContainer__OaPZE",container:"SearchResultItem_container__Cvqx0",itemContainer:"SearchResultItem_itemContainer__NRd1r",quranTextResult:"SearchResultItem_quranTextResult__texyH",verseKey:"SearchResultItem_verseKey__dyumW"}},82531:function(e){e.exports={container:"Error_container__yeY3V"}},37646:function(e){e.exports={outerContainer:"PartialResult_outerContainer__AcDv0",innerContainer:"PartialResult_innerContainer__v1QDG",transcript:"PartialResult_transcript__Lcscd",suggestTitle:"PartialResult_suggestTitle__e8lBr",suggestSubtitle:"PartialResult_suggestSubtitle__utXHd",micCircle:"PartialResult_micCircle__ioN7o",circlesContainer:"PartialResult_circlesContainer__EWZIJ",volumeCircle:"PartialResult_volumeCircle__GvhbK",verticalLyaout:"PartialResult_verticalLyaout__XWlc6"}},49326:function(e){e.exports={container:"VoiceSearchBodyContainer_container__GpMSO",noResultContainer:"VoiceSearchBodyContainer_noResultContainer__lv_Zl",commandBarContainer:"VoiceSearchBodyContainer_commandBarContainer__U85vU"}}}]);
- //# sourceMappingURL=67314.f06616b99fcd8263.js.map
|