PageSourceSearch

https://www.eu-gleichbehandlungsstelle.de/_assets/9da1c2a6d746389c…/public/chunks/switch-link-CAHHWAB5.js

js eu-gleichbehandlungsstelle.de collected 2026-10-03 23:52:54 UTC 2,453 bytes, 29 lines download raw bytes

1import{B as e,g as t,e as i,b as s}from"./pp-accordion-CA6w9In6.js";customElements.define("pp-switch-link",class extends e{static get properties(){return{linkUrl:{type:String,attribute:"link-url"},linkPosition:{type:String,attribute:"link-position"},isFullyRounded:{type:Boolean,attribute:"is-fully-rounded"}}}constructor(){super(),this._children=t(this,["pp-button","pp-text-inline"]),this.isFullyRounded=!1,this.linkPosition="right"}get textPositionClasses(){return{"order-1":"left"===this.linkPosition}}get switchClasses(){return{"ml-16":"left"===this.linkPosition,"mr-16":"right"===this.linkPosition,"order-1":"left"===this.linkPosition,"rounded-tl-none":!this.isFullyRounded,"before:translate-x-full":"left"===this.linkPosition,"before:rounded-tl-none":!this.isFullyRounded}}render(){return s`
2            <div class="flex items-center justify-center gap-16 mb-24 px-12">
3                <div class="typ-menu text-center ${i(this.textPositionClasses)}">
4                    ${this._children["pp-text-inline"]}
5                </div>
6                <!--
7                    For WCAG reasons the switch icon needs to be part of the link
8                    element. That is why the URL cannot be passed to the button
9                    component directly and the button is rendered as a span element.
10                -->
11                <a href="${this.linkUrl}" class="group flex items-center focus-visible:outline-none">
12                    <div class="inline-block flex-shrink-0 w-60 h-32 bg-static-22
13                        border-2 border-text-1 rounded-full
14                        before:block before:aspect-square before:h-full
15                        before:bg-line-2 before:border-solid before:border-2
16                        before:border-static-22 before:rounded-full
17                        before:cursor-pointer before:transition-transform
18                        group-hover:bg-status-bg-1 group-hover:before:border-status-bg-1
19                        group-hover:before:bg-static-22
20                        group-focus-visible:bg-status-bg-1
21                        group-focus-visible:before:border-status-bg-1
22                        group-focus-visible:before:bg-static-22
23                        transition-colors duration-300 ease-in-out
24                        ${i(this.switchClasses)}"
25                    ></div>
26                    ${this._children["pp-button"]}
27                </a>
28            </div>
29            `}});

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.