1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f10368f0-4bad-4d7e-8b6c-47f5717ae8aa",e._sentryDebugIdIdentifier="sentry-dbid-f10368f0-4bad-4d7e-8b6c-47f5717ae8aa")}catch(e){}}(),(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1735],{2480:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return N}});var l=a(96540),n=a(40961),r="overlay_afishatheatreballet_06972",i="modal_afishatheatreballet_e9cf9",c="close_afishatheatreballet_1333a",o="header_afishatheatreballet_871a7",s="title_afishatheatreballet_c7edc",d="subtitle_afishatheatreballet_c2303",f="qrTitle_afishatheatreballet_e59e5",m="qr_afishatheatreballet_5aaae",h="buttons_afishatheatreballet_36597",p="sbpButton_afishatheatreballet_49107",u="tpayButton_afishatheatreballet_8de55",_="text_afishatheatreballet_22db1",E=a(67846),y=a(23427),b=a.n(y),C=a(89044),v=a.n(C),L=a(54299),w=a(23687),H=a(32389),k=a(86747),D=a(76341),A=function(e){return e[e.NEW=1]="NEW",e[e.PAID=2]="PAID",e[e.CANCEL=3]="CANCEL",e[e.EXPIRED=4]="EXPIRED",e[e.REJECT=5]="REJECT",e}(A||{});var N=e=>{let{order:t,onClose:a}=e;const{t:y}=(0,H.Bd)(),C=(0,l.useContext)(D.Dx),N=document.body,M=async e=>{e&&(await(0,L.Up)(),window.location.href=e)},g=async()=>{a?a():(await(0,L.Up)(),window.location.href=(0,w.WO)(C,w.Ay.bill(t.order_hash)))};if((0,l.useEffect)(()=>{const e=setInterval(()=>k.A.get(`/public/v1/orders/${t.order_hash}/payment/status`).then(async a=>{const{status:l}=a.data;Number(l)===A.PAID&&(await(0,L.Up)(),clearInterval(e),window.location.href=(0,w.WO)(C,w.Ay.success(t.order_hash))),[A.EXPIRED,A.REJECT,A.CANCEL].includes(Number(l))&&(await(0,L.Up)(),clearInterval(e),window.location.href=(0,w.WO)(C,w.Ay.fail))}),5e3);return()=>{clearInterval(e)}},[]),N){var I,V,P;const e=l.createElement("div",{className:r},l.createElement("div",{className:i},l.createElement("button",{className:c,onClick:g},"Ã"),l.createElement("div",{className:o},l.createElement("h3",{className:s},y("common:sbp.title")),l.createElement("p",{className:d},y("common:sbp.subtitle")," ",t.amount," ",t.currency.icon)),l.createElement("p",{className:f},y("common:sbp.scan_title")),(null===(I=t.payment_info)||void 0===I?void 0:I.qr_code)&&l.createElement("div",{className:m,dangerouslySetInnerHTML:{__html:t.payment_info.qr_code}}),l.createElement("div",{className:h},(null===(V=t.payment_info)||void 0===V?void 0:V.sbp_url)&&l.createElement(E.A,{className:p,onClick:()=>M(t.payment_info.sbp_url)},y("common:sbp.buttons.sbp_pay"),l.createElement(b(),null)),(null===(P=t.payment_info)||void 0===P?void 0:P.tpay_link)&&l.createElement(E.A,{className:u,onClick:()=>M(t.payment_info.tpay_link)},y("common:sbp.buttons.tpay"),l.createElement(v(),null)),l.createElement(E.A,{variant:"hollow",onClick:()=>M(t.payment_info.pay_link)},y("common:sbp.buttons.card_pay"))),l.createElement("p",{className:_},y("common:sbp.text"))));return(0,n.createPortal)(e,N)}return null}},23427:function(e,t,a){var l=a(96540);function n(e){return l.createElement("svg",e,[l.createElement("path",{d:"M0 26.12l14.532 25.975v15.844L.017 93.863 0 26.12z",fill:"#5B57A2",key:0}),l.createElement("path",{d:"M55.797 42.643l13.617-8.346 27.868-.026-41.485 25.414V42.643z",fill:"#D90751",key:1}),l.createElement("path",{d:"M55.72 25.967l.077 34.39-14.566-8.95V0l14.49 25.967z",fill:"#FAB718",key:2}),l.createElement("path",{d:"M97.282 34.271l-27.869.026-13.693-8.33L41.231 0l56.05 34.271z",fill:"#ED6F26",key:3}),l.createElement("path",{d:"M55.797 94.007V77.322l-14.566-8.78.008 51.458 14.558-25.993z",fill:"#63B22F",key:4}),l.createElement("path",{d:"M69.38 85.737L14.531 52.095 0 26.12l97.223 59.583-27.844.034z",fill:"#1487C9",key:5}),l.createElement("path",{d:"M41.24 120l14.556-25.993 13.583-8.27 27.843-.034L41.24 120z",fill:"#017F36",key:6}),l.createElement("path",{d:"M.017 93.863l41.333-25.32-13.896-8.526-12.922 7.922L.017 93.863z",fill:"#984995",key:7})])}n.defaultProps={width:"97",height:"120",viewBox:"0 0 97 120",fill:"none"},e.exports=n,n.default=n},89044:function(e,t,a){var l=a(96540);function n(e){return l.createElement("svg",e,[l.createElement("g",{clipPath:"url(#tpay-icon-path)",key:0},[l.createElement("path",{d:"M38.0273 0H9.97272C4.46489 0 0 4.47711 0 10C0 15.5229 4.46489 20 9.97272 20H38.0273C43.5351 20 48 15.5229 48 10C48 4.47711 43.5351 0 38.0273 0Z",fill:"#303030",key:0}),l.createElement("path",{d:"M22.6218 10.1985V8.57822H24.385C24.7585 8.57822 24.9734 8.61918 25.1459 8.68531C25.4534 8.80628 25.5991 9.08629 25.5991 9.3821C25.5991 9.70306 25.4251 10.0114 25.0925 10.1182C24.9326 10.1718 24.746 10.1985 24.385 10.1985H22.6218ZM24.6643 7.03821H20.6842V13.4124H22.6202V11.6976H24.6627C25.1427 11.6976 25.6104 11.6834 26.0653 11.5372C26.9467 11.2556 27.6011 10.466 27.6011 9.39468C27.6011 8.32337 26.9593 7.54628 26.092 7.23951C25.6117 7.06499 25.1568 7.03821 24.6627 7.03821H24.6643Z",fill:"white",key:1}),l.createElement("path",{d:"M29.8977 12.4889H32.8358L33.2093 13.4122H35.3853L32.7811 7.03796H29.9495L27.3453 13.4122H29.5352L29.8961 12.4889H29.8977ZM30.3777 11.0825L31.2987 8.51216H31.4461L32.3668 11.0825H30.3777Z",fill:"white",key:2}),l.createElement("path",{d:"M40.0979 7.03821L38.5229 9.9437H38.4553L36.8661 7.03821H34.6104L37.4812 11.7243V13.4124H39.4844V11.564L42.2096 7.03821H40.0979Z",fill:"white",key:3}),l.createElement("path",{d:"M5.79187 5.14697H16.5473V10.5709C16.5473 11.9615 15.807 13.2467 14.6068 13.9421L11.1697 15.9318L7.73236 13.9421C6.53082 13.2467 5.79187 11.9615 5.79187 10.5709L5.79187 5.14697Z",fill:"#FFDD2D",key:4}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.74288 8.00232V9.68878C8.97353 9.42749 9.39078 9.25136 9.86915 9.25136H10.3884V11.213C10.3884 11.7352 10.2475 12.1914 10.0371 12.443H12.2977C12.0892 12.1914 11.948 11.7352 11.948 11.2146V9.25297H12.4672C12.9456 9.25297 13.3644 9.42911 13.5935 9.69039V8.00393H8.74127L8.74288 8.00232Z",fill:"#333333",key:5})]),l.createElement("defs",{key:1},l.createElement("clipPath",{id:"tpay-icon-path"},l.createElement("rect",{width:"48",height:"20",fill:"white"})))])}n.defaultProps={width:"48",height:"20",viewBox:"0 0 48 20",fill:"none"},e.exports=n,n.default=n}}]);
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.