PageSourceSearch

https://bankofgeorgia.ge/bog-segment-card.09bda50b.js

js bankofgeorgia.ge collected 2026-10-01 10:18:21 UTC 21,293 bytes, 1 lines download raw bytes

1export const __webpack_esm_id__=2464;export const __webpack_esm_ids__=[2464];export const __webpack_esm_modules__={34060:(t,n,e)=>{e.d(n,{A:()=>i});var a=[[/font-family\s*:\s*['"]?(?:MarkGEOCAPS|BOG Headline)['"]?[^;}"']*;?/g,"font-family: 'BOG'; text-transform: uppercase; font-feature-settings: 'case';"],[/\bMarkGEOCAPS\b/g,"BOG"],[/\bBOG Headline\b/g,"BOG"],[/\bMarkGEO\b/g,"BOG"]];function i(t){return"string"!=typeof t?t:a.reduce((t,n)=>{var[e,a]=n;return t.replace(e,a)},t)}},66594:(t,n,e)=>{e.a(t,async(t,a)=>{try{e.d(n,{AH:()=>i.css,JR:()=>o.ifDefined,Wy:()=>r.styleMap,_3:()=>v,qy:()=>i.html,sb:()=>w});var i=e(71496),o=e(43112),s=e(977),r=e(70911),l=e(34060),c=e(64256),d=e.n(c),p=e(30516),h=e.n(p),g=e(83027),b=e(77426),m=e.n(b),u=t([i,o,s,r]);[i,o,s,r]=u.then?(await u)():u;class w extends i.LitElement{static get properties(){return{intersectionRatio:{type:Number},isLoggedIn:{type:Boolean},lang:{type:String},isMobile:{type:Boolean},isTablet:{type:Boolean},isLaptop:{type:Boolean},isXLaptop:{type:Boolean}}}createStyle(){this.style.opacity=0,this.style.willChange="opacity, transform",this.style.transition=".75s cubic-bezier(0.25, 0.46, 0.45, 0.94) opacity,\n        .75s cubic-bezier(0.25, 0.46, 0.45, 0.94) transform",this.style.transform="translateY(60px)"}createAnimation(){this.style.opacity=1,this.style.transform="translateY(0)"}createObserver(){this._observer=new IntersectionObserver((t,n)=>{for(var e of t)e.isIntersecting&&(this.animatable&&this.createAnimation(),this.displayCallback&&e.target.displayCallback(),e.target._observer.unobserve(e.target))},{threshold:[this.intersectionRatio]}),this._observer.observe(this)}constructor(){super(),this.intersectionRatio=.1,this.isLoggedIn=!1,this.isMobile=!1,this.isTablet=!1,this.isLaptop=!1,this.isXLaptop=!1;var t=this;this.$=new Proxy({},{get:(n,e,a)=>t.shadowRoot.getElementById(e)})}connectedCallback(){var t;super.connectedCallback(),window.addEventListener("popstate",this._onPopState.bind(this)),this.lang=localStorage.getItem("lang")||"ka",null!==(t=window.dataLayer)&&void 0!==t&&t.length&&(window.dataLayer[0].language=this.lang),(this.displayCallback||this.animatable)&&(this.createObserver(),this.animatable&&this.createStyle()),this._unsubscribeMedia=m().subscribe(t=>{this._updateResponsiveProperties(t)}),this._updateResponsiveProperties(m().getCurrentState())}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("popstate",this._onPopState)}_updateResponsiveProperties(t){this.isXLaptop!==t.isXLaptop&&(this.isXLaptop=t.isXLaptop),this.isLaptop!==t.isLaptop&&(this.isLaptop=t.isLaptop),this.isTablet!==t.isTablet&&(this.isTablet=t.isTablet),this.isMobile!==t.isMobile&&(this.isMobile=t.isMobile)}_onPopState(){this.shadowRoot.querySelectorAll("bd-drawer").forEach(t=>{t.isOpen&&t.close()}),this.shadowRoot.querySelectorAll("bog-bottom-drawer").forEach(t=>{t.visible&&t.close()}),document.querySelectorAll("bd-modal").forEach(t=>{t.close()})}apiCall(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"application/json";return h().execute({url:t,method:n,data:e,isText:a,contentType:i})}dispatchCustomEvent(t){var n=new CustomEvent(t,{bubbles:arguments.length>2&&void 0!==arguments[2]&&arguments[2],composed:arguments.length>3&&void 0!==arguments[3]&&arguments[3],detail:arguments.length>1&&void 0!==arguments[1]?arguments[1]:null});this.dispatchEvent(n)}openApplication(t){if("RESTRUCTURATION_LEAD"===t){if("ka"!==this.lang)return;this.dispatchEvent(new CustomEvent("open-restructuration-lead-drawer",{bubbles:!0,composed:!0}))}}_checkLoggedIn(t){d().checkLoggedIn(n=>{this.isLoggedIn=n,t&&t(n)})}sendAnalyticsEventOld(t){var n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(t){var e={event_category:arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",event_label:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",non_interaction:!(arguments.length>3&&void 0!==arguments[3])||arguments[3]};localStorage.getItem("loggedIn")&&(e.client_key=JSON.parse(localStorage.getItem("userInfo")).clientKey),Object.keys(n).length&&Object.assign(e,n),window.gtag&&window.gtag("event",t,e)}}sendAnalyticsEvent(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(t&&e&&window.fbq&&window.gtag){var s={event_action:t,event_label:n,non_interaction:a,send_to:["ga","owox"]};localStorage.getItem("loggedIn")&&(s.client_key=JSON.parse(localStorage.getItem("userInfo")).clientKey),Object.keys(o).length&&Object.assign(s,o),window.gtag&&window.gtag("event",e.toUpperCase(),s),i&&window.fbq&&fbq("track",t,s)}}extractAndInvokeEvent(t){var{eventAction:n="",eventLabel:e="",eventName:a="",customParams:i={}}=t||{};
1this.sendAnalyticsEvent(n,e,a,!0,!0,i)}sendFacebookViewEvent(t){Object.keys(t).length&&window.fbq&&fbq("track","ViewContent",t)}capitalize(t){if(t)return t[0].toUpperCase()+t.slice(1)}addEndpoint(t){var n=location.pathname;n.endsWith("/")&&(n=n.substr(0,n.length-1)),history.pushState(null,null,"".concat(n,"/").concat(t))}medalliaSetCustomerData(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.clientKey&&"number"==typeof t.clientKey&&(t.clientKey=t.clientKey.toString()),window._MEDALIA_DATA=t,window.dataLayer[0]=Object.assign({},window.dataLayer[0],window._MEDALIA_DATA),window.KAMPYLE_ONSITE_SDK&&window.KAMPYLE_ONSITE_SDK.updatePageView()}medalliaSetEventData(t){window.medaliaParams=t,window.medaliaTimer||(window.medaliaTimer=setTimeout(()=>{delete window.medaliaTimer,this.medalliaSetCustomerData(window.medaliaParams)},2e3))}medalliaNotify(t){window.KAMPYLE_ONSITE_SDK&&"function"==typeof window.KAMPYLE_ONSITE_SDK.updatePageView&&(window.dataLayer[0]=Object.assign({},window._MEDALIA_DATA,t),window.KAMPYLE_ONSITE_SDK.updatePageView())}medalliaGeneralInterceptUpdate(t){window.dataLayer[0]=Object.assign({},window.dataLayer[0],{enableIntercept:!0}),["/retail/cards/register-card","/retail/loans/consumer-loan-application","/retail/loans/mortgage/mortgage-application","/queues","/retail/insurance/travel-insurance-application","/retail/insurance/mtpl-insurance-application","/youth/student-card/student-card-application","/youth/sCool-card/scool-card-application","/retail/kyc-application","/retail/studenturi-barati/student-card-application","/retail/student-card/student-card-application","/retail/mostsavlis-barati/scool-card-application","/retail/sCool-card/scool-card-application","/retail/dazgveva/home-insurance-application","/youth/studenturi-barati/status-check","/retail/student-card/status-check","/retail/mostsavlis-barati/status-check","/retail/sCool-card/status-check","/retail/limits/amex","/emigrants/deposit/requestCall","/emigrants/ipoloan/ipoLoanApplication","/emigrants/cards/requestCall"].some(n=>!(!new RegExp("^"+n,"i").test(t)&&!t.includes("middle-page")||(window.dataLayer[0].enableIntercept=!1,0))),window.KAMPYLE_ONSITE_SDK&&window.KAMPYLE_ONSITE_SDK.updatePageView()}getMobileOS(){var t=navigator.userAgent||navigator.vendor||window.opera,n=!1;return/android/i.test(t)?n="android":/iPad|iPhone|iPod/.test(t)&&!window.MSStream&&(n="ios"),n}isAndroid(){return"android"===this.getMobileOS()}isIos(){return"ios"===this.getMobileOS()}_scrollStickyFooter(){var t=this.shadowRoot.querySelector("#".concat(this.data.scrollTo)).getBoundingClientRect().top;this.dispatchEvent(new CustomEvent("chat-button-up",{detail:{lower:!1},bubbles:!0,composed:!0})),window.scrollTo({top:t-100,behavior:"smooth"})}_scrollToTop(){window.scrollTo({top:0,behavior:"smooth"})}getValueByLang(t,n){return"ka"===this.lang?t:n}initLocations(){var t,n,e=document.getElementsByTagName("body");if(null===(t=null==e||null===(n=e[0])||void 0===n||null===(n=n.ownerDocument)||void 0===n||null===(n=n.scripts)||void 0===n?void 0:n.namedItem("map-script"))||void 0===t||!t){var a=document.createElement("script");a.src=g.A.mapApiUrl,a.async=!0,a.id="map-script",window.initMap=function(){},document.body.appendChild(a)}}clearSessionData(){this.apiCall("custom-token/clear-session").then(t=>{}).catch(t=>{console.error(t)})}}var v=t=>(0,s.unsafeHTML)((0,l.A)(t));a()}catch(t){a(t)}})},83027:(t,n,e)=>{e.d(n,{A:()=>i});var a={ENV:"PRODUCTION",apiEndpoint:"/api/",languages:["ka","en"],get authIframeUrl(){return"".concat(a.apiEndpoint,"auth/iframe")},ssoSdkUrl:"https://account.bog.ge/ssosdk/sdk.js?channel=BOG&v.2.2",chatFrameUrl:"https://publisher.bog.ge/chat-api/?channel=BOG&header=false",ssoTrustedOrigins:["https://bankofgeorgia.ge","https://bog-ge-shared.k8s.bog.ge","https://account.bog.ge"],chatTrustedOrigin:"https://publisher.bog.ge",recaptchaSiteKey:"6LeHfhAaAAAAAE4Vn1bqohpK6jdy6MZx14O3KKnc",rbcUrl:"https://rb-api.bog.ge/rb-middleware-api-connector?",cmsUrl:"https://cms.bog.ge/",sentryDSN:"https://[email protected]/4507372197576704",mapApiUrl:"https://maps.googleapis.com/ma
1ps/api/js?key=AIzaSyDUIbdWtQOG9R6FuiWOQpLbplWhrsJii-A&callback=initMap&v=weekly&libraries=marker"};const i=a},85804:(t,n,e)=>{e.a(t,async(t,a)=>{try{e.r(n),e.d(n,{BogSegmentCard:()=>m});var i,o,s,r,l,c,d,p=e(56706),h=e(66594),g=e(62644),b=t([h,g]);[h,g]=b.then?(await b)():b;class m extends h.sb{static get is(){return"bog-segment-card"}static get styles(){return(0,h.AH)(i||(i=(0,p.A)(['\n      :host {\n        font: inherit;\n        display: flex;\n        flex-direction: column;\n        --bg-color: var(--layer-01);\n        --border-radius: var(--border-radius-24);\n        --padding: var(--space-24) var(--space-32) var(--space-32);\n        --content-gap: var(--space-16);\n        --image-size: 118px;\n        --card-margin-top: var(--space-64);\n        min-width: 410px;\n      }\n      \n      :host([horizontal]) {\n        --il-block-width: calc(var(--image-size) + var(--space-64));\n        --padding: var(--space-32);\n        --content-gap: var(--space-12);\n        --content-margin-right: var(--space-24);\n      }\n        \n      .container {\n        display: flex;\n        flex-direction: column;\n        flex-grow: 1;\n        position: relative;\n        margin-top: var(--card-margin-top);\n        text-decoration: none;\n        color: inherit;\n      }\n      \n      :host([horizontal]) .container {\n        flex-direction: row-reverse;\n        width: 100%;\n        margin-top: 0;\n      }\n      \n      .card {\n        height: 100%;\n        display: flex;\n        flex-direction: column;\n        justify-content: space-between;\n        align-items: center;\n        background-color: var(--bg-color);\n        padding: var(--padding);\n        border-radius: var(--border-radius);\n        gap: var(--content-gap);\n      }\n\n      :host([horizontal]) .card {\n        width: 100%;\n        min-height: var(--card-min-height, calc(var(--image-size) + var(--space-48)));\n        box-sizing: border-box;\n        padding-right: var(--il-block-width);\n      }\n      \n      .content {\n        display: flex;\n        flex-direction: column;\n        justify-content: center;\n        align-items: flex-start;\n        gap: var(--content-gap);\n        margin-top: calc(var(--image-size) - 36px);\n      }\n\n      :host([horizontal]) .content {\n        margin-top: 0;\n        margin-right: var(--content-margin-right);\n        width: -webkit-fill-available;\n      }\n      \n      .title {\n        color: var(--color-invert-component-tr-20);\n      }\n      \n      .description {\n        color: var(--color-invert-component-tr-30);\n      }\n\n      :host([text-centered]) .content {\n        align-items: center;\n      }\n      \n      :host([text-centered]) .title h4,\n      :host([text-centered]) .description {\n        text-align: center;\n      }\n      \n      .illustration-block {\n        display: flex;\n        flex-direction: column;\n        justify-content: center;\n        align-items: center;\n        position: absolute;\n        top: -36px;\n        width: 100%;\n      }\n\n      :host([horizontal]) .illustration-block {\n        top: 0;\n        right: 0;\n        width: var(--il-block-width);\n        height: 100%;\n        align-items: flex-start;\n      }\n      \n      .image-wrapper {\n        width: var(--image-size);\n        height: var(--image-size);\n        border-radius: var(--border-radius-circle);\n        overflow: hidden;\n        box-sizing: border-box;\n        position: relative;\n        z-index: 1;\n      }\n\n      .image::before {\n        content: "";\n        position: absolute;\n        top: 0;\n        left: 0;\n        right: 0;\n        bottom: 0;\n        border: 4px solid rgba(255, 255, 255, 0.6);\n        border-radius: 50%;\n        border-radius: var(--border-radius-circle, 50%);\n        transition: transform 0.3s ease;\n        -webkit-transition: transform 0.3s ease;\n        -moz-transition: transform 0.3s ease;\n        -o-transition: transform 0.3s ease;\n        transform: scale(1);\n        -webkit-transform: scale(1);\n        -moz-transform: scale(1);\n        -ms-transform: scale(1);\n        -o-transform: scale(1);\n      }\n\n      :host(:not([static]):hover) .image::before {\n        transform: scale(0.8);\n        -webkit-transform: scale(0.8);\n        -moz-transform: scale(0.8);\n        -ms-transform: scale(0.8);\n        -o-transform: scale(0.8);\n        border: 6px solid rgba(120, 76, 191, 0.16);\n      }\n      \n      :host([green]:not([static]):hover) .image::before {\n        border: 6px solid rgba(94, 164, 96, 0.16);\n      }\n      \n      :host([blue]:not([static]):hover) .image::before {\n        border: 6px solid rgba(56, 98, 133, 0.16);\n      }\n      \n      :host([pink]:not([static]):hover) .image::before {\n        border: 6px solid rgba(173, 69, 115, 0.16);\n      }\n      \n      :host([sun]:not([static]):hover) .image::before {\n        border: 6px solid rgba(255, 92, 10, 0.16);\n      }\n      \n      .image {\n        width: 100%;\n        height: 100%;\n        background-position: center;\n        background-repeat: no-repeat;\n        background-size: cover;\n      }\n\n      :host(:not([static])) .image {\n        transition: transform 0.3s ease;\n        -webkit-transition: transform 0.3s ease;\n        -moz-transition: transform 0.3s ease;\n        -o-transition: transform 0.3s ease;\n      }\n\n      :host(:not([static]):hover) .image {\n        transform: scale(1.2);\n        -webkit-transform: scale(1.2);\n        -moz-transform: scale(1.2);\n        -ms-transform: scale(1.2);\n        -o-transform: scale(1.2);\n      }\n      \n      .bg-illustration {\n        position: absolute;\n        top: 36px;\n        left: 61%;\n      }\n\n      :host([sun]) .bg-illustration {\n        left: 65%;\n      }\n\n      :host([waves]) .bg-illustration {\n        left: 47%;\n      }\n\n      :host([horizontal]) .bg-illustration {\n        top: 55%;\n      }\n      \n      .illustration {\n        width: 100%;\n        height: 100%;\n      }\n\n      :host([horizontal]) .btn {\n        margin-right: var(--content-margin-right);\n      }\n\n      :host([has-animation]) {\n        opacity: 0;\n      }\n      \n      :host([animate]) {\n        --animation-delay: 0;\n        opacity: 0;\n        animation: fadeIn 1s;\n        animation-delay: var(--animation-delay);\n        animation-fill-mode: forwards;\n      }\n\n      @keyframes fadeIn {\n        0% {\n          opacity: 0;\n          transform: translateX(+100px);\n        }\n\n        100% {\n          opacity: 1;\n          transform: translateX(0);\n        }\n      }\n      \n      @media (max-width: 1024px) {\n        :host {\n          --image-size: 110px;\n          min-width: 322px;\n        }\n\n        .bg-illustration {\n          left: 64%;\n        }\n\n        :host([waves]) .bg-illustration {\n          left: 47%;\n          top: 46px;\n        }\n      }\n      \n      @media (max-width: 768px) {\n        :host {\n          --image-size: 88px;\n        }\n        \n        :host([horizontal]) .bg-illustration {\n          left: 54%;\n          height: 44px;\n          top: unset;\n          bottom: 4px;\n        }\n\n        :host([waves][horizontal]) .bg-illustration {\n          left: 35%;\n          top: 58%;\n          height: 30px;\n        }\n\n        :host([sun][horizontal]) .bg-illustration {\n          left: 49%;\n          height: 33px;\n          top: unset;\n          bottom: 17px;\n        }\n\n        @keyframes fadeIn {\n          0% {\n            opacity: 0;\n            transform: translateY(+50px);\n          }\n\n          100% {\n            opacity: 1;\n            transform: translateY(0);\n          }\n        }\n       }\n      \n      @media (max-width: 600px) {\n        :host([horizontal]) {\
1n          --il-block-width: calc(var(--image-size) + var(--space-16));\n          --padding: var(--space-24);\n        }\n        \n        :host([horizontal]) .bg-illustration {\n          left: 47%;\n          height: 37px;\n          bottom: 3px;\n        }\n\n        :host([sun][horizontal]) .bg-illustration {\n          left: 43%;\n          height: 28px;\n        }\n       }\n    '])))}render(){var t;return(0,h.qy)(o||(o=(0,p.A)(['\n          <a class="container"\n               href="','"\n               target="','"\n          >\n              <div class="illustration-block">\n                  <div class="image-wrapper">\n                      <div class="image" style="background-image: url(',')"></div>\n                  </div>\n                  ','\n              </div>\n              <div class="card">\n                  <div class="content">\n                      ',"\n                      ","\n                  </div>\n                  <slot></slot>\n                  ","\n              </div>\n          </a>\n    "])),(0,h.JR)(this.href),(0,h.JR)(this.target),this.imageUrl,this.noIllustration?"":(0,h.qy)(s||(s=(0,p.A)(['<div class="bg-illustration">',"</div>"])),this.getIllustration),this.title?(0,h.qy)(r||(r=(0,p.A)(['\n                          <bd-font type="','" class="title">\n                              <h4>',"</h4>\n                          </bd-font> \n                      "])),this.isMobile?"h3":"h4",this.title):"",this.description?(0,h.qy)(l||(l=(0,p.A)(['\n                          <bd-font type="body2" class="description">\n                              <span>',"</span>\n                          </bd-font>  \n                      "])),this.description):"",!this.hideButton&&this.btnLabel?(0,h.qy)(c||(c=(0,p.A)(['\n                      <bd-standard-button\n                          type="text-low"\n                          class="btn"\n                          href="','"\n                          target="','">\n                        ',"\n                      </bd-standard-button>\n                      "])),this.href,null!==(t=this.target)&&void 0!==t?t:"_self",this.btnLabel):"")}get getIllustration(){return(0,h.qy)(d||(d=(0,p.A)(['\n      <img src="','"\n        class="illustration" alt="" loading="lazy">\n    '])),"assets/illustrations/".concat(this.sun?"sun":this.waves?this.blue?"blue-waves":this.green?"green-waves":this.pink?"pink-waves":"purple-waves":"leaves",".svg"))}static get properties(){return{data:{type:Object},hideButton:{type:Boolean,attribute:"hide-button"},textCentered:{type:Boolean,attribute:"text-centered"},title:{type:String},description:{type:String},imageUrl:{type:String,attribute:"image-url"},btnLabel:{type:String,attribute:"btn-label"},href:{type:String},target:{type:String},horizontal:{type:Boolean,reflect:!0},static:{type:Boolean,reflect:!0},sun:{type:Boolean,reflect:!0},waves:{type:Boolean,reflect:!0},green:{type:Boolean,reflect:!0},blue:{type:Boolean,reflect:!0},pink:{type:Boolean,reflect:!0},hasAnimation:{type:Boolean,reflect:!0,attribute:"has-animation"},animate:{type:Boolean,reflect:!0},animationDelay:{type:Number,attribute:"animation-delay"},noIllustration:{type:Boolean,reflect:!0,attribute:"no-illustration"}}}constructor(){super(),this.data={},this.hideButton=!1,this.textCentered=!1,this.title="",this.description="",this.imageUrl="",this.btnLabel="",this.href="",this.horizontal=!1,this.hasAnimation=!1,this.animate=!1,this.animationDelay=0,this.static=!1,this.noIllustration=!1}updated(t){var n;super.updated(t),t.has("animationDelay")&&this._updateStyles(),t.has("hasAnimation")&&(null===(n=this.observer)||void 0===n||n.disconnect(),this.cardObserver())}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this.observer)||void 0===t||t.disconnect()}_updateStyles(){this.style.setProperty("--animation-delay","".concat(this.animationDelay,"s"))}cardObserver(){var t=this.shadowRoot.querySelector(".container");this.observer=new IntersectionObserver((t,n)=>{t.forEach(t=>{t.isIntersecting&&this.hasAnimation&&(this.animate=!0)})},{rootMargin:"0px 0px 0px 0px",threshold:this.isTablet?.01:.2}),this.observer.observe(t)}}window.customElements.define(m.is,m),a()}catch(t){a(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.