first commit

This commit is contained in:
2026-03-05 13:07:40 +01:00
commit 64ba0721ee
25709 changed files with 4691006 additions and 0 deletions

View File

@@ -0,0 +1,158 @@
.bm-settings-banner {
border: 1px solid #c3c4c7;
position: relative;
font-size: 15px;
padding: 10px;
margin: 5px 0 15px;
background-color: white; }
.bm-settings-banner-title {
padding: 5px;
background: #f0f0f1;
font-size: 15px;
font-weight: bold;
margin: 0px 0px 15px 0px; }
.bm-settings-banner-row {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
margin: 0px 0px 15px 0px; }
.bm-settings-banner-row .bm-settings-banner-image {
width: 100px;
height: 100%;
margin: 0px 70px 0px 0px; }
.bm-settings-banner-row span a,
.bm-settings-banner-row span span a {
text-decoration: none;
color: #0068B4; }
.bm-settings-banner-row .banner-txt {
margin-right: 55px;
height: 40px; }
.bm-settings-banner-row .banner-txt > a span,
.bm-settings-banner-row .banner-txt > span:last-child {
padding-left: 25px; }
.bm-settings-banner-row .banner-txt-icon {
font-size: 15px;
margin: 0px 15px 0px 0px;
font-weight: bolder; }
.bm-settings-banner-row-iconBox {
display: flex;
flex-direction: row;
justify-content: space-around;
margin: 0px 0px 15px 0px;
border-top: 1px solid #c3c4c7; }
.bm-settings-banner-row-iconBox .bm-settings-banner-icon-box {
display: flex;
align-items: center;
justify-content: center;
height: 100px;
margin: 0px 10px 0px 0px; }
.bm-settings-banner-row-iconBox .bm-settings-banner-icon-box a {
margin-left: 5px;
text-decoration: none;
color: #0068B4; }
.bm-settings-banner-row-iconBox .bm-settings-banner-icon-box span {
font-size: 14px; }
.bm-settings-banner-row-iconBox .bm-settings-banner-icon-box span:first-child {
align-items: center;
display: flex;
border: 2px solid #0068B4;
border-radius: 50%;
width: 20px;
padding: 10px;
margin: 0px 10px 0px 0px;
height: 20px;
justify-content: center; }
.bm-modalbackground {
position: relative; }
.bm-modal-content {
padding: 0px 30px 30px 30px;
display: none;
position: fixed;
width: 33.333% !important;
top: 20% !important;
left: 33.3333% !important;
background: white !important;
z-index: 2 !important; }
.bm-modal-content .bm-close {
font-size: 40px;
margin: 5px;
right: 0;
position: absolute;
cursor: pointer; }
.bm-modal-content p {
font-weight: bold;
font-size: 15px;
margin: 20px 0px; }
.bm-modal-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.25);
z-index: 1; }
.bm-modal-overlay.active {
display: block !important; }
/* label text under the radio buttons start */
label[for=no], label[for=yes] {
top: 37px;
position: absolute; }
@media screen and (max-width: 782px) {
label[for=no], label[for=yes] {
top: 46px; } }
input#yes[name="woocommerce_bluemedia_testmode"] {
margin-right: 20px; }
/* label text under the radio buttons end */
.p-info {
margin-left: 234px;
display: block; }
.woocommerce table.form-table th label .woocommerce-help-tip {
margin: 0px 0px 1px 4px !important;
position: relative !important;
right: unset !important;
top: unset !important; }
.bm-settings-channel-list .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul .bm-group-name {
display: block;
font-weight: bolder;
margin-bottom: 5px;
flex: 1 0 100%; }
.bm-settings-channel-list .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul > li {
display: flex;
align-items: center;
-moz-column-gap: 10px;
column-gap: 10px; }
.bm-settings-channel-list .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul > li .bm-payment-channel-method-logo img {
width: 75px; }
.bm-settings-channel-list .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-przelew-internetowy {
margin-bottom: 1em; }
.bm-settings-channel-list .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-przelew-internetowy > li > ul {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 10px; }
.bm-settings-channel-list .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-przelew-internetowy > li > ul > li > .bm-payment-channel-method-logo img {
width: 60px !important;
height: 30px;
-o-object-fit: cover;
object-fit: cover; }
.bm-settings-channel-list .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-przelew-internetowy > li > ul > li .bm-inside-expandable-group {
display: none; }
.bm_settings_no_form > h2,
.bm_settings_no_form > p,
.bm_settings_no_form > table {
display: none; }

View File

@@ -0,0 +1,176 @@
#payment ul.wc_payment_methods .payment_method_bluemedia img {
width: 100px;
height: 80px;
-o-object-fit: contain;
object-fit: contain; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia img {
float: unset !important;
max-height: unset !important;
box-sizing: border-box; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > label {
display: inline-flex;
align-items: center; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > label > img {
margin-left: 15px; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs {
padding: 0; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods {
display: grid;
grid-template-areas: "blik" "carts" "pbl" "wallets" "fr" "installment";
grid-template-rows: auto;
grid-auto-columns: auto; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div {
margin: 8px 0; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul {
margin-left: 0; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-item, #payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-group-item {
padding: 5px;
border: 1px solid transparent !important; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-item.selected, #payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-item.bm-selected-group, #payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-group-item.selected, #payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-group-item.bm-selected-group {
border: 1px solid #87ca8d !important; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-item > label, #payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-group-item > label {
display: flex;
align-items: center;
-moz-column-gap: 5px;
column-gap: 5px;
cursor: pointer;
font-size: .9em;
text-indent: initial;
min-height: 100px; }
@media only screen and (max-width: 375px) {
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-item > label, #payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-group-item > label {
min-height: 75px; } }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-item > label > input[type="radio"], #payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-group-item > label > input[type="radio"] {
cursor: pointer;
margin-left: 0;
max-width: 1.5em; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-item > label .bm-payment-channel-method-logo,
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-item > label .bm-payment-channel-group-method-logo, #payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-group-item > label .bm-payment-channel-method-logo,
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-group-item > label .bm-payment-channel-group-method-logo {
display: initial;
height: unset;
max-width: 90px;
width: 100%; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-item > label .bm-payment-channel-method-name,
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-item > label .bm-payment-channel-group-method-name, #payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-group-item > label .bm-payment-channel-method-name,
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-group-item > label .bm-payment-channel-group-method-name {
word-wrap: break-word; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-item > span.bm-payment-channel-method-desc, #payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-group-item > span.bm-payment-channel-method-desc {
display: none;
font-size: .9em; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-item.selected {
grid-template-areas: "input label" ". desc"; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div > li > ul li.bm-payment-channel-item.selected > span.bm-payment-channel-method-desc {
display: block;
grid-area: desc;
margin-top: 5px; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-blik {
grid-area: blik; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-blik .bm-blik-overlay {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 9999;
background-color: white;
border: #CCC5C5 1px solid;
border-radius: 10px;
box-shadow: 5px 5px 10px;
color: #CCC5C5;
font-size: 33px;
padding: 1.3em;
max-width: 600px;
width: 80vw; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-blik .bm-blik-overlay p {
text-align: center; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-blik .bm-blik-overlay p::after {
content: "";
display: block;
background-image: url("https://platnosci.bm.pl/pomoc/grafika/509.gif");
background-size: cover;
background-position: center center;
margin: 10px auto 0;
height: 55px;
width: 123px; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-blik .bm-blik-overlay p span {
display: inline-block; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-blik .bm-blik-overlay p span.bm-blik-overlay-status {
font-weight: bold; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-blik .bm-blik-overlay p span.bm-blik-overlay-status--success {
color: #0e7b17; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-blik .bm-blik-overlay p span.bm-blik-overlay-status--process {
color: #CCC5C5; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-blik .bm-blik-overlay p span.bm-blik-overlay-status--error {
color: #A7301F; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-blik .bm-blik-code-wrapper > * {
display: block; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-blik .bm-blik-code-wrapper input {
margin-right: 0;
width: 100%; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-karta-platnicza, #payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-platnosc-karta {
grid-area: carts; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-portfel-elektroniczny, #payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-przelew-internetowy {
grid-area: wallets; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-pbl {
grid-area: pbl; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-raty-online {
grid-area: installment; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-szybki-przelew {
grid-area: fr; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-apple-pay {
display: none; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-expandable .bm-group-expandable-wrapper {
display: none;
flex-wrap: wrap;
gap: 5px; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-expandable .bm-group-expandable-wrapper.active {
display: flex; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-expandable .bm-group-expandable-wrapper > li {
display: block;
position: relative;
width: auto; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-expandable .bm-group-expandable-wrapper > li > label {
display: block;
margin: 0;
min-height: unset; }
@media only screen and (max-width: 375px) {
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-expandable .bm-group-expandable-wrapper > li > label {
min-height: unset; } }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-expandable .bm-group-expandable-wrapper > li > label > input[type="radio"] {
display: block !important;
height: 100%;
width: 100%;
margin-right: 0;
position: absolute;
top: 0;
left: 0;
opacity: 0;
z-index: 2; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-expandable .bm-group-expandable-wrapper > li > label .bm-payment-channel-method-logo {
width: 65px;
height: 65px;
-o-object-fit: contain;
object-fit: contain;
margin-left: auto;
margin-right: auto;
min-height: unset; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-expandable .bm-group-expandable-wrapper > li > label > p {
display: none; }
#payment ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_box.payment_method_bluemedia .payment_box.payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > div.bm-group-expandable .bm-group-expandable-wrapper > li > span.bm-payment-channel-method-desc {
margin-top: 0 !important; }
/* Compatibility with Astra theme - start */
body.theme-astra .woocommerce-checkout #payment .payment_method_bluemedia img {
margin: 0; }
body.theme-astra .payment_box.payment_method_bluemedia > .bm-payment-channels-wrapper {
margin-left: 0; }
body.theme-astra .woocommerce .woocommerce-checkout #payment ul.wc_payment_methods li.payment_method_bluemedia ul#shipping_method li {
padding-left: 0; }
/* Compatibility with Astra theme - end */

View File

@@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="130"
height="36"
viewBox="0 0 130 36"
version="1.1"
id="svg18"
sodipodi:docname="logo-group.svg"
style="fill:none"
inkscape:version="0.92.2 (5c3e80d, 2017-08-06)">
<metadata
id="metadata24">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs22" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1017"
id="namedview20"
showgrid="false"
inkscape:zoom="3.73"
inkscape:cx="50"
inkscape:cy="13"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg18" />
<path
d="m 28.853263,13.215911 c 0,-3.6913495 -2.72719,-6.6834595 -6.31134,-6.6834595 -3.58416,0 -6.31136,2.99211 -6.31136,6.6834595 v 13.3669 h 1.57797 c 0,-2.7685 2.11955,-5.0124 4.73339,-5.0124 2.61384,0 4.73334,2.2445 4.73334,5.0124 h 1.578 z"
id="path2"
inkscape:connector-curvature="0"
style="fill:#199bfa" />
<path
d="m 37.640363,5.4209115 -4.0526,21.1626995 h 3.5986 l 0.7828,-4.6466 h 4.4718 l 0.7828,4.6466 h 3.7034 l -4.0532,-21.1626995 z m 0.8317,13.6149995 1.7327,-10.2115395 1.7327,10.2115395 z"
id="path4"
inkscape:connector-curvature="0"
style="clip-rule:evenodd;fill:#282828;fill-rule:evenodd" />
<path
d="m 54.940263,21.729211 c 0,1.5094 -0.8107,2.2496 -1.9008,2.2496 -1.0902,0 -1.5651,-0.6509 -1.5651,-2.0425 v -10.83286 h -3.466 v 11.30616 c 0,3.0189 1.4534,4.4395 3.5777,4.4395 1.7327,0 2.7949,-0.9177 3.3542,-2.1904 v 1.9236 h 3.466 v -15.47886 h -3.466 z"
id="path6"
inkscape:connector-curvature="0"
style="fill:#282828" />
<path
d="m 60.463763,7.9959315 h 3.4654 v 3.1081795 h 2.3758 v 2.69341 h -2.3758 v 8.46429 c 0,1.0656 0.419,1.539 1.3136,1.539 0.4476,0 0.8666,-0.0592 1.0622,-0.1479 v 2.8117 c -0.2794,0.1184 -0.9499,0.2367 -1.7327,0.2367 -2.8787,0 -4.1085,-1.3615 -4.1085,-4.1437 z"
id="path8"
inkscape:connector-curvature="0"
style="fill:#282828" />
<path
d="m 72.867263,10.837561 c -3.186,0 -5.478,1.98279 -5.478,5.80105 v 4.4691 c 0,3.759 2.292,5.7418 5.4501,5.7418 3.1581,0 5.5618,-1.9828 5.5618,-5.801 v -4.4691 c 0,-3.78865 -2.3199,-5.74185 -5.5339,-5.74185 z m 2.0406,10.35945 c 0,1.894 -0.6706,2.8413 -2.0406,2.8413 -1.37,0 -2.0126,-0.9473 -2.0126,-2.8413 v -4.7354 c 0,-1.9236 0.699,-2.84132 2.0126,-2.84132 1.3136,0 2.0406,0.91772 2.0406,2.87092 z"
id="path10"
inkscape:connector-curvature="0"
style="clip-rule:evenodd;fill:#282828;fill-rule:evenodd" />
<path
d="m 83.599363,12.998291 c 0.5873,-1.18398 1.7333,-2.16087 3.4101,-2.16087 2.4876,0 4.1365,1.77512 4.1365,5.47499 v 5.0022 c 0,3.7295 -1.7327,5.5348 -4.2762,5.5348 -1.6215,0 -2.7675,-0.858 -3.2704,-2.042 v 6.6135 h -3.4659 v -20.31665 h 3.4659 z m 2.0959,11.06952 c 1.2857,0 1.9568,-0.8586 1.9568,-2.723 v -5.0312 c 0,-1.92366 -0.7269,-2.66387 -1.9568,-2.66387 -1.3415,0 -2.1243,0.97689 -2.1243,2.90047 v 4.5875 c 0,1.9236 0.699,2.9301 2.1243,2.9301 z"
id="path12"
inkscape:connector-curvature="0"
style="clip-rule:evenodd;fill:#282828;fill-rule:evenodd" />
<path
d="m 100.20536,12.880091 c -0.5309,-1.24316 -1.5093,-2.04253 -3.1308,-2.04253 -2.459597,0 -4.303997,1.80527 -4.303997,5.56435 v 4.9134 c 0,3.7591 1.7327,5.5348 4.136397,5.5348 1.6768,0 2.7391,-0.9769 3.2984,-2.2201 v 1.9532 h 3.4659 v -15.47939 h -3.4659 z m 0.0279,8.22812 c 0,1.9237 -0.7828,2.9301 -2.1244,2.9301 -1.1739,0 -1.8445,-0.7698 -1.8445,-2.6638 v -5.0318 c 0,-1.92361 0.6706,-2.75257 1.9289,-2.75257 1.3415,0 2.0405,1.00647 2.0405,2.98927 z"
id="path14"
inkscape:connector-curvature="0"
style="clip-rule:evenodd;fill:#282828;fill-rule:evenodd" />
<path
d="m 110.62676,20.515611 2.2082,-9.41216 h 3.3956 l -5.6151,20.31726 h -3.4772 l 1.7279,-6.0804 -4.2208,-14.23686 h 3.6894 z"
id="path16"
inkscape:connector-curvature="0"
style="fill:#282828" />
</svg>

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="130"
height="36"
viewBox="0 0 130 36"
version="1.1"
id="svg18"
sodipodi:docname="logo-group.svg"
style="fill:none"
inkscape:version="0.92.2 (5c3e80d, 2017-08-06)">
<metadata
id="metadata24">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs22" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1017"
id="namedview20"
showgrid="false"
inkscape:zoom="3.73"
inkscape:cx="50"
inkscape:cy="13"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg18" />
<path
d="m 28.853263,13.215911 c 0,-3.6913495 -2.72719,-6.6834595 -6.31134,-6.6834595 -3.58416,0 -6.31136,2.99211 -6.31136,6.6834595 v 13.3669 h 1.57797 c 0,-2.7685 2.11955,-5.0124 4.73339,-5.0124 2.61384,0 4.73334,2.2445 4.73334,5.0124 h 1.578 z"
id="path2"
inkscape:connector-curvature="0"
style="fill:#199bfa" />
<path
d="m 37.640363,5.4209115 -4.0526,21.1626995 h 3.5986 l 0.7828,-4.6466 h 4.4718 l 0.7828,4.6466 h 3.7034 l -4.0532,-21.1626995 z m 0.8317,13.6149995 1.7327,-10.2115395 1.7327,10.2115395 z"
id="path4"
inkscape:connector-curvature="0"
style="clip-rule:evenodd;fill:#282828;fill-rule:evenodd" />
<path
d="m 54.940263,21.729211 c 0,1.5094 -0.8107,2.2496 -1.9008,2.2496 -1.0902,0 -1.5651,-0.6509 -1.5651,-2.0425 v -10.83286 h -3.466 v 11.30616 c 0,3.0189 1.4534,4.4395 3.5777,4.4395 1.7327,0 2.7949,-0.9177 3.3542,-2.1904 v 1.9236 h 3.466 v -15.47886 h -3.466 z"
id="path6"
inkscape:connector-curvature="0"
style="fill:#282828" />
<path
d="m 60.463763,7.9959315 h 3.4654 v 3.1081795 h 2.3758 v 2.69341 h -2.3758 v 8.46429 c 0,1.0656 0.419,1.539 1.3136,1.539 0.4476,0 0.8666,-0.0592 1.0622,-0.1479 v 2.8117 c -0.2794,0.1184 -0.9499,0.2367 -1.7327,0.2367 -2.8787,0 -4.1085,-1.3615 -4.1085,-4.1437 z"
id="path8"
inkscape:connector-curvature="0"
style="fill:#282828" />
<path
d="m 72.867263,10.837561 c -3.186,0 -5.478,1.98279 -5.478,5.80105 v 4.4691 c 0,3.759 2.292,5.7418 5.4501,5.7418 3.1581,0 5.5618,-1.9828 5.5618,-5.801 v -4.4691 c 0,-3.78865 -2.3199,-5.74185 -5.5339,-5.74185 z m 2.0406,10.35945 c 0,1.894 -0.6706,2.8413 -2.0406,2.8413 -1.37,0 -2.0126,-0.9473 -2.0126,-2.8413 v -4.7354 c 0,-1.9236 0.699,-2.84132 2.0126,-2.84132 1.3136,0 2.0406,0.91772 2.0406,2.87092 z"
id="path10"
inkscape:connector-curvature="0"
style="clip-rule:evenodd;fill:#282828;fill-rule:evenodd" />
<path
d="m 83.599363,12.998291 c 0.5873,-1.18398 1.7333,-2.16087 3.4101,-2.16087 2.4876,0 4.1365,1.77512 4.1365,5.47499 v 5.0022 c 0,3.7295 -1.7327,5.5348 -4.2762,5.5348 -1.6215,0 -2.7675,-0.858 -3.2704,-2.042 v 6.6135 h -3.4659 v -20.31665 h 3.4659 z m 2.0959,11.06952 c 1.2857,0 1.9568,-0.8586 1.9568,-2.723 v -5.0312 c 0,-1.92366 -0.7269,-2.66387 -1.9568,-2.66387 -1.3415,0 -2.1243,0.97689 -2.1243,2.90047 v 4.5875 c 0,1.9236 0.699,2.9301 2.1243,2.9301 z"
id="path12"
inkscape:connector-curvature="0"
style="clip-rule:evenodd;fill:#282828;fill-rule:evenodd" />
<path
d="m 100.20536,12.880091 c -0.5309,-1.24316 -1.5093,-2.04253 -3.1308,-2.04253 -2.459597,0 -4.303997,1.80527 -4.303997,5.56435 v 4.9134 c 0,3.7591 1.7327,5.5348 4.136397,5.5348 1.6768,0 2.7391,-0.9769 3.2984,-2.2201 v 1.9532 h 3.4659 v -15.47939 h -3.4659 z m 0.0279,8.22812 c 0,1.9237 -0.7828,2.9301 -2.1244,2.9301 -1.1739,0 -1.8445,-0.7698 -1.8445,-2.6638 v -5.0318 c 0,-1.92361 0.6706,-2.75257 1.9289,-2.75257 1.3415,0 2.0405,1.00647 2.0405,2.98927 z"
id="path14"
inkscape:connector-curvature="0"
style="clip-rule:evenodd;fill:#282828;fill-rule:evenodd" />
<path
d="m 110.62676,20.515611 2.2082,-9.41216 h 3.3956 l -5.6151,20.31726 h -3.4772 l 1.7279,-6.0804 -4.2208,-14.23686 h 3.6894 z"
id="path16"
inkscape:connector-curvature="0"
style="fill:#282828" />
</svg>

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="130"
height="36"
viewBox="0 0 130 36"
version="1.1"
id="svg18"
sodipodi:docname="logo-group.svg"
style="fill:none"
inkscape:version="0.92.2 (5c3e80d, 2017-08-06)">
<metadata
id="metadata24">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs22" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1017"
id="namedview20"
showgrid="false"
inkscape:zoom="3.73"
inkscape:cx="50"
inkscape:cy="13"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg18" />
<path
d="m 28.853263,13.215911 c 0,-3.6913495 -2.72719,-6.6834595 -6.31134,-6.6834595 -3.58416,0 -6.31136,2.99211 -6.31136,6.6834595 v 13.3669 h 1.57797 c 0,-2.7685 2.11955,-5.0124 4.73339,-5.0124 2.61384,0 4.73334,2.2445 4.73334,5.0124 h 1.578 z"
id="path2"
inkscape:connector-curvature="0"
style="fill:#199bfa" />
<path
d="m 37.640363,5.4209115 -4.0526,21.1626995 h 3.5986 l 0.7828,-4.6466 h 4.4718 l 0.7828,4.6466 h 3.7034 l -4.0532,-21.1626995 z m 0.8317,13.6149995 1.7327,-10.2115395 1.7327,10.2115395 z"
id="path4"
inkscape:connector-curvature="0"
style="clip-rule:evenodd;fill:#282828;fill-rule:evenodd" />
<path
d="m 54.940263,21.729211 c 0,1.5094 -0.8107,2.2496 -1.9008,2.2496 -1.0902,0 -1.5651,-0.6509 -1.5651,-2.0425 v -10.83286 h -3.466 v 11.30616 c 0,3.0189 1.4534,4.4395 3.5777,4.4395 1.7327,0 2.7949,-0.9177 3.3542,-2.1904 v 1.9236 h 3.466 v -15.47886 h -3.466 z"
id="path6"
inkscape:connector-curvature="0"
style="fill:#282828" />
<path
d="m 60.463763,7.9959315 h 3.4654 v 3.1081795 h 2.3758 v 2.69341 h -2.3758 v 8.46429 c 0,1.0656 0.419,1.539 1.3136,1.539 0.4476,0 0.8666,-0.0592 1.0622,-0.1479 v 2.8117 c -0.2794,0.1184 -0.9499,0.2367 -1.7327,0.2367 -2.8787,0 -4.1085,-1.3615 -4.1085,-4.1437 z"
id="path8"
inkscape:connector-curvature="0"
style="fill:#282828" />
<path
d="m 72.867263,10.837561 c -3.186,0 -5.478,1.98279 -5.478,5.80105 v 4.4691 c 0,3.759 2.292,5.7418 5.4501,5.7418 3.1581,0 5.5618,-1.9828 5.5618,-5.801 v -4.4691 c 0,-3.78865 -2.3199,-5.74185 -5.5339,-5.74185 z m 2.0406,10.35945 c 0,1.894 -0.6706,2.8413 -2.0406,2.8413 -1.37,0 -2.0126,-0.9473 -2.0126,-2.8413 v -4.7354 c 0,-1.9236 0.699,-2.84132 2.0126,-2.84132 1.3136,0 2.0406,0.91772 2.0406,2.87092 z"
id="path10"
inkscape:connector-curvature="0"
style="clip-rule:evenodd;fill:#282828;fill-rule:evenodd" />
<path
d="m 83.599363,12.998291 c 0.5873,-1.18398 1.7333,-2.16087 3.4101,-2.16087 2.4876,0 4.1365,1.77512 4.1365,5.47499 v 5.0022 c 0,3.7295 -1.7327,5.5348 -4.2762,5.5348 -1.6215,0 -2.7675,-0.858 -3.2704,-2.042 v 6.6135 h -3.4659 v -20.31665 h 3.4659 z m 2.0959,11.06952 c 1.2857,0 1.9568,-0.8586 1.9568,-2.723 v -5.0312 c 0,-1.92366 -0.7269,-2.66387 -1.9568,-2.66387 -1.3415,0 -2.1243,0.97689 -2.1243,2.90047 v 4.5875 c 0,1.9236 0.699,2.9301 2.1243,2.9301 z"
id="path12"
inkscape:connector-curvature="0"
style="clip-rule:evenodd;fill:#282828;fill-rule:evenodd" />
<path
d="m 100.20536,12.880091 c -0.5309,-1.24316 -1.5093,-2.04253 -3.1308,-2.04253 -2.459597,0 -4.303997,1.80527 -4.303997,5.56435 v 4.9134 c 0,3.7591 1.7327,5.5348 4.136397,5.5348 1.6768,0 2.7391,-0.9769 3.2984,-2.2201 v 1.9532 h 3.4659 v -15.47939 h -3.4659 z m 0.0279,8.22812 c 0,1.9237 -0.7828,2.9301 -2.1244,2.9301 -1.1739,0 -1.8445,-0.7698 -1.8445,-2.6638 v -5.0318 c 0,-1.92361 0.6706,-2.75257 1.9289,-2.75257 1.3415,0 2.0405,1.00647 2.0405,2.98927 z"
id="path14"
inkscape:connector-curvature="0"
style="clip-rule:evenodd;fill:#282828;fill-rule:evenodd" />
<path
d="m 110.62676,20.515611 2.2082,-9.41216 h 3.3956 l -5.6151,20.31726 h -3.4772 l 1.7279,-6.0804 -4.2208,-14.23686 h 3.6894 z"
id="path16"
inkscape:connector-curvature="0"
style="fill:#282828" />
</svg>

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

View File

@@ -0,0 +1 @@
jQuery(document).ready(function(){function e(e){!0===e?(jQuery("#woocommerce_bluemedia_service_id").addClass("bm-disabled").prop("disabled",!0),jQuery("#woocommerce_bluemedia_private_key").addClass("bm-disabled").prop("disabled",!0),jQuery("#woocommerce_bluemedia_test_service_id").addClass("bm-disabled").prop("disabled",!1),jQuery("#woocommerce_bluemedia_test_private_key").addClass("bm-disabled").prop("disabled",!1)):(jQuery("#woocommerce_bluemedia_service_id").removeClass("bm-disabled").prop("disabled",!1),jQuery("#woocommerce_bluemedia_private_key").removeClass("bm-disabled").prop("disabled",!1),jQuery("#woocommerce_bluemedia_test_service_id").removeClass("bm-disabled").prop("disabled",!0),jQuery("#woocommerce_bluemedia_test_private_key").removeClass("bm-disabled").prop("disabled",!0))}jQuery("input[type=radio][name=woocommerce_bluemedia_testmode]").on("change",function(){e("yes"===jQuery(this).val())}),jQuery(".bm_ga_help_modal").click(function(e){e.preventDefault(),jQuery(".bm-modal-content").show(),jQuery("body").toggleClass("bm-modalbackground"),jQuery(".bm-modal-overlay").toggleClass("active")}),jQuery(".bm-modal-content .bm-close").click(function(){jQuery(".bm-modal-content").hide(),jQuery("body").toggleClass("bm-modalbackground"),jQuery(".bm-modal-overlay").toggleClass("active")})});

View File

@@ -0,0 +1 @@
function addCurrentClass(e){var a=!1;const c=e.closest("#payment");e=c.querySelectorAll(".bm-payment-channel-item > label > input[type='radio']");const n=c.querySelector(".bm-group-expandable-wrapper"),r=c.querySelector("#bm-gateway-bank-group");e&&e.forEach(e=>{var t;e.checked&&((t=e.closest(".bm-payment-channel-item"))&&t.classList&&(t.classList.toggle("selected"),a=t.classList.contains("selected")),a||(e.checked=!1),isChild(e,c.querySelector("div.bm-group-expandable-wrapper"))||(n&&n.classList&&n.classList.remove("active"),r&&r.checked&&(r.checked=!r.checked))),c.querySelectorAll(".bm-payment-channel-item > label > input[type='radio']").forEach(e=>{!1===e.checked&&e.closest(".bm-payment-channel-item").classList.remove("selected")})}),(a?BmActivateNewOrderButton:BmDeactivateNewOrderButton)()}function blueMediaRadioShow(){jQuery(".payment_box.payment_method_bluemedia .payment_box.payment_method_bacs").css("display","block")}function blueMediaRadioHide(){jQuery(".payment_box.payment_method_bluemedia .payment_box.payment_method_bacs").css("display","none")}function blueMediaRadioTest(){jQuery("#payment_method_bluemedia").is(":checked")&&blueMediaRadioShow()}function isChild(e,t){for(;null!=e&&"BODY"!=e.tagName.toUpperCase();){if(e==t)return!0;e=e.parentNode}return!1}function BmDeactivateNewOrderButton(){jQuery("#place_order").prop("disabled",!0)}function BmActivateNewOrderButton(){jQuery("#place_order").prop("disabled",!1)}function BmSelectGroupedLi(){jQuery(".bm-payment-channel-group-item").addClass("bm-selected-group")}function BmDeselectGroupedLi(){jQuery(".bm-payment-channel-group-item").removeClass("bm-selected-group")}jQuery(document).ready(function(){function t(){dataLayer.push(arguments)}void 0!==window.blueMedia&&"undefined"!=typeof blue_media_ga4_tasks&&void 0!==blueMedia.ga4TrackingId&&(window.dataLayer=window.dataLayer||[],t("js",new Date),t("config",blueMedia.ga4TrackingId),JSON.parse(blue_media_ga4_tasks)[0].events.forEach(e=>{t("event",e.name,{items:e.params.items})}))}),document.addEventListener("click",function(e){e=(e=e||window.event).target||e.srcElement;document.querySelector(".bm-group-expandable-wrapper");e.hasAttribute("id")&&"bm-gateway-bank-group"==e.getAttribute("id")?e.checked&&(BmSelectGroupedLi(),document.querySelectorAll(".bm-group-expandable-wrapper").forEach(e=>{e&&e.classList&&e.classList.add("active")}),document.querySelectorAll(".bm-payment-channel-item > label > input[type='radio']").forEach(e=>{var t;e.checked&&((t=e.closest(".bm-payment-channel-item"))&&t.classList&&t.classList.remove("selected"),e.checked=!e.checked,BmDeactivateNewOrderButton())})):e.hasAttribute("class")&&"bm-payment-channel-group-in-group"!==e.getAttribute("class")&&BmDeselectGroupedLi()});

View File

@@ -0,0 +1 @@
function addCurrentClass(e){const t=e.closest("#payment");e=t.querySelectorAll(".bm-payment-channel-item > input[type='radio']");const a=t.querySelector(".bm-group-expandable-wrapper"),o=t.querySelector("#bm-gateway-bank-group");e&&e.forEach(e=>{e.checked&&(e.closest(".bm-payment-channel-item").classList.toggle("selected"),isChild(e,t.querySelector("div.bm-group-expandable-wrapper"))||(a.classList.remove("active"),o.checked&&(o.checked=!o.checked))),t.querySelectorAll(".bm-payment-channel-item > input[type='radio']").forEach(e=>{!1===e.checked&&e.closest(".bm-payment-channel-item").classList.remove("selected")})})}function blueMediaRadioShow(){jQuery(".payment_box.payment_method_bluemedia .payment_box.payment_method_bacs").css("display","block")}function blueMediaRadioHide(){jQuery(".payment_box.payment_method_bluemedia .payment_box.payment_method_bacs").css("display","none")}function blueMediaRadioTest(){jQuery("#payment_method_bluemedia").is(":checked")&&blueMediaRadioShow()}function isChild(e,t){for(;null!=e&&"BODY"!=e.tagName.toUpperCase();){if(e==t)return!0;e=e.parentNode}return!1}jQuery(document).ready(function(){function t(){dataLayer.push(arguments)}var e;void 0!==window.blueMedia&&"undefined"!=typeof blue_media_ga4_tasks&&void 0!==blueMedia.ga4TrackingId&&(window.dataLayer=window.dataLayer||[],t("js",new Date),t("config",blueMedia.ga4TrackingId),e=JSON.parse(blue_media_ga4_tasks)[0].events,console.log(e),e.forEach(e=>{t("event",e.name,{items:e.params.items})}))}),document.addEventListener("click",function(e){e=(e=e||window.event).target||e.srcElement;document.querySelector(".bm-group-expandable-wrapper");e.hasAttribute("id")&&"bm-gateway-bank-group"==e.getAttribute("id")&&e.checked&&(document.querySelectorAll(".bm-group-expandable-wrapper").forEach(e=>{e.classList.add("active")}),document.querySelectorAll(".bm-payment-channel-item > input[type='radio']").forEach(e=>{e.checked&&(e.closest(".bm-payment-channel-item").classList.remove("selected"),e.checked=!e.checked)}))});const $button=jQuery("#place_order"),$paymentMethod=jQuery('#payment > ul.wc_payment_methods > li.wc_payment_method > input[type="radio"]'),isPaymentChecked=e=>{let t=!1;return jQuery(e).each(function(){if(jQuery(this).prop("checked"))return!(t=!0)}),t},updateButtonState=()=>{var e,t=isPaymentChecked($paymentMethod),a=jQuery("#payment_method_bluemedia").prop("checked");t&&a?(t=jQuery('#payment > ul.wc_payment_methods > li.wc_payment_method > .payment_method_bluemedia > .payment_box ul#shipping_method > div > li > ul > li > input[type="radio"]'),a=isPaymentChecked(t),t=jQuery("#bm-gateway-bank-group").prop("checked"),e=jQuery('#payment > ul.wc_payment_methods > li.wc_payment_method.payment_method_bluemedia > .payment_method_bluemedia .payment_method_bacs > .bm-payment-channels-wrapper ul.woocommerce-shipping-methods > .bm-group-expandable .bm-group-expandable-wrapper > li > input[type="radio"]'),e=isPaymentChecked(e),a&&t?e?(console.log("Aktywuj przycisk"),jQuery("#place_order").prop("disabled",!1)):(console.log("Dezaktywuj przycisk"),jQuery("#place_order").prop("disabled",!0)):a?(console.log("Aktywuj przycisk"),jQuery("#place_order").prop("disabled",!1)):(console.log("Dezaktywuj przycisk"),jQuery("#place_order").prop("disabled",!0))):(console.log("Aktywuj przycisk"),jQuery("#place_order").prop("disabled",!1))};jQuery(window).on("load",function(){setTimeout(function(){console.log("Cała strona została załadowana po czasie"),updateButtonState()},5e3)}),jQuery(document).on("change",'#payment > ul.wc_payment_methods > li input[type="radio"]',updateButtonState);