PageSourceSearch

https://www.lovelybooks.de/assets/dialogs-RemoveFromLibraryDialog-RemoveFromLibraryDialogController-e9fc25.js

js lovelybooks.de collected 2026-09-24 08:58:43 UTC 6,752 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["dialogs-RemoveFromLibraryDialog-RemoveFromLibraryDialogController","dialogs-RemoveFromLibraryDialog"],{97622:(n,t,e)=>{e.d(t,{Z:()=>y});var o,i,r=e(30168),a=(e(3650),e(67294)),l=e(70394),s=e(45007),c=e(54483),u=e.n(c),f=e(94184),d=e.n(f),h=e(27046),g=e(74737),m=e(13408),p=e(63070),x=e(85893),b=(0,l.F4)(["0%{transform:translateX(100%);}100%{transform:translateX(0%);}"]),w=l.ZP.div.withConfig({displayName:"Dialog__StyledDialog",componentId:"oufk16-0"})(["z-index:","px;font-weight:300;background:",";animation:"," 0.4s ease-in;position:fixed;left:0;top:0;bottom:0;width:100%;height:100%;margin-top:50px;> .dialogEntry{position:static;left:0;top:0;width:100%;overflow-x:auto;height:calc(100% - 50px);z-index:","px;-webkit-overflow-scrolling:touch;> header{position:relative;width:100%;height:25px;left:0;top:0;z-index:","px;}> section{width:100%;padding:0 13px 20px;}> section > h1{font-size:",";font-weight:500;text-align:center;margin:0 auto;padding-bottom:20px;}> section > .introText{text-align:center;margin-bottom:20px;}textarea,input[type='text'],input[type='number'],input[type='email'],input[type='password']{font-size:",";}.Dialog-footer{margin-top:25px;text-align:right;& > .Dialog-footer-info{text-align:left;padding-top:","px;font-size:",";color:",";.Link{display:block;cursor:pointer;}}}}.introText{font-size:",";font-weight:300;strong{font-weight:400;}}h2.introHead{text-align:center;font-size:",";font-weight:400;margin:20px 0 15px;}"," "," &.-in-i-frame{animation:none;overflow:auto;> .dialogEntry{height:100%;overflow:auto;section{padding:0 40px 40px;}}}"],(function(n){return n.theme.header.zIndex+3}),(function(n){return n.theme.color.bodyBackground}),b,(function(n){return n.theme.header.zIndex+2}),(function(n){return n.theme.header.zIndex+3}),(function(n){return n.theme.fontSize.xxl}),(function(n){return n.theme.fontSize.l}),(function(n){return n.theme.gutter}),(function(n){return n.theme.fontSize.xs}),(function(n){return n.theme.color.fontHint}),(function(n){return n.theme.fontSize.default}),(function(n){return n.theme.fontSize.default}),p.BC.mobile2(o||(o=(0,r.Z)(["\n        > .dialogEntry {\n            section {\n                padding: 0 40px;\n            }\n\n            .Dialog-footer {\n                margin-top: 20px;\n            }\n        }\n\n        .Recaptcha {\n            margin-top: 15px;\n        }\n    "]))),p.BC.tablet(i||(i=(0,r.Z)(["\n        animation: none;\n        position: relative;\n        margin: 72px auto 0;\n        height: auto;\n        max-width: 440px;\n\n        > .dialogEntry {\n            position: static; //don't change positions, else there is a repaint bug with the url bar and header\n            overflow: auto; // don't reserve space for scroll bar\n            height: 100%;\n            section {\n                padding-bottom: 40px;\n            }\n        }\n\n        &.NewsletterSubscriptionDialog {\n            max-width: 730px;\n        }\n\n    "]))));const y=(0,s.$j)(null,(function(n){return{closeDialog:function(){return n((0,h.gk)())},closeMenu:function(){return n((0,g.setHeaderState)({menu:"closed"}))}}}))((function(n){var t=n.title,e=n.className,o=n.children,i=n.closeDialog,r=n.onClose,l=n.showHeader,s=void 0===l||l,c=n.closeMenu,f=!1;return"undefined"!=typeof window&&window.self!==window.top&&(f=!0),a.useEffect((function(){c()}),[]),(0,x.jsx)(u(),{children:(0,x.jsx)(w,{className:d()("Dialog",e,{"-in-i-frame":f}),children:(0,x.jsxs)("div",{className:"dialogEntry",children:[s&&(0,x.jsx)("header",{children:(0,x.jsx)(m.Z,{onClick:function(){parent&&parent.postMessage&&parent.postMessage({name:"iframe-close"},"*"),r&&r(),i()}})}),(0,x.jsxs)("section",{children:[t&&(0,x.jsx)("h1",{children:t}),o]})]})})})}))},53601:(n,t,e)=>{e.r(t),e.d(t,{default:()=>s});var o=e(45007),i=e(34348),r=e(68126),a=e(27046),l=e(85893);const s=(0,o.$j)(null,(function(n){return{closeDialog:function(){return n((0,a.gk)())}}}))((function(n){return(0,l.jsx)(i.default,{book:n.book,onConfirm:function(){return n.shelfItemId?r.Z.removeBookFromShelfItem(n.shelfItemId,n.book.inWishlist).then((function(){n.onConfirm(),n.closeDialog()})):r.Z.removeBookFromLibrary(n.book.titleId).then((function(){n.onConfirm(),n.closeDialog()}))},onAbort:function(){n.onAbort(),n.closeDialog()}})}))},34348:(n,t,e)=>{e.r(t),e.d(t,{default:()=>d});var o,i,r=e(30168),a=e(37918),l=e(97622),s=e(70394),c=e(63070),u=e(85893),f=(0,s.ZP)(l.Z).withConfig({displayName:"RemoveFromLibraryDialog__StyledRemoveFromLibraryDialog",componentId:"sc-15mja2q-0"})([".dialogEntry{> section{padding:40px ","px 20px;> .headline{font-family:",";font-size:22px;line-height:1.14;font-weight:400;text-align:center;color:",";margin-bottom:25px;}> .text{font-family:",";font-size:",";line-height:1.47;color:",";margin-bottom:","px;&.-strong{font-weight:500;}}> .text.-strong > .warning{color:",";}> .Button{text-align:center;font-size:",";line-height:2.67;font-weight:400;font-style:italic;width:100%;display:block;padding:0;border-radius:4px;& + .Button{margin-top:","px;}}}}",";",";"],(function(n){return n.theme.gutter}),(function(n){return n.theme.font.sansSerif}),(function(n){return n.theme.color.font}),(function(n){return n.theme.font.sansSerif}),(function(n){return n.theme.fontSize.default}),(function(n){return n.theme.color.fontLight}),(function(n){return 2*n.theme.gutter}),(function(n){return n.theme.color.red}),(function(n){return n.theme.fontSize.default}),(function(n){return n.theme.gutter}),c.BC.mobile2(o||(o=(0,r.Z)(["\n        .dialogEntry {\n            > section {\n                padding: 0 ","px 20px;\n            } \n\n            > section .headline {\n                font-size: 22px;\n                line-height: 1.32;\n                margin-bottom: 30px;\n            }\n        }\n    "])),(function(n){return n.theme.gutter})),c.BC.tablet(i||(i=(0,r.Z)(["\n        .Dialog {\n            max-width: 440px;\n        }\n    "]))));const d=function(n){return(0,u.jsxs)(f,{onClose:n.onAbort,className:"RemoveFromLibraryDialog",children:[(0,u.jsx)("header",{}),(0,u.jsx)("div",{className:"dialogEntry",children:(0,u.jsxs)("section",{children:[(0,u.jsx)("h2",{className:"headline",children:"Buch entfernen"}),n.book.inWishlist?(0,u.jsxs)("p",{className:"text",children:['Willst du das Buch "',n.book.title,'" wirklich von Deinem Merkzettel entfernen?']}):(0,u.jsxs)("p",{className:"text",children:['Willst du das Buch "',n.book.title,'" wirklich aus Deiner Bibliothek entfernen?']}),(0,u.jsx)(a.ZP,{icon:null,type:"button",action:n.onConfirm,children:"Buch entfernen"}),(0,u.jsx)(a.ZP,{variant:"outlined",icon:null,type:"button",action:n.onAbort,children:"Abbrechen"})]})})]})}}}]);

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.