(function() { var teh_certificate_PAGE_ROOT_URL = ('cert.tryggehandel.net' == 'tehscript.local') ? 'https://tehscript.local' : 'https://cert.tryggehandel.net'; var teh_certificate_company_validDomains = 'snyggtljud.se' != '' ? 'snyggtljud.se' : null; var teh_certificate_company_certDate = '26 september 2022' != '' ? '26 september 2022' : null; var teh_certificate_company_status = 'Aktiv medlem' != '' ? 'Aktiv medlem' : null; var teh_certificate_company_juridiskt_namn = 'Magnus Abrahamsson/Snyggt Ljud i Sverige' != '' ? 'Magnus Abrahamsson/Snyggt Ljud i Sverige' : null; var teh_certificate_company_kontaktuppgifter = '1' != '' ? true : false; var teh_certificate_company_GDPR_integritet = '1' != '' ? true : false; var teh_certificate_company_konsumentratt = '1' != '' ? true : false; var teh_certificate_company_sakerhet_betalning = '1' != '' ? true : false; var teh_certificate_company_tvistlosning = '1' != '' ? true : false; var teh_certificate_company_demo = '' != '' ? true : false; var teh_certificate_cache_buster = '20240305120000'; var teh_certificate_placeHolderClass = 'teh-certificate'; var teh_certificate_LOGACTIVE = false; function teh_certificate_logInformation(p_teh_certificate_msg){ if(!teh_certificate_LOGACTIVE) return; console.log('%c[Trygg E-handel Info]: ' + p_teh_certificate_msg, 'background: #ffffff; color: #0000ff'); } function teh_certificate_logWarning(p_teh_certificate_msg){ console.log('%c[Trygg E-handel Warning]: ' + p_teh_certificate_msg, 'background: #ffffff; color: #ff0000'); } function teh_certificate_isEmpty(p_teh_certificate_data){ return p_teh_certificate_data == undefined || p_teh_certificate_data == null || p_teh_certificate_data == ''; } function teh_certificate_getOption(p_teh_certificate_icon, p_teh_certificate_title, p_teh_certificate_listItems){ var teh_certificate_option = ''; teh_certificate_option += ''; return teh_certificate_option; } var teh_certificate_matchedScripts = document.querySelectorAll('script[src^="'+teh_certificate_PAGE_ROOT_URL+'/js/script.js"]'); if(teh_certificate_matchedScripts.length == 0){ teh_certificate_logWarning('Could not find the script'); return; } if(teh_certificate_matchedScripts.length > 1){ teh_certificate_logWarning('You should only include the script once'); return; } var teh_certificate_thisScript = teh_certificate_matchedScripts[0]; if(teh_certificate_thisScript.hasAttribute('debugging')){ teh_certificate_LOGACTIVE = true; teh_certificate_logInformation('Debugging is enabled'); } var teh_certificate_param = new RegExp('[\?&]id=([^&#]*)').exec(teh_certificate_thisScript.getAttribute('src')); if(teh_certificate_isEmpty(teh_certificate_param)) { teh_certificate_logWarning('Script attribute "src" is missing parameter "id"'); return; } teh_certificate_param = decodeURI(teh_certificate_param[1]); if(teh_certificate_isEmpty(teh_certificate_param)){ teh_certificate_logWarning('Script attribute "src" is missing parameter value on "id"'); return; } if(teh_certificate_param.match("\\[.*\\]")){ teh_certificate_logWarning('Please remove the placeholders "[]" on the script attribute "src".'); return; } if(teh_certificate_company_demo) { teh_certificate_HOST_TO_CHECK = 'snyggtljud.se'; } else { var teh_certificate_HOST_TO_CHECK = window.origin; if(teh_certificate_isEmpty(teh_certificate_HOST_TO_CHECK)) teh_certificate_HOST_TO_CHECK = location.host; if(teh_certificate_isEmpty(teh_certificate_HOST_TO_CHECK)){ teh_certificate_logWarning('Host not found'); return; } teh_certificate_HOST_TO_CHECK = teh_certificate_HOST_TO_CHECK.replace(/(^\w+:|^)\/\//, ''); // http, https teh_certificate_HOST_TO_CHECK = teh_certificate_HOST_TO_CHECK.replace(/(^www.)/, ''); // www. teh_certificate_HOST_TO_CHECK = teh_certificate_HOST_TO_CHECK.replace(/(\/.*)/, ''); // childfolders var teh_certificate_hostParts = teh_certificate_HOST_TO_CHECK.split('.'); // .paths if(teh_certificate_hostParts.length < 2){ teh_certificate_logWarning('Host invalid: ' + teh_certificate_HOST_TO_CHECK); return; } teh_certificate_HOST_TO_CHECK = teh_certificate_hostParts[teh_certificate_hostParts.length - 2] + '.' + teh_certificate_hostParts[teh_certificate_hostParts.length - 1]; teh_certificate_logInformation('Validating: ' + teh_certificate_HOST_TO_CHECK); if(teh_certificate_isEmpty(teh_certificate_company_juridiskt_namn)){ teh_certificate_logWarning('Could not find TEH. Please contact dhandel.'); return; } if(teh_certificate_isEmpty(teh_certificate_company_status)){ teh_certificate_logWarning('Could not find TEH status'); return; } switch(teh_certificate_company_status){ case 'Aktiv medlem': teh_certificate_logInformation('Active member!'); break; case 'Ej medlem': teh_certificate_logWarning('Not a member...'); return; case 'Uppsagd': teh_certificate_logWarning('Suspended...'); return; case 'Under utredning': teh_certificate_logWarning('Under investigation...'); return; case 'Initial granskning': teh_certificate_logWarning('Initial review...'); return; case 'Nyinkomna': teh_certificate_logWarning('New arrivals...'); return; case 'Har ansökt via hemsida men ej verifierat': teh_certificate_logWarning('Has applied via website but not verified...'); return; case 'Avslutad på egen begäran': teh_certificate_logWarning('Completed at own request...'); return; case 'SW:\"VMI\";': teh_certificate_logWarning('SW VMI...'); return; default: teh_certificate_logWarning('Status unknown: ' + teh_certificate_company_status); return; } if(teh_certificate_isEmpty(teh_certificate_company_validDomains)){ teh_certificate_logWarning('Has no domains...'); return; } var teh_certificate_validDomainsUrls = teh_certificate_company_validDomains.split(','); var teh_certificate_haveValidDomains = false; for (var teh_certificate_validDomainsUrls_i = 0; teh_certificate_validDomainsUrls_i < teh_certificate_validDomainsUrls.length; teh_certificate_validDomainsUrls_i++) { if(teh_certificate_validDomainsUrls[teh_certificate_validDomainsUrls_i].toLowerCase().indexOf(teh_certificate_HOST_TO_CHECK.toLowerCase()) != -1){ teh_certificate_haveValidDomains = true; break; } } if(!teh_certificate_haveValidDomains){ teh_certificate_logWarning('Has not valid domains...'); return; } teh_certificate_logInformation('Has valid domains!'); } var teh_certificate_logoImageUrl = teh_certificate_PAGE_ROOT_URL + '/js/logo.svg'; var teh_certificate_logoImageUrlDemo = teh_certificate_PAGE_ROOT_URL + '/js/logo_demo.svg'; var teh_certificate_option_icon_yes = teh_certificate_PAGE_ROOT_URL + '/js/check-green.svg'; var teh_certificate_option_icon_nop = teh_certificate_PAGE_ROOT_URL + '/js/check-grey.svg'; var teh_certificate_icon_kontaktuppgifter = teh_certificate_company_kontaktuppgifter ? teh_certificate_option_icon_yes : teh_certificate_option_icon_nop; var teh_certificate_icon_GDPR_integritet = teh_certificate_company_GDPR_integritet ? teh_certificate_option_icon_yes : teh_certificate_option_icon_nop; var teh_certificate_icon_konsumentratt = teh_certificate_company_konsumentratt ? teh_certificate_option_icon_yes : teh_certificate_option_icon_nop; var teh_certificate_icon_sakerhet_betalning = teh_certificate_company_sakerhet_betalning ? teh_certificate_option_icon_yes : teh_certificate_option_icon_nop; var teh_certificate_icon_tvistlosning = teh_certificate_company_tvistlosning ? teh_certificate_option_icon_yes : teh_certificate_option_icon_nop; var teh_certificate_css = ''; teh_certificate_css += '.teh-cleanslate,.teh-cleanslate a,.teh-cleanslate abbr,.teh-cleanslate acronym,.teh-cleanslate address,.teh-cleanslate applet,.teh-cleanslate area,.teh-cleanslate article,.teh-cleanslate aside,.teh-cleanslate audio,.teh-cleanslate b,.teh-cleanslate big,.teh-cleanslate blockquote,.teh-cleanslate button,.teh-cleanslate canvas,.teh-cleanslate caption,.teh-cleanslate cite,.teh-cleanslate code,.teh-cleanslate col,.teh-cleanslate colgroup,.teh-cleanslate datalist,.teh-cleanslate dd,.teh-cleanslate del,.teh-cleanslate dfn,.teh-cleanslate div,.teh-cleanslate dl,.teh-cleanslate dt,.teh-cleanslate em,.teh-cleanslate fieldset,.teh-cleanslate figcaption,.teh-cleanslate figure,.teh-cleanslate footer,.teh-cleanslate form,.teh-cleanslate h1,.teh-cleanslate h2,.teh-cleanslate h3,.teh-cleanslate h4,.teh-cleanslate h5,.teh-cleanslate h6,.teh-cleanslate header,.teh-cleanslate hr,.teh-cleanslate i,.teh-cleanslate iframe,.teh-cleanslate img,.teh-cleanslate input,.teh-cleanslate ins,.teh-cleanslate kbd,.teh-cleanslate label,.teh-cleanslate legend,.teh-cleanslate li,.teh-cleanslate main,.teh-cleanslate map,.teh-cleanslate mark,.teh-cleanslate menu,.teh-cleanslate meta,.teh-cleanslate nav,.teh-cleanslate object,.teh-cleanslate ol,.teh-cleanslate optgroup,.teh-cleanslate option,.teh-cleanslate output,.teh-cleanslate p,.teh-cleanslate pre,.teh-cleanslate progress,.teh-cleanslate q,.teh-cleanslate samp,.teh-cleanslate section,.teh-cleanslate select,.teh-cleanslate small,.teh-cleanslate span,.teh-cleanslate strike,.teh-cleanslate strong,.teh-cleanslate sub,.teh-cleanslate summary,.teh-cleanslate sup,.teh-cleanslate svg,.teh-cleanslate table,.teh-cleanslate tbody,.teh-cleanslate td,.teh-cleanslate textarea,.teh-cleanslate tfoot,.teh-cleanslate th,.teh-cleanslate thead,.teh-cleanslate time,.teh-cleanslate tr,.teh-cleanslate tt,.teh-cleanslate ul,.teh-cleanslate var,.teh-cleanslate video{background-attachment:scroll!important;background-color:transparent!important;background-image:none!important;background-position:0 0!important;background-repeat:repeat!important;border-color:#000!important;border-color:currentColor!important;border-radius:0!important;border-style:none!important;border-width:medium!important;bottom:auto!important;clear:none!important;clip:auto!important;color:inherit!important;counter-increment:none!important;counter-reset:none!important;cursor:auto!important;direction:inherit!important;display:inline!important;float:none!important;font-family:inherit!important;font-size:inherit!important;font-style:inherit!important;font-variant:normal!important;font-weight:inherit!important;height:auto!important;left:auto!important;letter-spacing:normal!important;line-height:inherit!important;list-style-type:inherit!important;list-style-position:outside!important;list-style-image:none!important;margin:0!important;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:1;outline:invert none medium!important;overflow:visible!important;padding:0!important;position:static!important;quotes:"" ""!important;right:auto!important;table-layout:auto!important;text-align:inherit!important;text-decoration:inherit!important;text-indent:0!important;text-transform:none!important;top:auto!important;unicode-bidi:normal!important;vertical-align:baseline!important;visibility:inherit!important;white-space:normal!important;width:auto!important;word-spacing:normal!important;z-index:auto!important;-webkit-background-origin:padding-box!important;background-origin:padding-box!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;-webkit-background-size:auto!important;-moz-background-size:auto!important;background-size:auto!important;-webkit-border-image:none!important;-moz-border-image:none!important;-o-border-image:none!important;border-image:none!important;-webkit-border-radius:0!important;-moz-border-radius:0!important;border-radius:0!important;-webkit-box-shadow:none!important;box-shadow:none!important;-webkit-column-count:auto!important;-moz-column-count:auto!important;column-count:auto!important;-webkit-column-gap:normal!important;-moz-column-gap:normal!important;column-gap:normal!important;-webkit-column-rule:medium none #000!important;-moz-column-rule:medium none #000!important;column-rule:medium none #000!important;-webkit-column-span:1!important;-moz-column-span:1!important;column-span:1!important;-webkit-column-width:auto!important;-moz-column-width:auto!important;column-width:auto!important;font-feature-settings:normal!important;overflow-x:visible!important;overflow-y:visible!important;-webkit-hyphens:manual!important;-moz-hyphens:manual!important;hyphens:manual!important;-webkit-perspective:none!important;-moz-perspective:none!important;-ms-perspective:none!important;-o-perspective:none!important;perspective:none!important;-webkit-perspective-origin:50% 50%!important;-moz-perspective-origin:50% 50%!important;-ms-perspective-origin:50% 50%!important;-o-perspective-origin:50% 50%!important;perspective-origin:50% 50%!important;-webkit-backface-visibility:visible!important;-moz-backface-visibility:visible!important;-ms-backface-visibility:visible!important;-o-backface-visibility:visible!important;backface-visibility:visible!important;text-shadow:none!important;-webkit-transition:all 0s ease 0s!important;transition:all 0s ease 0s!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;-webkit-transform-origin:50% 50%!important;-moz-transform-origin:50% 50%!important;-ms-transform-origin:50% 50%!important;-o-transform-origin:50% 50%!important;transform-origin:50% 50%!important;-webkit-transform-style:flat!important;-moz-transform-style:flat!important;-ms-transform-style:flat!important;-o-transform-style:flat!important;transform-style:flat!important;word-break:normal!important}.teh-cleanslate,.teh-cleanslate address,.teh-cleanslate article,.teh-cleanslate audio,.teh-cleanslate blockquote,.teh-cleanslate caption,.teh-cleanslate colgroup,.teh-cleanslate dd,.teh-cleanslate dialog,.teh-cleanslate div,.teh-cleanslate dl,.teh-cleanslate dt,.teh-cleanslate fieldset,.teh-cleanslate figure,.teh-cleanslate footer,.teh-cleanslate form,.teh-cleanslate h1,.teh-cleanslate h2,.teh-cleanslate h3,.teh-cleanslate h4,.teh-cleanslate h5,.teh-cleanslate h6,.teh-cleanslate header,.teh-cleanslate hgroup,.teh-cleanslate hr,.teh-cleanslate main,.teh-cleanslate menu,.teh-cleanslate nav,.teh-cleanslate ol,.teh-cleanslate option,.teh-cleanslate p,.teh-cleanslate pre,.teh-cleanslate progress,.teh-cleanslate section,.teh-cleanslate summary,.teh-cleanslate ul,.teh-cleanslate video{display:block!important}.teh-cleanslate h1,.teh-cleanslate h2,.teh-cleanslate h3,.teh-cleanslate h4,.teh-cleanslate h5,.teh-cleanslate h6{font-weight:700!important}.teh-cleanslate h1{font-size:2em!important;padding:.67em 0!important}.teh-cleanslate h2{font-size:1.5em!important;padding:.83em 0!important}.teh-cleanslate h3{font-size:1.17em!important;padding:.83em 0!important}.teh-cleanslate h4{font-size:1em!important}.teh-cleanslate h5{font-size:.83em!important}.teh-cleanslate p{margin:1em 0!important}.teh-cleanslate table{display:table!important}.teh-cleanslate thead{display:table-header-group!important}.teh-cleanslate tbody{display:table-row-group!important}.teh-cleanslate tfoot{display:table-footer-group!important}.teh-cleanslate tr{display:table-row!important}.teh-cleanslate td,.teh-cleanslate th{display:table-cell!important;padding:2px!important}.teh-cleanslate ol,.teh-cleanslate ul{margin:1em 0!important}.teh-cleanslate ol li,.teh-cleanslate ol ol li,.teh-cleanslate ol ol ol li,.teh-cleanslate ol ol ul li,.teh-cleanslate ol ul ul li,.teh-cleanslate ul li,.teh-cleanslate ul ol ol li,.teh-cleanslate ul ul li,.teh-cleanslate ul ul ol li,.teh-cleanslate ul ul ul li{list-style-position:inside!important;margin-top:.08em!important}.teh-cleanslate ol ol,.teh-cleanslate ol ol ol,.teh-cleanslate ol ol ul,.teh-cleanslate ol ul,.teh-cleanslate ol ul ul,.teh-cleanslate ul ol,.teh-cleanslate ul ol ol,.teh-cleanslate ul ul,.teh-cleanslate ul ul ol,.teh-cleanslate ul ul ul{padding-left:40px!important;margin:0!important}.teh-cleanslate nav ol,.teh-cleanslate nav ul{list-style-type:none!important}.teh-cleanslate menu,.teh-cleanslate ul{list-style-type:disc!important}.teh-cleanslate ol{list-style-type:decimal!important}.teh-cleanslate menu menu,.teh-cleanslate menu ul,.teh-cleanslate ol menu,.teh-cleanslate ol ul,.teh-cleanslate ul menu,.teh-cleanslate ul ul{list-style-type:circle!important}.teh-cleanslate menu menu menu,.teh-cleanslate menu menu ul,.teh-cleanslate menu ol menu,.teh-cleanslate menu ol ul,.teh-cleanslate menu ul menu,.teh-cleanslate menu ul ul,.teh-cleanslate ol menu menu,.teh-cleanslate ol menu ul,.teh-cleanslate ol ol menu,.teh-cleanslate ol ol ul,.teh-cleanslate ol ul menu,.teh-cleanslate ol ul ul,.teh-cleanslate ul menu menu,.teh-cleanslate ul menu ul,.teh-cleanslate ul ol menu,.teh-cleanslate ul ol ul,.teh-cleanslate ul ul menu,.teh-cleanslate ul ul ul{list-style-type:square!important}.teh-cleanslate li{display:list-item!important;min-height:auto!important;min-width:auto!important;padding-left:20px!important}.teh-cleanslate strong{font-weight:700!important}.teh-cleanslate em{font-style:italic!important}.teh-cleanslate code,.teh-cleanslate kbd,.teh-cleanslate pre,.teh-cleanslate samp{font-family:monospace!important}.teh-cleanslate a{color:#00f!important;text-decoration:underline!important}.teh-cleanslate a:visited{color:#529!important}.teh-cleanslate a,.teh-cleanslate a *,.teh-cleanslate button,.teh-cleanslate input[type=button],.teh-cleanslate input[type=checkbox],.teh-cleanslate input[type=radio],.teh-cleanslate input[type=submit],.teh-cleanslate select{cursor:pointer!important}.teh-cleanslate button,.teh-cleanslate input[type=submit]{text-align:center!important;padding:2px 6px 3px!important;border-radius:4px!important;text-decoration:none!important;font-family:arial,helvetica,sans-serif!important;font-size:small!important;background:#fff!important;color:buttontext!important;border:1px #a6a6a6 solid!important;background:#d3d3d3!important;background:#fff;background:-moz-linear-gradient(top,#fff 0,#ddd 100%,#d1d1d1 100%,#ddd 100%)!important;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fff),color-stop(100%,#ddd),color-stop(100%,#d1d1d1),color-stop(100%,#ddd))!important;background:-webkit-linear-gradient(top,#fff 0,#ddd 100%,#d1d1d1 100%,#ddd 100%)!important;background:-o-linear-gradient(top,#fff 0,#ddd 100%,#d1d1d1 100%,#ddd 100%)!important;background:-ms-linear-gradient(top,#fff 0,#ddd 100%,#d1d1d1 100%,#ddd 100%)!important;background:linear-gradient(to bottom,#fff 0,#ddd 100%,#d1d1d1 100%,#ddd 100%)!important;-webkit-box-shadow:1px 1px 0 #eee!important;-moz-box-shadow:1px 1px 0 #eee!important;-o-box-shadow:1px 1px 0 #eee!important;box-shadow:1px 1px 0 #eee!important;outline:initial!important}.teh-cleanslate button:active,.teh-cleanslate input[type=button]:active,.teh-cleanslate input[type=submit]:active{background:#3b679e!important;background:-moz-linear-gradient(top,#3b679e 0,#2b88d9 50%,#207cca 51%,#7db9e8 100%)!important;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#3b679e),color-stop(50%,#2b88d9),color-stop(51%,#207cca),color-stop(100%,#7db9e8))!important;background:-webkit-linear-gradient(top,#3b679e 0,#2b88d9 50%,#207cca 51%,#7db9e8 100%)!important;background:-o-linear-gradient(top,#3b679e 0,#2b88d9 50%,#207cca 51%,#7db9e8 100%)!important;background:-ms-linear-gradient(top,#3b679e 0,#2b88d9 50%,#207cca 51%,#7db9e8 100%)!important;background:linear-gradient(to bottom,#3b679e 0,#2b88d9 50%,#207cca 51%,#7db9e8 100%)!important;border-color:#5259b0!important}.teh-cleanslate button{padding:1px 6px 2px 6px!important;margin-right:5px!important}.teh-cleanslate input[type=hidden]{display:none!important}.teh-cleanslate textarea{-webkit-appearance:textarea!important;background:#fff!important;padding:2px!important;margin-left:4px!important;word-wrap:break-word!important;white-space:pre-wrap!important;font-size:11px!important;font-family:arial,helvetica,sans-serif!important;line-height:13px!important;resize:both!important}.teh-cleanslate input,.teh-cleanslate select,.teh-cleanslate textarea{border:1px solid #ccc!important}.teh-cleanslate select{font-size:11px!important;font-family:helvetica,arial,sans-serif!important;display:inline-block}.teh-cleanslate input:focus,.teh-cleanslate textarea:focus{outline:auto 5px -webkit-focus-ring-color!important;outline:initial!important}.teh-cleanslate input[type=text]{background:#fff!important;padding:1px!important;font-family:initial!important;font-size:small!important}.teh-cleanslate input[type=checkbox],.teh-cleanslate input[type=radio]{border:1px #2b2b2b solid!important;border-radius:4px!important}.teh-cleanslate input[type=checkbox],.teh-cleanslate input[type=radio]{outline:initial!important}.teh-cleanslate input[type=radio]{margin:2px 2px 3px 2px!important}.teh-cleanslate abbr[title],.teh-cleanslate acronym[title],.teh-cleanslate dfn[title]{cursor:help!important;border-bottom-width:1px!important;border-bottom-style:dotted!important}.teh-cleanslate ins{background-color:#ff9!important;color:#000!important}.teh-cleanslate del{text-decoration:line-through!important}.teh-cleanslate blockquote,.teh-cleanslate q{quotes:none!important}.teh-cleanslate blockquote:after,.teh-cleanslate blockquote:before,.teh-cleanslate li:after,.teh-cleanslate li:before,.teh-cleanslate q:after,.teh-cleanslate q:before{content:""!important}.teh-cleanslate input,.teh-cleanslate select{vertical-align:middle!important}.teh-cleanslate table{border-collapse:collapse!important;border-spacing:0!important}.teh-cleanslate hr{display:block!important;height:1px!important;border:0!important;border-top:1px solid #ccc!important;margin:1em 0!important}.teh-cleanslate [dir=rtl]{direction:rtl!important}.teh-cleanslate mark{background-color:#ff9!important;color:#000!important;font-style:italic!important;font-weight:700!important}.teh-cleanslate menu{padding-left:40px!important;padding-top:8px!important}.teh-cleanslate [hidden],.teh-cleanslate template{display:none!important}.teh-cleanslate abbr[title]{border-bottom:1px dotted!important}.teh-cleanslate sub,.teh-cleanslate sup{font-size:75%!important;line-height:0!important;position:relative!important;vertical-align:baseline!important}.teh-cleanslate sup{top:-.5em!important}.teh-cleanslate sub{bottom:-.25em!important}.teh-cleanslate img{border:0!important}.teh-cleanslate figure{margin:0!important}.teh-cleanslate textarea{overflow:auto!important;vertical-align:top!important}.teh-cleanslate{font-size:medium!important;line-height:1!important;direction:ltr!important;text-align:left!important;text-align:start!important;font-family:"Times New Roman",Times,serif!important;color:#000!important;font-style:normal!important;font-weight:400!important;text-decoration:none!important;list-style-type:disc!important}.teh-cleanslate pre{white-space:pre!important}'; teh_certificate_css += '@font-face {font-family: "TEH-ClanPro-Book";src: url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-300.eot");src: url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-300.eot?#iefix") format("embedded-opentype"),url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-300.woff2") format("woff2"),url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-300.woff") format("woff"),url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-300.ttf") format("truetype");}'; teh_certificate_css += '@font-face {font-weight: normal;font-style: normal;font-family: "TEH-ClanPro-Medium";src: url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-600.eot");src: url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-600.eot?#iefix") format("embedded-opentype"),url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-600.woff2") format("woff2"),url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-600.woff") format("woff"),url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-600.ttf") format("truetype");}'; teh_certificate_css += '@font-face {font-weight: normal;font-style: normal;font-family: "TEH-ClanPro-News";src: url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-300.eot");src: url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-300.eot?#iefix") format("embedded-opentype"),url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-300.woff2") format("woff2"),url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-300.woff") format("woff"),url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-300.ttf") format("truetype");}'; teh_certificate_css += '@font-face {font-weight: normal;font-style: normal;font-family: "TEH-ClanPro-Bold";src: url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-600.eot.eot");src: url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-600.eot.eot?#iefix") format("embedded-opentype"),url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-600.woff2") format("woff2"),url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-600.woff") format("woff"),url("'+teh_certificate_PAGE_ROOT_URL+'/js/fonts/Lausanne-600.ttf") format("truetype");}'; teh_certificate_css += '.teh-cleanslate *, .teh-cleanslate ::after, .teh-cleanslate ::before { box-sizing: border-box !important; }'; teh_certificate_css += '.teh-cert-wrapper *, .teh-cert-wrapper ::after, .teh-cert-wrapper ::before { box-sizing: border-box !important; }'; teh_certificate_css += '.teh-cleanslate .teh-cert-clearfix::after {content: "" !important; clear: both !important; display: table !important;}'; teh_certificate_css += 'body.teh-cert-noscroll { height: 100%; overflow: hidden; }'; teh_certificate_css += '.teh-cert-wrapper { position: fixed !important; top: 0px !important; left: 0px !important; right: 0px !important; bottom: 0px !important; background-color: rgba(0,0,0,0.5) !important; z-index:9999 !important; font-family: "TEH-ClanPro-Book", arial !important; }'; teh_certificate_css += '.teh-cleanslate .teh-cert-panel { position: absolute !important; width: 100% !important; max-width: 490px !important; height: 100% !important; max-height: 640px !important; top: 50% !important; left: 50% !important; transform: translate(-50%,-50%) !important; }'; teh_certificate_css += '.teh-cleanslate .teh-cert-panel-inner { position: absolute!important; top: 20px!important; left: 20px!important; bottom: 20px!important; right: 20px!important; background: #fff!important; overflow: hidden!important; }'; teh_certificate_css += '.teh-cleanslate .teh-cert-panel-close { position: absolute!important; top: 20px!important; right: 20px!important; z-index: 10!important; width: 20px!important; padding: 3px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-cert-panel-close:focus,'; teh_certificate_css += '.teh-cleanslate .teh-cert-panel-close:active { outline: #000 solid 2px !important; outline-offset: 4px !important; }'; teh_certificate_css += '.teh-cleanslate .teh-cert-panel-close img { width: 100%!important; }'; teh_certificate_css += '.teh-cleanslate .teh-cert-panel-inner-top { height: 100px!important; position: absolute!important; width: 100%!important; top: 0px!important; padding: 20px!important; overflow-hidden!important; }'; teh_certificate_css += '.teh-cleanslate .teh-cert-panel-inner-middle { position: absolute!important; top: 100px!important; bottom: 190px!important; width: 100%!important; overflow-y: auto!important; padding-left: 20px!important; padding-right: 20px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-cert-panel-inner-bottom { background: #084f4f!important; height: 190px!important; position: absolute!important; width: 100%!important; bottom: 0px!important; padding: 20px 0!important; overflow-hidden!important; }'; teh_certificate_css += '.teh-cleanslate .teh-cert-panel-inner-bottom-active { top: 100px!important; height: auto!important; }'; teh_certificate_css += '.teh-cleanslate .teh-cert-panel-inner-bottom-flex { display: flex!important; margin: 0 20px !important; }'; teh_certificate_css += '.teh-cleanslate .teh-cert-panel-inner-bottom-left { width: 85%!important; padding-right: 20px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-cert-panel-inner-bottom-right { width: 15%!important; }'; teh_certificate_css += '.teh-cleanslate .teh-bottom-title { font-family: "TEH-ClanPro-News", arial!important; color: #fff!important; font-size: 15px!important; line-height: 22px!important; padding-bottom: 20px!important; padding-right: 10px!important; }'; teh_certificate_css += '@media only screen and (max-width: 400px) { .teh-cleanslate .teh-bottom-title { font-size: 14px!important; line-height: 20px!important; padding-bottom: 10px!important; padding-right: 5px!important; } }'; teh_certificate_css += '.teh-cleanslate .teh-bottom-read-more, .teh-cleanslate .teh-bottom-read-more a, .teh-cleanslate .teh-bottom-read-more a:hover { font-family: "TEH-ClanPro-News", arial!important; color: #fff!important; font-size: 14px!important; line-height: 18px!important; text-decoration: none!important; padding-bottom: 20px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-bottom-read-more { padding-left: 20px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-bottom-read-more img { display: inline-block!important; width: 18px!important; margin-right: 10px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-bottom-read-more a:focus,'; teh_certificate_css += '.teh-cleanslate .teh-bottom-read-more a:active { outline: #fff solid 2px !important; }'; teh_certificate_css += '.teh-cleanslate .teh-bottom-report { font-family: "TEH-ClanPro-News", arial!important; color: #fff!important; font-size: 12px!important; line-height: 18px!important; max-width: 300px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-bottom-report a, .teh-cleanslate .teh-bottom-report a:hover { text-decoration: underline!important; color: #fff!important; }'; teh_certificate_css += '.teh-cleanslate .teh-bottom-report a:focus,'; teh_certificate_css += '.teh-cleanslate .teh-bottom-report a:active { outline: #fff solid 2px !important; }'; teh_certificate_css += '.teh-cleanslate .teh-top-logo { width: 60px!important; float: left!important; }'; teh_certificate_css += '.teh-cleanslate .teh-top-logo img { display: block!important; width: 100%!important; }'; teh_certificate_css += '.teh-cleanslate .teh-top-text { width: 50%!important; float: left!important; margin-left: 20px!important; margin-top: 10px!important; padding:0!important; }'; teh_certificate_css += '.teh-cleanslate .teh-top-text-title { font-family: "TEH-ClanPro-Bold", arial!important; color: #222222!important; font-size: 26px!important; line-height: 28px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-top-text-payoff { font-family: "TEH-ClanPro-Medium", arial!important; color: #222222!important; font-size: 14px!important; line-height: 18px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-host { font-family: "TEH-ClanPro-Book", arial!important; color: #222222!important; font-size: 18px!important; line-height: 20px!important; margin-bottom: 2px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-company { font-family: "TEH-ClanPro-Book", arial!important; color: #222222!important; font-size: 18px!important; line-height: 20px!important; margin-bottom: 15px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-status { float: left!important; width: 60%!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-status-title { font-family: "TEH-ClanPro-Bold", arial!important; color: #000000!important; font-size: 14px!important; line-height: 18px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-status-date { font-family: "TEH-ClanPro-News", arial!important; color: #000000!important; font-size: 14px!important; line-height: 18px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-cert { margin-bottom: 40px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-options { padding-bottom: 20px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-option { border-bottom: 1px solid #E5E5E5!important; padding-bottom: 10px!important; margin-bottom: 10px!important; cursor: pointer!important; display: block!important; text-decoration: none!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-option:focus,'; teh_certificate_css += '.teh-cleanslate .teh-middle-option:active { outline: #000 solid 2px !important; outline-offset: 4px !important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-option:last-child { border-bottom: 0!important; padding-bottom: 0!important; margin-bottom: 0!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-option-header { position: relative!important; padding-right: 20px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-option-icon { display: inline-block!important; width: 25px!important; margin-right: 15px!important; position: relative!important; top: 5px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-option-icon img { display: block!important; width: 100%!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-option-title { display: inline-block!important; color: #000000!important; font-family: "TEH-ClanPro-Medium", arial!important; font-size: 16px!important; line-height: 18px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-option-chevron { display: block!important; position: absolute!important; right: 0px!important; top: 10px!important; width: 12px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-option-chevron img { display: block!important; width: 100%!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-option-active .teh-middle-option-chevron img { transform: rotateX(180deg)!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-option-text { padding-top: 20px!important; padding-bottom: 10px!important; display: none!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-option-active .teh-middle-option-text { display: block!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-option-text ul { list-style-type: disc!important; margin: 0 0 0 40px!important; padding: 0!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-option-text ul li { text-indent: -18px !important; margin: 0 0 10px 0!important; padding: 0!important; color: #000000!important; font-family: "TEH-ClanPro-News", arial!important; font-size: 14px!important; line-height: 20px!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-option-text ul li:last-child { margin: 0!important; }'; teh_certificate_css += '.teh-cleanslate .teh-middle-option-text ul li b { font-family: "TEH-ClanPro-Medium", arial!important; }'; var teh_certificate_head = document.head || document.getElementsByTagName('head')[0]; var teh_certificate_style = document.createElement('style'); teh_certificate_head.appendChild(teh_certificate_style); if (teh_certificate_style.styleSheet) teh_certificate_style.styleSheet.cssText = teh_certificate_css; else teh_certificate_style.appendChild(document.createTextNode(teh_certificate_css)); function teh_certificate_addPlaceholder(p_teh_certificate_placeholder){ //if(p_teh_certificate_placeholder.nodeName.toLowerCase() != 'div'){ // teh_certificate_logWarning('You must use div-elements on class "' + teh_certificate_placeHolderClass + '"'); // return; //} var teh_certificate_logo_custom_url = teh_certificate_logoImageUrl; var teh_certificate_logo_custom_ext = teh_certificate_logo_custom_url.substr(teh_certificate_logo_custom_url.length - 3); // Datatag - Color var teh_certificate_logo_color = ''; var teh_certificate_DT_color = p_teh_certificate_placeholder.getAttribute('data-color'); if(teh_certificate_DT_color) { if(teh_certificate_DT_color == 'white' || teh_certificate_DT_color == 'black') { teh_certificate_logo_color = '_'+teh_certificate_DT_color; var teh_certificate_logo_ext = teh_certificate_logo_custom_url.substr(teh_certificate_logo_custom_url.length - 3); teh_certificate_logo_custom_url = teh_certificate_logo_custom_url.substring(0, teh_certificate_logo_custom_url.length - 4); teh_certificate_logo_custom_url = teh_certificate_logo_custom_url+teh_certificate_logo_color+'.'+teh_certificate_logo_ext; } } if(teh_certificate_company_demo) { teh_certificate_logo_custom_url = teh_certificate_logo_custom_url.replace('.'+teh_certificate_logo_custom_ext, '_demo.'+teh_certificate_logo_custom_ext); } var teh_certificate_container = document.createElement('a'); teh_certificate_container.setAttribute('href', 'https://tryggehandel.svenskhandel.se'); teh_certificate_container.setAttribute('target', '_blank'); teh_certificate_container.setAttribute('role', 'button'); teh_certificate_container.style.cursor = 'pointer'; teh_certificate_container.style.display = 'inline-block'; teh_certificate_container.tabIndex = 0; teh_certificate_container.setAttribute('aria-label','Öppna certifieringen från Trygg E-handel'); var teh_certificate_img = document.createElement('img'); teh_certificate_img.src = teh_certificate_logo_custom_url+'?v='+teh_certificate_cache_buster; teh_certificate_img.alt = 'Trygg e-handel'; teh_certificate_container.appendChild(teh_certificate_img); //p_teh_certificate_placeholder.appendChild(teh_certificate_container); // Datatag - Size var teh_certificate_DT_size = p_teh_certificate_placeholder.getAttribute('data-size'); var teh_certificate_logoSize = (!isNaN(teh_certificate_DT_size) && (function(x) { return (x | 0) === x; })(parseFloat(teh_certificate_DT_size))) ? teh_certificate_DT_size : 60; teh_certificate_img.style.width = teh_certificate_logoSize + 'px'; teh_certificate_img.style.height = teh_certificate_logoSize + 'px'; teh_certificate_container.addEventListener('click', function(e) { e.preventDefault(); var teh_certificate_html = ''; teh_certificate_html += '
'; teh_certificate_html += '
'; teh_certificate_html += '
'; teh_certificate_html += '
'; if(teh_certificate_company_demo) { teh_certificate_html += ''; } else { teh_certificate_html += ''; } teh_certificate_html += '
Certifierad
av Trygg E-handel
'; teh_certificate_html += '
'; teh_certificate_html += '
'; teh_certificate_html += '
'; teh_certificate_html += '
Webbutik: '+teh_certificate_HOST_TO_CHECK+'
'; teh_certificate_html += '
Företag: '+teh_certificate_company_juridiskt_namn+'
'; // if(!teh_certificate_isEmpty(teh_certificate_company_certDate)){ //teh_certificate_html += '
'; //teh_certificate_html += '
Granskad
'+teh_certificate_company_certDate+'
'; //teh_certificate_html += '
'; // } teh_certificate_html += '
'; teh_certificate_html += teh_certificate_getOption(teh_certificate_icon_konsumentratt, 'Konsumenträtt', [ 'E-handlaren har allmänna villkor publicerade på webbplatsen', 'E-handlaren uppfyller informationskravet för ångerrätten i de allmänna villkoren', 'E-handlaren uppfyller informationskravet för reklamationsrätten i de allmänna villkoren', 'E-handlaren informerar om återbetalning vid utövande av ångerrätten i de allmänna villkoren' ]); teh_certificate_html += teh_certificate_getOption(teh_certificate_icon_GDPR_integritet, 'GDPR & Integritet', [ 'E-handlaren har en integritetspolicy', 'E-handlaren informerar om konsumentens rätt att utöva sina rättigheter enligt gällande dataskyddslagstiftning', 'E-handlaren har en cookiepolicy' ]); teh_certificate_html += teh_certificate_getOption(teh_certificate_icon_sakerhet_betalning, 'Säkerhet & Betalning', [ 'E-handlarens webbplats är krypterad', 'E-handlaren uppger att webbplatsen använder sig av 3D-Secure', 'E-handlaren informerar om och har fullständiga villkor för de betalningsalternativ som finns på webbplatsen' ]); teh_certificate_html += teh_certificate_getOption(teh_certificate_icon_kontaktuppgifter, 'Kontaktuppgifter', [ 'E-handlaren har lättillgängliga kontaktuppgifter till sin kundservice', 'E-handlaren har fullständiga företagsuppgifter på sin webbplats' ]); teh_certificate_html += teh_certificate_getOption(teh_certificate_icon_tvistlosning, 'Tvistlösning', [ 'E-handlaren hänvisar till ARN som tvistlösningsorgan och uppger postadress och webbadress dit', 'E-handlaren hänvisar till EU ODR som tvistlösningsorgan och uppger webbadress dit' ]); teh_certificate_html += '
'; teh_certificate_html += '
'; teh_certificate_html += '
'; teh_certificate_html += '
'; teh_certificate_html += '
'; teh_certificate_html += '
Trygg E-handel vill öka kunskapen och tryggheten för både köpare och säljare. Det är Svensk Handel som står bakom certifieringen Trygg E-handel.
'; teh_certificate_html += '
'; teh_certificate_html += '
'; teh_certificate_html += ''; teh_certificate_html += '
'; teh_certificate_html += '
'; teh_certificate_html += ''; //teh_certificate_html += '
Om denna hemsida bryter några av sina löften till dig, lämna ett tips här.
'; teh_certificate_html += '
'; teh_certificate_html += ''; teh_certificate_html += '
'; teh_certificate_html += '
'; var teh_certificate_wrapper = document.createElement('div'); teh_certificate_wrapper.className = 'teh-cleanslate teh-cert-wrapper'; teh_certificate_wrapper.innerHTML = teh_certificate_html; teh_certificate_wrapper.tabIndex = -1; teh_certificate_wrapper.setAttribute('role', 'dialog'); teh_certificate_wrapper.setAttribute('aria-labelledby', 'teh-modal-heading'); document.body.appendChild(teh_certificate_wrapper); document.body.className += ' teh-cert-noscroll'; teh_certificate_wrapper.focus(); // Click outbounds / closeBtn teh_certificate_wrapper.addEventListener('click', function(e) { if(e.target.className != this.className && e.target.getAttribute('class') != 'teh-cert-panel-close' && e.target.getAttribute('src') != teh_certificate_PAGE_ROOT_URL+'/js/close.svg?v='+teh_certificate_cache_buster) return; document.body.removeChild(this); document.body.className = document.body.className.replace('teh-cert-noscroll', ''); }); /*teh_certificate_wrapper.addEventListener('click', function(e) { if(e.target.className != this.className && e.target.getAttribute('src') != teh_certificate_PAGE_ROOT_URL+'/js/close.svg') return; document.body.removeChild(this); document.body.className = document.body.className.replace('teh-cert-noscroll', ''); });*/ // Toggle options var teh_certificate_middleOptions = document.getElementsByClassName('teh-middle-option'); for (var teh_certificate_middleOptions_i = 0; teh_certificate_middleOptions_i < teh_certificate_middleOptions.length; teh_certificate_middleOptions_i++) { teh_certificate_middleOptions[teh_certificate_middleOptions_i].addEventListener('click', function(e) { if(e.stopPropagation) e.stopPropagation(); else e.cancelBubble = true; this.classList.toggle('teh-middle-option-active'); if(this.getAttribute('aria-expanded') == 'true') { this.setAttribute('aria-expanded', 'false'); } else { this.setAttribute('aria-expanded', 'true'); } }); } }); p_teh_certificate_placeholder.appendChild(teh_certificate_container); } function teh_certificate_addPlaceholders(p_teh_certificate_firstrun){ var teh_cur_certificate_placeholders = document.getElementsByClassName(teh_certificate_placeHolderClass); if(teh_certificate_isEmpty(teh_cur_certificate_placeholders) || teh_cur_certificate_placeholders.length == 0) return; for (var teh_certificate_placeholders_i = 0; teh_certificate_placeholders_i < teh_cur_certificate_placeholders.length; teh_certificate_placeholders_i++) { var teh_cur_certificate_placeholder = teh_cur_certificate_placeholders[teh_certificate_placeholders_i]; if(p_teh_certificate_firstrun) teh_cur_certificate_placeholder.innerHTML = ''; if(teh_cur_certificate_placeholder.hasChildNodes()) continue; teh_certificate_addPlaceholder(teh_cur_certificate_placeholder); } } teh_certificate_addPlaceholders(true); var teh_certificate_mo_node = document.body; var teh_certificate_mo_options = { childList: true, subtree: true }; if(teh_certificate_isEmpty(teh_certificate_mo_node)) return; new MutationObserver(function(p_teh_certificate_mutations){ this.disconnect(); // Mutations /*if(teh_certificate_isEmpty(p_teh_certificate_mutations) || p_teh_certificate_mutations.length == 0) return; for (var teh_certificate_mutations_i = 0; teh_certificate_mutations_i < p_teh_certificate_mutations.length; teh_certificate_mutations_i++) { var teh_certificate_mutation = p_teh_certificate_mutations[teh_certificate_mutations_i]; if(teh_certificate_isEmpty(teh_certificate_mutation)) continue; var teh_certificate_nodes = teh_certificate_mutation.addedNodes; if(teh_certificate_isEmpty(teh_certificate_nodes) || teh_certificate_nodes.length == 0) continue; for (var teh_certificate_mutation_i = 0; teh_certificate_mutation_i < teh_certificate_nodes.length; teh_certificate_mutation_i++) { var teh_certificate_node = teh_certificate_nodes[teh_certificate_mutation_i]; if(teh_certificate_isEmpty(teh_certificate_node) || teh_certificate_node.className != teh_certificate_placeHolderClass) continue; teh_certificate_addPlaceholder(teh_certificate_node); } }*/ // Class teh_certificate_addPlaceholders(false); this.observe(teh_certificate_mo_node, teh_certificate_mo_options); }).observe(teh_certificate_mo_node, teh_certificate_mo_options); })();