package IIdd203aac7564bbe42934ace87505cab3; use strict 'vars'; use base qw/II674e2407e107271bcc76478050bc636a/; BEGIN{*IIdd203aac7564bbe42934ace87505cab3::IIlllllllllIIIIl=\%{pack('H6','081b64')^'MU2'};*IIdd203aac7564bbe42934ace87505cab3::IIIllllIIIlIIIll=\&{pack('H24','2e2b2438796d497562554970')^'CJMVCW:MU71D'};$IIdd203aac7564bbe42934ace87505cab3::lIlllIIIIIlIIlIl=pack('H18','70686f636577160a1a')^'8<;3:?YYN';$IIdd203aac7564bbe42934ace87505cab3::IlIlIlllllIlIIll=pack('H12','74130605050a')^'>ZHILI'};sub dbTable     { 'jin_shopcart_settings' } BEGIN{*IIdd203aac7564bbe42934ace87505cab3::lllIIIIIIIlIlIIl=\%{pack('H6','7a1400')^'?ZV'};*IIdd203aac7564bbe42934ace87505cab3::IlIllIIlllllIllI=\&{pack('H24','585654577a713f730a223a7c')^'57=9@KLK=@BH'};$IIdd203aac7564bbe42934ace87505cab3::lllIlIlIIlllIlII=pack('H18','741c0515107d7c0a17')^'<HQEO53YC';$IIdd203aac7564bbe42934ace87505cab3::IIlIIIIlIlIlIIIl=pack('H12','180b1c000e7c')^'RBRLG?'};sub dbFields    { qw/ owner_id pack_id review_moderation review_pagesize catalog_img_width catalog_pagesize prodinfo_img_width gallery_img_height / } BEGIN{*IIdd203aac7564bbe42934ace87505cab3::llllIIllIIllllII=\%{pack('H6','031b05')^'FUS'};*IIdd203aac7564bbe42934ace87505cab3::IIIIllllIlIIIlll=\&{pack('H24','29593b270f6044606d373203')^'D8RI5Z7XZUJ7'};$IIdd203aac7564bbe42934ace87505cab3::IIlIIIIIlIIllIlI=pack('H18','1204016268041f101d')^'ZPU27LPCI';$IIdd203aac7564bbe42934ace87505cab3::IIIIIIlllIlIIlII=pack('H12','027618757a76')^'H?V935'};sub get { my $this = shift()->SUPER::get(shift()); $this->{review_moderation} ||= 0; $this->{review_pagesize} ||= 5; $this->{catalog_img_width} ||= 150; $this->{catalog_pagesize} ||= 20; $this->{prodinfo_img_width} ||= 250; $this->{gallery_img_height} ||= 300; $this; } BEGIN{*IIdd203aac7564bbe42934ace87505cab3::lllIIllllllIllII=\%{pack('H6','0c770f')^'I9Y'};*IIdd203aac7564bbe42934ace87505cab3::llIIlIllIlIllllI=\&{pack('H24','5d3627596807367d763a2b77')^'0WN7R=EEAXSC'};$IIdd203aac7564bbe42934ace87505cab3::lllIIllIIIlIlllI=pack('H18','016518046675760916')^'I1LT9=9ZB';$IIdd203aac7564bbe42934ace87505cab3::IlIllIIlIlllIIll=pack('H12','0e0004187079')^'DIJT9:'};sub deleteForShopcart { my ($class, $shopcart) = @_; return unless $shopcart; $_->delete for $class->search(pack_id => $shopcart->{id}); return; } BEGIN{*IIdd203aac7564bbe42934ace87505cab3::lIIIllIIllllIIll=\%{pack('H6','131806')^'VVP'};*IIdd203aac7564bbe42934ace87505cab3::lIIIIlIlIlllllll=\&{pack('H24','5c23383f6b7f230973543100')^'1BQQQEP1D6I4'};$IIdd203aac7564bbe42934ace87505cab3::lIlIIlIlIlIIlIlI=pack('H18','1f1a6363680e71011e')^'WN737F>RJ';$IIdd203aac7564bbe42934ace87505cab3::lllIlllIIIlIIlIl=pack('H12','0e7c0f19707c')^'D5AU9?'};sub getOrCreateForPackId { my ($class, $pac_id) = @_; my $id = $class->enum(pack_id => $pac_id)->[0]; return $id ? $class->get($id) : $class->get->set(pack_id => $pac_id)->save; } 1; 